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