Class: Gemwarrior::Cup
- Defined in:
- lib/gemwarrior/entities/items/cup.rb
Instance Attribute Summary
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 ⇒ Cup
constructor
A new instance of Cup.
Methods inherited from Item
Methods inherited from Entity
Constructor Details
#initialize ⇒ Cup
Returns a new instance of Cup.
8 9 10 11 12 13 14 15 |
# File 'lib/gemwarrior/entities/items/cup.rb', line 8 def initialize super self.name = 'cup' self.name_display = 'Cup' self.description = 'A nice stone mug, perfect for putting things into and then using to carry such things from place to place.' self.takeable = true end |