diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-02-26 21:22:15 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-02-26 21:22:15 -0500 |
commit | c1ffc2c464df33c5effbb4a62e4bd57605d409b4 (patch) | |
tree | 439d46c886c77ab3d572e8398d039050bd6640cb /Archipelago/load.gd | |
parent | 500df85a650382563740bc8cf6fbe5f58ae703ee (diff) | |
download | lingo-archipelago-c1ffc2c464df33c5effbb4a62e4bd57605d409b4.tar.gz lingo-archipelago-c1ffc2c464df33c5effbb4a62e4bd57605d409b4.tar.bz2 lingo-archipelago-c1ffc2c464df33c5effbb4a62e4bd57605d409b4.zip |
Added pilgrimage goal
Diffstat (limited to 'Archipelago/load.gd')
-rw-r--r-- | Archipelago/load.gd | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Archipelago/load.gd b/Archipelago/load.gd index 2d5f7c6..d9b37da 100644 --- a/Archipelago/load.gd +++ b/Archipelago/load.gd | |||
@@ -334,6 +334,8 @@ func _load(): | |||
334 | victory_condition = "the master" | 334 | victory_condition = "the master" |
335 | elif apclient._victory_condition == apclient.kLEVEL_2: | 335 | elif apclient._victory_condition == apclient.kLEVEL_2: |
336 | victory_condition = "level 2" | 336 | victory_condition = "level 2" |
337 | elif apclient._victory_condition == apclient.kPILGRIMAGE: | ||
338 | victory_condition = "pilgrimage" | ||
337 | 339 | ||
338 | set_static_panel("Entry Room/Panel_this_this", victory_condition) | 340 | set_static_panel("Entry Room/Panel_this_this", victory_condition) |
339 | set_static_panel("Entry Room/Panel_hidden_hidden", "hewwo") | 341 | set_static_panel("Entry Room/Panel_hidden_hidden", "hewwo") |
@@ -538,6 +540,11 @@ func _load(): | |||
538 | level_2.get_node("Viewport/GUI/Panel/TextEdit").connect( | 540 | level_2.get_node("Viewport/GUI/Panel/TextEdit").connect( |
539 | "answer_correct", apclient, "completedGoal" | 541 | "answer_correct", apclient, "completedGoal" |
540 | ) | 542 | ) |
543 | elif apclient._victory_condition == apclient.kPILGRIMAGE: | ||
544 | var pilgrim_panel = self.get_node("Panels/Lingo Room/Panel_pilgrim") | ||
545 | pilgrim_panel.get_node("Viewport/GUI/Panel/TextEdit").connect( | ||
546 | "answer_correct", apclient, "completedGoal" | ||
547 | ) | ||
541 | else: | 548 | else: |
542 | var the_end = self.get_node("Decorations/EndPanel/Panel_end_end") | 549 | var the_end = self.get_node("Decorations/EndPanel/Panel_end_end") |
543 | the_end.get_node("Viewport/GUI/Panel/TextEdit").connect( | 550 | the_end.get_node("Viewport/GUI/Panel/TextEdit").connect( |