Update S5 menu

This commit is contained in:
Midgard 2021-06-19 14:29:55 +02:00
parent 9974cfb3c4
commit 7a88563fc7
Signed by: midgard
GPG key ID: 511C112F1331BBB4
2 changed files with 79 additions and 53 deletions

49
s5.hlds
View file

@ -25,12 +25,12 @@ dish sandwich_tomaatmozzarella: Broodje Tomaat-mozzarella -- Mozzarella, tomaat,
large_white: Groot wit € 2.60
large_brown: Groot bruin € 2.60
dish sandwich_gerooktezalmmetkruidenkaas: Broodje Gerookte zalm met kruidenkaas -- Gerookte zalm, kruidenkaas en ui
dish sandwich_groentespread: Broodje Groentespread -- Wekelijks wisselende veggie of vegan groentespread
single_choice sandwich: Broodje
large_white: Groot wit € 2.60
large_brown: Groot bruin € 2.60
dish sandwich_groentespread: Broodje Groentespread -- Wekelijks wisselende groentespread
dish sandwich_pulledpork: Broodje Pulled pork -- Pulled pork, ei, tomaat, wittekool, wortel, BBQ saus
single_choice sandwich: Broodje
large_white: Groot wit € 2.60
large_brown: Groot bruin € 2.60
@ -40,26 +40,31 @@ dish sandwich_toscane: Broodje Toscane -- Mozzarella, prosciutto ham, sla en tom
large_white: Groot wit € 2.70
large_brown: Groot bruin € 2.70
dish yoghurt: Natuuryoghurt € 0.4
dish yofu: Plantaardige yofu € 1
dish yoghurt_muesli: Yoghurt met muesli € 1
dish greek_fruit_yoghurt: Griekse vruchtenyoghurt € 1.4
dish chocolate_mousse: Chocomousse € 1.4
dish speculoos_mousse: Speculaasmousse € 1.4
dish soy_dessert: Soja dessert € 0.7
dish tiramisu: Tiramisu € 1.4
dish muffin: Muffin € 1
dish donut: Donut € 1
dish ice_variation: IJsvariatie € 2.3
dish fruit: Fruit € 0.5
dish nuts_fruit: Nuts & fruit € 1.5
dish sandwich_falafelvegan: Broodje Falafel (vegan) -- Falafel, paprika-basilicum spread, spelt pasta, komkommer
single_choice sandwich: Broodje
large_white: Groot wit € 2.70
large_brown: Groot bruin € 2.70
dish chocolate_milk: Koude chocolademelk € 0.8
dish juice: Fruitsap 20 cl Fair Trade € 0.8
dish water: Bruisend water 50 cl € 0.8
dish perfumed_water: Gearomatiseerd water 50 cl € 1
dish bionade: Bionade € 1.5
dish salad_bowl_caesar: Salad bowl Caesar -- Kippenreepjes, Gran Moravia kaasschilfers, croutons, sla en caesardressing
dish salad_bowl_falafel: Salad bowl Falafel -- Falafel, paprika-basilicum spread, spelt pasta en komkommer
dish salad_bowl_tomaatmozzarella: Salad bowl Tomaat-mozzarella -- Tomaat, mozzarella, pastasalade, basilicumpesto, sla
dish pasta_salad_mediterranee: Pastasalade Mediterranée -- Spirelli salade, Gran Moravia kaasschilfers, kerstomaat, prosciutto ham en tomatensalsa
dish fruit: Fruit € 0.5
dish soy_dessert: Sojadessert € 0.7
dish yoghurt_muesli: Yoghurt met muesli € 1
dish chocolate_mousse: Chocomousse € 1.4
dish greek_fruit_yoghurt: Griekse vruchtenyoghurt € 1.4
dish muffin: Muffin € 1
dish fizzy_water: Bruisend water 50 cl € 0.8
dish still_water: Plat water 50 cl € 0.8
dish coca_cola: Coca Cola € 1.5
dish coca_cola_zero: Coca Cola Zero € 1.5
dish fanta: Fanta € 1.5
dish fuze_tea: Fuze Tea € 1
dish finley: Finley € 1
dish iced_coffee: IJskoffie € 2
dish iced_tea: IJsthee € 2
dish smoothie: Smoothie € 2

View file

@ -11,23 +11,39 @@ s5: S5
# Paste menu from https://www.ugent.be/student/nl/meer-dan-studeren/resto/broodjes/overzicht.htm
# here
MENU = [
SANDWICH_MENU = [
l.split("\t")
for l in """
Kaas Kaas, ei, komkommer, sla, tomaat en mayonaise 2,10
Tomaat-mozzarella Mozzarella, tomaat, basilicumpesto en sla 2,60
Caesar Kippenreepjes, Gran Moravia kaasschilfers, croutons, sla en caesardressing 2,50
Gerookte zalm met kruidenkaas Gerookte zalm, kruidenkaas en ui 2,60
Maison Ham, kaas, augurk, ei, sla, tomaat, cocktailsaus en mayonaise 2,40
Toscane Mozzarella, prosciutto ham, sla en tomatensalsa 2,70
Groentespread Wekelijks wisselende groentespread 2,60
""".strip().split(
"\n"
)
Groentespread Wekelijks wisselende veggie of vegan groentespread 2,60
Falafel (vegan) Falafel, paprika-basilicum spread, spelt pasta, komkommer 2,70
Pulled pork Pulled pork, ei, tomaat, wittekool, wortel, BBQ saus 2,60
""".strip().split("\n")
]
SALADS_MENU = [
l.split("\t")
for l in """
Tomaat-mozzarella Tomaat, mozzarella, pastasalade, basilicumpesto, sla 3,20
Caesar Kippenreepjes, Gran Moravia kaasschilfers, croutons, sla en caesardressing 3,00
Falafel Falafel, paprika-basilicum spread, spelt pasta en komkommer 3,00
""".strip().split("\n")
]
PASTA_MENU = [
l.split("\t")
for l in """
Mediterranée Spirelli salade, Gran Moravia kaasschilfers, kerstomaat, prosciutto ham en tomatensalsa 3,30
""".strip().split("\n")
]
# Sort by price. This fails if price is not always exactly "€ x,xx" but whatever
# MENU.sort(key=lambda dish: dish[2] + dish[3])
MENU.sort(key=lambda dish: dish[2])
# SANDWICH_MENU.sort(key=lambda dish: dish[2] + dish[3])
SANDWICH_MENU.sort(key=lambda dish: dish[2])
SALADS_MENU.sort(key=lambda dish: dish[2])
PASTA_MENU.sort(key=lambda dish: dish[2])
SANDWICHES = [
# [("small_white", "Klein wit "), ("small_brown", "Klein bruin"),], # First price
@ -45,7 +61,7 @@ def name_to_id(name):
)
for dish in MENU:
for dish in SANDWICH_MENU:
print()
name, description = dish[0], dish[1]
prices = [p.replace(",", ".") for p in dish[2:]]
@ -58,29 +74,34 @@ for dish in MENU:
for sw_id, sw_name in sandwiches:
print("\t\t{}: {} {}".format(sw_id, sw_name, price))
for dish in SALADS_MENU:
print()
name, description, price = dish
print(
"dish salad_bowl_{}: Salad bowl {} -- {}".format(name_to_id(name), name, description)
)
for dish in PASTA_MENU:
print()
name, description, price = dish
print(
"dish pasta_salad_{}: Pastasalade {} -- {}".format(name_to_id(name), name, description)
)
print(
"""
dish yoghurt: Natuuryoghurt 0.4
dish yofu: Plantaardige yofu 1
dish yoghurt_muesli: Yoghurt met muesli 1
dish greek_fruit_yoghurt: Griekse vruchtenyoghurt 1.4
dish chocolate_mousse: Chocomousse 1.4
dish speculoos_mousse: Speculaasmousse 1.4
dish soy_dessert: Soja dessert 0.7
dish tiramisu: Tiramisu 1.4
dish muffin: Muffin 1
dish donut: Donut 1
dish ice_variation: IJsvariatie 2.3
dish fruit: Fruit 0.5
dish nuts_fruit: Nuts & fruit 1.5
dish soy_dessert: Sojadessert 0.7
dish yoghurt_muesli: Yoghurt met muesli 1
dish chocolate_mousse: Chocomousse 1.4
dish greek_fruit_yoghurt: Griekse vruchtenyoghurt 1.4
dish muffin: Muffin 1
dish chocolate_milk: Koude chocolademelk 0.8
dish juice: Fruitsap 20 cl Fair Trade 0.8
dish water: Bruisend water 50 cl 0.8
dish perfumed_water: Gearomatiseerd water 50 cl 1
dish bionade: Bionade 1.5
dish fizzy_water: Bruisend water 50 cl 0.8
dish still_water: Plat water 50 cl 0.8
dish coca_cola: Coca Cola 1.5
dish coca_cola_zero: Coca Cola Zero 1.5
dish fanta: Fanta 1.5
dish fuze_tea: Fuze Tea 1
dish finley: Finley 1
dish iced_coffee: IJskoffie 2
dish iced_tea: IJsthee 2
dish smoothie: Smoothie 2"""
dish iced_coffee: IJskoffie 2"""
)