diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-03-15 14:09:04 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-03-15 14:09:04 -0400 |
commit | 4706f9205b80591f06c5ab0f171e6b6f91cfae9c (patch) | |
tree | d6ca472f0b879e4a9da6db51803558955537a44d | |
parent | 0e1c0f8c4643ddf972f03922df9152b737ef4641 (diff) | |
parent | ceaff99432d67411de07ab8e5b6aa11911624566 (diff) | |
download | lingo-archipelago-4706f9205b80591f06c5ab0f171e6b6f91cfae9c.tar.gz lingo-archipelago-4706f9205b80591f06c5ab0f171e6b6f91cfae9c.tar.bz2 lingo-archipelago-4706f9205b80591f06c5ab0f171e6b6f91cfae9c.zip |
Merge branch 'main' into future
-rw-r--r-- | Archipelago/client.gd | 28 | ||||
-rw-r--r-- | Archipelago/effects.gd | 173 | ||||
-rw-r--r-- | Archipelago/load.gd | 41 | ||||
-rw-r--r-- | Archipelago/panel.gd | 2 | ||||
-rw-r--r-- | Archipelago/panelEnd.gd | 2 | ||||
-rw-r--r-- | Archipelago/panelLevelSwitch.gd | 2 | ||||
-rw-r--r-- | CHANGELOG.md | 16 |
7 files changed, 200 insertions, 64 deletions
diff --git a/Archipelago/client.gd b/Archipelago/client.gd index a7cfa23..24c8134 100644 --- a/Archipelago/client.gd +++ b/Archipelago/client.gd | |||
@@ -125,6 +125,9 @@ var _progressive_progress = {} | |||
125 | var _has_colors = ["white"] | 125 | var _has_colors = ["white"] |
126 | var _received_indexes = [] | 126 | var _received_indexes = [] |
127 | var _puzzle_skips = 0 | 127 | var _puzzle_skips = 0 |
128 | var _cached_slowness = 0 | ||
129 | var _cached_iceland = 0 | ||
130 | var _cached_atbash = 0 | ||
128 | 131 | ||
129 | signal could_not_connect | 132 | signal could_not_connect |
130 | signal connect_status | 133 | signal connect_status |
@@ -311,6 +314,21 @@ func _on_data(): | |||
311 | if localdata.size() > 1: | 314 | if localdata.size() > 1: |
312 | _puzzle_skips = localdata[1] | 315 | _puzzle_skips = localdata[1] |
313 | 316 | ||
317 | if localdata.size() > 2: | ||
318 | _cached_slowness = localdata[2] | ||
319 | else: | ||
320 | _cached_slowness = 0 | ||
321 | |||
322 | if localdata.size() > 3: | ||
323 | _cached_iceland = localdata[3] | ||
324 | else: | ||
325 | _cached_iceland = 0 | ||
326 | |||
327 | if localdata.size() > 4: | ||
328 | _cached_atbash = localdata[4] | ||
329 | else: | ||
330 | _cached_atbash = 0 | ||
331 | |||
314 | requestSync() | 332 | requestSync() |
315 | 333 | ||
316 | emit_signal("client_connected") | 334 | emit_signal("client_connected") |
@@ -463,7 +481,15 @@ func saveLocaldata(): | |||
463 | var file = File.new() | 481 | var file = File.new() |
464 | file.open(_localdata_file, File.WRITE) | 482 | file.open(_localdata_file, File.WRITE) |
465 | 483 | ||
466 | var data = [_last_new_item, _puzzle_skips] | 484 | var effects_node = get_tree().get_root().get_node("Spatial/AP_Effects") |
485 | |||
486 | var data = [ | ||
487 | _last_new_item, | ||
488 | _puzzle_skips, | ||
489 | effects_node.slowness_remaining, | ||
490 | effects_node.iceland_remaining, | ||
491 | effects_node.atbash_remaining | ||
492 | ] | ||
467 | file.store_var(data, true) | 493 | file.store_var(data, true) |
468 | file.close() | 494 | file.close() |
469 | 495 | ||
diff --git a/Archipelago/effects.gd b/Archipelago/effects.gd index ae134bc..1e2e311 100644 --- a/Archipelago/effects.gd +++ b/Archipelago/effects.gd | |||
@@ -4,16 +4,19 @@ var activated = false | |||
4 | var effect_running = false | 4 | var effect_running = false |
5 | var slowness_remaining = 0 | 5 | var slowness_remaining = 0 |
6 | var iceland_remaining = 0 | 6 | var iceland_remaining = 0 |
7 | var atbash_activated = false | 7 | var atbash_remaining = 0 |
8 | var queued_iceland = 0 | 8 | var queued_iceland = 0 |
9 | var skip_available = false | 9 | var skip_available = false |
10 | var puzzle_focused = false | 10 | var puzzle_focused = false |
11 | var solve_mode = false | 11 | var solve_mode = false |
12 | var not_behind_wall = false | ||
12 | var puzzle_to_skip = "" | 13 | var puzzle_to_skip = "" |
14 | var text_dirty = true | ||
13 | 15 | ||
14 | var orig_env | 16 | var orig_env |
15 | var orig_walk | 17 | var orig_walk |
16 | var orig_run | 18 | var orig_run |
19 | var wallcast | ||
17 | 20 | ||
18 | 21 | ||
19 | func _ready(): | 22 | func _ready(): |
@@ -21,6 +24,8 @@ func _ready(): | |||
21 | orig_walk = get_tree().get_root().get_node("Spatial/player").walk_speed | 24 | orig_walk = get_tree().get_root().get_node("Spatial/player").walk_speed |
22 | orig_run = get_tree().get_root().get_node("Spatial/player").run_speed | 25 | orig_run = get_tree().get_root().get_node("Spatial/player").run_speed |
23 | 26 | ||
27 | wallcast = get_tree().get_root().get_node("Spatial/player/pivot/camera/wallcast") | ||
28 | |||
24 | var label = Label.new() | 29 | var label = Label.new() |
25 | label.set_name("label") | 30 | label.set_name("label") |
26 | label.margin_right = 1920.0 - 20.0 | 31 | label.margin_right = 1920.0 - 20.0 |
@@ -37,31 +42,46 @@ func _ready(): | |||
37 | 42 | ||
38 | add_child(label) | 43 | add_child(label) |
39 | 44 | ||
45 | var slowness_timer = Timer.new() | ||
46 | slowness_timer.name = "SlownessTimer" | ||
47 | slowness_timer.wait_time = 1.0 | ||
48 | add_child(slowness_timer) | ||
49 | slowness_timer.connect("timeout", self, "_tick_slowness") | ||
50 | |||
51 | var iceland_timer = Timer.new() | ||
52 | iceland_timer.name = "IcelandTimer" | ||
53 | iceland_timer.wait_time = 1.0 | ||
54 | add_child(iceland_timer) | ||
55 | iceland_timer.connect("timeout", self, "_tick_iceland") | ||
56 | |||
40 | 57 | ||
41 | func activate(): | 58 | func activate(): |
42 | activated = true | 59 | activated = true |
43 | 60 | ||
44 | for _i in range(0, queued_iceland): | 61 | if queued_iceland > 0: |
45 | trigger_iceland_trap() | 62 | trigger_iceland_trap(queued_iceland) |
46 | 63 | ||
47 | queued_iceland = 0 | 64 | queued_iceland = 0 |
48 | 65 | ||
49 | 66 | ||
50 | func trigger_slowness_trap(): | 67 | func trigger_slowness_trap(length = 30): |
51 | if slowness_remaining == 0: | 68 | if slowness_remaining == 0: |
52 | var player = get_tree().get_root().get_node("Spatial/player") | 69 | var player = get_tree().get_root().get_node("Spatial/player") |
53 | player.walk_speed = orig_walk / 2.0 | 70 | player.walk_speed = orig_walk / 2.0 |
54 | player.run_speed = orig_run / 2.0 | 71 | player.run_speed = orig_run / 2.0 |
55 | 72 | ||
56 | slowness_remaining += 30 | 73 | $SlownessTimer.start() |
57 | 74 | ||
58 | if not effect_running: | 75 | slowness_remaining += length |
59 | _process_effects() | 76 | text_dirty = true |
60 | 77 | ||
78 | var apclient = global.get_node("Archipelago") | ||
79 | apclient.saveLocaldata() | ||
61 | 80 | ||
62 | func trigger_iceland_trap(): | 81 | |
82 | func trigger_iceland_trap(length = 60): | ||
63 | if not activated: | 83 | if not activated: |
64 | queued_iceland += 1 | 84 | queued_iceland += length |
65 | return | 85 | return |
66 | 86 | ||
67 | if iceland_remaining == 0: | 87 | if iceland_remaining == 0: |
@@ -69,32 +89,47 @@ func trigger_iceland_trap(): | |||
69 | load("res://environments/level_iceland.tres") | 89 | load("res://environments/level_iceland.tres") |
70 | ) | 90 | ) |
71 | 91 | ||
72 | iceland_remaining += 60 | 92 | $IcelandTimer.start() |
93 | |||
94 | iceland_remaining += length | ||
95 | text_dirty = true | ||
73 | 96 | ||
74 | if not effect_running: | 97 | var apclient = global.get_node("Archipelago") |
75 | _process_effects() | 98 | apclient.saveLocaldata() |
76 | 99 | ||
77 | 100 | ||
78 | func trigger_atbash_trap(): | 101 | func trigger_atbash_trap(): |
79 | if not atbash_activated: | 102 | var newly_atbash = (atbash_remaining == 0) |
80 | atbash_activated = true | 103 | atbash_remaining += 1 |
81 | 104 | ||
105 | if newly_atbash: | ||
82 | var apclient = global.get_node("Archipelago") | 106 | var apclient = global.get_node("Archipelago") |
83 | apclient.evaluateSolvability() | 107 | apclient.evaluateSolvability() |
84 | 108 | ||
85 | if not effect_running: | 109 | text_dirty = true |
86 | _process_effects() | 110 | |
111 | var apclient = global.get_node("Archipelago") | ||
112 | apclient.saveLocaldata() | ||
87 | 113 | ||
88 | 114 | ||
89 | func deactivate_atbash_trap(): | 115 | func deactivate_atbash_trap(): |
90 | if atbash_activated: | 116 | if atbash_remaining > 0: |
91 | atbash_activated = false | 117 | atbash_remaining -= 1 |
92 | 118 | ||
93 | var apclient = global.get_node("Archipelago") | 119 | if atbash_remaining == 0: |
94 | apclient.evaluateSolvability() | 120 | var apclient = global.get_node("Archipelago") |
121 | apclient.evaluateSolvability() | ||
122 | |||
123 | text_dirty = true | ||
124 | |||
125 | var apclient = global.get_node("Archipelago") | ||
126 | apclient.saveLocaldata() | ||
95 | 127 | ||
96 | 128 | ||
97 | func show_puzzle_skip_message(node_path): | 129 | func show_puzzle_skip_message(node_path): |
130 | if puzzle_focused and node_path != puzzle_to_skip: | ||
131 | hide_puzzle_skip_message() | ||
132 | |||
98 | var panel_input = get_tree().get_root().get_node(node_path) | 133 | var panel_input = get_tree().get_root().get_node(node_path) |
99 | if not panel_input.visible: | 134 | if not panel_input.visible: |
100 | return | 135 | return |
@@ -106,12 +141,18 @@ func show_puzzle_skip_message(node_path): | |||
106 | return | 141 | return |
107 | 142 | ||
108 | puzzle_focused = true | 143 | puzzle_focused = true |
144 | wallcast.enabled = true | ||
145 | not_behind_wall = false | ||
146 | text_dirty = true | ||
109 | puzzle_to_skip = node_path | 147 | puzzle_to_skip = node_path |
110 | _evaluate_puzzle_skip() | 148 | _evaluate_puzzle_skip() |
111 | 149 | ||
112 | 150 | ||
113 | func hide_puzzle_skip_message(): | 151 | func hide_puzzle_skip_message(): |
114 | puzzle_focused = false | 152 | puzzle_focused = false |
153 | wallcast.enabled = false | ||
154 | not_behind_wall = false | ||
155 | text_dirty = true | ||
115 | _evaluate_puzzle_skip() | 156 | _evaluate_puzzle_skip() |
116 | 157 | ||
117 | 158 | ||
@@ -136,26 +177,64 @@ func skip_puzzle(): | |||
136 | func _evaluate_puzzle_skip(): | 177 | func _evaluate_puzzle_skip(): |
137 | if puzzle_focused and not solve_mode: | 178 | if puzzle_focused and not solve_mode: |
138 | skip_available = true | 179 | skip_available = true |
139 | |||
140 | if not effect_running: | ||
141 | _process_effects() | ||
142 | else: | 180 | else: |
143 | skip_available = false | 181 | skip_available = false |
182 | text_dirty = true | ||
183 | |||
184 | |||
185 | func _tick_slowness(): | ||
186 | slowness_remaining -= 1 | ||
187 | text_dirty = true | ||
188 | |||
189 | if slowness_remaining == 0: | ||
190 | var player = get_tree().get_root().get_node("Spatial/player") | ||
191 | player.walk_speed = orig_walk | ||
192 | player.run_speed = orig_run | ||
193 | |||
194 | $SlownessTimer.stop() | ||
195 | |||
196 | if slowness_remaining % 5 == 0: | ||
197 | var apclient = global.get_node("Archipelago") | ||
198 | apclient.saveLocaldata() | ||
199 | |||
200 | |||
201 | func _tick_iceland(): | ||
202 | iceland_remaining -= 1 | ||
203 | text_dirty = true | ||
204 | |||
205 | if iceland_remaining == 0: | ||
206 | get_tree().get_root().get_node("Spatial/player/pivot/camera").set_environment( | ||
207 | orig_env | ||
208 | ) | ||
209 | |||
210 | $IcelandTimer.stop() | ||
211 | |||
212 | if iceland_remaining % 5 == 0: | ||
213 | var apclient = global.get_node("Archipelago") | ||
214 | apclient.saveLocaldata() | ||
215 | |||
144 | 216 | ||
217 | func _process(_delta): | ||
218 | if puzzle_focused: | ||
219 | var should_nbw = false | ||
220 | if wallcast.is_colliding(): | ||
221 | var player = get_tree().get_root().get_node("Spatial/player") | ||
222 | var puzzlecast = player.get_node("pivot/camera/RayCast_sight") | ||
223 | var distance = puzzlecast.get_collision_point().distance_to(wallcast.get_collision_point()) | ||
224 | should_nbw = (distance < 0.05) | ||
225 | |||
226 | if should_nbw != not_behind_wall: | ||
227 | not_behind_wall = should_nbw | ||
228 | text_dirty = true | ||
145 | 229 | ||
146 | func _process_effects(): | 230 | if text_dirty: |
147 | effect_running = true | 231 | text_dirty = false |
148 | 232 | ||
149 | while slowness_remaining > 0 or iceland_remaining > 0 or atbash_activated or skip_available: | ||
150 | var text = "" | 233 | var text = "" |
151 | if atbash_activated: | 234 | if atbash_remaining == 1: |
152 | text += "Atbash Trap lasts until you solve a puzzle" | 235 | text += "Atbash Trap lasts until you solve a puzzle" |
153 | if skip_available: | 236 | if atbash_remaining > 1: |
154 | var apclient = global.get_node("Archipelago") | 237 | text += ("Atbash Trap lasts until you solve %d puzzles" % atbash_remaining) |
155 | if apclient.getAvailablePuzzleSkips() > 0: | ||
156 | if not text.empty(): | ||
157 | text += "\n" | ||
158 | text += "Press P to skip puzzle (%d available)" % apclient.getAvailablePuzzleSkips() | ||
159 | if slowness_remaining > 0: | 238 | if slowness_remaining > 0: |
160 | if not text.empty(): | 239 | if not text.empty(): |
161 | text += "\n" | 240 | text += "\n" |
@@ -164,26 +243,10 @@ func _process_effects(): | |||
164 | if not text.empty(): | 243 | if not text.empty(): |
165 | text += "\n" | 244 | text += "\n" |
166 | text += "Iceland: %d seconds" % iceland_remaining | 245 | text += "Iceland: %d seconds" % iceland_remaining |
246 | if skip_available and not_behind_wall: | ||
247 | var apclient = global.get_node("Archipelago") | ||
248 | if apclient.getAvailablePuzzleSkips() > 0: | ||
249 | if not text.empty(): | ||
250 | text += "\n" | ||
251 | text += "Press P to skip puzzle (%d available)" % apclient.getAvailablePuzzleSkips() | ||
167 | self.get_node("label").text = text | 252 | self.get_node("label").text = text |
168 | |||
169 | yield(get_tree().create_timer(1.0), "timeout") | ||
170 | |||
171 | if !get_tree().paused: | ||
172 | if slowness_remaining > 0: | ||
173 | slowness_remaining -= 1 | ||
174 | |||
175 | if slowness_remaining == 0: | ||
176 | var player = get_tree().get_root().get_node("Spatial/player") | ||
177 | player.walk_speed = orig_walk | ||
178 | player.run_speed = orig_run | ||
179 | |||
180 | if iceland_remaining > 0: | ||
181 | iceland_remaining -= 1 | ||
182 | |||
183 | if iceland_remaining == 0: | ||
184 | get_tree().get_root().get_node("Spatial/player/pivot/camera").set_environment( | ||
185 | orig_env | ||
186 | ) | ||
187 | |||
188 | self.get_node("label").text = "" | ||
189 | effect_running = false | ||
diff --git a/Archipelago/load.gd b/Archipelago/load.gd index 2d5f7c6..59d2ac2 100644 --- a/Archipelago/load.gd +++ b/Archipelago/load.gd | |||
@@ -14,7 +14,8 @@ const EXCLUDED_PAINTINGS = [ | |||
14 | "scenery_3.tscn", | 14 | "scenery_3.tscn", |
15 | "scenery_4.tscn", | 15 | "scenery_4.tscn", |
16 | "scenery_5.tscn", | 16 | "scenery_5.tscn", |
17 | "pilgrim.tscn" | 17 | "pilgrim.tscn", |
18 | "so_pearl_bk.tscn" | ||
18 | ] | 19 | ] |
19 | 20 | ||
20 | 21 | ||
@@ -24,6 +25,15 @@ func _load(): | |||
24 | var apclient = global.get_node("Archipelago") | 25 | var apclient = global.get_node("Archipelago") |
25 | var panels_parent = self.get_node("Panels") | 26 | var panels_parent = self.get_node("Panels") |
26 | 27 | ||
28 | # Add a wall-blocked raycast to the player. | ||
29 | var wallcast = RayCast.new() | ||
30 | wallcast.name = "wallcast" | ||
31 | wallcast.cast_to = Vector3(0, 0, -15) | ||
32 | wallcast.set_collision_mask_bit(1, true) | ||
33 | wallcast.set_collision_mask_bit(3, true) | ||
34 | wallcast.collide_with_areas = true | ||
35 | $player/pivot/camera.add_child(wallcast) | ||
36 | |||
27 | # Override the YOU panel with the AP slot name. | 37 | # Override the YOU panel with the AP slot name. |
28 | if self.get_node_or_null("Panels/Color Arrow Room/Panel_you") != null: | 38 | if self.get_node_or_null("Panels/Color Arrow Room/Panel_you") != null: |
29 | self.get_node("Panels/Color Arrow Room/Panel_you").answer = apclient.ap_user | 39 | self.get_node("Panels/Color Arrow Room/Panel_you").answer = apclient.ap_user |
@@ -198,6 +208,10 @@ func _load(): | |||
198 | set_gridmap_tile(-88.5, 4.5, -41.5, "MeshInstance8") | 208 | set_gridmap_tile(-88.5, 4.5, -41.5, "MeshInstance8") |
199 | set_gridmap_tile(-89.5, 4.5, -41.5, "MeshInstance4") | 209 | set_gridmap_tile(-89.5, 4.5, -41.5, "MeshInstance4") |
200 | 210 | ||
211 | # Remove black block from THE RED. | ||
212 | clear_gridmap_tile(68.5, 6.5, 76.5) | ||
213 | get_node("Decorations/PanelSign/sign19").queue_free() | ||
214 | |||
201 | if apclient.confusify_world: | 215 | if apclient.confusify_world: |
202 | # Remove welcome back / color hallway / sunwarp indicators. | 216 | # Remove welcome back / color hallway / sunwarp indicators. |
203 | get_node("Decorations/Signs/Welcome Back Signs").queue_free() | 217 | get_node("Decorations/Signs/Welcome Back Signs").queue_free() |
@@ -245,12 +259,12 @@ func _load(): | |||
245 | 259 | ||
246 | if apclient._panel_shuffle != apclient.kNO_PANEL_SHUFFLE: | 260 | if apclient._panel_shuffle != apclient.kNO_PANEL_SHUFFLE: |
247 | # Make The Wondrous's FIRE solely midred. | 261 | # Make The Wondrous's FIRE solely midred. |
248 | set_gridmap_tile(-76.5, 1.5, -73.5, "MeshInstance18") | 262 | clear_gridmap_tile(-76.5, 1.5, -73.5) |
249 | 263 | ||
250 | # Reduce double/triple length puzzles in Knight/Night. | 264 | # Reduce double/triple length puzzles in Knight/Night. |
251 | set_gridmap_tile(24.5, 1.5, 11.5, "MeshInstance18") | 265 | clear_gridmap_tile(24.5, 1.5, 11.5) |
252 | set_gridmap_tile(25.5, 1.5, 11.5, "MeshInstance18") | 266 | clear_gridmap_tile(25.5, 1.5, 11.5) |
253 | set_gridmap_tile(47.5, 1.5, 11.5, "MeshInstance18") | 267 | clear_gridmap_tile(47.5, 1.5, 11.5) |
254 | 268 | ||
255 | if apclient._panel_shuffle == apclient.kREARRANGE_PANELS: | 269 | if apclient._panel_shuffle == apclient.kREARRANGE_PANELS: |
256 | # Do the actual shuffling. | 270 | # Do the actual shuffling. |
@@ -563,6 +577,15 @@ func _load(): | |||
563 | global._print("Hooked Load End") | 577 | global._print("Hooked Load End") |
564 | ._load() | 578 | ._load() |
565 | 579 | ||
580 | # Activate any cached traps. | ||
581 | if apclient._cached_slowness > 0: | ||
582 | effects.trigger_slowness_trap(apclient._cached_slowness) | ||
583 | if apclient._cached_iceland > 0: | ||
584 | effects.trigger_iceland_trap(apclient._cached_iceland) | ||
585 | if apclient._cached_atbash > 0: | ||
586 | for _i in range(0, apclient._cached_atbash): | ||
587 | effects.trigger_atbash_trap() | ||
588 | |||
566 | # Process any items received while the map was loading, and send the checks | 589 | # Process any items received while the map was loading, and send the checks |
567 | # from the save load. | 590 | # from the save load. |
568 | apclient.mapFinishedLoading() | 591 | apclient.mapFinishedLoading() |
@@ -633,6 +656,14 @@ func set_gridmap_tile(x, y, z, tile): | |||
633 | gridmap.set_cell_item(mapvec.x, mapvec.y, mapvec.z, mesh_library.find_item_by_name(tile)) | 656 | gridmap.set_cell_item(mapvec.x, mapvec.y, mapvec.z, mesh_library.find_item_by_name(tile)) |
634 | 657 | ||
635 | 658 | ||
659 | func clear_gridmap_tile(x, y, z): | ||
660 | var gridmap = self.get_node("GridMap") | ||
661 | var mesh_library = gridmap.mesh_library | ||
662 | var mapvec = gridmap.world_to_map(gridmap.to_local(Vector3(x, y, z))) | ||
663 | |||
664 | gridmap.set_cell_item(mapvec.x, mapvec.y, mapvec.z, GridMap.INVALID_CELL_ITEM) | ||
665 | |||
666 | |||
636 | func set_small_gridmap_tile(x, y, z, tile): | 667 | func set_small_gridmap_tile(x, y, z, tile): |
637 | var gridmap = self.get_node("GridMapSmall") | 668 | var gridmap = self.get_node("GridMapSmall") |
638 | var mesh_library = gridmap.mesh_library | 669 | var mesh_library = gridmap.mesh_library |
diff --git a/Archipelago/panel.gd b/Archipelago/panel.gd index da5b572..aec18e8 100644 --- a/Archipelago/panel.gd +++ b/Archipelago/panel.gd | |||
@@ -46,7 +46,7 @@ func evaluate_solvability(): | |||
46 | solvable = false | 46 | solvable = false |
47 | 47 | ||
48 | if solvable: | 48 | if solvable: |
49 | if effects.atbash_activated: | 49 | if effects.atbash_remaining > 0: |
50 | self.get_parent().get_node("Viewport/GUI/Panel/Label").text = atbash_text | 50 | self.get_parent().get_node("Viewport/GUI/Panel/Label").text = atbash_text |
51 | else: | 51 | else: |
52 | self.get_parent().get_node("Viewport/GUI/Panel/Label").text = orig_text | 52 | self.get_parent().get_node("Viewport/GUI/Panel/Label").text = orig_text |
diff --git a/Archipelago/panelEnd.gd b/Archipelago/panelEnd.gd index 81f07d6..136777d 100644 --- a/Archipelago/panelEnd.gd +++ b/Archipelago/panelEnd.gd | |||
@@ -4,4 +4,4 @@ extends "res://scripts/panelEnd.gd" | |||
4 | func handle_correct(): | 4 | func handle_correct(): |
5 | # We don't call the base method because we want to suppress the original | 5 | # We don't call the base method because we want to suppress the original |
6 | # behaviour. | 6 | # behaviour. |
7 | global.solved -= 1 | 7 | pass |
diff --git a/Archipelago/panelLevelSwitch.gd b/Archipelago/panelLevelSwitch.gd index 06df02b..8c369ef 100644 --- a/Archipelago/panelLevelSwitch.gd +++ b/Archipelago/panelLevelSwitch.gd | |||
@@ -4,4 +4,4 @@ extends "res://scripts/panelLevelSwitch.gd" | |||
4 | func handle_correct(): | 4 | func handle_correct(): |
5 | # We don't call the base method because we want to suppress the original | 5 | # We don't call the base method because we want to suppress the original |
6 | # behaviour. | 6 | # behaviour. |
7 | global.solved -= 1 | 7 | pass |
diff --git a/CHANGELOG.md b/CHANGELOG.md index 0983ad2..9915d06 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md | |||
@@ -1,5 +1,21 @@ | |||
1 | # lingo-archipelago Releases | 1 | # lingo-archipelago Releases |
2 | 2 | ||
3 | ## v1.2.0 - 2024-02-04 | ||
4 | |||
5 | - The "Press P to skip puzzle" message will no longer appear when the cursor is | ||
6 | over a panel that the player cannot see. These puzzles can still be skipped by | ||
7 | pressing P. | ||
8 | - Traps now persist after the game is closed. | ||
9 | - Atbash Traps now stack (e.g. if you receive two Atbash Traps, you must solve | ||
10 | two puzzles before the trap is deactivated). | ||
11 | - Fixed issue with the pearl painting potentially leading to two different | ||
12 | destinations in painting shuffle. | ||
13 | - Removed some unnecessary blocks. | ||
14 | |||
15 | Download: | ||
16 | [lingo-archipelago-v1.2.0.zip](https://files.fourisland.com/releases/lingo-archipelago/lingo-archipelago-v1.2.0.zip)<br/> | ||
17 | Source: [v1.2.0](https://code.fourisland.com/lingo-archipelago/tag/?h=v1.2.0) | ||
18 | |||
3 | ## v1.1.0 - 2024-01-11 | 19 | ## v1.1.0 - 2024-01-11 |
4 | 20 | ||
5 | - Confusify mode now removes tower floor indicators, turns tower doors black, | 21 | - Confusify mode now removes tower floor indicators, turns tower doors black, |