inventory
What it carries: a character's pockets, a chest, a shop's shelf, a stove. Items are the project's Assets/Items/
In scene text
inventory { slots 1 weight 1 contents "…" }Add it in the Inspector (Add Component), in scene text as above, or ask your AI. Fields you leave out keep their defaults.
Fields 7
| Field | Type | Unit / range | What it does |
|---|---|---|---|
slots | number | 0 … 1000 | Slots (0: as many as needed). |
weight | number | kg, 0 … 100 | Most kilograms it carries (0: no limit). |
contents | text | — | What it starts with: "coin 20, turnip_seeds 10". |
loot | text | — | A loot table rolled into it when play starts (seeded by its name: the same every time). |
shop | text | — | The shop it runs (Assets/Items/<id>.shop.json); using it opens the shop screen. |
station | list of text | — | Station tags for recipes (a stove: ["kitchen"]); using it opens crafting. |
container | true / false | — | Others can open it, take from it and put in it (a chest, a crate). |
Arcwright Beta 2 (0.4.0) · generated from the engine source (25e375c86)Something wrong or missing? Tell us