about summary refs log tree commit diff stats
path: root/apworld/client/allowNumbers.gd
diff options
context:
space:
mode:
Diffstat (limited to 'apworld/client/allowNumbers.gd')
-rw-r--r--apworld/client/allowNumbers.gd10
1 files changed, 10 insertions, 0 deletions
diff --git a/apworld/client/allowNumbers.gd b/apworld/client/allowNumbers.gd new file mode 100644 index 0000000..d958b50 --- /dev/null +++ b/apworld/client/allowNumbers.gd
@@ -0,0 +1,10 @@
1extends "res://scripts/nodes/allowNumbers.gd"
2
3
4func _readier():
5 var ap = global.get_node("Archipelago")
6 var gamedata = global.get_node("Gamedata")
7
8 var item_id = gamedata.objects.get_special_ids()["Numbers"]
9 if ap.client.getItemAmount(item_id) >= 1:
10 global.allow_numbers = true