Class: Gemwarrior::LeatherJerkin
- Defined in:
- lib/gemwarrior/entities/armor/leather_jerkin.rb
Instance Attribute Summary
Attributes inherited from Armor
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 ⇒ LeatherJerkin
constructor
A new instance of LeatherJerkin.
Methods inherited from Armor
Methods inherited from Item
Methods inherited from Entity
Constructor Details
#initialize ⇒ LeatherJerkin
Returns a new instance of LeatherJerkin.
8 9 10 11 12 13 14 15 |
# File 'lib/gemwarrior/entities/armor/leather_jerkin.rb', line 8 def initialize super self.name = 'leather_jerkin' self.name_display = 'Leather Jerkin' self.description = 'Brownish-black in color and fairly form-fitting, this jerkin will soften any blow a bit, at least.' self.defense = 2 end |