|
|
|
@ -1,10 +1,15 @@
|
|
|
|
[gd_scene load_steps=9 format=3 uid="uid://dpbbroif2tnil"]
|
|
|
|
[gd_scene load_steps=15 format=3 uid="uid://dpbbroif2tnil"]
|
|
|
|
|
|
|
|
|
|
|
|
[ext_resource type="Script" uid="uid://btusf04xnywhm" path="res://scripts/CSharp/Common/Inventory/ItemOnGround2D.cs" id="1_tlhp6"]
|
|
|
|
[ext_resource type="Script" uid="uid://btusf04xnywhm" path="res://scripts/CSharp/Common/Inventory/ItemOnGround2D.cs" id="1_tlhp6"]
|
|
|
|
[ext_resource type="Script" uid="uid://c8suoi3i6kqai" path="res://scripts/CSharp/Common/Inventory/ItemOnGroundSpawnWith.cs" id="3_xu8me"]
|
|
|
|
[ext_resource type="Script" uid="uid://c8suoi3i6kqai" path="res://scripts/CSharp/Common/Inventory/ItemOnGroundSpawnWith.cs" id="3_xu8me"]
|
|
|
|
[ext_resource type="Material" uid="uid://bv3m12duf0dj6" path="res://art/materials/inventory_interactable_outline.tres" id="4_harr4"]
|
|
|
|
[ext_resource type="Material" uid="uid://bv3m12duf0dj6" path="res://art/materials/inventory_interactable_outline.tres" id="4_harr4"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://cqc72e4hq6bcd" path="res://prefabs/interactions/interaction_area_2d.tscn" id="4_xu8me"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://cqc72e4hq6bcd" path="res://prefabs/interactions/interaction_area_2d.tscn" id="4_xu8me"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://cfxibry711o16" path="res://art/ui/UI/icons/icon-scythe.png" id="5_harr4"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://cfxibry711o16" path="res://art/ui/UI/icons/icon-scythe.png" id="5_harr4"]
|
|
|
|
|
|
|
|
[ext_resource type="AudioStream" uid="uid://bw630minafpvb" path="res://audio/sfx/UI/SFX_ItemPickUp_01.wav" id="6_gcj2v"]
|
|
|
|
|
|
|
|
[ext_resource type="AudioStream" uid="uid://by8ubxnfbrisv" path="res://audio/sfx/UI/SFX_ItemPickUp_02.wav" id="7_edjam"]
|
|
|
|
|
|
|
|
[ext_resource type="AudioStream" uid="uid://bqm6rchwtelxj" path="res://audio/sfx/UI/SFX_ItemPickUp_03.wav" id="8_kflfw"]
|
|
|
|
|
|
|
|
[ext_resource type="AudioStream" uid="uid://brsufnpmig5fv" path="res://audio/sfx/UI/SFX_ItemPickUp_04.wav" id="9_dltn0"]
|
|
|
|
|
|
|
|
[ext_resource type="Script" uid="uid://dx25g14a7xi4w" path="res://scripts/CSharp/Common/Audio/AudioPlayer.cs" id="10_clbey"]
|
|
|
|
|
|
|
|
|
|
|
|
[sub_resource type="Theme" id="Theme_tlhp6"]
|
|
|
|
[sub_resource type="Theme" id="Theme_tlhp6"]
|
|
|
|
default_font_size = 80
|
|
|
|
default_font_size = 80
|
|
|
|
@ -16,6 +21,13 @@ default_font_size = 40
|
|
|
|
resource_local_to_scene = true
|
|
|
|
resource_local_to_scene = true
|
|
|
|
radius = 300.0
|
|
|
|
radius = 300.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_7mdru"]
|
|
|
|
|
|
|
|
streams_count = 4
|
|
|
|
|
|
|
|
stream_0/stream = ExtResource("6_gcj2v")
|
|
|
|
|
|
|
|
stream_1/stream = ExtResource("7_edjam")
|
|
|
|
|
|
|
|
stream_2/stream = ExtResource("8_kflfw")
|
|
|
|
|
|
|
|
stream_3/stream = ExtResource("9_dltn0")
|
|
|
|
|
|
|
|
|
|
|
|
[node name="GenericItemOnGround" type="Node2D"]
|
|
|
|
[node name="GenericItemOnGround" type="Node2D"]
|
|
|
|
z_index = 1
|
|
|
|
z_index = 1
|
|
|
|
y_sort_enabled = true
|
|
|
|
y_sort_enabled = true
|
|
|
|
@ -55,6 +67,15 @@ position = Vector2(5, -300)
|
|
|
|
scale = Vector2(0.868852, 0.868852)
|
|
|
|
scale = Vector2(0.868852, 0.868852)
|
|
|
|
texture = ExtResource("5_harr4")
|
|
|
|
texture = ExtResource("5_harr4")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[node name="SFX" type="Node" parent="."]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[node name="PickUpSound" type="AudioStreamPlayer" parent="SFX"]
|
|
|
|
|
|
|
|
stream = SubResource("AudioStreamRandomizer_7mdru")
|
|
|
|
|
|
|
|
bus = &"SFX"
|
|
|
|
|
|
|
|
playback_type = 2
|
|
|
|
|
|
|
|
script = ExtResource("10_clbey")
|
|
|
|
|
|
|
|
|
|
|
|
[connection signal="Interacted" from="PickupInteractionArea" to="." method="TryPickUp"]
|
|
|
|
[connection signal="Interacted" from="PickupInteractionArea" to="." method="TryPickUp"]
|
|
|
|
|
|
|
|
[connection signal="Interacted" from="PickupInteractionArea" to="SFX/PickUpSound" method="PlayOneShot"]
|
|
|
|
|
|
|
|
|
|
|
|
[editable path="PickupInteractionArea"]
|
|
|
|
[editable path="PickupInteractionArea"]
|
|
|
|
|