[gd_scene load_steps=12 format=3 uid="uid://cjsnhyl0nqbau"]

[ext_resource type="Script" uid="uid://cpx2fxtumgmud" path="res://Scenes/Barrel.cs" id="1_100a6"]
[ext_resource type="PackedScene" uid="uid://cdhhices2ju4r" path="res://Scenes/Props/ICCTv_Broken.tscn" id="2_100a6"]
[ext_resource type="PackedScene" uid="uid://jmijre3eaf8m" path="res://Scenes/Explosion.tscn" id="3_3y2rc"]
[ext_resource type="Texture2D" uid="uid://bifei6xr5esgs" path="res://Sprites/ICCTv.png" id="4_100a6"]

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

[sub_resource type="AtlasTexture" id="AtlasTexture_ihjbr"]
atlas = ExtResource("4_100a6")
region = Rect2(0, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_3y2rc"]
atlas = ExtResource("4_100a6")
region = Rect2(32, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_1kmfq"]
atlas = ExtResource("4_100a6")
region = Rect2(64, 0, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_t6ce5"]
atlas = ExtResource("4_100a6")
region = Rect2(96, 0, 32, 32)

[sub_resource type="SpriteFrames" id="SpriteFrames_dgi5u"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_ihjbr")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_3y2rc")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_1kmfq")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_t6ce5")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_ss2y0"]
size = Vector2(12, 10)

[node name="ICCTv" type="Area2D" groups=["Destroyable"]]
collision_layer = 64
collision_mask = 10
script = ExtResource("1_100a6")
Health = 4.0
ExplosionRadius = 0.0
ExplosionDamage = 0.0
DebrisScene = ExtResource("2_100a6")
ExplosionParticles = ExtResource("3_3y2rc")
metadata/_edit_group_ = true

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

[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
sprite_frames = SubResource("SpriteFrames_dgi5u")
autoplay = "default"
frame_progress = 0.895014

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

[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D"]
position = Vector2(0, -3)
shape = SubResource("RectangleShape2D_ss2y0")

[node name="NavigationObstacle2D" type="NavigationObstacle2D" parent="."]
visible = false
radius = 8.36
vertices = PackedVector2Array(-6, -9, 6, -9, 6, 2, -6, 2)
