five-on-it / packages/missions/src/runtime / SpawnItemCommand
Interface: SpawnItemCommand
Defined in: packages/missions/src/runtime.ts:706
Lay items on the ground at a place; with a key, a mission's item actor (the facts report it under the key).
Properties
at
at:
SpawnSpot
Defined in: packages/missions/src/runtime.ts:716
Where.
count
count:
number
Defined in: packages/missions/src/runtime.ts:714
How many.
item
item:
string
Defined in: packages/missions/src/runtime.ts:712
The item's id.
key?
optionalkey?:string
Defined in: packages/missions/src/runtime.ts:710
The actor's key; none for items a rule lays out.
kind
kind:
"spawnItem"
Defined in: packages/missions/src/runtime.ts:708
Discriminator.
player
player:
number
Defined in: packages/missions/src/runtime.ts:718
The player the mission belongs to (in a run, its holder 0: the host routes nothing by it).