From 0c8f9abfd586964c0f04a0a81989ae2d3dbfebdb Mon Sep 17 00:00:00 2001 From: tpart Date: Mon, 29 Sep 2025 20:21:22 +0200 Subject: Remove remaining references to hint system --- client/system/profile.gd | 29 +---------------------------- 1 file changed, 1 insertion(+), 28 deletions(-) (limited to 'client/system/profile.gd') diff --git a/client/system/profile.gd b/client/system/profile.gd index 35706f2d..d0e04bb2 100644 --- a/client/system/profile.gd +++ b/client/system/profile.gd @@ -25,17 +25,7 @@ static var default_profile := { }, "last_server_url": "", "tutorial_ingredients_played": [], - "registry_asked": false, - "hints": { - "has_moved": false, - "has_boosted": false, - "has_interacted": false, - "has_rotated": false, - "has_reset": false, - "has_zoomed": false, - "has_seen_performance": false, - "has_seen_join_while_running": false - } + "registry_asked": false } # profile is stored in a Dictionary[String, Any] @@ -76,20 +66,3 @@ static func write(key: String, value): return if values[key] != value: values[key] = value - -static func set_hint(key: String, value: bool): - if !values["hints"].has(key): - push_error("Tried to set hint \"%s\", which does not yet exist (missing key)" % key) - if values["hints"][key] != value: - if value: - Settings.write("gameplay.hints_started", true) - Settings.save() - values["hints"][key] = value - save() # TODO avoid this call when bulk-unsetting hints - -static func get_hint(key: String): - if values["hints"].has(key): - return values["hints"][key] - else: - push_error("Tried to access hint \"%s\", which does not exist (missing key)" % key) - return null -- cgit v1.2.3-70-g09d2