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