[gd_scene load_steps=9 format=2]

[ext_resource path="res://scripts/Character.gd" type="Script" id=1]
[ext_resource path="res://scenes/barbarian.tscn" type="PackedScene" id=2]
[ext_resource path="res://scenes/rogue.tscn" type="PackedScene" id=3]
[ext_resource path="res://scenes/mage.tscn" type="PackedScene" id=4]
[ext_resource path="res://scenes/knight.tscn" type="PackedScene" id=5]
[ext_resource path="res://scenes/worker.tscn" type="PackedScene" id=6]

[sub_resource type="Animation" id=22]
resource_name = "Active"
loop = true
tracks/0/type = "transform"
tracks/0/path = NodePath(".")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = PoolRealArray( 0, 1, 0, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0.6, 1, 0, 2, 0, 0, 0, 0, 1, 1, 1, 1 )

[sub_resource type="Animation" id=23]
resource_name = "NotActive"
loop = true
tracks/0/type = "transform"
tracks/0/path = NodePath(".")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = PoolRealArray( 0, 1, 0, 1, 0, 0, 0, 0, 1, 1, 1, 1 )

[node name="Character" type="Spatial"]
transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 0, 0 )
script = ExtResource( 1 )

[node name="CharacterModel" type="Spatial" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )

[node name="Worker" parent="CharacterModel" instance=ExtResource( 6 )]
transform = Transform( 0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0 )

[node name="Barbarian" parent="CharacterModel" instance=ExtResource( 2 )]
visible = false

[node name="Knight" parent="CharacterModel" instance=ExtResource( 5 )]
visible = false

[node name="Mage" parent="CharacterModel" instance=ExtResource( 4 )]
visible = false

[node name="Rogue" parent="CharacterModel" instance=ExtResource( 3 )]
visible = false

[node name="AnimationPlayer" type="AnimationPlayer" parent="CharacterModel"]
anims/Active = SubResource( 22 )
anims/NotActive = SubResource( 23 )
