diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-04-14 08:55:43 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-04-14 08:55:43 -0400 |
commit | ce9cc1c0ef41d342802798cad51d6dbe6ae49fe4 (patch) | |
tree | 1de1c9a5bd9d92f0bbaeb62bfa7eb09664b71071 /Archipelago/load.gd | |
parent | d33fe6b78912e7c70e3739de38fe5d9c86645c25 (diff) | |
download | lingo-archipelago-ce9cc1c0ef41d342802798cad51d6dbe6ae49fe4.tar.gz lingo-archipelago-ce9cc1c0ef41d342802798cad51d6dbe6ae49fe4.tar.bz2 lingo-archipelago-ce9cc1c0ef41d342802798cad51d6dbe6ae49fe4.zip |
Getting THE END marks you as completed
Diffstat (limited to 'Archipelago/load.gd')
-rw-r--r-- | Archipelago/load.gd | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Archipelago/load.gd b/Archipelago/load.gd index 6d6fcf0..d17bfac 100644 --- a/Archipelago/load.gd +++ b/Archipelago/load.gd | |||
@@ -38,6 +38,12 @@ 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. | ||
42 | var the_end = self.get_node("Decorations/EndPanel/Panel_end_end") | ||
43 | the_end.get_node("Viewport/GUI/Panel/TextEdit").connect( | ||
44 | "answer_correct", apclient, "completedGoal" | ||
45 | ) | ||
46 | |||
41 | # Proceed with the rest of the load. | 47 | # Proceed with the rest of the load. |
42 | global._print("Hooked Load End") | 48 | global._print("Hooked Load End") |
43 | ._load() | 49 | ._load() |