diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-11-22 22:13:32 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-11-22 22:13:32 -0500 |
commit | 4549d52359eab2511cef1e3edd02c41eb34394c7 (patch) | |
tree | 054b52e90de4d73bb60dcc08d5d33d873c8a1bd0 /Archipelago/client.gd | |
parent | 78a0212f1f63679e336630dc18f32d240a0d29bc (diff) | |
download | lingo-archipelago-4549d52359eab2511cef1e3edd02c41eb34394c7.tar.gz lingo-archipelago-4549d52359eab2511cef1e3edd02c41eb34394c7.tar.bz2 lingo-archipelago-4549d52359eab2511cef1e3edd02c41eb34394c7.zip |
Preload all scripts in settings_screen
Diffstat (limited to 'Archipelago/client.gd')
-rw-r--r-- | Archipelago/client.gd | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/Archipelago/client.gd b/Archipelago/client.gd index 40fa4db..3cb46d3 100644 --- a/Archipelago/client.gd +++ b/Archipelago/client.gd | |||
@@ -1,5 +1,13 @@ | |||
1 | extends Node | 1 | extends Node |
2 | 2 | ||
3 | var SCRIPT_doorControl | ||
4 | var SCRIPT_effects | ||
5 | var SCRIPT_location | ||
6 | var SCRIPT_mypainting | ||
7 | var SCRIPT_notifier | ||
8 | var SCRIPT_panel | ||
9 | var SCRIPT_uuid | ||
10 | |||
3 | var ap_server = "" | 11 | var ap_server = "" |
4 | var ap_user = "" | 12 | var ap_user = "" |
5 | var ap_pass = "" | 13 | var ap_pass = "" |
@@ -71,8 +79,6 @@ var _location_name_to_id = {} # LINGO only | |||
71 | 79 | ||
72 | var _remote_version = {"major": 0, "minor": 0, "build": 0} | 80 | var _remote_version = {"major": 0, "minor": 0, "build": 0} |
73 | 81 | ||
74 | const uuid_util = preload("user://maps/Archipelago/vendor/uuid.gd") | ||
75 | |||
76 | # TODO: caching per MW/slot, reset between connections | 82 | # TODO: caching per MW/slot, reset between connections |
77 | var _authenticated = false | 83 | var _authenticated = false |
78 | var _seed = "" | 84 | var _seed = "" |
@@ -518,7 +524,7 @@ func connectToRoom(): | |||
518 | "password": ap_pass, | 524 | "password": ap_pass, |
519 | "game": "Lingo", | 525 | "game": "Lingo", |
520 | "name": ap_user, | 526 | "name": ap_user, |
521 | "uuid": uuid_util.v4(), | 527 | "uuid": SCRIPT_uuid.v4(), |
522 | "version": ap_version, | 528 | "version": ap_version, |
523 | "items_handling": 0b111, # always receive our items | 529 | "items_handling": 0b111, # always receive our items |
524 | "tags": [], | 530 | "tags": [], |