five-on-it / packages/sim/src/loadouts / LoadoutStack
Interface: LoadoutStack
Defined in: packages/sim/src/loadouts.ts:30
One stack of a loadout: an item by id, how many, and the slot it goes in (0-based) when it says.
Properties
count
count:
number
Defined in: packages/sim/src/loadouts.ts:34
How many.
item
item:
string
Defined in: packages/sim/src/loadouts.ts:32
The item's id in the room's table.
slot?
optionalslot?:number
Defined in: packages/sim/src/loadouts.ts:36
The inventory slot it goes in (0 is the strip's first, the key 1); the first free one when absent or taken.