conforms file names to consistant standard

This commit is contained in:
2026-02-21 04:24:04 +11:00
parent 6b67dd9755
commit 5a4ad8633a
1991 changed files with 3836 additions and 7976 deletions

View File

@@ -0,0 +1,10 @@
[gd_scene format=3 uid="uid://cx8f6tsipvmls"]
[ext_resource type="Script" uid="uid://7pd2edvb845w" path="res://scenes/ladder/scr_ladder.gd" id="1_cq4ai"]
[node name="Ladder" type="Area3D" unique_id=1685840961]
collision_mask = 2
script = ExtResource("1_cq4ai")
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
[connection signal="body_exited" from="." to="." method="_on_body_exited"]

View File

@@ -0,0 +1,12 @@
class_name Ladder
extends Area3D
func _on_body_entered(body: Node3D) -> void:
if body is Hero:
body.movement.enable_climbing()
func _on_body_exited(body: Node3D) -> void:
if body is Hero:
body.movement.disable_climbing()

View File

@@ -0,0 +1 @@
uid://7pd2edvb845w