[gd_scene load_steps=11 format=3 uid="uid://cdr4m7pydqk6u"]

[ext_resource type="Script" uid="uid://duhodrhcnoslh" path="res://Scripts/Interactables/Switch.cs" id="1_o8ph7"]
[ext_resource type="Script" uid="uid://epnwjptvks3t" path="res://Scripts/Resources/LootItem.cs" id="2_511l2"]
[ext_resource type="Resource" uid="uid://dibquna7fww7t" path="res://Resources/Items/Red_Keycard.tres" id="2_mv5hn"]
[ext_resource type="Texture2D" uid="uid://c1hcyxn2og2kq" path="res://Sprites/Actors/Key_Reader.png" id="4_im0oo"]
[ext_resource type="Texture2D" uid="uid://dsf7jj36mk0xp" path="res://Sprites/Actors/KeyReaderOverlay.png" id="5_k3f86"]

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

[sub_resource type="AtlasTexture" id="AtlasTexture_1r0vh"]
atlas = ExtResource("4_im0oo")
region = Rect2(0, 0, 16, 16)

[sub_resource type="AtlasTexture" id="AtlasTexture_vnkqd"]
atlas = ExtResource("4_im0oo")
region = Rect2(16, 0, 16, 16)

[sub_resource type="AtlasTexture" id="AtlasTexture_330vc"]
atlas = ExtResource("4_im0oo")
region = Rect2(32, 0, 16, 16)

[sub_resource type="SpriteFrames" id="SpriteFrames_3pfft"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_1r0vh")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_vnkqd")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_330vc")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]

[node name="ControlPad" type="Area2D" groups=["Interactable"]]
collision_layer = 4
collision_mask = 2
script = ExtResource("1_o8ph7")
Requirements = Array[ExtResource("2_511l2")]([ExtResource("2_mv5hn")])

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

[node name="AnimatedSprite2D2" type="AnimatedSprite2D" parent="."]
sprite_frames = SubResource("SpriteFrames_3pfft")

[node name="Sprite2D" type="Sprite2D" parent="AnimatedSprite2D2"]
modulate = Color(0.988235, 0, 0.0588235, 1)
texture = ExtResource("5_k3f86")
