2024-09-14 12:45:42 +02:00
|
|
|
[gd_scene load_steps=4 format=3 uid="uid://dp3fi0g53qrt2"]
|
2024-07-09 22:33:38 +02:00
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://ui/item_slot.gd" id="1_7v5l8"]
|
2024-09-14 12:45:42 +02:00
|
|
|
[ext_resource type="Texture2D" uid="uid://16ro4vt2obea" path="res://assets/resources/tree_log.png" id="2_v3rb5"]
|
2024-07-09 22:33:38 +02:00
|
|
|
|
2024-09-14 12:45:42 +02:00
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_vadli"]
|
|
|
|
bg_color = Color(0.6, 0.6, 0.6, 0)
|
|
|
|
border_width_left = 4
|
|
|
|
border_width_top = 4
|
|
|
|
border_width_right = 4
|
|
|
|
border_width_bottom = 4
|
|
|
|
border_color = Color(1, 1, 1, 1)
|
|
|
|
corner_radius_top_left = 3
|
|
|
|
corner_radius_top_right = 3
|
|
|
|
corner_radius_bottom_right = 3
|
|
|
|
corner_radius_bottom_left = 3
|
|
|
|
expand_margin_left = 3.0
|
|
|
|
expand_margin_top = 3.0
|
|
|
|
expand_margin_right = 3.0
|
|
|
|
expand_margin_bottom = 3.0
|
|
|
|
anti_aliasing = false
|
|
|
|
|
|
|
|
[node name="ItemSlot" type="Panel"]
|
2024-07-12 11:59:33 +02:00
|
|
|
custom_minimum_size = Vector2(64, 64)
|
2024-07-09 22:33:38 +02:00
|
|
|
script = ExtResource("1_7v5l8")
|
|
|
|
|
2024-09-14 12:45:42 +02:00
|
|
|
[node name="HighlightPanel" type="Panel" parent="."]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
visible = false
|
|
|
|
layout_mode = 1
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_vadli")
|
|
|
|
|
2024-07-09 22:33:38 +02:00
|
|
|
[node name="TextureRect" type="TextureRect" parent="."]
|
|
|
|
unique_name_in_owner = true
|
2024-09-14 12:45:42 +02:00
|
|
|
layout_mode = 1
|
|
|
|
anchors_preset = 8
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_right = 0.5
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
offset_left = -32.0
|
|
|
|
offset_top = -32.0
|
|
|
|
offset_right = 32.0
|
|
|
|
offset_bottom = 32.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
texture = ExtResource("2_v3rb5")
|
2024-07-12 11:59:33 +02:00
|
|
|
expand_mode = 3
|
2024-09-06 12:34:18 +02:00
|
|
|
|
2024-09-14 12:45:42 +02:00
|
|
|
[node name="CountLabel" type="Label" parent="TextureRect"]
|
2024-09-06 12:34:18 +02:00
|
|
|
unique_name_in_owner = true
|
2024-09-14 12:45:42 +02:00
|
|
|
layout_mode = 1
|
|
|
|
anchors_preset = 3
|
|
|
|
anchor_left = 1.0
|
|
|
|
anchor_top = 1.0
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
offset_left = -10.0
|
|
|
|
offset_top = -23.0
|
|
|
|
grow_horizontal = 0
|
|
|
|
grow_vertical = 0
|
2024-09-06 12:34:18 +02:00
|
|
|
size_flags_horizontal = 8
|
|
|
|
size_flags_vertical = 8
|
2024-09-14 12:45:42 +02:00
|
|
|
text = "4"
|