aboutsummaryrefslogtreecommitdiff
path: root/client/global.gd
diff options
context:
space:
mode:
Diffstat (limited to 'client/global.gd')
-rw-r--r--client/global.gd9
1 files changed, 7 insertions, 2 deletions
diff --git a/client/global.gd b/client/global.gd
index 54ae9e07..10468645 100644
--- a/client/global.gd
+++ b/client/global.gd
@@ -27,7 +27,7 @@ extends Node
# (Optional: Only when type "dropdown") "options": An array which contains all
# possible values.
-const DEFAULT_PROFILE := {
+var default_profile := {
"username": "Giovanni",
"character": 0,
"last_server_url": ""
@@ -77,6 +77,11 @@ var default_settings := {
"min": 0,
"max": 32,
"description": tr("3D grass amount per grass tile")
+ },
+ "setup_complete": {
+ "type": "toggle",
+ "value": false,
+ "description": tr("Initial setup complete. (Uncheck and restart to reenter)")
}
}
@@ -118,7 +123,7 @@ var focus_auto_changed := false
var fade_next := false # Set true when transitioning from another scene (fade in requried)
func _init():
- profile = load_dict("user://profile", DEFAULT_PROFILE)
+ profile = load_dict("user://profile", default_profile)
settings = load_dict("user://settings", default_settings)
update_fullscreen()