about summary refs log tree commit diff stats
path: root/Archipelago/teleport.gd
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-02-20 10:09:57 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2024-02-20 10:09:57 -0500
commit17572f8cd5945536eccffbbe832517d75993c03f (patch)
tree377088f516d54556d214b7419f2f8a2600c4d7d4 /Archipelago/teleport.gd
parentb2b098573ef5bcd03d61e827d11b969460d992af (diff)
downloadlingo-archipelago-17572f8cd5945536eccffbbe832517d75993c03f.tar.gz
lingo-archipelago-17572f8cd5945536eccffbbe832517d75993c03f.tar.bz2
lingo-archipelago-17572f8cd5945536eccffbbe832517d75993c03f.zip
Revert "Added support for warp items (including sunwarps)"
This reverts commit b2b098573ef5bcd03d61e827d11b969460d992af.
Diffstat (limited to 'Archipelago/teleport.gd')
-rw-r--r--Archipelago/teleport.gd24
1 files changed, 0 insertions, 24 deletions
diff --git a/Archipelago/teleport.gd b/Archipelago/teleport.gd deleted file mode 100644 index d322722..0000000 --- a/Archipelago/teleport.gd +++ /dev/null
@@ -1,24 +0,0 @@
1extends "res://scripts/teleport.gd"
2
3var _unlocked = true
4
5
6func _ready():
7 var apclient = global.get_node("Archipelago")
8 if apclient._door_shuffle and !apclient.warpIsVanilla(self.get_parent().name + "/" + self.name):
9 if self.get_parent().name == "Teleporter Warps":
10 if apclient._sunwarp_access != apclient.kSUNWARP_ACCESS_NORMAL:
11 _unlocked = false
12 else:
13 _unlocked = false
14
15 ._ready()
16
17
18func _body_entered(var body):
19 if _unlocked:
20 ._body_entered(body)
21
22
23func unlock_warp():
24 _unlocked = true