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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
worker |
Entity |
Returns
Section titled “Returns”boolean