about summary refs log tree commit diff stats
path: root/Archipelago/painting.gd
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-05-29 13:34:53 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2024-05-29 13:34:53 -0400
commiteff3dff1142876b70e0336f03b4efb12db4e2bba (patch)
treed0f19c16094706e9c3a6d4b59d9f4ee44e535ad4 /Archipelago/painting.gd
parent8b97ed0755c8d950f5cc8f9a957636982f33f012 (diff)
parent2b0fcdde3144213676324163d721150a8641d610 (diff)
downloadlingo-archipelago-eff3dff1142876b70e0336f03b4efb12db4e2bba.tar.gz
lingo-archipelago-eff3dff1142876b70e0336f03b4efb12db4e2bba.tar.bz2
lingo-archipelago-eff3dff1142876b70e0336f03b4efb12db4e2bba.zip
Merge branch 'main' into color-hallways
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