diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-04-18 17:45:10 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-04-18 17:45:10 -0400 |
commit | 67ec5e396a2e60cc531345e80d377afbcfc22c32 (patch) | |
tree | b71d9ca3b24293c44e166238cfdb5419f822cd1b /Archipelago/painting.gd | |
parent | 139ecb09dcb49177d1fa39baaf8e378e3009fc76 (diff) | |
parent | e33ba8444d965ed903a0ca87d2824af334c4cdd9 (diff) | |
download | lingo-archipelago-67ec5e396a2e60cc531345e80d377afbcfc22c32.tar.gz lingo-archipelago-67ec5e396a2e60cc531345e80d377afbcfc22c32.tar.bz2 lingo-archipelago-67ec5e396a2e60cc531345e80d377afbcfc22c32.zip |
Merge branch 'sunwarps' into future
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 | ||