You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.8 KiB
48 lines
1.8 KiB
[gd_scene load_steps=8 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="Material" uid="uid://blch5kdhkbj75" path="res://art/materials/intaractable_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="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
|
|
|
|
[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="PickupInteractionArea" parent="." node_paths=PackedStringArray("_spriteToOutline") instance=ExtResource("4_xu8me")]
|
|
_outlineMaterial = ExtResource("4_harr4")
|
|
_spriteToOutline = NodePath("../Icon")
|
|
|
|
[node name="Icon" type="Sprite2D" parent="."]
|
|
position = Vector2(5, -300)
|
|
scale = Vector2(0.868852, 0.868852)
|
|
texture = ExtResource("5_harr4")
|