about summary refs log tree commit diff stats
path: root/Archipelago/client.gd
diff options
context:
space:
mode:
Diffstat (limited to 'Archipelago/client.gd')
-rw-r--r--Archipelago/client.gd6
1 files changed, 5 insertions, 1 deletions
diff --git a/Archipelago/client.gd b/Archipelago/client.gd index feeda7e..a816c42 100644 --- a/Archipelago/client.gd +++ b/Archipelago/client.gd
@@ -43,6 +43,7 @@ const progressive_items = {
43 43
44const kTHE_END = 0 44const kTHE_END = 0
45const kTHE_MASTER = 1 45const kTHE_MASTER = 1
46const kLEVEL_2 = 2
46 47
47const kNO_PANEL_SHUFFLE = 0 48const kNO_PANEL_SHUFFLE = 0
48const kREARRANGE_PANELS = 1 49const kREARRANGE_PANELS = 1
@@ -81,12 +82,13 @@ var _paintings = {}
81var _paintings_mapping = {} 82var _paintings_mapping = {}
82var _localdata_file = "" 83var _localdata_file = ""
83var _death_link = false 84var _death_link = false
84var _victory_condition = 0 # THE END, THE MASTER 85var _victory_condition = 0 # THE END, THE MASTER, LEVEL 2
85var _door_shuffle = false 86var _door_shuffle = false
86var _color_shuffle = false 87var _color_shuffle = false
87var _panel_shuffle = 0 # none, rearrange 88var _panel_shuffle = 0 # none, rearrange
88var _painting_shuffle = false 89var _painting_shuffle = false
89var _mastery_achievements = 21 90var _mastery_achievements = 21
91var _level_2_requirement = 223
90var _slot_seed = 0 92var _slot_seed = 0
91 93
92var _map_loaded = false 94var _map_loaded = false
@@ -267,6 +269,8 @@ func _on_data():
267 _paintings_mapping = _slot_data["painting_entrance_to_exit"] 269 _paintings_mapping = _slot_data["painting_entrance_to_exit"]
268 if _slot_data.has("mastery_achievements"): 270 if _slot_data.has("mastery_achievements"):
269 _mastery_achievements = _slot_data["mastery_achievements"] 271 _mastery_achievements = _slot_data["mastery_achievements"]
272 if _slot_data.has("level_2_requirement"):
273 _level_2_requirement = _slot_data["level_2_requirement"]
270 274
271 _localdata_file = "user://archipelago_data/%s_%d" % [_seed, _slot] 275 _localdata_file = "user://archipelago_data/%s_%d" % [_seed, _slot]
272 var ap_file = File.new() 276 var ap_file = File.new()