about summary refs log tree commit diff stats
path: root/Archipelago/notifier.gd
diff options
context:
space:
mode:
Diffstat (limited to 'Archipelago/notifier.gd')
-rw-r--r--Archipelago/notifier.gd14
1 files changed, 14 insertions, 0 deletions
diff --git a/Archipelago/notifier.gd b/Archipelago/notifier.gd new file mode 100644 index 0000000..57d6564 --- /dev/null +++ b/Archipelago/notifier.gd
@@ -0,0 +1,14 @@
1extends Node
2
3var key
4
5
6func _ready():
7 self.get_parent().get_node("Viewport/GUI/Panel/TextEdit").connect(
8 "answer_correct", self, "handle_correct"
9 )
10
11
12func handle_correct():
13 var apclient = global.get_node("Archipelago")
14 apclient.setValue(key, true)