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