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/load.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/load.gd')
| -rw-r--r-- | Archipelago/load.gd | 16 |
1 files changed, 16 insertions, 0 deletions
| diff --git a/Archipelago/load.gd b/Archipelago/load.gd index d9b37da..bca0742 100644 --- a/Archipelago/load.gd +++ b/Archipelago/load.gd | |||
| @@ -550,6 +550,22 @@ func _load(): | |||
| 550 | the_end.get_node("Viewport/GUI/Panel/TextEdit").connect( | 550 | the_end.get_node("Viewport/GUI/Panel/TextEdit").connect( |
| 551 | "answer_correct", apclient, "completedGoal" | 551 | "answer_correct", apclient, "completedGoal" |
| 552 | ) | 552 | ) |
| 553 | |||
| 554 | # If pilgrimage does not allow roof access, add a node on the Crossroads | ||
| 555 | # Roof Access stairs that disables it. | ||
| 556 | if !apclient._pilgrimage_allows_roof_access: | ||
| 557 | var terminator = apclient.SCRIPT_pilgrimage_terminator.new() | ||
| 558 | terminator.name = "RoofAccessPilgrimageTerminator" | ||
| 559 | terminator.translation.x = -36 | ||
| 560 | terminator.translation.y = 3 | ||
| 561 | terminator.translation.z = -35 | ||
| 562 | |||
| 563 | var terminator_shape = CollisionShape.new() | ||
| 564 | terminator_shape.shape = BoxShape.new() | ||
| 565 | terminator_shape.shape.extents.x = 0.1 | ||
| 566 | |||
| 567 | terminator.add_child(terminator_shape) | ||
| 568 | get_node("Decorations").add_child(terminator) | ||
| 553 | 569 | ||
| 554 | # Create the effects node. | 570 | # Create the effects node. |
| 555 | var effects_script = apclient.SCRIPT_effects | 571 | var effects_script = apclient.SCRIPT_effects |
