import os VALORANT_RANKS = [ "Iron 1","Iron 2","Iron 3", "Bronze 1","Bronze 2","Bronze 3", "Silver 1","Silver 2","Silver 3", "Gold 1","Gold 2","Gold 3", "Platinum 1","Platinum 2","Platinum 3", "Diamond 1","Diamond 2","Diamond 3", "Ascendant 1","Ascendant 2","Ascendant 3", "Immortal 1","Immortal 2","Immortal 3", "Radiant" ] def env_int(key: str) -> int: value = os.getenv(key) if value is None: print(f"⚠️ ENV {key} not set, defaulting to 0") 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"), "Pushups": env_int("PUSHUPS"), "Squats": env_int("SQUATS"), "Lunges": env_int("LUNGES"), "Russian Twists": env_int("RUSSIAN_TWISTS"), "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 }