Skip to main content

Condition_HasRemainingFood

Description

Checks whether the specified FoodObject has remaining food (not empty). Note: a restaurant dish whose service has finished is treated as empty regardless of the remaining amount. Service is finished when the customer of its order ticket is confirmed departed, or when the ticket has been settled and the dish is registered in the cleanup queue.

Parameters

ParameterDescription
BaseObjectThe food object to validate (Self or Target).
CompareTypeEqual: has remaining food. NotEqual: is empty or service-finished.

Examples

DescriptionBaseObjectCommandCompareType
Checks whether target food has remaining servings.TargetHasRemainingFoodEqual
Checks whether self food is empty.SelfHasRemainingFoodNotEqual