[gd_scene format=3 uid="uid://knrcnoedxvm6"]

[ext_resource type="Script" uid="uid://b8yl6l3tlam86" path="res://_props/trigger_fall_rock_hazard/trigger_fall_rock_hazard.gd" id="1_2ms0f"]
[ext_resource type="PackedScene" uid="uid://cmjwk4gr1nfns" path="res://_props/_prefabs/rock.tscn" id="2_ww3ib"]
[ext_resource type="Texture2D" uid="uid://c673bap4b12fx" path="res://icon.svg" id="3_f8vfu"]
[ext_resource type="PackedScene" uid="uid://bonrls3iuhdqb" path="res://_props/_prefabs/player/player_trigger_volumn.tscn" id="4_s77mb"]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_vv0hj"]
size = Vector2(52, 52)

[sub_resource type="RectangleShape2D" id="RectangleShape2D_mvp6g"]
size = Vector2(52, 108.5)

[node name="TriggerFallRock_Hazard" type="Node2D" unique_id=248471 groups=["ROCK_BREAK"]]
scale = Vector2(0.9, 0.9)
script = ExtResource("1_2ms0f")

[node name="rock" parent="." unique_id=1315018512 instance=ExtResource("2_ww3ib")]
position = Vector2(0, -82)
falling_gravity = 600.0
max_fall_speed = 1000.0

[node name="Sprite2D" type="Sprite2D" parent="rock" unique_id=947610890]
scale = Vector2(0.405, 0.405)
texture = ExtResource("3_f8vfu")

[node name="CollisionShape2D" type="CollisionShape2D" parent="rock" unique_id=93634710]
shape = SubResource("RectangleShape2D_vv0hj")
debug_color = Color(0.99629647, 0, 0.19810504, 0.41960785)

[node name="PlayerTriggerVolumn" parent="." unique_id=182002080 instance=ExtResource("4_s77mb")]

[node name="CollisionShape2D" type="CollisionShape2D" parent="PlayerTriggerVolumn" unique_id=821875896]
position = Vector2(0, -4)
scale = Vector2(1, 1.92)
shape = SubResource("RectangleShape2D_mvp6g")

[node name="Timer" type="Timer" parent="." unique_id=130846245]
wait_time = 0.8
one_shot = true
