diff options
author | Yohann Ferreira <bertram@cegetel.net> | 2005-08-25 22:36:51 +0000 |
---|---|---|
committer | Yohann Ferreira <bertram@cegetel.net> | 2005-08-25 22:36:51 +0000 |
commit | ba5c32ee9c5c57613ec678d47c3871e9ea312402 (patch) | |
tree | d33acb84348eb0acad268af1db9213f9dd46f21b /src/resources/iteminfo.h | |
parent | 0de989625ed27003420ca3bd6a55183901564fbb (diff) | |
download | mana-ba5c32ee9c5c57613ec678d47c3871e9ea312402.tar.gz mana-ba5c32ee9c5c57613ec678d47c3871e9ea312402.tar.bz2 mana-ba5c32ee9c5c57613ec678d47c3871e9ea312402.tar.xz mana-ba5c32ee9c5c57613ec678d47c3871e9ea312402.zip |
Added items effect description support. TODO: Display it in buy/sell/inventory/equip windows.
Diffstat (limited to 'src/resources/iteminfo.h')
-rw-r--r-- | src/resources/iteminfo.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/resources/iteminfo.h b/src/resources/iteminfo.h index c9c5c85c..f634025f 100644 --- a/src/resources/iteminfo.h +++ b/src/resources/iteminfo.h @@ -53,7 +53,11 @@ class ItemInfo void setDescription(const std::string &description); std::string getDescription(); - + + void setEffect(const std::string &effect); + + std::string getEffect(); + void setType(short type); short getType(); @@ -76,6 +80,7 @@ class ItemInfo short image, art; std::string name; std::string description; + std::string effect; short type, weight; char slot; |