-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmenu.py
More file actions
45 lines (42 loc) · 914 Bytes
/
menu.py
File metadata and controls
45 lines (42 loc) · 914 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
MENU = {
"espresso": {
"ingredients": {"water": 50, "coffee": 18},
"cost": 150,
},
"double": {
"ingredients": {"water": 100, "coffee": 36},
"cost": 300,
},
"chocolate": {
"ingredients": {"water": 100, "milk": 100, "coffee": 15},
"cost": 350,
},
"latte": {
"ingredients": {"water": 50, "milk": 150, "coffee": 18},
"cost": 400,
},
}
extra_steps = {
"double": ["Adding extra flavour!☕️"],
"chocolate": [
"Adding milk...🥛",
"Adding marshmallows...",
"Adding crushed chocolate...🍫",
],
"latte": [
"Adding steamed milk...🥛",
"Adding cream..🥤",
],
}
actions = [
"espresso",
"double",
"chocolate",
"latte",
"receipt",
"exit",
"report",
"refill",
"cash",
]
resources = {"water": 650, "milk": 500, "coffee": 200}