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.0 lib/gemwarrior/entities/creatures/pig.rb
gemwarrior-0.14.8 lib/gemwarrior/entities/creatures/pig.rb
gemwarrior-0.14.7 lib/gemwarrior/entities/creatures/pig.rb
gemwarrior-0.14.6 lib/gemwarrior/entities/creatures/pig.rb
gemwarrior-0.14.5 lib/gemwarrior/entities/creatures/pig.rb
gemwarrior-0.14.4 lib/gemwarrior/entities/creatures/pig.rb
gemwarrior-0.14.3 lib/gemwarrior/entities/creatures/pig.rb
gemwarrior-0.14.2 lib/gemwarrior/entities/creatures/pig.rb
gemwarrior-0.14.1 lib/gemwarrior/entities/creatures/pig.rb
gemwarrior-0.14.0 lib/gemwarrior/entities/creatures/pig.rb
gemwarrior-0.13.2 lib/gemwarrior/entities/creatures/pig.rb
gemwarrior-0.13.1 lib/gemwarrior/entities/creatures/pig.rb
gemwarrior-0.13.0 lib/gemwarrior/entities/creatures/pig.rb
gemwarrior-0.12.8 lib/gemwarrior/entities/creatures/pig.rb
gemwarrior-0.12.7 lib/gemwarrior/entities/creatures/pig.rb
gemwarrior-0.12.6 lib/gemwarrior/entities/creatures/pig.rb
gemwarrior-0.12.5 lib/gemwarrior/entities/creatures/pig.rb
gemwarrior-0.12.4 lib/gemwarrior/entities/creatures/pig.rb
gemwarrior-0.12.3 lib/gemwarrior/entities/creatures/pig.rb
gemwarrior-0.12.2 lib/gemwarrior/entities/creatures/pig.rb