mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-11 18:05:54 +00:00
Tabbed inventory
This commit is contained in:
parent
c81a92679b
commit
6d7282f5cb
214 changed files with 9329 additions and 186 deletions
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=23 format=3 uid="uid://dkwi1hu1bixoe"]
|
||||
[gd_scene load_steps=24 format=3 uid="uid://dkwi1hu1bixoe"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://baf6pxbvhqmjk" path="res://Scripts/Hud.cs" id="1_m0hb0"]
|
||||
[ext_resource type="FontFile" uid="uid://ccm3u37q1hvux" path="res://fonts/Xolonium-Regular.ttf" id="2_0xmx2"]
|
||||
|
|
@ -13,6 +13,7 @@
|
|||
[ext_resource type="Theme" uid="uid://dnsadvmunm76k" path="res://Resources/Styles/MainMenuButtons.tres" id="9_sx5r0"]
|
||||
[ext_resource type="StyleBox" uid="uid://ctw2hju32l3rg" path="res://Resources/Styles/PixelStyleBoxRed.tres" id="10_f3h51"]
|
||||
[ext_resource type="Script" uid="uid://bobo5f4ud60qw" path="res://Scripts/UI/ItemsMenu.cs" id="10_oflr6"]
|
||||
[ext_resource type="Script" uid="uid://com5b4ffsmj7s" path="res://Scripts/UI/InventoryMenu.cs" id="11_7pulb"]
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_a7f6n"]
|
||||
font = ExtResource("2_0xmx2")
|
||||
|
|
@ -190,27 +191,71 @@ offset_top = 26.0
|
|||
offset_right = 226.0
|
||||
offset_bottom = 144.0
|
||||
|
||||
[node name="Control" type="Control" parent="."]
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
offset_left = 41.0
|
||||
offset_top = 16.0
|
||||
offset_right = 291.0
|
||||
offset_bottom = 146.0
|
||||
[node name="InventoryMenu" type="TabContainer" parent="."]
|
||||
offset_left = 16.0
|
||||
offset_top = 9.0
|
||||
offset_right = 305.0
|
||||
offset_bottom = 153.0
|
||||
mouse_filter = 2
|
||||
theme_override_fonts/font = ExtResource("6_sk1eq")
|
||||
current_tab = 4
|
||||
script = ExtResource("11_7pulb")
|
||||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="ItemList" type="ItemList" parent="Control"]
|
||||
[node name="Weapons" type="ItemList" parent="InventoryMenu"]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
layout_mode = 2
|
||||
theme = ExtResource("9_sx5r0")
|
||||
theme_override_styles/panel = ExtResource("10_f3h51")
|
||||
allow_search = false
|
||||
max_columns = 3
|
||||
same_column_width = true
|
||||
script = ExtResource("10_oflr6")
|
||||
ItemsFilter = Array[int]([9])
|
||||
metadata/_tab_index = 0
|
||||
|
||||
[node name="Consumables" type="ItemList" parent="InventoryMenu"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
theme = ExtResource("9_sx5r0")
|
||||
theme_override_styles/panel = ExtResource("10_f3h51")
|
||||
allow_search = false
|
||||
max_columns = 3
|
||||
same_column_width = true
|
||||
script = ExtResource("10_oflr6")
|
||||
ItemsFilter = Array[int]([4, 5, 8, 7, 6])
|
||||
metadata/_tab_index = 1
|
||||
|
||||
[node name="Ammo" type="ItemList" parent="InventoryMenu"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
theme = ExtResource("9_sx5r0")
|
||||
theme_override_styles/panel = ExtResource("10_f3h51")
|
||||
allow_search = false
|
||||
max_columns = 3
|
||||
same_column_width = true
|
||||
script = ExtResource("10_oflr6")
|
||||
ItemsFilter = Array[int]([3])
|
||||
metadata/_tab_index = 2
|
||||
|
||||
[node name="Key" type="ItemList" parent="InventoryMenu"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
theme = ExtResource("9_sx5r0")
|
||||
theme_override_styles/panel = ExtResource("10_f3h51")
|
||||
allow_search = false
|
||||
max_columns = 3
|
||||
same_column_width = true
|
||||
script = ExtResource("10_oflr6")
|
||||
ItemsFilter = Array[int]([0, 1, 2, 13, 10, 11, 12])
|
||||
metadata/_tab_index = 3
|
||||
|
||||
[node name="Status" type="PanelContainer" parent="InventoryMenu"]
|
||||
layout_mode = 2
|
||||
metadata/_tab_index = 4
|
||||
|
||||
[node name="Label" type="Label" parent="InventoryMenu/Status"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 0
|
||||
text = "Status"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue