Display items in inventory

This commit is contained in:
2024-09-09 02:27:03 -07:00
parent 8ac19797f0
commit ad5213a940
11 changed files with 558 additions and 203 deletions

View File

@@ -10,7 +10,7 @@
[ext_resource type="Texture2D" uid="uid://de55prolicl0u" path="res://src/player/slash_0004_Classic_26.png" id="6_ngag5"]
[ext_resource type="Texture2D" uid="uid://bp0msic3uk3kc" path="res://src/player/slash_0005_Layer-1.png" id="7_tp5uu"]
[ext_resource type="Texture2D" uid="uid://hg2kraa5nrnl" path="res://src/ui/textures/blank level symbol.png" id="10_rsd7v"]
[ext_resource type="LabelSettings" uid="uid://cuuo43x72xcsc" path="res://src/ui/label_settings/MainTextBold.tres" id="11_6svf8"]
[ext_resource type="LabelSettings" uid="uid://ca1q6yu8blwxf" path="res://src/ui/label_settings/InventoryMainTextBold.tres" id="11_6gvkm"]
[ext_resource type="LabelSettings" uid="uid://dupifadnagodp" path="res://src/ui/label_settings/MainTextRegular.tres" id="12_f4uqk"]
[sub_resource type="Resource" id="Resource_up0v1"]
@@ -210,7 +210,7 @@ stretch_mode = 4
custom_minimum_size = Vector2(80, 80)
layout_mode = 2
text = "99"
label_settings = ExtResource("11_6svf8")
label_settings = ExtResource("11_6gvkm")
horizontal_alignment = 1
vertical_alignment = 1
@@ -227,7 +227,7 @@ size_flags_horizontal = 3
[node name="HP" type="Label" parent="PlayerInfoUI/HBoxContainer/VBox/HBox"]
layout_mode = 2
text = "HP: "
label_settings = ExtResource("11_6svf8")
label_settings = ExtResource("11_6gvkm")
[node name="ReferenceRect" type="ReferenceRect" parent="PlayerInfoUI/HBoxContainer/VBox/HBox"]
custom_minimum_size = Vector2(30, 0)
@@ -246,7 +246,7 @@ layout_mode = 2
[node name="VT" type="Label" parent="PlayerInfoUI/HBoxContainer/VBox/HBox2"]
layout_mode = 2
text = "VT:"
label_settings = ExtResource("11_6svf8")
label_settings = ExtResource("11_6gvkm")
[node name="ReferenceRect" type="ReferenceRect" parent="PlayerInfoUI/HBoxContainer/VBox/HBox2"]
custom_minimum_size = Vector2(30, 0)