[gd_scene format=3 uid="uid://djoycn4xfa8p3"] [ext_resource type="Script" uid="uid://bkpafveapyv8n" path="res://inventory/inventory_overlay/InventoryOverlay.gd" id="1"] [sub_resource type="LabelSettings" id="LabelSettings_inv"] font_size = 20 outline_size = 3 outline_color = Color(0, 0, 0, 1) [node name="InventoryOverlay" type="Control" unique_id=-1294967295] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1") [node name="Background" type="ColorRect" parent="." unique_id=-1294967294] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 1 color = Color(0, 0, 0, 0.7) [node name="InventoryPanel" type="Control" parent="." unique_id=-1294967293] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -350.0 offset_top = -150.0 offset_right = 350.0 offset_bottom = 150.0 grow_horizontal = 2 grow_vertical = 2 [node name="Frame" type="ColorRect" parent="InventoryPanel" unique_id=-1294967292] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 mouse_filter = 1 grow_horizontal = 2 grow_vertical = 2 color = Color(0.15, 0.15, 0.2, 1) [node name="ItemGrid" type="GridContainer" parent="InventoryPanel" unique_id=-1294967291] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 10.0 offset_top = 10.0 offset_right = -10.0 offset_bottom = -50.0 grow_horizontal = 2 grow_vertical = 2 [node name="HoverLabel" type="Label" parent="InventoryPanel" unique_id=-1294967290] layout_mode = 1 anchors_preset = 12 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_bottom = -10.0 grow_horizontal = 2 grow_vertical = 2 label_settings = SubResource("LabelSettings_inv") horizontal_alignment = 1 [connection signal="gui_input" from="Background" to="." method="_on_background_gui_input"]