From 617e31fce21eb18d1ffccdc9c377d25535157351 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Thu, 13 Apr 2023 18:09:30 -0400 Subject: It WORKS! You can send checks and receive door items! --- Archipelago/location.gd | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Archipelago/location.gd (limited to 'Archipelago/location.gd') diff --git a/Archipelago/location.gd b/Archipelago/location.gd new file mode 100644 index 0000000..b85b5c4 --- /dev/null +++ b/Archipelago/location.gd @@ -0,0 +1,17 @@ +extends Node + +var ap_name = "" +var ap_id = 0 +var total = 0 +var solved = 0 +var ran = false + + +func handle_correct(): + solved += 1 + + if solved >= total && !ran: + ran = true + + var apclient = global.get_node("Archipelago") + apclient.sendLocation(ap_id) -- cgit 1.4.1