A script is a set of rules that determines how a scene should be displayed. A script can contain as many conditions as needed.
The parameters responsible for executing scripts are given in the “Scripts” section (see 5.6.10.3.3 Creating a script).
Types of scripts:
1. Additional sales depending on the code of the last dish added to the order;
2. Depending on the group code of the last dish added to the order;
3. Depending on the code of the group of dishes included in the order (there are dishes of the specified group);
4. Depending on the code of the group of dishes not included in the order (there are no dishes of the specified group in the order);
5. Depending on the code of the restaurant where the order is made;
6. Depending on the business periods during which the self-service kiosk is used;
7. Depending on the code of the dishes contained in the order;
8. Depending on the code of dishes missing from the order;
9. Depending on the minimum order amount;
10. Depending on the maximum order amount.
Limitation for points 1 and 2: works only for adding dishes from the menu to the cart. Changing the quantity in the "My order" section does not affect the system's behavior.