Class: Gemwarrior::Feather

Inherits:
Item show all
Defined in:
lib/gemwarrior/entities/items/feather.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

#initializeFeather

Returns a new instance of Feather.



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

def initialize
  self.name         = 'feather'
  self.description  = 'A blue and green feather. It is soft and tender, unlike the craven bird that probably shed it.'
  self.atk_lo       = nil
  self.atk_hi       = nil
  self.takeable     = true
  self.useable      = false
  self.equippable   = false
  self.equipped     = false
end