Sha256: cbe7aac4b19d5feab2bec5a4ae81b7dee62cfc821b6f8b3ccae10ca6742758dc

Contents?: true

Size: 532 Bytes

Versions: 48

Compression:

Stored size: 532 Bytes

Contents

# lib/gemwarrior/entities/people/pig.rb
# Entity::Creature::Pig

require_relative '../creature'

module Gemwarrior
  class Pig < Creature
    def initialize
      super

      self.name         = 'pig'
      self.name_display = 'Pig'
      self.description  = 'Dirty, eating slop, but still kind of cute. Yep, this is a pig.'
      self.face         = 'messy'
      self.hands        = 'muddy'
      self.mood         = 'restless'
    end

    def use(world)
      puts '>> "Oink."'
      { type: nil, data: nil }
    end
  end
end

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
gemwarrior-0.15.20 lib/gemwarrior/entities/creatures/pig.rb
gemwarrior-0.15.19 lib/gemwarrior/entities/creatures/pig.rb
gemwarrior-0.15.18 lib/gemwarrior/entities/creatures/pig.rb
gemwarrior-0.15.17 lib/gemwarrior/entities/creatures/pig.rb
gemwarrior-0.15.16 lib/gemwarrior/entities/creatures/pig.rb
gemwarrior-0.15.15 lib/gemwarrior/entities/creatures/pig.rb
gemwarrior-0.15.14 lib/gemwarrior/entities/creatures/pig.rb
gemwarrior-0.15.13 lib/gemwarrior/entities/creatures/pig.rb
gemwarrior-0.15.12 lib/gemwarrior/entities/creatures/pig.rb
gemwarrior-0.15.11 lib/gemwarrior/entities/creatures/pig.rb
gemwarrior-0.15.10 lib/gemwarrior/entities/creatures/pig.rb
gemwarrior-0.15.9 lib/gemwarrior/entities/creatures/pig.rb
gemwarrior-0.15.8 lib/gemwarrior/entities/creatures/pig.rb
gemwarrior-0.15.7 lib/gemwarrior/entities/creatures/pig.rb
gemwarrior-0.15.6 lib/gemwarrior/entities/creatures/pig.rb
gemwarrior-0.15.5 lib/gemwarrior/entities/creatures/pig.rb
gemwarrior-0.15.4 lib/gemwarrior/entities/creatures/pig.rb
gemwarrior-0.15.3 lib/gemwarrior/entities/creatures/pig.rb
gemwarrior-0.15.2 lib/gemwarrior/entities/creatures/pig.rb
gemwarrior-0.15.1 lib/gemwarrior/entities/creatures/pig.rb