|
|
|
|
@ -1,8 +1,7 @@
|
|
|
|
|
[gd_scene load_steps=16 format=3 uid="uid://sbf12hin4kes"]
|
|
|
|
|
[gd_scene load_steps=17 format=3 uid="uid://sbf12hin4kes"]
|
|
|
|
|
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://bylgmr0skwtrs" path="res://art/farm/farming/farmobjekte/broken tools atlas.png" id="1_k4ca3"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://cqc72e4hq6bcd" path="res://prefabs/interactions/interaction_area_2d.tscn" id="2_gcgfd"]
|
|
|
|
|
[ext_resource type="Script" uid="uid://dkk1vjijvgrd7" path="res://scripts/CSharp/Common/Items/NonInventoryPickup.cs" id="2_ic616"]
|
|
|
|
|
[ext_resource type="AudioStream" uid="uid://be6g8b3v3u1ai" path="res://audio/sfx/Kitchen/SFX_Cooking_Knife_PickUp_01.wav" id="3_ktmp7"]
|
|
|
|
|
[ext_resource type="AudioStream" uid="uid://cgjsajsdrrn0j" path="res://audio/sfx/Kitchen/SFX_Cooking_Knife_PutDown_01.wav" id="4_ic616"]
|
|
|
|
|
[ext_resource type="AudioStream" uid="uid://br4drgupled6c" path="res://audio/sfx/Kitchen/SFX_Cooking_Pot_01.wav" id="5_dx175"]
|
|
|
|
|
@ -14,6 +13,8 @@
|
|
|
|
|
[ext_resource type="AudioStream" uid="uid://bc216pfieuc8h" path="res://audio/sfx/Kitchen/SFX_Cutlery_04.wav" id="11_kb03l"]
|
|
|
|
|
[ext_resource type="AudioStream" uid="uid://dp6qen84ptlvx" path="res://audio/sfx/Kitchen/SFX_Cutlery_05.wav" id="12_kka6u"]
|
|
|
|
|
[ext_resource type="Script" uid="uid://cfnrd5k1k0gxw" path="res://scripts/CSharp/Common/AudioPlayer2D.cs" id="13_wswkg"]
|
|
|
|
|
[ext_resource type="Script" uid="uid://b5dotkx17gvxg" path="res://scripts/CSharp/Low Code/Events/EventRaiser.cs" id="14_dx175"]
|
|
|
|
|
[ext_resource type="Resource" uid="uid://78t0o27g6aq6" path="res://resources/low code/interactables/event_PickedUpInteractable.tres" id="15_u7jgg"]
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_dich4"]
|
|
|
|
|
streams_count = 10
|
|
|
|
|
@ -35,7 +36,6 @@ texture = ExtResource("1_k4ca3")
|
|
|
|
|
offset = Vector2(1, -215)
|
|
|
|
|
region_enabled = true
|
|
|
|
|
region_rect = Rect2(44, 479, 356, 503)
|
|
|
|
|
script = ExtResource("2_ic616")
|
|
|
|
|
|
|
|
|
|
[node name="InteractionArea" parent="." node_paths=PackedStringArray("_spriteToOutline") instance=ExtResource("2_gcgfd")]
|
|
|
|
|
position = Vector2(0, -172)
|
|
|
|
|
@ -47,6 +47,10 @@ bus = &"SFX"
|
|
|
|
|
playback_type = 2
|
|
|
|
|
script = ExtResource("13_wswkg")
|
|
|
|
|
|
|
|
|
|
[node name="PickupAnimationEventRaiser" type="Node" parent="."]
|
|
|
|
|
script = ExtResource("14_dx175")
|
|
|
|
|
_eventResources = Array[Object]([ExtResource("15_u7jgg")])
|
|
|
|
|
|
|
|
|
|
[connection signal="Interacted" from="InteractionArea" to="." method="queue_free"]
|
|
|
|
|
[connection signal="Interacted" from="InteractionArea" to="." method="PlayPickupAnimation"]
|
|
|
|
|
[connection signal="Interacted" from="InteractionArea" to="AudioStreamPlayer2D" method="PlayOneShot"]
|
|
|
|
|
[connection signal="Interacted" from="InteractionArea" to="PickupAnimationEventRaiser" method="RaiseEvents"]
|
|
|
|
|
|