Items

Items in inventories

Items are closely coupled to the inventory type of Abilities because when picked up, the engine tries to put an item into an inventory.

Items in the game world

For every item that is supposed to visually appear in the game world, a UnitBase has to be created and set to reference the item.

Types of Items

This is very simple:

diagram

An ItemInstant is an Item that can be right-clicked to be used.

Also see: picking up items

Item Slots

An Item has the property: "Fits into Slot type". If this property is empty,