[gd_scene load_steps=6 format=3 uid="uid://c53lpgcvld227"]

[ext_resource type="Script" uid="uid://cpx2fxtumgmud" path="res://Scenes/Barrel.cs" id="1_6ig5i"]
[ext_resource type="PackedScene" uid="uid://jmijre3eaf8m" path="res://Scenes/Explosion.tscn" id="3_o4o8g"]
[ext_resource type="Texture2D" uid="uid://chklctdgv6twk" path="res://Sprites/Detritus.png" id="4_brq2k"]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_2ewfl"]
size = Vector2(11, 14)

[sub_resource type="RectangleShape2D" id="RectangleShape2D_ss2y0"]
size = Vector2(11, 14)

[node name="Detritus" type="Area2D" groups=["Destroyable"]]
collision_layer = 64
collision_mask = 10
script = ExtResource("1_6ig5i")
Health = 2.0
ExplosionRadius = 2.0
ExplosionDamage = 2.0
ExplosionParticles = ExtResource("3_o4o8g")
metadata/_edit_group_ = true

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
visible = false
position = Vector2(0.5, -1)
shape = SubResource("RectangleShape2D_2ewfl")

[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("4_brq2k")

[node name="RigidBody2D" type="RigidBody2D" parent="."]
collision_layer = 64
collision_mask = 10
gravity_scale = 0.0

[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D"]
visible = false
position = Vector2(0.5, -1)
shape = SubResource("RectangleShape2D_ss2y0")
