[gd_scene load_steps=9 format=3 uid="uid://r25rq6ijgm6m"]

[ext_resource type="Script" uid="uid://b3h7b30kerf60" path="res://Scripts/Interactables/ItemPickup.cs" id="1_kb5vg"]
[ext_resource type="Script" uid="uid://epnwjptvks3t" path="res://Scripts/Resources/LootItem.cs" id="2_k08wy"]
[ext_resource type="Resource" uid="uid://cspcgkr0tane2" path="res://Resources/Items/Green_Keycard.tres" id="2_kb5vg"]
[ext_resource type="Texture2D" uid="uid://bvkjnc3ggp7ba" path="res://Sprites/Items/GreenKeycard_Small.png" id="2_lts72"]

[sub_resource type="CircleShape2D" id="CircleShape2D_6vv2s"]

[sub_resource type="AtlasTexture" id="AtlasTexture_3c71u"]
atlas = ExtResource("2_lts72")
region = Rect2(0, 0, 16, 16)

[sub_resource type="AtlasTexture" id="AtlasTexture_tdlc7"]
atlas = ExtResource("2_lts72")
region = Rect2(16, 0, 16, 16)

[sub_resource type="SpriteFrames" id="SpriteFrames_y8q6b"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_3c71u")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_tdlc7")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]

[node name="GreenKeyCard" type="Area2D" groups=["Interactable"]]
collision_layer = 4
collision_mask = 2
script = ExtResource("1_kb5vg")
LootTable = Array[ExtResource("2_k08wy")]([ExtResource("2_kb5vg")])

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_6vv2s")

[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
sprite_frames = SubResource("SpriteFrames_y8q6b")
autoplay = "default"
