Items:Item Classes

Item Classes
Item classes represent the expected behaviour of groups of items. Weapons are equipped, food is eaten, keys are used on locks.
 * CLASS_NONE - This item is purely decorative trash.
 * CLASS_EQUIPPABLE - This item is equipped in the Equipment slot
 * CLASS_CONSUMABLE - This item can be eaten or otherwise consumed
 * CLASS_INGREDIENT - This item is part of a crafting recipe
 * CLASS_KEY - This item only opens locks.
 * CLASS_USABLE - This item is equipped to the Item slot
 * CLASS_WEAPON - This item is equipped to the Weapon slot
 * CLASS_FOOD - Items flagged with food will degrade over time, using 'stale' and 'rotten' modifiers, and can be cooked to provide extra benefits.

Class Flags can be combined with the | operator, but some combinations won't produce useful results. ItemList[n].CLASS = CLASS_INGREDIENT | CLASS_CONSUMABLE;