Appearance
Session inventory and pickups
Inventory and Inventory pickup are controlled gameplay components. They work identically in Workshop test mode, solo play, and authoritative rooms without custom code.
Give a player an inventory
- Select a player object.
- In Object Inspector, choose Add → Inventory.
- Set Slots to the maximum number of distinct item types.
- Set Max stack to the largest quantity allowed for one item type.
An inventory supports 1–32 slots and stack limits from 1–999.
Add a pickup
- Open Pieces and add Inventory pickup, or attach the component to an object.
- Position its sensor Collider where a player should collect it.
- Enter a stable Item ID, player-facing Label, and Quantity.
- Run Test Rift and touch it with a player that has Inventory.
The whole pickup is collected only when it fits. A successful pickup disappears and its quantity is added to the player's inventory panel. If no slot is free or the stack would exceed its limit, the pickup remains in the world. Every pickup using the same Item ID in a scene must use the same label.
Scope and safety
- Item IDs use letters, numbers,
_, and-, beginning with a letter. - Labels are plain text containing 1–80 characters.
- Pickup quantities are 1–99.
- The server owns collection, stack limits, and deactivation; the browser only submits movement input.
- Inventory lasts for the current loaded play session and survives room reconnect. It is not an account item, persistent save, purchase, or tradable asset.