summaryrefslogtreecommitdiff
path: root/src/item.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/item.h')
-rw-r--r--src/item.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/item.h b/src/item.h
index a5982c98e..29700f27a 100644
--- a/src/item.h
+++ b/src/item.h
@@ -161,6 +161,9 @@ class Item
unsigned char getColor() const
{ return mColor; }
+ std::string &getDescription()
+ { return mDescription; }
+
protected:
int mId; /**< Item type id. */
Image *mImage; /**< Item image. */
@@ -171,6 +174,7 @@ class Item
bool mInEquipment; /**< Item is in equipment */
int mRefine; /**< Item refine level. */
int mInvIndex; /**< Inventory index. */
+ std::string mDescription;
unsigned char mColor;
std::map <int, int> mTags;
};