about summary refs log tree commit diff stats
path: root/Archipelago
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-04-13 22:15:12 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-04-13 22:15:12 -0400
commitacb63625f904da7faee23d5b8fcc4ac96fd41f00 (patch)
tree2bb55f4b9862349563a0c56cc83db9695932500d /Archipelago
parent380a2b49eb2c2687a6fda1099d8b9d1be92c0e32 (diff)
downloadlingo-archipelago-acb63625f904da7faee23d5b8fcc4ac96fd41f00.tar.gz
lingo-archipelago-acb63625f904da7faee23d5b8fcc4ac96fd41f00.tar.bz2
lingo-archipelago-acb63625f904da7faee23d5b8fcc4ac96fd41f00.zip
The answer to the YOU puzzle is the AP slot name
Diffstat (limited to 'Archipelago')
-rw-r--r--Archipelago/load.gd12
1 files changed, 11 insertions, 1 deletions
diff --git a/Archipelago/load.gd b/Archipelago/load.gd index cb592ff..6d6fcf0 100644 --- a/Archipelago/load.gd +++ b/Archipelago/load.gd
@@ -6,7 +6,17 @@ func _load():
6 6
7 var apclient = global.get_node("Archipelago") 7 var apclient = global.get_node("Archipelago")
8 8
9 # TODO: Override the YOU panel with the AP slot name 9 # Override the YOU panel with the AP slot name.
10 if self.get_node_or_null("Panels/Color Arrow Room/Panel_you") != null:
11 self.get_node("Panels/Color Arrow Room/Panel_you").answer = apclient.ap_user
12 for node in get_tree().get_nodes_in_group("text_you"):
13 if "text" in node:
14 node.text = apclient.ap_user
15 elif "value" in node:
16 node.value = apclient.ap_user
17 for node in get_tree().get_nodes_in_group("answer_you"):
18 if "answer" in node:
19 node.answer = apclient.ap_user
10 20
11 # This is the best time to create the location nodes, since the map is now 21 # This is the best time to create the location nodes, since the map is now
12 # loaded but the panels haven't been solved from the save file yet. 22 # loaded but the panels haven't been solved from the save file yet.