about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--Archipelago/client.gd3
-rw-r--r--Archipelago/load.gd7
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 = {
77const kTHE_END = 0 77const kTHE_END = 0
78const kTHE_MASTER = 1 78const kTHE_MASTER = 1
79const kLEVEL_2 = 2 79const kLEVEL_2 = 2
80const kPILGRIMAGE = 3
80 81
81const kNO_PANEL_SHUFFLE = 0 82const kNO_PANEL_SHUFFLE = 0
82const kREARRANGE_PANELS = 1 83const 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(