class Gemwarrior::Pig

Public Class Methods

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

Public Instance Methods

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