Class: Gemwarrior::Stalactite
- Defined in:
- lib/gemwarrior/entities/items/stalactite.rb
Instance Attribute Summary
Attributes inherited from Item
#atk_hi, #atk_lo, #equippable, #equipped, #reuse, #takeable, #use, #useable
Attributes inherited from Entity
Instance Method Summary collapse
-
#initialize ⇒ Stalactite
constructor
A new instance of Stalactite.
Methods inherited from Item
Methods inherited from Entity
Constructor Details
#initialize ⇒ Stalactite
Returns a new instance of Stalactite.
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/gemwarrior/entities/items/stalactite.rb', line 8 def initialize self.name = 'stalactite' self.description = 'Long protrusion of cave adornment, broken off and fallen to the ground, where the stalagmites sneer at it from.' self.atk_lo = 2 self.atk_hi = 3 self.takeable = true self.useable = false self.equippable = true self.equipped = false end |