27 lines
1.1 KiB
Plaintext
27 lines
1.1 KiB
Plaintext
[gd_scene format=3 uid="uid://ceqxsqfiotm5j"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://mvh2v6v72stt" path="res://core/ai/agents/human/ai_human.tscn" id="1_l2y7m"]
|
|
[ext_resource type="Script" uid="uid://bngfthvt04ivv" path="res://core/ai/framework/patrol_state.gd" id="3_2oda6"]
|
|
[ext_resource type="Script" uid="uid://d3hy70ec8vqo5" path="res://core/ai/framework/run_animation_state.gd" id="4_2oda6"]
|
|
|
|
[node name="AiFarmer" unique_id=1228675528 instance=ExtResource("1_l2y7m")]
|
|
|
|
[node name="StateMachine" parent="." index="3" unique_id=1286404264 node_paths=PackedStringArray("initial_state")]
|
|
initial_state = NodePath("GatherState")
|
|
|
|
[node name="PatrolState" type="Node" parent="StateMachine" index="0" unique_id=930272128]
|
|
script = ExtResource("3_2oda6")
|
|
state_id = &"patrol"
|
|
next_state_id = &"gather"
|
|
animation_name = "custom/walking"
|
|
exit_on_action_finished = true
|
|
|
|
[node name="GatherState" type="Node" parent="StateMachine" index="1" unique_id=48091671]
|
|
script = ExtResource("4_2oda6")
|
|
state_id = &"gather"
|
|
next_state_id = &"patrol"
|
|
animation_name = "custom/gather"
|
|
exit_on_animation_finished = true
|
|
|
|
[editable path="HumanMannequin"]
|