[gd_scene load_steps=5 format=3 uid="uid://cyw7kk1em8h16"]

[ext_resource type="Script" uid="uid://f50767fxajwh" path="res://Scripts/Parts/BlockDestructionParticles.gd" id="1_amyt7"]
[ext_resource type="Texture2D" uid="uid://dt0qtxu2l646n" path="res://Assets/Sprites/Tilesets/Terrain/Overworld.png" id="2_8gw0u"]
[ext_resource type="Script" uid="uid://cbal8ms2oe1ik" path="res://Scripts/Classes/Components/ResourceSetterNew.gd" id="3_8gw0u"]
[ext_resource type="JSON" path="res://Assets/Sprites/Tilesets/Terrain/TerrainTiles.json" id="4_8gw0u"]

[node name="BlockDestructionParticles" type="Node2D"]
z_index = 5
script = ExtResource("1_amyt7")

[node name="TL" type="Node2D" parent="."]
position = Vector2(-4, -4)

[node name="Sprite" type="Sprite2D" parent="TL"]
texture = ExtResource("2_8gw0u")
region_enabled = true
region_rect = Rect2(0, 160, 16, 16)
region_filter_clip_enabled = true

[node name="ResourceSetterNew" type="Node" parent="TL/Sprite" node_paths=PackedStringArray("node_to_affect")]
script = ExtResource("3_8gw0u")
node_to_affect = NodePath("..")
property_name = "texture"
mode = 1
resource_json = ExtResource("4_8gw0u")
use_cache = false
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"

[node name="TR" type="Node2D" parent="."]
position = Vector2(4, -4)

[node name="Sprite" type="Sprite2D" parent="TR"]
texture = ExtResource("2_8gw0u")
region_enabled = true
region_rect = Rect2(0, 160, 16, 16)
region_filter_clip_enabled = true

[node name="ResourceSetterNew" type="Node" parent="TR/Sprite" node_paths=PackedStringArray("node_to_affect")]
script = ExtResource("3_8gw0u")
node_to_affect = NodePath("..")
property_name = "texture"
mode = 1
resource_json = ExtResource("4_8gw0u")
use_cache = false
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"

[node name="BL" type="Node2D" parent="."]
position = Vector2(-4, 4)

[node name="Sprite" type="Sprite2D" parent="BL"]
texture = ExtResource("2_8gw0u")
region_enabled = true
region_rect = Rect2(0, 160, 16, 16)
region_filter_clip_enabled = true

[node name="ResourceSetterNew" type="Node" parent="BL/Sprite" node_paths=PackedStringArray("node_to_affect")]
script = ExtResource("3_8gw0u")
node_to_affect = NodePath("..")
property_name = "texture"
mode = 1
resource_json = ExtResource("4_8gw0u")
use_cache = false
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"

[node name="BR" type="Node2D" parent="."]
position = Vector2(4, 4)

[node name="Sprite" type="Sprite2D" parent="BR"]
texture = ExtResource("2_8gw0u")
region_enabled = true
region_rect = Rect2(0, 160, 16, 16)
region_filter_clip_enabled = true

[node name="ResourceSetterNew" type="Node" parent="BR/Sprite" node_paths=PackedStringArray("node_to_affect")]
script = ExtResource("3_8gw0u")
node_to_affect = NodePath("..")
property_name = "texture"
mode = 1
resource_json = ExtResource("4_8gw0u")
use_cache = false
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"

[node name="Timer" type="Timer" parent="."]
wait_time = 3.0
autostart = true

[connection signal="timeout" from="Timer" to="." method="queue_free"]
