|
[gd_scene load_steps=4 format=3 uid="uid://dcr25y1lw4wjp"]
|
|
|
|
[ext_resource type="Script" uid="uid://dybecq130mxhn" path="res://scenes/ui/inventory/inventory.gd" id="1_s6ek7"]
|
|
[ext_resource type="Resource" uid="uid://cnpw7y1csu774" path="res://resources/inventory/player_inventory_empty.tres" id="2_avmd0"]
|
|
[ext_resource type="PackedScene" uid="uid://boueuk2hnfvg" path="res://scenes/ui/inventory/item_rect.tscn" id="3_xeaml"]
|
|
|
|
[node name="Inventory" type="Control" node_paths=PackedStringArray("grid_container")]
|
|
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_s6ek7")
|
|
inventory_resource = ExtResource("2_avmd0")
|
|
item_rect_scene = ExtResource("3_xeaml")
|
|
grid_container = NodePath("Background/MarginContainer/VBoxContainer/GridContainer")
|
|
|
|
[node name="Background" type="Panel" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="Background"]
|
|
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 = 20
|
|
theme_override_constants/margin_top = 20
|
|
theme_override_constants/margin_right = 20
|
|
theme_override_constants/margin_bottom = 20
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="Background/MarginContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="GridContainer" type="GridContainer" parent="Background/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/h_separation = 256
|
|
theme_override_constants/v_separation = 256
|
|
columns = 4
|