Class: Gemwarrior::Keystone
- Defined in:
- lib/gemwarrior/entities/items/keystone.rb
Instance Attribute Summary
Attributes inherited from Item
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
-
#initialize ⇒ Keystone
constructor
A new instance of Keystone.
Methods inherited from Item
Methods inherited from Entity
Constructor Details
#initialize ⇒ Keystone
Returns a new instance of Keystone.
8 9 10 11 12 13 14 15 |
# File 'lib/gemwarrior/entities/items/keystone.rb', line 8 def initialize super self.name = 'keystone' self.name_display = 'Keystone' self.description = 'Certainly greater than the sum of its parts, this smallish stone glows faintly and feels slick to the touch.' self.takeable = true end |