Restrict progression features to UAT

This commit is contained in:
hz
2026-08-04 08:08:47 -05:00
parent c140b9a96c
commit 976cb70d4a
13 changed files with 216 additions and 37 deletions
+17
View File
@@ -0,0 +1,17 @@
extends RefCounted
static func progression_enabled() -> bool:
return str(ProjectSettings.get_setting("step3/deployment_environment", "development")).to_lower() == "uat"
static func is_progression_reward(reason_code: String) -> bool:
return reason_code in [
"mastery_practicing",
"mastery_strong",
"mastery_mastered",
"session_goal_complete",
"daily_mission_complete",
"weekly_goal_complete",
"rank_promotion",
]