Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2012-11-14 12:52:50 +0000
committerStijn Buys <ingar@osirion.org>2012-11-14 12:52:50 +0000
commit9f695f55fd8ee67e36e5607be907bd6f495fe9b4 (patch)
treed41efe8f70e2630687e97d27d1a0542ef3eaeccc /src/core
parent7bec374404aa1a0b30c220aee49b4a9890437f75 (diff)
Added Item::Mounted flag.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/item.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/core/item.h b/src/core/item.h
index 4d9f0e8..ae6a158 100644
--- a/src/core/item.h
+++ b/src/core/item.h
@@ -19,7 +19,14 @@ namespace core
class Item
{
public:
- enum Flags {Tradeable = 1, Unique = 2, Unrestricted = 4};
+ /**
+ * @brief item flags indicating special properties
+ * Tradeable (reserved)
+ * Unique indicates a unique item
+ * Unrestricted can be sold everywhere (e.g. cargo)
+ * Mounted indicates the item is mounted in a slot
+ * */
+ enum Flags {Tradeable = 1, Unique = 2, Unrestricted = 4, Mounted = 8};
Item(const Info *info);