> For the complete documentation index, see [llms.txt](https://espergames.gitbook.io/inventool/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://espergames.gitbook.io/inventool/components/equipment.md). Agents can also search and read this documentation through its [MCP server](https://espergames.gitbook.io/inventool/~gitbook/mcp).

# Equipment

Add the ability to equip items!

<figure><img src="https://658062748-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkBIjnmm9A7LqfwoDhaeR%2Fuploads%2FNi4k6iIL7QR2fmXekKue%2Fimage_2026-03-05_210457121.png?alt=media&amp;token=7f2bf506-a437-48e6-a14e-bbdecac1c40c" alt=""><figcaption></figcaption></figure>

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.

{% content-ref url="/pages/26njdkDwvnOdninmXJci" %}
[Equipment](https://espergames.gitbook.io/inventool/scripting/equipment.md)
{% endcontent-ref %}

## Properties

#### References

| Name             | Description                                                                                                    |
| ---------------- | -------------------------------------------------------------------------------------------------------------- |
| 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

<figure><img src="https://658062748-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkBIjnmm9A7LqfwoDhaeR%2Fuploads%2FmDR9chplYOozXpwUMJNJ%2Fimage.png?alt=media&amp;token=77ce3b32-98b2-41dc-86c2-982213219fee" alt=""><figcaption></figcaption></figure>

You can add slots with the "Add" button at the bottom. To remove a slot, click the "X" button at the top-left.

| Name                       | Description                                                                                                                                                                   |
| -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 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

| Name          | Description                                                                                                  |
| ------------- | ------------------------------------------------------------------------------------------------------------ |
| 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:

* [Equipment Block](https://espergames.gitbook.io/inventool/components/ui-blocks/equipment-block.md)
