[gd_scene load_steps=12 format=3 uid="uid://c2jobsx0clplx"]

[ext_resource type="PackedScene" uid="uid://c3dw06iowor14" path="res://entities/player/playertools/cleaning_tool_attached.glb" id="1_gdr71"]
[ext_resource type="Script" path="res://entities/player/playertools/cleaning_tool_attached.gd" id="2_7yujb"]
[ext_resource type="Material" uid="uid://st2d73wbhj7" path="res://entities/objects/tools/PlayerTools01.material" id="2_rsvvc"]
[ext_resource type="AudioStream" uid="uid://1jcen0vuxdwu" path="res://sfx/ncl_puddle.ogg" id="4_v605l"]

[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_h2nkn"]
animation = &"CL_Idle"

[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_g2yi2"]
animation = &"CL"

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

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

[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_ir3ik"]
switch_mode = 2
advance_mode = 2

[sub_resource type="AnimationNodeStateMachine" id="AnimationNodeStateMachine_r11jf"]
states/CL_Idle/node = SubResource("AnimationNodeAnimation_h2nkn")
states/CL_Idle/position = Vector2(324, 104)
states/CL_Loop/node = SubResource("AnimationNodeAnimation_g2yi2")
states/CL_Loop/position = Vector2(343, 182)
transitions = ["Start", "CL_Idle", SubResource("AnimationNodeStateMachineTransition_k8stx"), "CL_Idle", "CL_Loop", SubResource("AnimationNodeStateMachineTransition_ejjnc"), "CL_Loop", "CL_Idle", SubResource("AnimationNodeStateMachineTransition_ir3ik")]

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

[node name="cleaning_tool_attached" instance=ExtResource("1_gdr71")]
script = ExtResource("2_7yujb")

[node name="Cleaning_Tool_Attached" parent="Cleaning_Tool_Attached_Arm/Skeleton3D" index="0"]
surface_material_override/0 = ExtResource("2_rsvvc")

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

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

[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="." index="3"]
stream = ExtResource("4_v605l")
attenuation_model = 3
volume_db = -13.794
unit_size = 100.0
