diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-11-21 14:39:30 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-11-21 14:39:30 -0500 |
commit | 75e5821d9b128ffd68609b0842fe8e235ebde5db (patch) | |
tree | 0c535120301a17a6fbc2c526a95f36fe94e8f8a6 /Archipelago/client.gd | |
parent | 94f52a7f4d512d7bbf2cf5311f3b334f6478f58c (diff) | |
download | lingo-archipelago-75e5821d9b128ffd68609b0842fe8e235ebde5db.tar.gz lingo-archipelago-75e5821d9b128ffd68609b0842fe8e235ebde5db.tar.bz2 lingo-archipelago-75e5821d9b128ffd68609b0842fe8e235ebde5db.zip |
confusing world is now an option
Diffstat (limited to 'Archipelago/client.gd')
-rw-r--r-- | Archipelago/client.gd | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Archipelago/client.gd b/Archipelago/client.gd index 5273216..9744c0d 100644 --- a/Archipelago/client.gd +++ b/Archipelago/client.gd | |||
@@ -3,6 +3,7 @@ extends Node | |||
3 | var ap_server = "" | 3 | var ap_server = "" |
4 | var ap_user = "" | 4 | var ap_user = "" |
5 | var ap_pass = "" | 5 | var ap_pass = "" |
6 | var confusify_world = false | ||
6 | 7 | ||
7 | const my_version = "0.14.0" | 8 | const my_version = "0.14.0" |
8 | const ap_version = {"major": 0, "minor": 4, "build": 0, "class": "Version"} | 9 | const ap_version = {"major": 0, "minor": 4, "build": 0, "class": "Version"} |
@@ -128,6 +129,8 @@ func _init(): | |||
128 | ap_pass = data[2] | 129 | ap_pass = data[2] |
129 | if data.size() > 3: | 130 | if data.size() > 3: |
130 | _datapackages = data[3] | 131 | _datapackages = data[3] |
132 | if data.size() > 4: | ||
133 | confusify_world = data[4] | ||
131 | 134 | ||
132 | processDatapackages() | 135 | processDatapackages() |
133 | 136 | ||
@@ -422,7 +425,7 @@ func saveSettings(): | |||
422 | var file = File.new() | 425 | var file = File.new() |
423 | file.open("user://settings/archipelago", File.WRITE) | 426 | file.open("user://settings/archipelago", File.WRITE) |
424 | 427 | ||
425 | var data = [ap_server, ap_user, ap_pass, _datapackages] | 428 | var data = [ap_server, ap_user, ap_pass, _datapackages, confusify_world] |
426 | file.store_var(data, true) | 429 | file.store_var(data, true) |
427 | file.close() | 430 | file.close() |
428 | 431 | ||