diff options
Diffstat (limited to 'Archipelago/load.gd')
-rw-r--r-- | Archipelago/load.gd | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/Archipelago/load.gd b/Archipelago/load.gd index d17bfac..ca1269b 100644 --- a/Archipelago/load.gd +++ b/Archipelago/load.gd | |||
@@ -38,11 +38,17 @@ func _load(): | |||
38 | "answer_correct", location, "handle_correct" | 38 | "answer_correct", location, "handle_correct" |
39 | ) | 39 | ) |
40 | 40 | ||
41 | # Hardcode THE END as the goal for now. | 41 | # Hardcode THE END as the goal for now. |
42 | var the_end = self.get_node("Decorations/EndPanel/Panel_end_end") | 42 | var the_end = self.get_node("Decorations/EndPanel/Panel_end_end") |
43 | the_end.get_node("Viewport/GUI/Panel/TextEdit").connect( | 43 | the_end.get_node("Viewport/GUI/Panel/TextEdit").connect( |
44 | "answer_correct", apclient, "completedGoal" | 44 | "answer_correct", apclient, "completedGoal" |
45 | ) | 45 | ) |
46 | |||
47 | # Create the messages node. | ||
48 | var messages_script = ResourceLoader.load("user://maps/Archipelago/messages.gd") | ||
49 | var messages = messages_script.new() | ||
50 | messages.set_name("AP_Messages") | ||
51 | self.add_child(messages) | ||
46 | 52 | ||
47 | # Proceed with the rest of the load. | 53 | # Proceed with the rest of the load. |
48 | global._print("Hooked Load End") | 54 | global._print("Hooked Load End") |