Class: Gemwarrior::Stonemite

Inherits:
Item show all
Defined in:
lib/gemwarrior/entities/items/stonemite.rb

Instance Attribute Summary

Attributes inherited from Item

#is_armor, #is_weapon, #use

Attributes inherited from Entity

#consumable, #describe, #describe_detailed, #description, #display_shopping_cart, #equippable, #equipped, #name, #name_display, #number_of_uses, #takeable, #talkable, #useable, #useable_battle, #used, #used_again

Instance Method Summary collapse

Methods inherited from Item

#describe_detailed

Methods inherited from Entity

#puts, #use

Constructor Details

#initializeStonemite

Returns a new instance of Stonemite.



8
9
10
11
12
13
14
15
# 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