lib/gemwarrior/entities/item.rb in gemwarrior-0.10.7 vs lib/gemwarrior/entities/item.rb in gemwarrior-0.10.8
- old
+ new
@@ -21,17 +21,16 @@
end
def describe
status_text = name.upcase.colorize(:green)
status_text << "\n#{description} \n".colorize(:white)
- status_text << "ATTACK: #{atk_lo}-#{atk_hi} \n".colorize(:white) unless atk_lo.nil?
- status_text << "TAKEABLE? #{takeable}\n".colorize(:white)
- status_text << "USEABLE? #{useable}\n".colorize(:white)
- status_text << "USED? #{used}\n".colorize(:white)
- status_text << "EQUIPPABLE? #{equippable}\n".colorize(:white)
- status_text << "CONSUMABLE? #{consumable}\n".colorize(:white)
+ status_text << "ATTACK: #{atk_lo}-#{atk_hi} \n".colorize(:white) unless atk_lo.nil?
+ status_text << "TAKEABLE? #{takeable}\n".colorize(:white)
+ status_text << "USEABLE? #{useable}\n".colorize(:white)
+ status_text << "USED? #{used}\n".colorize(:white)
+ status_text << "EQUIPPABLE? #{equippable}\n".colorize(:white)
+ status_text << "CONSUMABLE? #{consumable}\n".colorize(:white)
status_text << "NUMBER OF USES? #{number_of_uses}\n".colorize(:white) unless number_of_uses.nil?
- status_text << "TALKABLE? #{talkable}\n".colorize(:white)
- status_text << "\n"
+ status_text << "TALKABLE? #{talkable}\n".colorize(:white)
end
end
end