[gd_scene load_steps=14 format=3 uid="uid://dgchngvqkam5r"]

[ext_resource type="PackedScene" uid="uid://5t5dpi46ntb1" path="res://entities/player/playertools/pull_tool_attached.glb" id="1_oiuab"]
[ext_resource type="Material" uid="uid://st2d73wbhj7" path="res://entities/objects/tools/PlayerTools01.material" id="2_b5iso"]
[ext_resource type="Script" path="res://entities/player/playertools/pull_tool_attached.gd" id="2_p3wik"]

[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_po5y7"]
animation = &"Pull_End"

[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_v75yx"]
animation = &"Pull_Idle"

[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_r0yw2"]
animation = &"Pull_Start"

[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_a8bxw"]
advance_mode = 2
advance_condition = &"start"

[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_ces08"]
advance_mode = 2

[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_1uxye"]
switch_mode = 2
advance_mode = 2
advance_condition = &"end"

[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_3c50n"]
switch_mode = 2
advance_mode = 2
advance_condition = &"start"

[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_w55td"]
advance_mode = 2
advance_condition = &"end"

[sub_resource type="AnimationNodeStateMachine" id="AnimationNodeStateMachine_l6tah"]
states/End/position = Vector2(725, 89)
states/Pull_End/node = SubResource("AnimationNodeAnimation_po5y7")
states/Pull_End/position = Vector2(467, 146)
states/Pull_Idle/node = SubResource("AnimationNodeAnimation_v75yx")
states/Pull_Idle/position = Vector2(263, 58)
states/Pull_Start/node = SubResource("AnimationNodeAnimation_r0yw2")
states/Pull_Start/position = Vector2(467, 58)
states/Start/position = Vector2(142, 61)
transitions = ["Pull_Idle", "Pull_Start", SubResource("AnimationNodeStateMachineTransition_a8bxw"), "Start", "Pull_Idle", SubResource("AnimationNodeStateMachineTransition_ces08"), "Pull_Start", "Pull_End", SubResource("AnimationNodeStateMachineTransition_1uxye"), "Pull_End", "Pull_Start", SubResource("AnimationNodeStateMachineTransition_3c50n"), "Pull_Idle", "Pull_End", SubResource("AnimationNodeStateMachineTransition_w55td")]
graph_offset = Vector2(2, 2)

[sub_resource type="AnimationNodeStateMachinePlayback" id="AnimationNodeStateMachinePlayback_2l3aa"]

[node name="pull_tool_attached" instance=ExtResource("1_oiuab")]
script = ExtResource("2_p3wik")

[node name="Pull_Tool_Attached" parent="Pull_Tool_Attached_Arm/Skeleton3D" index="0"]
surface_material_override/0 = ExtResource("2_b5iso")

[node name="AnimationPlayer" parent="." index="1"]
autoplay = "Pull_Idle"

[node name="AnimationTree" type="AnimationTree" parent="." index="2"]
tree_root = SubResource("AnimationNodeStateMachine_l6tah")
anim_player = NodePath("../AnimationPlayer")
active = true
parameters/playback = SubResource("AnimationNodeStateMachinePlayback_2l3aa")
parameters/conditions/end = false
parameters/conditions/start = false
