[gd_scene load_steps=6 format=3 uid="uid://iwn3rk6leull"]

[ext_resource type="Script" uid="uid://dyghf5fq7s72x" path="res://src/interactable.gd" id="1_2t8sx"]
[ext_resource type="Script" uid="uid://cb3fj8dexn6i6" path="res://src/item_pickup.gd" id="1_naliw"]
[ext_resource type="Resource" uid="uid://crgwey6ibaf2h" path="res://resources/items/pistol.tres" id="2_2t8sx"]
[ext_resource type="PackedScene" uid="uid://5a023hrws3gx" path="res://assets/Glock 17 Gen 4/Main.glb" id="2_ewanq"]

[sub_resource type="SphereShape3D" id="SphereShape3D_ewanq"]

[node name="PistolPickup" type="StaticBody3D"]
collision_layer = 2
collision_mask = 0
script = ExtResource("1_naliw")
item = ExtResource("2_2t8sx")

[node name="Main" parent="." instance=ExtResource("2_ewanq")]
transform = Transform3D(0.2, 0, 0, 0, 0.2, 0, 0, 0, 0.2, 0, 0, 0)

[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("SphereShape3D_ewanq")

[node name="Interactable" type="Node3D" parent="."]
script = ExtResource("1_2t8sx")
metadata/_custom_type_script = "uid://dyghf5fq7s72x"

[connection signal="interacted" from="Interactable" to="." method="add_to_inventory"]
