[gd_scene load_steps=5 format=3 uid="uid://cgjc4wurbgimy"] [ext_resource type="Script" uid="uid://hg7jay2kt441" path="res://scripts/CSharp/Common/Inventory/InventoryUi.cs" id="1_6wusm"] [ext_resource type="Script" uid="uid://b2jhdxcrhtm2d" path="res://scripts/CSharp/Common/Inventory/InventoryTestScript.cs" id="3_exrk4"] [ext_resource type="Resource" uid="uid://datee0flk1e84" path="res://resources/items/pickaxe.tres" id="4_5fdxq"] [ext_resource type="Texture2D" uid="uid://c7wqla0mbu3np" path="res://art/ui/babushka_ui_tmp_inventory_select.png" id="4_tiss4"] [node name="CanvasLayer" type="CanvasLayer"] layer = 90 [node name="Inventory" type="Control" parent="."] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_6wusm") _inventoryOpenedOffset = -300.0 [node name="SlotsContainer" type="Control" parent="Inventory"] custom_minimum_size = Vector2(500, 0) layout_mode = 1 anchors_preset = 13 anchor_left = 0.5 anchor_right = 0.5 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="SlotSelectContainer" type="Control" parent="Inventory/SlotsContainer"] custom_minimum_size = Vector2(1000, 100) layout_mode = 1 anchors_preset = 7 anchor_left = 0.5 anchor_top = 1.0 anchor_right = 0.5 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 0 [node name="Selector" type="TextureRect" parent="Inventory/SlotsContainer/SlotSelectContainer"] custom_minimum_size = Vector2(100, 100) layout_mode = 0 offset_left = 1.0 offset_right = 101.0 offset_bottom = 100.0 texture = ExtResource("4_tiss4") expand_mode = 1 [node name="SlotsMover" type="Control" parent="Inventory/SlotsContainer"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="Slots" type="GridContainer" parent="Inventory/SlotsContainer/SlotsMover"] custom_minimum_size = Vector2(1000, 300) layout_mode = 1 anchors_preset = -1 anchor_left = 0.5 anchor_top = 1.0 anchor_right = 0.5 anchor_bottom = 1.0 offset_left = -500.0 offset_top = -100.0 offset_right = 500.0 offset_bottom = 200.0 grow_horizontal = 2 grow_vertical = 0 theme_override_constants/h_separation = 0 theme_override_constants/v_separation = 0 columns = 10 [node name="InventoryTester" type="Node" parent="Inventory"] script = ExtResource("3_exrk4") _testItemToCreate = ExtResource("4_5fdxq")