Skip to content

Commit cb263eb

Browse files
Merge pull request #310 from TUM-Dev/CommanderStorm-patch-1
Increase prices according to stwmk
2 parents 88d3f47 + 525344e commit cb263eb

File tree

9 files changed

+15802
-15811
lines changed

9 files changed

+15802
-15811
lines changed

src/menu_parser.py

Lines changed: 20 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -92,16 +92,16 @@ class SelfServiceBasePriceType(Enum):
9292
SAUSAGE = (0.5, 0.5, 0.5)
9393
MEAT = (1.0, 1.0, 1.0)
9494
FISH = (1.5, 1.5, 1.5)
95-
PIZZA_VEGGIE = (4.0, 4.5, 5.0)
96-
PIZZA_MEAT = (4.5, 5.0, 5.5)
95+
PIZZA_VEGGIE = (4.5, 5.0, 6.0)
96+
PIZZA_MEAT = (5.0, 5.5, 6.5)
9797

9898
def __init__(self, p1, p2, p3):
9999
self.price = (p1, p2, p3)
100100

101101
# meat and vegetarian base prices for Students, Staff, Guests
102102
class SelfServicePricePerUnitType(Enum):
103-
CLASSIC = 0.80, 1.00, 1.35
104-
SOUP_STEW = 0.33, 0.65, 1.35
103+
CLASSIC = 0.90, 1.15, 1.60
104+
SOUP_STEW = 0.33, 1.15, 1.60
105105
PIZZA = 0.0, 0.0, 0.0
106106

107107
def __init__(self, students: float, staff: float, guests: float):
@@ -162,30 +162,22 @@ def __init__(self, students: float, staff: float, guests: float):
162162
# Students, Staff, Guests
163163
# Looks like those are the fallback prices
164164
prices_mensa_weihenstephan_mensa_lothstrasse: Dict[str, Tuple[Price, Price, Price]] = {
165-
"Tagesgericht 1": Prices(Price(1.00), Price(2.25), Price(3.10)),
166-
"Tagesgericht 2": Prices(Price(1.70), Price(2.50), Price(3.50)),
167-
"Tagesgericht 3": Prices(Price(2.05), Price(2.85), Price(3.90)),
168-
"Tagesgericht 4": Prices(Price(2.55), Price(3.20), Price(4.30)),
169-
"Suppe": Prices(Price(0.60), Price(0.70), Price(1.10)),
170-
"Stärkebeilagen": Prices(Price(0.65), Price(0.90), Price(1.25)),
171-
"Beilage": Prices(Price(0.65), Price(0.90), Price(1.25)),
172-
"Salatbuffet": Prices(Price(0, 0.80, "100g"), Price(0, 1.00, "100g"), Price(0, 1.35, "100g")),
173-
"Obst": Prices(Price(0.85), Price(0.85), Price(0.85)),
174-
"Bio-/Aktionsgericht 1": Prices(Price(1.70), Price(2.50), Price(3.50)),
175-
"Bio-/Aktionsgericht 2": Prices(Price(2.05), Price(2.85), Price(3.90)),
176-
"Bio-/Aktionsgericht 3": Prices(Price(2.55), Price(3.20), Price(4.30)),
177-
"Bio-/Aktionsgericht 4": Prices(Price(2.75), Price(3.55), Price(4.70)),
178-
"Bio-/Aktionsgericht 5": Prices(Price(2.95), Price(3.90), Price(5.10)),
179-
"Bio-/Aktionsgericht 6": Prices(Price(3.15), Price(4.25), Price(5.50)),
180-
"Bio-/Aktionsgericht 7": Prices(Price(3.35), Price(4.60), Price(5.90)),
181-
"Bio-/Aktionsgericht 8": Prices(Price(3.65), Price(4.95), Price(6.30)),
182-
"Bio-/Aktionsgericht 9": Prices(Price(4.15), Price(5.30), Price(6.70)),
183-
"Bio-/Aktionsgericht 10": Prices(Price(4.65), Price(5.65), Price(7.10)),
184-
"Bio-/Aktionsbeilage 1": Prices(Price(0.65), Price(0.90), Price(1.30)),
185-
"Bio-/Aktionsbeilage 2": Prices(Price(0.80), Price(1.05), Price(1.50)),
186-
"Bio-/Aktionsbeilage 3": Prices(Price(0.90), Price(1.25), Price(1.70)),
187-
"Bio-/Aktionsbeilage 4": Prices(Price(1.10), Price(1.45), Price(2.00)),
188-
"Aktionsbeilage 6": Prices(Price(1.50), Price(1.70), Price(2.30)),
165+
"StudiTopf": Prices(Price(1.00), Price(2.90), Price(3.90)),
166+
"Gericht 1": Prices(Price(2.95), Price(3.90), Price(5.10)),
167+
"Gericht 2": Prices(Price(3.35), Price(4.60), Price(5.90)),
168+
"Gericht 3": Prices(Price(3.65), Price(4.95), Price(6.30)),
169+
"Gericht 4": Prices(Price(4.15), Price(5.30), Price(6.70)),
170+
"Gericht 5": Prices(Price(4.65), Price(5.65), Price(7.10)),
171+
"Gericht 6": Prices(Price(5.25), Price(6.25), Price(7.80)),
172+
"Beilage 1": Prices(Price(0.80), Price(1.05), Price(1.50)),
173+
"Brot": Prices(Price(0.80), Price(1.05), Price(1.50)),
174+
"Obst": Prices(Price(0.80), Price(1.05), Price(1.50)),
175+
"Beilage 2": Prices(Price(0.90), Price(1.25), Price(1.70)),
176+
"Beilage 3": Prices(Price(1.10), Price(1.45), Price(2.00)),
177+
"Beilage 4": Prices(Price(1.60), Price(1.80), Price(2.60)),
178+
"Pizza - Veggie": Prices(Price(4.50), Price(5.00), Price(6.00)),
179+
"Pizza - Wurst. Schinken. Fisch. Meeresfrüchte": Prices(Price(5.00), Price(5.50), Price(6.50)),
180+
"Salatbuffet": Prices(Price(0, 0.90, "100g"), Price(0, 1.15, "100g"), Price(0, 1.60, "100g")),
189181
}
190182

191183
@staticmethod

0 commit comments

Comments
 (0)