# Inventories

<figure><img src="/files/dQKfmDRNOKeguHEa6os2" alt=""><figcaption></figcaption></figure>

Here you can create your inventory data objects. Such as the player inventory, merchant inventory or other generic inventories.

**Inventory Type**:\
Set the type of the inventory. Depending on if it is a player inventory, a player equipment, a merchant inventory or just a generic inventory.

**Generate random inventory from loot table:**\
If enabled, the inventory will be randomly populated based on the selected loot table.

**Inventory item slots:**\
Here you can add the item slots for the specific inventory. For each item slot you can define a default item, the amount and set if the item slot is hidden in the runtime UI.

**Events:**\
Assign specific inventory events to listen to.

**Logic - Graphs: (Only when Logic - add-on is installed)**\
Logic graphs can be assigned to specific inventory events which are then executed when the event happens.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://giantgrey.gitbook.io/databrain/add-ons/inventory/data-setup/inventories.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
