Restrict progression features to UAT
This commit is contained in:
@@ -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",
|
||||
]
|
||||
Reference in New Issue
Block a user