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