Skip to content

five-on-it / packages/sim/src/items / ItemStack

Interface: ItemStack ​

Defined in: packages/sim/src/items.ts:207

So many of one item in a slot; an empty slot holds NO_ITEM.

Properties ​

count ​

count: number

Defined in: packages/sim/src/items.ts:211

How many (0 in an empty slot).


item ​

item: number

Defined in: packages/sim/src/items.ts:209

The item's index in the room's table, or NO_ITEM.