> For the complete documentation index, see [llms.txt](https://malbersanimations.gitbook.io/animal-controller/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://malbersanimations.gitbook.io/animal-controller/storage-chests/chest-inventory.md).

# Chest Inventory

<figure><img src="/files/9nFNlt2WXYD1fZ3a3LFk" alt=""><figcaption></figcaption></figure>

## General

#### Inventory Master

The TransformVar for the InventoryMaster component. Should be set to the "Player"

#### Inventory Name

The unique Inventory Name for each chest. **MUST BE UNIQUE!**

#### Inventory Type

The Inventory Type. Should be set to **CHEST**

#### Chest Storage Limit

The amount of slots that the chest can have

## Events&#x20;

<figure><img src="/files/7HIAJR3ICI0RvoK6c1Xd" alt=""><figcaption></figcaption></figure>

**On Open**

Invokes when the chest is opened

**On Close**

Invokes when the chest is closed

## Debug

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

#### Inventory Data

The Inventory Data class that holds the data. This is greyed out and populated on run-time. Is not editable.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://malbersanimations.gitbook.io/animal-controller/storage-chests/chest-inventory.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.
