about summary refs log tree commit diff stats
path: root/Archipelago/painting.gd
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-02-28 12:35:45 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2024-02-28 12:35:45 -0500
commit4d2da5afe6a3ffad50ca5560c1dcceaddde2b9b0 (patch)
tree4164ea81516c7446f8b6577492011b65682472f9 /Archipelago/painting.gd
parentde5eb04ed014770558b546e02c91ce6eb262f652 (diff)
downloadlingo-archipelago-4d2da5afe6a3ffad50ca5560c1dcceaddde2b9b0.tar.gz
lingo-archipelago-4d2da5afe6a3ffad50ca5560c1dcceaddde2b9b0.tar.bz2
lingo-archipelago-4d2da5afe6a3ffad50ca5560c1dcceaddde2b9b0.zip
Add pilgrimage allows roof access / paintings
Diffstat (limited to 'Archipelago/painting.gd')
-rw-r--r--Archipelago/painting.gd10
1 files changed, 10 insertions, 0 deletions
diff --git a/Archipelago/painting.gd b/Archipelago/painting.gd new file mode 100644 index 0000000..adc8337 --- /dev/null +++ b/Archipelago/painting.gd
@@ -0,0 +1,10 @@
1extends "res://scripts/painting.gd"
2
3func _looked_at(var body, var painting):
4 ._looked_at(body, painting)
5
6 if body.is_in_group("player") && (painting.get_name() == self.get_name()):
7 var apclient = global.get_node("Archipelago")
8 if !apclient._pilgrimage_allows_paintings:
9 global.sunwarp = 1
10 body.get_node("pivot/camera/sunwarp_background").visible = false