cleaning_tool_attached.tscn 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. [gd_scene load_steps=12 format=3 uid="uid://c2jobsx0clplx"]
  2. [ext_resource type="PackedScene" uid="uid://c3dw06iowor14" path="res://entities/player/playertools/cleaning_tool_attached.glb" id="1_gdr71"]
  3. [ext_resource type="Script" path="res://entities/player/playertools/cleaning_tool_attached.gd" id="2_7yujb"]
  4. [ext_resource type="Material" uid="uid://st2d73wbhj7" path="res://entities/objects/tools/PlayerTools01.material" id="2_rsvvc"]
  5. [ext_resource type="AudioStream" uid="uid://1jcen0vuxdwu" path="res://sfx/ncl_puddle.ogg" id="4_v605l"]
  6. [sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_h2nkn"]
  7. animation = &"CL_Idle"
  8. [sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_g2yi2"]
  9. animation = &"CL"
  10. [sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_k8stx"]
  11. advance_mode = 2
  12. advance_condition = &"start"
  13. [sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_ejjnc"]
  14. advance_mode = 2
  15. advance_condition = &"start"
  16. [sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_ir3ik"]
  17. switch_mode = 2
  18. advance_mode = 2
  19. [sub_resource type="AnimationNodeStateMachine" id="AnimationNodeStateMachine_r11jf"]
  20. states/CL_Idle/node = SubResource("AnimationNodeAnimation_h2nkn")
  21. states/CL_Idle/position = Vector2(324, 104)
  22. states/CL_Loop/node = SubResource("AnimationNodeAnimation_g2yi2")
  23. states/CL_Loop/position = Vector2(343, 182)
  24. transitions = ["Start", "CL_Idle", SubResource("AnimationNodeStateMachineTransition_k8stx"), "CL_Idle", "CL_Loop", SubResource("AnimationNodeStateMachineTransition_ejjnc"), "CL_Loop", "CL_Idle", SubResource("AnimationNodeStateMachineTransition_ir3ik")]
  25. [sub_resource type="AnimationNodeStateMachinePlayback" id="AnimationNodeStateMachinePlayback_80t8h"]
  26. [node name="cleaning_tool_attached" instance=ExtResource("1_gdr71")]
  27. script = ExtResource("2_7yujb")
  28. [node name="Cleaning_Tool_Attached" parent="Cleaning_Tool_Attached_Arm/Skeleton3D" index="0"]
  29. surface_material_override/0 = ExtResource("2_rsvvc")
  30. [node name="AnimationPlayer" parent="." index="1"]
  31. autoplay = "CL_Idle"
  32. [node name="AnimationTree" type="AnimationTree" parent="." index="2"]
  33. tree_root = SubResource("AnimationNodeStateMachine_r11jf")
  34. anim_player = NodePath("../AnimationPlayer")
  35. active = true
  36. parameters/playback = SubResource("AnimationNodeStateMachinePlayback_80t8h")
  37. parameters/conditions/start = false
  38. [node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="." index="3"]
  39. stream = ExtResource("4_v605l")
  40. attenuation_model = 3
  41. volume_db = -13.794
  42. unit_size = 100.0