[gd_scene load_steps=4 format=3 uid="uid://dp3fi0g53qrt2"] [ext_resource type="Script" path="res://ui/item_slot.gd" id="1_7v5l8"] [ext_resource type="Texture2D" uid="uid://16ro4vt2obea" path="res://assets/resources/tree_log.png" id="2_v3rb5"] [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"] custom_minimum_size = Vector2(64, 64) script = ExtResource("1_7v5l8") [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") [node name="TextureRect" type="TextureRect" parent="."] unique_name_in_owner = true 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") expand_mode = 3 [node name="CountLabel" type="Label" parent="TextureRect"] unique_name_in_owner = true 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 size_flags_horizontal = 8 size_flags_vertical = 8 text = "4"