class Gemwarrior::Goat

Public Class Methods

new() click to toggle source
Calls superclass method Gemwarrior::Creature::new
# File lib/gemwarrior/entities/creatures/goat.rb, line 8
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

Public Instance Methods

use(world) click to toggle source
# File lib/gemwarrior/entities/creatures/goat.rb, line 19
def use(world)
  puts '>> "Baa."'
  { type: nil, data: nil }
end