[gd_scene load_steps=11 format=3 uid="uid://dpda341t6ipiv"]

[sub_resource type="Curve" id="Curve_7rmf4"]
min_value = 0.2
max_value = 2.0
_data = [Vector2(0.145299, 0.2), 0.0, 0.482143, 0, 0, Vector2(0.594017, 2), 0.0, 0.0, 0, 0]
point_count = 2

[sub_resource type="MoveStateArgs" id="MoveStateArgs_ibmkn"]
argument_property = &"g_player_character"

[sub_resource type="Action" id="Action_gtisq"]
effects = {
"is_near_player": true
}
apply_state = SubResource("MoveStateArgs_ibmkn")

[sub_resource type="MoveStateArgs" id="MoveStateArgs_vyebd"]
argument_property = &"target"

[sub_resource type="Action" id="Action_cwmvs"]
effects = {
"is_near_target": true
}
apply_state = SubResource("MoveStateArgs_vyebd")

[sub_resource type="Goal" id="Goal_sqtwb"]
goal_state = {
"is_near_player": true
}
prerequisites = {
"is_near_player": false
}

[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_3g72p"]

[sub_resource type="CapsuleMesh" id="CapsuleMesh_rwcvu"]
radial_segments = 12
rings = 1

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_scmx3"]
albedo_color = Color(0.94902, 0.909804, 0, 1)

[sub_resource type="BoxMesh" id="BoxMesh_f5yvh"]
size = Vector3(0.125, 0.14, 0.94)

[node name="PlayerCharacter" type="CharacterActor"]
rotation_speed_curve = SubResource("Curve_7rmf4")
collision_layer = 7

[node name="Planner" type="Planner" parent="."]
actions = [SubResource("Action_gtisq"), SubResource("Action_cwmvs")]
goals = [SubResource("Goal_sqtwb")]

[node name="Health" type="Health" parent="."]
max_health = 5

[node name="ProjectilePool" type="ProjectilePool" parent="."]

[node name="WeaponMuzzle" type="WeaponMuzzle" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.53551, 1.36699, 0.121549)

[node name="NavigationAgent3D" type="NavigationAgent3D" parent="."]
avoidance_enabled = true
radius = 1.0

[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
shape = SubResource("CapsuleShape3D_3g72p")

[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.99491, 0)
layers = 2
mesh = SubResource("CapsuleMesh_rwcvu")
surface_material_override/0 = SubResource("StandardMaterial3D_scmx3")

[node name="MeshInstance3D2" type="MeshInstance3D" parent="MeshInstance3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.509142, 0.361236, 0.380722)
layers = 2
mesh = SubResource("BoxMesh_f5yvh")
skeleton = NodePath("../..")
surface_material_override/0 = SubResource("StandardMaterial3D_scmx3")
