2024-09-27 11:46:31 +02:00
|
|
|
[gd_scene load_steps=5 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-27 11:46:31 +02:00
|
|
|
[ext_resource type="Texture2D" uid="uid://dc0tcpogj8sbt" path="res://icon.svg" id="2_l5duv"]
|
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
|
2024-09-27 11:46:31 +02:00
|
|
|
border_color = Color(0.60933, 0.60933, 0.60933, 1)
|
|
|
|
corner_radius_top_left = 8
|
|
|
|
corner_radius_top_right = 8
|
|
|
|
corner_radius_bottom_right = 8
|
|
|
|
corner_radius_bottom_left = 8
|
|
|
|
expand_margin_left = 3.0
|
|
|
|
expand_margin_top = 3.0
|
|
|
|
expand_margin_right = 3.0
|
|
|
|
expand_margin_bottom = 3.0
|
|
|
|
anti_aliasing = false
|
|
|
|
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_8jts7"]
|
|
|
|
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(0.787759, 0.787759, 0.787758, 1)
|
|
|
|
corner_radius_top_left = 8
|
|
|
|
corner_radius_top_right = 8
|
|
|
|
corner_radius_bottom_right = 8
|
|
|
|
corner_radius_bottom_left = 8
|
2024-09-14 12:45:42 +02:00
|
|
|
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-09-27 11:46:31 +02:00
|
|
|
[node name="SelectPanel" type="Panel" parent="."]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
visible = false
|
|
|
|
z_index = 1
|
|
|
|
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_8jts7")
|
|
|
|
|
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
|
2024-09-27 11:46:31 +02:00
|
|
|
texture = ExtResource("2_l5duv")
|
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-27 11:46:31 +02:00
|
|
|
text = "?"
|
|
|
|
|
|
|
|
[connection signal="gui_input" from="." to="." method="_on_gui_input"]
|
|
|
|
[connection signal="mouse_entered" from="." to="." method="_on_mouse_entered"]
|