CALORIE SYSTEM
This commit is contained in:
11
constants.py
11
constants.py
@@ -19,6 +19,7 @@ def env_int(key: str) -> int:
|
||||
return 0
|
||||
return int(value)
|
||||
|
||||
# Workouts with reps per death and calories burned per rep
|
||||
WORKOUTS = {
|
||||
"Sit Ups": env_int("SITUPS"),
|
||||
"Bicep Curls": env_int("BICEP_CURLS"),
|
||||
@@ -29,6 +30,16 @@ WORKOUTS = {
|
||||
"Wall Pushups": env_int("WALL_PUSHUPS"),
|
||||
}
|
||||
|
||||
WORKOUT_CALORIES = {
|
||||
"Sit Ups": 0.2,
|
||||
"Bicep Curls": 0.2,
|
||||
"Pushups": 0.35,
|
||||
"Squats": 0.6,
|
||||
"Lunges": 0.2,
|
||||
"Russian Twists": 0.2,
|
||||
"Wall Pushups": 0.1,
|
||||
}
|
||||
|
||||
ENABLED_WORKOUTS = {
|
||||
k: v for k, v in WORKOUTS.items() if v > 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user