diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-02-28 12:35:45 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-02-28 12:35:45 -0500 |
commit | 4d2da5afe6a3ffad50ca5560c1dcceaddde2b9b0 (patch) | |
tree | 4164ea81516c7446f8b6577492011b65682472f9 /Archipelago/painting_scenery.gd | |
parent | de5eb04ed014770558b546e02c91ce6eb262f652 (diff) | |
download | lingo-archipelago-4d2da5afe6a3ffad50ca5560c1dcceaddde2b9b0.tar.gz lingo-archipelago-4d2da5afe6a3ffad50ca5560c1dcceaddde2b9b0.tar.bz2 lingo-archipelago-4d2da5afe6a3ffad50ca5560c1dcceaddde2b9b0.zip |
Add pilgrimage allows roof access / paintings
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 | ||