[gd_scene load_steps=5 format=3 uid="uid://bclq8vh1x2goy"] [ext_resource type="Script" uid="uid://c2w12kgcvtww4" path="res://scripts/ui/inventory_ui.gd" id="1_h7x4v"] [ext_resource type="Texture2D" path="res://assets/ui/close.svg" id="2_close"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_panel"] bg_color = Color(0.055, 0.06, 0.07, 0.82) border_width_left = 1 border_width_top = 1 border_width_right = 1 border_width_bottom = 1 border_color = Color(0.55, 0.58, 0.62, 0.45) corner_radius_top_left = 6 corner_radius_top_right = 6 corner_radius_bottom_right = 6 corner_radius_bottom_left = 6 [sub_resource type="StyleBoxLine" id="StyleBoxLine_separator"] color = Color(0.65, 0.68, 0.72, 0.42) [node name="InventoryUI" type="Control" unique_id=1878305014] process_mode = 3 layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_h7x4v") [node name="SafeArea" type="MarginContainer" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/margin_left = 16 theme_override_constants/margin_top = 16 theme_override_constants/margin_right = 16 theme_override_constants/margin_bottom = 16 [node name="CenterContainer" type="CenterContainer" parent="SafeArea"] layout_mode = 2 [node name="InventoryPanels" type="HBoxContainer" parent="SafeArea/CenterContainer"] layout_mode = 2 theme_override_constants/separation = 10 [node name="EquipmentPanel" type="PanelContainer" parent="SafeArea/CenterContainer/InventoryPanels"] custom_minimum_size = Vector2(132, 0) layout_mode = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_panel") [node name="MarginContainer" type="MarginContainer" parent="SafeArea/CenterContainer/InventoryPanels/EquipmentPanel"] layout_mode = 2 theme_override_constants/margin_left = 10 theme_override_constants/margin_top = 10 theme_override_constants/margin_right = 10 theme_override_constants/margin_bottom = 10 [node name="VBoxContainer" type="VBoxContainer" parent="SafeArea/CenterContainer/InventoryPanels/EquipmentPanel/MarginContainer"] layout_mode = 2 theme_override_constants/separation = 6 [node name="Title" type="Label" parent="SafeArea/CenterContainer/InventoryPanels/EquipmentPanel/MarginContainer/VBoxContainer"] custom_minimum_size = Vector2(0, 28) layout_mode = 2 theme_override_font_sizes/font_size = 20 text = "Equipment" horizontal_alignment = 1 vertical_alignment = 1 [node name="HSeparator" type="HSeparator" parent="SafeArea/CenterContainer/InventoryPanels/EquipmentPanel/MarginContainer/VBoxContainer"] layout_mode = 2 theme_override_styles/separator = SubResource("StyleBoxLine_separator") [node name="HatLabel" type="Label" parent="SafeArea/CenterContainer/InventoryPanels/EquipmentPanel/MarginContainer/VBoxContainer"] layout_mode = 2 theme_override_font_sizes/font_size = 15 text = "Hat" horizontal_alignment = 1 [node name="HatSlotContainer" type="CenterContainer" parent="SafeArea/CenterContainer/InventoryPanels/EquipmentPanel/MarginContainer/VBoxContainer"] custom_minimum_size = Vector2(0, 70) layout_mode = 2 size_flags_vertical = 3 [node name="WeaponLabel" type="Label" parent="SafeArea/CenterContainer/InventoryPanels/EquipmentPanel/MarginContainer/VBoxContainer"] layout_mode = 2 theme_override_font_sizes/font_size = 15 text = "Weapon" horizontal_alignment = 1 [node name="WeaponSlotContainer" type="CenterContainer" parent="SafeArea/CenterContainer/InventoryPanels/EquipmentPanel/MarginContainer/VBoxContainer"] custom_minimum_size = Vector2(0, 70) layout_mode = 2 size_flags_vertical = 3 [node name="BackpackLabel" type="Label" parent="SafeArea/CenterContainer/InventoryPanels/EquipmentPanel/MarginContainer/VBoxContainer"] layout_mode = 2 theme_override_font_sizes/font_size = 15 text = "Backpack" horizontal_alignment = 1 [node name="BackpackSlotContainer" type="CenterContainer" parent="SafeArea/CenterContainer/InventoryPanels/EquipmentPanel/MarginContainer/VBoxContainer"] custom_minimum_size = Vector2(0, 70) layout_mode = 2 size_flags_vertical = 3 [node name="InventoryPanel" type="PanelContainer" parent="SafeArea/CenterContainer/InventoryPanels" unique_id=486763135] custom_minimum_size = Vector2(296, 0) layout_mode = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_panel") [node name="MarginContainer" type="MarginContainer" parent="SafeArea/CenterContainer/InventoryPanels/InventoryPanel" unique_id=1913204593] layout_mode = 2 theme_override_constants/margin_left = 10 theme_override_constants/margin_top = 10 theme_override_constants/margin_right = 10 theme_override_constants/margin_bottom = 10 [node name="VBoxContainer" type="VBoxContainer" parent="SafeArea/CenterContainer/InventoryPanels/InventoryPanel/MarginContainer" unique_id=599957956] layout_mode = 2 theme_override_constants/separation = 6 [node name="TitleBar" type="HBoxContainer" parent="SafeArea/CenterContainer/InventoryPanels/InventoryPanel/MarginContainer/VBoxContainer" unique_id=145161483] custom_minimum_size = Vector2(0, 28) layout_mode = 2 [node name="TitleSpacer" type="Control" parent="SafeArea/CenterContainer/InventoryPanels/InventoryPanel/MarginContainer/VBoxContainer/TitleBar"] custom_minimum_size = Vector2(28, 0) layout_mode = 2 mouse_filter = 2 [node name="Title" type="Label" parent="SafeArea/CenterContainer/InventoryPanels/InventoryPanel/MarginContainer/VBoxContainer/TitleBar" unique_id=860210156] layout_mode = 2 size_flags_horizontal = 3 theme_override_font_sizes/font_size = 20 text = "Inventory" horizontal_alignment = 1 vertical_alignment = 1 [node name="CloseButton" type="Button" parent="SafeArea/CenterContainer/InventoryPanels/InventoryPanel/MarginContainer/VBoxContainer/TitleBar" unique_id=698056211] custom_minimum_size = Vector2(28, 28) layout_mode = 2 focus_mode = 0 mouse_default_cursor_shape = 2 theme_override_colors/icon_normal_color = Color(0.95, 0.97, 0.95, 1) theme_override_colors/icon_hover_color = Color(1, 0.55, 0.55, 1) theme_override_colors/icon_pressed_color = Color(0.82, 0.3, 0.3, 1) icon = ExtResource("2_close") flat = true tooltip_text = "Close inventory" [node name="HSeparator" type="HSeparator" parent="SafeArea/CenterContainer/InventoryPanels/InventoryPanel/MarginContainer/VBoxContainer" unique_id=609650692] layout_mode = 2 theme_override_styles/separator = SubResource("StyleBoxLine_separator") [node name="GridContainer" type="GridContainer" parent="SafeArea/CenterContainer/InventoryPanels/InventoryPanel/MarginContainer/VBoxContainer" unique_id=789467804] layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 3 theme_override_constants/h_separation = 6 theme_override_constants/v_separation = 6 columns = 4 [node name="ItemTooltip" type="Control" parent="." unique_id=1254507357] visible = false layout_mode = 1 anchors_preset = 0 offset_right = 280.0 offset_bottom = 1.0 mouse_filter = 2 [node name="Panel" type="Panel" parent="ItemTooltip" unique_id=323031125] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_panel") [node name="MarginContainer" type="MarginContainer" parent="ItemTooltip/Panel" unique_id=413423816] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 theme_override_constants/margin_left = 8 theme_override_constants/margin_top = 8 theme_override_constants/margin_right = 8 theme_override_constants/margin_bottom = 8 [node name="TooltipText" type="RichTextLabel" parent="ItemTooltip/Panel/MarginContainer" unique_id=571796113] layout_mode = 2 mouse_filter = 2 bbcode_enabled = true text = "" fit_content = true scroll_active = false