five-on-it / packages/missions/src/runtime / SpawnItemCommand
Interface: SpawnItemCommand
Defined in: packages/missions/src/runtime.ts:762
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:772
Where.
count
count:
number
Defined in: packages/missions/src/runtime.ts:770
How many.
item
item:
string
Defined in: packages/missions/src/runtime.ts:768
The item's id.
key?
optionalkey?:string
Defined in: packages/missions/src/runtime.ts:766
The actor's key; none for items a rule lays out.
kind
kind:
"spawnItem"
Defined in: packages/missions/src/runtime.ts:764
Discriminator.
player
player:
number
Defined in: packages/missions/src/runtime.ts:774
The player the mission belongs to (in a run, its holder 0: the host routes nothing by it).