about summary refs log tree commit diff stats
path: root/Archipelago/pilgrimage_terminator.gd
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-04-18 17:45:10 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2024-04-18 17:45:10 -0400
commit67ec5e396a2e60cc531345e80d377afbcfc22c32 (patch)
treeb71d9ca3b24293c44e166238cfdb5419f822cd1b /Archipelago/pilgrimage_terminator.gd
parent139ecb09dcb49177d1fa39baaf8e378e3009fc76 (diff)
parente33ba8444d965ed903a0ca87d2824af334c4cdd9 (diff)
downloadlingo-archipelago-67ec5e396a2e60cc531345e80d377afbcfc22c32.tar.gz
lingo-archipelago-67ec5e396a2e60cc531345e80d377afbcfc22c32.tar.bz2
lingo-archipelago-67ec5e396a2e60cc531345e80d377afbcfc22c32.zip
Merge branch 'sunwarps' into future
Diffstat (limited to 'Archipelago/pilgrimage_terminator.gd')
-rw-r--r--Archipelago/pilgrimage_terminator.gd11
1 files changed, 11 insertions, 0 deletions
diff --git a/Archipelago/pilgrimage_terminator.gd b/Archipelago/pilgrimage_terminator.gd new file mode 100644 index 0000000..29db2ee --- /dev/null +++ b/Archipelago/pilgrimage_terminator.gd
@@ -0,0 +1,11 @@
1extends Area
2
3
4func _ready():
5 var _connected = self.connect("body_entered", self, "_body_entered")
6
7
8func _body_entered(body):
9 if body.is_in_group("player"):
10 global.sunwarp = 1
11 body.get_node("pivot/camera/sunwarp_background").visible = false