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