Inventory

The key words MUST, MUST NOT, and MAY below are used as in RFC 2119.

The Inventory autoload holds the active character's carried items as an ordered item_id → quantity map. Insertion order is pickup order; the player MAY re-sort by category (one-shot, or auto on every pickup). The bank (GameState.shared_storage) is shared across characters — see Storage.

Slots & capacity

Parsing per-slot instance ids

An instance id is a storage / equip / consume reference only. Any code that derives a per-slot item's base typeor any field embedded in the base id (a disk's technique and level, a weapon's base type) — MUST first strip the instance suffix via Inventory.get_base_id(). Parsing the raw instance id (disk_foie_3#2) for an embedded field is a bug: int("3#2") evaluates to 32 (Godot's int() concatenates the digits across the # — it does not truncate at it), so a duplicate disk would be read as Lv.32 and rejected as over the class cap.

This generalizes the same get_base_id rule already required for category sorting and the unlearnable-disk marker (see equip-legality) to the use/parse path; it does not contradict the per-slot instance-id text above.

Equipping gear

Gear is equipped from the equipment screen; each equip slot (weapon, armor frame, one unit slot per the equipped frame instance's own unit-slot count, mag) holds at most one item, referenced by its instance id.

Stack limits

Stackable max stack is data-defined (data/consumables/*.tres etc.); the default is 10.

ItemMax stack
mates / fluids, atomizers (sol, moon), telepipe10
star atomizer5
scape doll1
photon drop, materials, modifiers, recipes99

Consumable effects

Using a consumable MUST consume exactly one and apply its effect. Healing items are no-ops (and MUST NOT be consumed) when the relevant gauge is already full.

ItemEffect
monomate / dimate / trimaterestore 30% / 60% / 100% of max HP
monofluid / difluid / trifluidrestore 30% / 60% / 100% of max PP
sol / moon / star atomizerrestore full HP (PSO revive / cure / party-heal roles are still to be specified)
technique disk disk_<tech>_<level>learn or upgrade a tech, then consume the disk on success
telepipefield-only; drops a placed pipe at the player — see Telepipe

Bank / storage

Deposit moves items from the 40-slot inventory into the shared bank; withdraw moves them back, clamped by stack room. The bank is presently uncapped (PSO's 200-item bank is the canonical target, to be decided). Full deposit/withdraw flow lives in Storage.

← Mechanics