feat: port item instances and inventory

This commit is contained in:
goose
2026-10-03 13:16:00 -04:00
parent 391e95f6f4
commit f9e68e6110
16 changed files with 417 additions and 7 deletions
+49
View File
@@ -74,6 +74,55 @@ script = ExtResource("4_hud")
[node name="SpellTargetingOverlay" parent="HUD" instance=ExtResource("10_spell_targeting")]
[node name="InventoryPanel" type="PanelContainer" parent="HUD"]
visible = false
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -190.0
offset_top = -130.0
offset_right = 190.0
offset_bottom = 130.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBox_hud_panel")
[node name="Title" type="Label" parent="HUD/InventoryPanel"]
layout_mode = 1
anchors_preset = 10
anchor_left = 0.5
anchor_top = 0.0
anchor_right = 0.5
anchor_bottom = 0.0
offset_left = -160.0
offset_top = 16.0
offset_right = 160.0
offset_bottom = 44.0
grow_horizontal = 2
grow_vertical = 0
theme_override_colors/font_color = Color(1, 0.9, 0.5, 1)
theme_override_font_sizes/font_size = 22
text = "INVENTORY"
horizontal_alignment = 1
[node name="Entries" type="RichTextLabel" parent="HUD/InventoryPanel"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 24.0
offset_top = 58.0
offset_right = -24.0
offset_bottom = -24.0
grow_horizontal = 2
grow_vertical = 2
bbcode_enabled = false
theme_override_colors/default_color = Color(0.9, 0.94, 1, 1)
theme_override_font_sizes/normal_font_size = 18
[node name="ResponsiveLayout" type="Control" parent="HUD"]
layout_mode = 3
anchors_preset = 15