diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-07-30 15:56:23 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-07-30 15:56:23 -0400 |
commit | 62f06090014aee90231eb90da36d5ae1b65171a3 (patch) | |
tree | e60b7bee0d0b10082df81cde7d8e9d0c58bf9929 /Archipelago/client.gd | |
parent | 80744f7ead1fd6abf391a5ea538d8df49ff19962 (diff) | |
download | lingo-archipelago-62f06090014aee90231eb90da36d5ae1b65171a3.tar.gz lingo-archipelago-62f06090014aee90231eb90da36d5ae1b65171a3.tar.bz2 lingo-archipelago-62f06090014aee90231eb90da36d5ae1b65171a3.zip |
Added LEVEL 2 victory condition
Diffstat (limited to 'Archipelago/client.gd')
-rw-r--r-- | Archipelago/client.gd | 6 |
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 | ||
44 | const kTHE_END = 0 | 44 | const kTHE_END = 0 |
45 | const kTHE_MASTER = 1 | 45 | const kTHE_MASTER = 1 |
46 | const kLEVEL_2 = 2 | ||
46 | 47 | ||
47 | const kNO_PANEL_SHUFFLE = 0 | 48 | const kNO_PANEL_SHUFFLE = 0 |
48 | const kREARRANGE_PANELS = 1 | 49 | const kREARRANGE_PANELS = 1 |
@@ -81,12 +82,13 @@ var _paintings = {} | |||
81 | var _paintings_mapping = {} | 82 | var _paintings_mapping = {} |
82 | var _localdata_file = "" | 83 | var _localdata_file = "" |
83 | var _death_link = false | 84 | var _death_link = false |
84 | var _victory_condition = 0 # THE END, THE MASTER | 85 | var _victory_condition = 0 # THE END, THE MASTER, LEVEL 2 |
85 | var _door_shuffle = false | 86 | var _door_shuffle = false |
86 | var _color_shuffle = false | 87 | var _color_shuffle = false |
87 | var _panel_shuffle = 0 # none, rearrange | 88 | var _panel_shuffle = 0 # none, rearrange |
88 | var _painting_shuffle = false | 89 | var _painting_shuffle = false |
89 | var _mastery_achievements = 21 | 90 | var _mastery_achievements = 21 |
91 | var _level_2_requirement = 223 | ||
90 | var _slot_seed = 0 | 92 | var _slot_seed = 0 |
91 | 93 | ||
92 | var _map_loaded = false | 94 | var _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() |