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
| Parameter | Description |
|---|---|
| BaseObject | Self or Target. The restaurant customer who completed their meal. |
| Non-BaseObject | The exact ServedFood used by the Eat interaction; ticket binding is the fallback. |
| S1 / S2 | Not used. |
| F1 / F2 | Not used. Must be 0. |
| Prob | Must be 1. |
Examples
| Description | BaseObject | Command | Prob |
|---|---|---|---|
| Complete a legacy scripted meal without RestaurantEat | Self | CompleteRestaurantMeal | 1 |
Back to Command FinderSearch and filter all 399 Script Execution documents