diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-09-25 12:09:50 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-09-25 12:09:50 -0400 |
commit | 3f53502a5907ed1982d28a392c54331f0c1c2c42 (patch) | |
tree | 1dd087464d0fba1c35feaab0cee357fca6f2763c /client/Archipelago/victoryListener.gd | |
parent | fb220e1c75e72a536c19aa1283f905850a91cf44 (diff) | |
download | lingo2-archipelago-3f53502a5907ed1982d28a392c54331f0c1c2c42.tar.gz lingo2-archipelago-3f53502a5907ed1982d28a392c54331f0c1c2c42.tar.bz2 lingo2-archipelago-3f53502a5907ed1982d28a392c54331f0c1c2c42.zip |
Move the client into the apworld
Only works on source right now, not as an apworld.
Diffstat (limited to 'client/Archipelago/victoryListener.gd')
-rw-r--r-- | client/Archipelago/victoryListener.gd | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/client/Archipelago/victoryListener.gd b/client/Archipelago/victoryListener.gd deleted file mode 100644 index e9089d7..0000000 --- a/client/Archipelago/victoryListener.gd +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | extends Receiver | ||
2 | |||
3 | |||
4 | func _ready(): | ||
5 | super._ready() | ||
6 | |||
7 | |||
8 | func handleTriggered(): | ||
9 | triggered += 1 | ||
10 | if triggered >= total: | ||
11 | var ap = global.get_node("Archipelago") | ||
12 | ap.client.completedGoal() | ||
13 | |||
14 | global.get_node("Messages").showMessage("You have completed your goal!") | ||
15 | |||
16 | |||
17 | func handleUntriggered(): | ||
18 | triggered -= 1 | ||
19 | if triggered < total: | ||
20 | pass | ||