diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-02-20 10:09:57 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-02-20 10:09:57 -0500 |
commit | 17572f8cd5945536eccffbbe832517d75993c03f (patch) | |
tree | 377088f516d54556d214b7419f2f8a2600c4d7d4 /Archipelago/teleport.gd | |
parent | b2b098573ef5bcd03d61e827d11b969460d992af (diff) | |
download | lingo-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.gd | 24 |
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 @@ | |||
1 | extends "res://scripts/teleport.gd" | ||
2 | |||
3 | var _unlocked = true | ||
4 | |||
5 | |||
6 | func _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 | |||
18 | func _body_entered(var body): | ||
19 | if _unlocked: | ||
20 | ._body_entered(body) | ||
21 | |||
22 | |||
23 | func unlock_warp(): | ||
24 | _unlocked = true | ||