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/mypainting.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/mypainting.gd')
-rw-r--r-- | Archipelago/mypainting.gd | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Archipelago/mypainting.gd b/Archipelago/mypainting.gd index 5e9c703..999b122 100644 --- a/Archipelago/mypainting.gd +++ b/Archipelago/mypainting.gd | |||
@@ -86,6 +86,11 @@ func _looked_at(body, painting): | |||
86 | body.rotate_y(3 * PI / 2) | 86 | body.rotate_y(3 * PI / 2) |
87 | body.velocity = body.velocity.rotated(Vector3(0, 1, 0), 3 * PI / 2) | 87 | body.velocity = body.velocity.rotated(Vector3(0, 1, 0), 3 * PI / 2) |
88 | 88 | ||
89 | var apclient = global.get_node("Archipelago") | ||
90 | if !apclient._pilgrimage_allows_paintings: | ||
91 | global.sunwarp = 1 | ||
92 | body.get_node("pivot/camera/sunwarp_background").visible = false | ||
93 | |||
89 | 94 | ||
90 | func _dir_to_int(dir): | 95 | func _dir_to_int(dir): |
91 | if dir == "north": | 96 | if dir == "north": |