diff options
Diffstat (limited to 'Archipelago/client.gd')
-rw-r--r-- | Archipelago/client.gd | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Archipelago/client.gd b/Archipelago/client.gd index 905a0a1..5b4d81e 100644 --- a/Archipelago/client.gd +++ b/Archipelago/client.gd | |||
@@ -35,6 +35,7 @@ var _mentioned_paintings = [] | |||
35 | var _panel_ids_by_location = {} | 35 | var _panel_ids_by_location = {} |
36 | var _localdata_file = "" | 36 | var _localdata_file = "" |
37 | var _death_link = false | 37 | var _death_link = false |
38 | var _victory_condition = 0 # THE END, THE MASTER | ||
38 | 39 | ||
39 | var _map_loaded = false | 40 | var _map_loaded = false |
40 | var _held_items = [] | 41 | var _held_items = [] |
@@ -151,6 +152,9 @@ func _on_data(): | |||
151 | if _death_link: | 152 | if _death_link: |
152 | sendConnectUpdate(["DeathLink"]) | 153 | sendConnectUpdate(["DeathLink"]) |
153 | 154 | ||
155 | if _slot_data.has("victory_condition"): | ||
156 | _victory_condition = _slot_data["victory_condition"] | ||
157 | |||
154 | _localdata_file = "user://archipelago/%s_%d" % [_seed, _slot] | 158 | _localdata_file = "user://archipelago/%s_%d" % [_seed, _slot] |
155 | var ap_file = File.new() | 159 | var ap_file = File.new() |
156 | if ap_file.file_exists(_localdata_file): | 160 | if ap_file.file_exists(_localdata_file): |