Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

InventoryState

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.