[gd_scene load_steps=8 format=3 uid="uid://chfnuhi45nquf"]

[ext_resource type="PackedScene" uid="uid://u3t1k5j28yap" path="res://Scenes/Prefabs/Entities/Objects/Door.tscn" id="1_t0orm"]
[ext_resource type="JSON" path="res://Assets/Sprites/Tilesets/LockedDoors.json" id="2_0bcyf"]
[ext_resource type="Texture2D" uid="uid://fyxbhdmqfxk5" path="res://Assets/Sprites/Tilesets/Doors.png" id="2_0u2mu"]

[sub_resource type="AtlasTexture" id="AtlasTexture_kr4bu"]
atlas = ExtResource("2_0u2mu")
region = Rect2(48, 0, 16, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_penv4"]
atlas = ExtResource("2_0u2mu")
region = Rect2(32, 0, 16, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_jfxhu"]
atlas = ExtResource("2_0u2mu")
region = Rect2(16, 0, 16, 32)

[sub_resource type="SpriteFrames" id="SpriteFrames_1efep"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_kr4bu")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_penv4")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_jfxhu")
}],
"loop": false,
"name": &"Close",
"speed": 15.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_jfxhu")
}],
"loop": true,
"name": &"Idle",
"speed": 5.0
}, {
"frames": [],
"loop": true,
"name": &"Locked",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_jfxhu")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_penv4")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_kr4bu")
}],
"loop": false,
"name": &"Open",
"speed": 10.0
}]

[node name="LockedDoor" instance=ExtResource("1_t0orm")]
locked = true
start_locked = true

[node name="Sprite" parent="." index="1"]
sprite_frames = SubResource("SpriteFrames_1efep")
animation = &"Locked"
autoplay = "Locked"
frame = 0
frame_progress = 0.0

[node name="ResourceSetterNew" parent="Sprite" index="0"]
resource_json = ExtResource("2_0bcyf")
