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 | |
parent | 500df85a650382563740bc8cf6fbe5f58ae703ee (diff) | |
download | lingo-archipelago-c1ffc2c464df33c5effbb4a62e4bd57605d409b4.tar.gz lingo-archipelago-c1ffc2c464df33c5effbb4a62e4bd57605d409b4.tar.bz2 lingo-archipelago-c1ffc2c464df33c5effbb4a62e4bd57605d409b4.zip |
Added pilgrimage goal
-rw-r--r-- | Archipelago/client.gd | 3 | ||||
-rw-r--r-- | Archipelago/load.gd | 7 |
2 files changed, 9 insertions, 1 deletions
diff --git a/Archipelago/client.gd b/Archipelago/client.gd index 68528f6..b93e1cc 100644 --- a/Archipelago/client.gd +++ b/Archipelago/client.gd | |||
@@ -40,7 +40,7 @@ const progressive_items = { | |||
40 | ], | 40 | ], |
41 | "Progressive Hallway Room": | 41 | "Progressive Hallway Room": |
42 | [ | 42 | [ |
43 | {"item": "Outside The Agreeable - Hallway Door", "display": "First Door"}, | 43 | {"item": "Hallway Room (1) - Exit", "display": "First Door"}, |
44 | {"item": "Hallway Room (2) - Exit", "display": "Second Door"}, | 44 | {"item": "Hallway Room (2) - Exit", "display": "Second Door"}, |
45 | {"item": "Hallway Room (3) - Exit", "display": "Third Door"}, | 45 | {"item": "Hallway Room (3) - Exit", "display": "Third Door"}, |
46 | {"item": "Hallway Room (4) - Exit", "display": "Fourth Door"}, | 46 | {"item": "Hallway Room (4) - Exit", "display": "Fourth Door"}, |
@@ -77,6 +77,7 @@ const progressive_items = { | |||
77 | const kTHE_END = 0 | 77 | const kTHE_END = 0 |
78 | const kTHE_MASTER = 1 | 78 | const kTHE_MASTER = 1 |
79 | const kLEVEL_2 = 2 | 79 | const kLEVEL_2 = 2 |
80 | const kPILGRIMAGE = 3 | ||
80 | 81 | ||
81 | const kNO_PANEL_SHUFFLE = 0 | 82 | const kNO_PANEL_SHUFFLE = 0 |
82 | const kREARRANGE_PANELS = 1 | 83 | const kREARRANGE_PANELS = 1 |
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( |