Class: Gemwarrior::Stalactite

Inherits:
Item show all
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

#description, #name

Instance Method Summary collapse

Methods inherited from Item

#describe

Methods inherited from Entity

#status

Constructor Details

#initializeStalactite

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