From ba5c32ee9c5c57613ec678d47c3871e9ea312402 Mon Sep 17 00:00:00 2001 From: Yohann Ferreira Date: Thu, 25 Aug 2005 22:36:51 +0000 Subject: Added items effect description support. TODO: Display it in buy/sell/inventory/equip windows. --- src/resources/iteminfo.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/resources/iteminfo.cpp') diff --git a/src/resources/iteminfo.cpp b/src/resources/iteminfo.cpp index bceeffef..e23be049 100644 --- a/src/resources/iteminfo.cpp +++ b/src/resources/iteminfo.cpp @@ -70,6 +70,16 @@ std::string ItemInfo::getDescription() return description; } +void ItemInfo::setEffect(const std::string &effect) +{ + this->effect = effect; +} + +std::string ItemInfo::getEffect() +{ + return effect; +} + void ItemInfo::setType(short type) { this->type = type; -- cgit v1.2.3-70-g09d2