Sha256: cda0f0547ff2db41dc767b30dce10a33e5e7b04d288363479b7449c4c2df579e

Contents?: true

Size: 614 Bytes

Versions: 48

Compression:

Stored size: 614 Bytes

Contents

# lib/gemwarrior/entities/people/goat.rb
# Entity::Creature::Goat

require_relative '../creature'

module Gemwarrior
  class Goat < Creature
    def initialize
      super

      self.name         = 'goat'
      self.name_display = 'Goat'
      self.description  = 'The scruff is strong with this one as it chews through what appears to be a recent mystery novel most likely thrown into the pen by a passerby.'
      self.face         = 'busy'
      self.hands        = 'hoofy'
      self.mood         = 'content'
    end

    def use(world)
      puts '>> "Baa."'
      { 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/goat.rb
gemwarrior-0.15.19 lib/gemwarrior/entities/creatures/goat.rb
gemwarrior-0.15.18 lib/gemwarrior/entities/creatures/goat.rb
gemwarrior-0.15.17 lib/gemwarrior/entities/creatures/goat.rb
gemwarrior-0.15.16 lib/gemwarrior/entities/creatures/goat.rb
gemwarrior-0.15.15 lib/gemwarrior/entities/creatures/goat.rb
gemwarrior-0.15.14 lib/gemwarrior/entities/creatures/goat.rb
gemwarrior-0.15.13 lib/gemwarrior/entities/creatures/goat.rb
gemwarrior-0.15.12 lib/gemwarrior/entities/creatures/goat.rb
gemwarrior-0.15.11 lib/gemwarrior/entities/creatures/goat.rb
gemwarrior-0.15.10 lib/gemwarrior/entities/creatures/goat.rb
gemwarrior-0.15.9 lib/gemwarrior/entities/creatures/goat.rb
gemwarrior-0.15.8 lib/gemwarrior/entities/creatures/goat.rb
gemwarrior-0.15.7 lib/gemwarrior/entities/creatures/goat.rb
gemwarrior-0.15.6 lib/gemwarrior/entities/creatures/goat.rb
gemwarrior-0.15.5 lib/gemwarrior/entities/creatures/goat.rb
gemwarrior-0.15.4 lib/gemwarrior/entities/creatures/goat.rb
gemwarrior-0.15.3 lib/gemwarrior/entities/creatures/goat.rb
gemwarrior-0.15.2 lib/gemwarrior/entities/creatures/goat.rb
gemwarrior-0.15.1 lib/gemwarrior/entities/creatures/goat.rb