diff options
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 |