diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-05-29 13:34:53 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-05-29 13:34:53 -0400 |
commit | eff3dff1142876b70e0336f03b4efb12db4e2bba (patch) | |
tree | d0f19c16094706e9c3a6d4b59d9f4ee44e535ad4 /Archipelago/painting_scenery.gd | |
parent | 8b97ed0755c8d950f5cc8f9a957636982f33f012 (diff) | |
parent | 2b0fcdde3144213676324163d721150a8641d610 (diff) | |
download | lingo-archipelago-eff3dff1142876b70e0336f03b4efb12db4e2bba.tar.gz lingo-archipelago-eff3dff1142876b70e0336f03b4efb12db4e2bba.tar.bz2 lingo-archipelago-eff3dff1142876b70e0336f03b4efb12db4e2bba.zip |
Merge branch 'main' into color-hallways
Diffstat (limited to 'Archipelago/painting_scenery.gd')
-rw-r--r-- | Archipelago/painting_scenery.gd | 10 |
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 | ||
10 | func movePainting(): | 10 | func movePainting(): |
11 | ._answer_correct() | 11 | ._answer_correct() |
12 | |||
13 | |||
14 | func _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 | ||