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

isWorkerIdle

isWorkerIdle(worker): boolean

Whether worker may take an order now: a live worker with no order, whose routine runs and is in one it runs between events or on its way out of an order. One a player talks to, one the game holds, a downed one and one in a routine an event started are not.

Parameter Type
worker Entity

boolean