[gd_scene load_steps=10 format=3 uid="uid://dsp8jku6h5xxa"]

[ext_resource type="PackedScene" uid="uid://dfbpq23nrtd23" path="res://Factions/Knights/Troops/base_character.tscn" id="1_d2j80"]
[ext_resource type="Texture2D" uid="uid://1bwuduv7605p" path="res://Factions/Knights/Troops/Pawn/Blue/Pawn_Blue.png" id="2_c6f2o"]

[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_c6f2o"]
radius = 6.0

[sub_resource type="Animation" id="Animation_lftkj"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Texture:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [0]
}

[sub_resource type="Animation" id="Animation_em6uh"]
resource_name = "attack_axe"
length = 0.6
step = 0.1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Texture:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1),
"update": 1,
"values": [18, 19, 20, 21, 22, 23]
}

[sub_resource type="Animation" id="Animation_7phpi"]
resource_name = "attack_hammer"
length = 0.6
step = 0.6
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Texture:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1),
"update": 1,
"values": [12, 13, 14, 15, 16, 17]
}

[sub_resource type="Animation" id="Animation_c6f2o"]
resource_name = "idle"
length = 0.6
loop_mode = 1
step = 0.1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Texture:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1),
"update": 1,
"values": [0, 1, 2, 3, 4, 5]
}

[sub_resource type="Animation" id="Animation_4028v"]
resource_name = "run"
length = 0.6
loop_mode = 1
step = 0.1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Texture:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1),
"update": 1,
"values": [6, 7, 8, 9, 10, 11]
}

[sub_resource type="AnimationLibrary" id="AnimationLibrary_7phpi"]
_data = {
&"RESET": SubResource("Animation_lftkj"),
&"attack_axe": SubResource("Animation_em6uh"),
&"attack_hammer": SubResource("Animation_7phpi"),
&"idle": SubResource("Animation_c6f2o"),
&"run": SubResource("Animation_4028v")
}

[node name="Pawn" instance=ExtResource("1_d2j80")]
_move_speed = 192.0
_left_attack_name = "attack_hammer"
_right_attack_name = "attack_axe"

[node name="Texture" parent="." index="0"]
position = Vector2(0, -26)
texture = ExtResource("2_c6f2o")
hframes = 6
vframes = 6

[node name="Collision" parent="." index="1"]
show_behind_parent = true
rotation = 1.5708
shape = SubResource("CapsuleShape2D_c6f2o")

[node name="Animation" parent="." index="2"]
libraries = {
&"": SubResource("AnimationLibrary_7phpi")
}
