[gd_scene load_steps=5 format=3 uid="uid://isqkayrtr7t8"]

[ext_resource type="Script" uid="uid://bn7dr8s404qnf" path="res://src/usable.gd" id="1_1e3ry"]
[ext_resource type="PackedScene" uid="uid://5a023hrws3gx" path="res://assets/Glock 17 Gen 4/Main.glb" id="1_igbvm"]
[ext_resource type="Script" uid="uid://ddqif2gmm1ec2" path="res://src/damage_source.gd" id="2_buff3"]
[ext_resource type="Script" uid="uid://bgun1u5812uil" path="res://src/raycast.gd" id="4_t6oaa"]

[node name="Pistol" type="Node3D"]
script = ExtResource("1_1e3ry")

[node name="DamageSource" type="Node" parent="." node_paths=PackedStringArray("raycast")]
script = ExtResource("2_buff3")
damage = 1
raycast = NodePath("../Node3D/Raycast")
metadata/_custom_type_script = "uid://ddqif2gmm1ec2"

[node name="Timer" type="Timer" parent="."]
wait_time = 0.5
one_shot = true

[node name="Node3D" type="Node3D" parent="."]
transform = Transform3D(-0.0948472, 0.981445, -0.166645, -0.538265, -0.191379, -0.820759, -0.837421, 0.0118525, 0.546429, 3.16379, 3.48907, 1.04434)

[node name="Main" parent="Node3D" instance=ExtResource("1_igbvm")]
transform = Transform3D(10, 5.21541e-08, 0, -1.3411e-07, 10, 8.9407e-08, -4.76837e-07, 8.9407e-08, 10, 0, 0, 0)

[node name="Raycast" type="Node3D" parent="Node3D"]
transform = Transform3D(1, 1.02445e-08, 2.98023e-08, -8.3819e-09, 1, -3.25963e-08, -2.98023e-08, -3.58559e-08, 1, -0.35812, -1.98491, -11.4862)
script = ExtResource("4_t6oaa")
length = 1000.0
custom_color = Color(1, 0, 0, 1)
width = 1
metadata/_custom_type_script = "uid://bgun1u5812uil"

[connection signal="used" from="." to="." method="disable"]
[connection signal="used" from="." to="DamageSource" method="try_damage"]
[connection signal="used" from="." to="Timer" method="start"]
[connection signal="timeout" from="Timer" to="." method="enable"]
