diff options
author | Stijn Buys <ingar@osirion.org> | 2012-11-14 12:52:50 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2012-11-14 12:52:50 +0000 |
commit | 9f695f55fd8ee67e36e5607be907bd6f495fe9b4 (patch) | |
tree | d41efe8f70e2630687e97d27d1a0542ef3eaeccc /src | |
parent | 7bec374404aa1a0b30c220aee49b4a9890437f75 (diff) |
Added Item::Mounted flag.
Diffstat (limited to 'src')
-rw-r--r-- | src/core/item.h | 9 |
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); |