Skip to main content

Execute_CompleteRestaurantMeal

Description

Validates the exact ticket-bound ServedFood without changing its remaining amount and transitions the BaseObject restaurant customer's current order ticket from Served to Eaten. The settlement group advances to PendingPayment after every ticket is terminal and at least one is Eaten; in the normal flow this means every member finished RestaurantEat, while Cancelled remains the no-charge departure exception. This is retained as a compatibility and debug entry point for scripted legacy flows. RestaurantEat performs the same transition directly on Finish, so its FinishScript must not invoke this Execute again.

Parameters

ParameterDescription
BaseObjectSelf or Target. The restaurant customer who completed their meal.
Non-BaseObjectThe exact ServedFood used by the Eat interaction; ticket binding is the fallback.
S1 / S2Not used.
F1 / F2Not used. Must be 0.
ProbMust be 1.

Examples

DescriptionBaseObjectCommandProb
Complete a legacy scripted meal without RestaurantEatSelfCompleteRestaurantMeal1