remotes/checkIfPRContentChanged-1749884192368007736/inventory
parent
8fdb395ae8
commit
ec5d42068e
@ -0,0 +1,67 @@
|
|||||||
|
[gd_scene load_steps=9 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://c8suoi3i6kqai" path="res://scripts/CSharp/Common/Inventory/ItemOnGroundSpawnWith.cs" id="3_xu8me"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://cqc72e4hq6bcd" path="res://prefabs/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"]
|
||||||
|
|
||||||
|
[sub_resource type="Theme" id="Theme_tlhp6"]
|
||||||
|
default_font_size = 80
|
||||||
|
|
||||||
|
[sub_resource type="Theme" id="Theme_harr4"]
|
||||||
|
default_font_size = 40
|
||||||
|
|
||||||
|
[sub_resource type="CircleShape2D" id="CircleShape2D_tlhp6"]
|
||||||
|
resource_local_to_scene = true
|
||||||
|
radius = 300.0
|
||||||
|
|
||||||
|
[sub_resource type="Theme" id="Theme_xu8me"]
|
||||||
|
default_font_size = 75
|
||||||
|
|
||||||
|
[node name="GenericItemOnGround" type="Node2D"]
|
||||||
|
script = ExtResource("1_tlhp6")
|
||||||
|
|
||||||
|
[node name="SpawnWithItem" type="Node" parent="."]
|
||||||
|
script = ExtResource("3_xu8me")
|
||||||
|
|
||||||
|
[node name="ItemLabel" type="Label" parent="."]
|
||||||
|
offset_left = -264.0
|
||||||
|
offset_top = -396.0
|
||||||
|
offset_right = 269.0
|
||||||
|
offset_bottom = -197.0
|
||||||
|
theme = SubResource("Theme_tlhp6")
|
||||||
|
text = "test"
|
||||||
|
horizontal_alignment = 1
|
||||||
|
vertical_alignment = 1
|
||||||
|
|
||||||
|
[node name="PickupErrorLabel" type="Label" parent="."]
|
||||||
|
offset_left = -237.0
|
||||||
|
offset_top = -330.0
|
||||||
|
offset_right = 236.0
|
||||||
|
offset_bottom = -232.0
|
||||||
|
theme = SubResource("Theme_harr4")
|
||||||
|
text = "thewe waf a pwoblem wiph picking up te item UWU"
|
||||||
|
autowrap_mode = 3
|
||||||
|
|
||||||
|
[node name="InteractionArea2" parent="." instance=ExtResource("4_xu8me")]
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" parent="InteractionArea2/Area2D" index="0"]
|
||||||
|
shape = SubResource("CircleShape2D_tlhp6")
|
||||||
|
|
||||||
|
[node name="Label" parent="InteractionArea2" index="1"]
|
||||||
|
offset_left = -142.0
|
||||||
|
offset_top = -278.0
|
||||||
|
offset_right = 1.0
|
||||||
|
offset_bottom = -170.0
|
||||||
|
theme = SubResource("Theme_xu8me")
|
||||||
|
horizontal_alignment = 1
|
||||||
|
vertical_alignment = 1
|
||||||
|
|
||||||
|
[node name="Icon" type="Sprite2D" parent="."]
|
||||||
|
position = Vector2(5, -300)
|
||||||
|
scale = Vector2(0.868852, 0.868852)
|
||||||
|
texture = ExtResource("5_harr4")
|
||||||
|
|
||||||
|
[connection signal="Interacted" from="InteractionArea2" to="." method="TryPickUp"]
|
||||||
|
|
||||||
|
[editable path="InteractionArea2"]
|
||||||
Loading…
Reference in new issue