feature: ECTS basic mechanic

- add ECTS class to track balance and generation rate
- add ECTS and beer constants to settings
This commit is contained in:
Berger Lena
2026-05-07 21:12:48 +02:00
parent e262b982e0
commit 342c086852
2 changed files with 21 additions and 1 deletions
+9 -1
View File
@@ -11,4 +11,12 @@ DOOR_BORDER_WIDTH = 3
COLOR_DOOR_BEIGE = (245, 245, 220)
COLOR_DOOR_BORDER = (100, 90, 80)
COLOR_HP_BAR_GREEN = (0, 255, 0)
COLOR_HP_BAR_BG = (50, 50, 50)
COLOR_HP_BAR_BG = (50, 50, 50)
# --- ECTS ---
START_ECTS_VALUE = 1 # how many ECTS are generated at the beginning
ECTS_UPDATE_INTERVAL = 1000 # time in ms = 1 sec
BEER_BOTTLE_ECTS_VALUE = 2
BEER_COST = 50