InventoryState
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
equipment |
Readonly<WornItems> |
What her character wears, copied each frame from the EquipmentTrait, by slot; a slot left out is empty. |
slots |
readonly (ItemStack | null)[] |
The player’s bag, copied each frame from the InventoryTrait on her character: one entry a slot, null where the slot is empty. Read it; the verbs write the trait. |