about summary refs log tree commit diff stats
path: root/Archipelago/load.gd
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-01-23 15:16:37 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2024-01-23 15:16:37 -0500
commitf696286fdab96ccfc2bb4bddd8cc0ceda87309db (patch)
tree2fa224845289e6eb44e2643c555e8153aee16c81 /Archipelago/load.gd
parentf407444ceab9284f54597830160267f250c3c4c6 (diff)
downloadlingo-archipelago-f696286fdab96ccfc2bb4bddd8cc0ceda87309db.tar.gz
lingo-archipelago-f696286fdab96ccfc2bb4bddd8cc0ceda87309db.tar.bz2
lingo-archipelago-f696286fdab96ccfc2bb4bddd8cc0ceda87309db.zip
Effects text is more prompt now
Slowness and Iceland aren't forced to tick at the same time anymore. Puzzle skip popups show up instantly and disappear instantly. Puzzle skip popups do not show up for puzzles hidden behind walls (although you can still press p to skip).
Diffstat (limited to 'Archipelago/load.gd')
-rw-r--r--Archipelago/load.gd9
1 files changed, 9 insertions, 0 deletions
diff --git a/Archipelago/load.gd b/Archipelago/load.gd index afe304b..7f86c91 100644 --- a/Archipelago/load.gd +++ b/Archipelago/load.gd
@@ -25,6 +25,15 @@ func _load():
25 var apclient = global.get_node("Archipelago") 25 var apclient = global.get_node("Archipelago")
26 var panels_parent = self.get_node("Panels") 26 var panels_parent = self.get_node("Panels")
27 27
28 # Add a wall-blocked raycast to the player.
29 var wallcast = RayCast.new()
30 wallcast.name = "wallcast"
31 wallcast.cast_to = Vector3(0, 0, -15)
32 wallcast.set_collision_mask_bit(1, true)
33 wallcast.set_collision_mask_bit(3, true)
34 wallcast.collide_with_areas = true
35 $player/pivot/camera.add_child(wallcast)
36
28 # Override the YOU panel with the AP slot name. 37 # Override the YOU panel with the AP slot name.
29 if self.get_node_or_null("Panels/Color Arrow Room/Panel_you") != null: 38 if self.get_node_or_null("Panels/Color Arrow Room/Panel_you") != null:
30 self.get_node("Panels/Color Arrow Room/Panel_you").answer = apclient.ap_user 39 self.get_node("Panels/Color Arrow Room/Panel_you").answer = apclient.ap_user