diff options
Diffstat (limited to 'src/core')
-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); |