Inventory
How to work with GS_Play inventory — container-based item storage with slots and stacking.
Categories:
The Inventory system provides container-based item storage for entities. Inventory components define slot-based containers that hold item data, support stacking, and enable item transfer between entities (player to chest, vendor to player).
For component properties and the inventory data model, see the Framework API reference.
GS_Item is under active development. Core inventory functionality is operational, with additional features planned.
Contents
How Inventory Works
| Concept | What It Means |
|---|---|
| Container | A component on an entity that holds item slots. Players, chests, vendors, and loot drops are all containers. |
| Slot | An individual position within a container. Each slot holds one item type. |
| Stacking | Multiple units of the same item can occupy a single slot up to a maximum stack size. |
| Transfer | Items move between containers via slot references — no intermediate state required. |
Glossary
| Term | Meaning |
|---|---|
| Container | A component on an entity that holds item slots |
| Slot | An individual position within a container that holds one item type |
| Stacking | Multiple units of the same item occupying a single slot up to a maximum count |
For full definitions, see the Glossary.
See Also
For the full API, component properties, and C++ extension guide:
For related systems:
Get GS_Item
GS_Item — Explore this gem on the product page and add it to your project.