diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-02-28 12:35:45 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-02-28 12:35:45 -0500 |
commit | 4d2da5afe6a3ffad50ca5560c1dcceaddde2b9b0 (patch) | |
tree | 4164ea81516c7446f8b6577492011b65682472f9 /Archipelago/pilgrimage_terminator.gd | |
parent | de5eb04ed014770558b546e02c91ce6eb262f652 (diff) | |
download | lingo-archipelago-4d2da5afe6a3ffad50ca5560c1dcceaddde2b9b0.tar.gz lingo-archipelago-4d2da5afe6a3ffad50ca5560c1dcceaddde2b9b0.tar.bz2 lingo-archipelago-4d2da5afe6a3ffad50ca5560c1dcceaddde2b9b0.zip |
Add pilgrimage allows roof access / paintings
Diffstat (limited to 'Archipelago/pilgrimage_terminator.gd')
-rw-r--r-- | Archipelago/pilgrimage_terminator.gd | 11 |
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 @@ | |||
1 | extends Area | ||
2 | |||
3 | |||
4 | func _ready(): | ||
5 | var _connected = self.connect("body_entered", self, "_body_entered") | ||
6 | |||
7 | |||
8 | func _body_entered(body): | ||
9 | if body.is_in_group("player"): | ||
10 | global.sunwarp = 1 | ||
11 | body.get_node("pivot/camera/sunwarp_background").visible = false | ||