Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

setOrderStage

setOrderStage<Stage>(step, worker, setOrderStageOptions): void

Moves worker’s order of kind on to a stage: the whole stage, so a station or a stand left out is none. It writes only what changed, and a change clears a walk’s give-up the kind has not answered.

Type Parameter
Stage extends string
Parameter Type
step AuthoritativeStep
worker Entity
setOrderStageOptions SetOrderStageOptions<Stage>

void

setOrderStage(step, worker, { kind: chop, stage: ChopStage.Haul, station: yard });