diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-04-27 12:13:38 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-04-27 12:13:38 -0400 |
commit | 47755e9e28f9b8866d3c41866910594e2d8c979a (patch) | |
tree | 488df5471f58eb0c6a1f7f872a17aa0ebe07231e /Archipelago/painting.gd | |
parent | 4302e550cde189d8bc1d111e81270ed7960ad77c (diff) | |
parent | 0c25dc87e5ad9c8c8c2ff0ef5ac6502b166bc405 (diff) | |
download | lingo-archipelago-47755e9e28f9b8866d3c41866910594e2d8c979a.tar.gz lingo-archipelago-47755e9e28f9b8866d3c41866910594e2d8c979a.tar.bz2 lingo-archipelago-47755e9e28f9b8866d3c41866910594e2d8c979a.zip |
Merge branch 'main' into panels
Diffstat (limited to 'Archipelago/painting.gd')
-rw-r--r-- | Archipelago/painting.gd | 10 |
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 @@ | |||
1 | extends "res://scripts/painting.gd" | ||
2 | |||
3 | func _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 | ||