Overview


EquipmenComponent is responsible to track which items are equipped, active, hidden etc.


Active Item

Each slot in equipment can store multiple items, but only one of them can be active at one moment (owner will get bonuses only from active item).
Active items can be switched in runtime.

Example:
Melee Weapon slot has 2 items, one of them stores sword and second one stores dagger.
By default first item is Active, so if player tries to use melee weapon, it will be sword, but during a gameplay player can switch active item to hide sword and draw dagger.


Hidden Slot

Slots in equipment can be hidden, player does not take any bonuses from items in hidden slot.
Let’s assume player uses 2 handed sword, but he also has equipped shield, in this case shield slot will be hidden, so owner won’t get any bonuses from it (e.g Block bonus).