about summary refs log tree commit diff stats
path: root/Archipelago/notifier.gd
blob: 57d6564e8735decd8564182c4d1f594e88d46ab4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
extends Node

var key


func _ready():
	self.get_parent().get_node("Viewport/GUI/Panel/TextEdit").connect(
		"answer_correct", self, "handle_correct"
	)


func handle_correct():
	var apclient = global.get_node("Archipelago")
	apclient.setValue(key, true)