Barebones inventory menu addition

This commit is contained in:
2024-09-01 13:22:40 -07:00
parent b1ef3dbaab
commit 4dd89e2035
6 changed files with 89 additions and 11 deletions

View File

@@ -0,0 +1,45 @@
[gd_scene load_steps=3 format=3 uid="uid://dlj8qdg1c5048"]
[ext_resource type="Texture2D" uid="uid://dr8mjn3wahdvp" path="res://src/inventory_menu/cursor.png" id="1_efrp8"]
[ext_resource type="Script" path="res://src/inventory_menu/InventoryMenu.cs" id="1_l64wl"]
[node name="InventoryMenu" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 3
size_flags_vertical = 3
script = ExtResource("1_l64wl")
[node name="CenterContainer" type="CenterContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="ItemList" type="VBoxContainer" parent="CenterContainer"]
unique_name_in_owner = true
layout_mode = 2
[node name="Cursor" type="TextureRect" parent="."]
unique_name_in_owner = true
layout_mode = 0
offset_left = -88.0
offset_top = -47.0
offset_right = -48.0
offset_bottom = -7.0
texture = ExtResource("1_efrp8")
[node name="ColorRect" type="ColorRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0, 0, 0, 1)