Equipment
Add the ability to equip items!

The equipment component allows you to add equipment slots to any game object.
You have more control of this component through code! Visit the scripting section for more information.
EquipmentProperties
References
Linked Inventory
The inventory to accept items from. Items from any other inventory cannot be equipped.
Auto Equip
If a picked up item should be equipped automatically if possible.
Character Stats
If this is set, the stats in the linked character stats object will combine with the stats from the equipment.
Slots

You can add slots with the "Add" button at the bottom. To remove a slot, click the "X" button at the top-left.
Name
The name of the slot. May not be relevant for non-equipment slots.
Remove Item From Inventory
If assigning an item to a slot should remove it from the inventory that it's currently inside of. The item will be returned to the inventory when it's removed from the slot.
Accepted Enchantment Mode
The accepted item enchantment mode.
Accepted Item Types
A list of all item types that this slot accepts. Leave it empty to allow any type.
Events
On Equipped
A callback for when an item is equipped. This accepts 2 arguments: the slot affected, the equipped item.
On Unequipped
A callback for when an item is unequipped. This accepts 2 arguments: the slot affected, the unequipped item.
Supported Block Binding
The component itself OR its properties can be bound with the following:
Last updated