about summary refs log tree commit diff stats
path: root/Archipelago/painting_scenery.gd
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-04-18 17:45:10 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2024-04-18 17:45:10 -0400
commit67ec5e396a2e60cc531345e80d377afbcfc22c32 (patch)
treeb71d9ca3b24293c44e166238cfdb5419f822cd1b /Archipelago/painting_scenery.gd
parent139ecb09dcb49177d1fa39baaf8e378e3009fc76 (diff)
parente33ba8444d965ed903a0ca87d2824af334c4cdd9 (diff)
downloadlingo-archipelago-67ec5e396a2e60cc531345e80d377afbcfc22c32.tar.gz
lingo-archipelago-67ec5e396a2e60cc531345e80d377afbcfc22c32.tar.bz2
lingo-archipelago-67ec5e396a2e60cc531345e80d377afbcfc22c32.zip
Merge branch 'sunwarps' into future
Diffstat (limited to 'Archipelago/painting_scenery.gd')
-rw-r--r--Archipelago/painting_scenery.gd10
1 files changed, 10 insertions, 0 deletions
diff --git a/Archipelago/painting_scenery.gd b/Archipelago/painting_scenery.gd index f49d602..1186e2f 100644 --- a/Archipelago/painting_scenery.gd +++ b/Archipelago/painting_scenery.gd
@@ -9,3 +9,13 @@ func _answer_correct():
9 9
10func movePainting(): 10func movePainting():
11 ._answer_correct() 11 ._answer_correct()
12
13
14func _looked_at(var body, var painting):
15 ._looked_at(body, painting)
16
17 if body.is_in_group("player") && (painting.get_name() == self.get_name()):
18 var apclient = global.get_node("Archipelago")
19 if !apclient._pilgrimage_allows_paintings:
20 global.sunwarp = 1
21 body.get_node("pivot/camera/sunwarp_background").visible = false