Class: Gemwarrior::Throne

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

Instance Attribute Summary

Attributes inherited from Item

#atk_hi, #atk_lo, #consumable, #equippable, #equipped, #takeable, #use, #useable, #used

Attributes inherited from Entity

#description, #name

Instance Method Summary collapse

Methods inherited from Item

#describe

Methods inherited from Entity

#status

Constructor Details

#initializeThrone

Returns a new instance of Throne.



8
9
10
11
12
13
14
15
16
17
# File 'lib/gemwarrior/entities/items/throne.rb', line 8

def initialize
  self.name         = 'throne'
  self.description  = 'Made of what appears to be unfulfilled desires and latent, flawed happiness, the well-crafted seat still looks kinda comfy.'
  self.atk_lo       = nil
  self.atk_hi       = nil
  self.takeable     = false
  self.useable      = false
  self.equippable   = false
  self.equipped     = false
end