You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
1.9 KiB
64 lines
1.9 KiB
[gd_scene load_steps=5 format=3 uid="uid://cgjc4wurbgimy"]
|
|
|
|
[ext_resource type="Script" uid="uid://b7vlkecrn0t5c" 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://graphics/ui/babushka_ui_tmp_inventory_select.png" id="4_tiss4"]
|
|
|
|
[node name="Inventory" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_6wusm")
|
|
|
|
[node name="SlotsContainer" type="Control" parent="."]
|
|
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="Slots" type="GridContainer" parent="SlotsContainer"]
|
|
custom_minimum_size = Vector2(1000, 200)
|
|
layout_mode = 1
|
|
anchors_preset = -1
|
|
anchor_left = 0.5
|
|
anchor_top = 1.0
|
|
anchor_right = 0.5
|
|
anchor_bottom = 1.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="SlotSelectContainer" type="Control" parent="SlotsContainer"]
|
|
custom_minimum_size = Vector2(1000, 100)
|
|
layout_mode = 1
|
|
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="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="InventoryTester" type="Node" parent="."]
|
|
script = ExtResource("3_exrk4")
|
|
_testItemToCreate = ExtResource("4_5fdxq")
|