about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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.