Condition_HasRestaurantDishBatchToCook
Description
Checks whether Self can cook for the operating restaurant and has restaurant work available. An eligible worker passes when they can resume an owned or unclaimed Cooking batch, or claim a valid Ordered table batch.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | Self. Must resolve to an eligible restaurant worker. |
| CompareType | Equal when cooking work must exist, NotEqual when it must not. |
| S1 / S2 | Not used. |
| F1 / F2 | Not used. Must be 0. |
Examples
| Description | BaseObject | Command | CompareType |
|---|---|---|---|
| Let an eligible Self start or resume cooking | Self | HasRestaurantDishBatchToCook | Equal |
Back to Command FinderSearch and filter all 491 Script Condition documents