[gd_scene load_steps=11 format=3 uid="uid://dnbtou2fklyvp"] [ext_resource type="Script" uid="uid://d0a0o50j82eo6" path="res://Scripts/Activables/ScriptableBase.cs" id="1_kao8y"] [ext_resource type="Script" uid="uid://donxnd50p7dm8" path="res://Scripts/Resources/Events/AlarmDisableEvent.cs" id="2_8fwyu"] [ext_resource type="PackedScene" uid="uid://crph24e6e0v0q" path="res://Scenes/Interactable/Control_Pad.tscn" id="3_eg1gw"] [ext_resource type="Texture2D" uid="uid://bodoftbnvjh6i" path="res://Sprites/Actors/AlertSign.png" id="4_7ysp5"] [ext_resource type="Script" uid="uid://daqdq17qiessy" path="res://Scripts/Components/AlarmSpriteSwitcher.cs" id="5_qohod"] [sub_resource type="Resource" id="Resource_hppa0"] script = ExtResource("2_8fwyu") WaitForCompletion = true [sub_resource type="AtlasTexture" id="AtlasTexture_adk1y"] atlas = ExtResource("4_7ysp5") region = Rect2(16, 0, 16, 8) [sub_resource type="AtlasTexture" id="AtlasTexture_jdxjv"] atlas = ExtResource("4_7ysp5") region = Rect2(32, 0, 16, 8) [sub_resource type="AtlasTexture" id="AtlasTexture_jkso3"] atlas = ExtResource("4_7ysp5") region = Rect2(0, 0, 16, 8) [sub_resource type="SpriteFrames" id="SpriteFrames_25o7d"] animations = [{ "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_adk1y") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_jdxjv") }], "loop": true, "name": &"alarmed", "speed": 5.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_jkso3") }], "loop": true, "name": &"default", "speed": 5.0 }] [node name="AlarmBox" type="Node2D"] script = ExtResource("1_kao8y") Events = Array[Object]([SubResource("Resource_hppa0")]) [node name="ControlPad" parent="." node_paths=PackedStringArray("Target") instance=ExtResource("3_eg1gw")] Target = NodePath("..") [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] sprite_frames = SubResource("SpriteFrames_25o7d") [node name="SpriteSwitcher" type="Node2D" parent="." node_paths=PackedStringArray("_sprite")] script = ExtResource("5_qohod") _sprite = NodePath("../AnimatedSprite2D")