class Gemwarrior::Stonemite

Public Class Methods

new() click to toggle source
Calls superclass method Gemwarrior::Item::new
# File lib/gemwarrior/entities/items/stonemite.rb, line 8
def initialize
  super

  self.name         = 'stonemite'
  self.name_display = 'Stonemite'
  self.description  = 'Stubby cave debris that is neat to look at, as it is off-grey and sparkly, but the size makes it unusable as anything but skipping on a lake.'
  self.takeable     = true
end

Public Instance Methods

use(world) click to toggle source
# File lib/gemwarrior/entities/items/stonemite.rb, line 17
def use(world)
  puts 'You turn the stonemite over and over in your hand. It continues to be a small rock of little import.'
  { type: nil, data: nil }
end