scavenge book working, fixed issue with blocked slots

This commit is contained in:
Tabby 2026-01-12 20:20:16 +11:00
parent c952938134
commit ab71f15b82
3 changed files with 27 additions and 4 deletions

View file

@ -71,10 +71,9 @@ offset_left = 83.0
offset_top = 67.0
offset_right = 431.0
offset_bottom = 544.0
current_tab = 2
current_tab = 0
[node name="Inventory" type="PanelContainer" parent="TabContainer" node_paths=PackedStringArray("grid", "inv_label")]
visible = false
layout_mode = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_2jtfh")
script = ExtResource("2_hk4hx")
@ -221,13 +220,31 @@ layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="Scavenge" type="PanelContainer" parent="TabContainer"]
[node name="Scavenge" type="PanelContainer" parent="TabContainer" node_paths=PackedStringArray("grid")]
visible = false
layout_mode = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_8qgtd")
script = ExtResource("5_bdgfq")
grid = NodePath("MarginContainer/VBoxContainer/GridContainer")
metadata/_tab_index = 2
[node name="GridContainer" type="GridContainer" parent="TabContainer/Scavenge"]
[node name="MarginContainer" type="MarginContainer" parent="TabContainer/Scavenge"]
layout_mode = 2
theme_override_constants/margin_left = 5
theme_override_constants/margin_top = 5
theme_override_constants/margin_right = 5
theme_override_constants/margin_bottom = 5
[node name="VBoxContainer" type="VBoxContainer" parent="TabContainer/Scavenge/MarginContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="TabContainer/Scavenge/MarginContainer/VBoxContainer"]
layout_mode = 2
text = "These items can be scavenged into other resources"
horizontal_alignment = 1
autowrap_mode = 2
[node name="GridContainer" type="GridContainer" parent="TabContainer/Scavenge/MarginContainer/VBoxContainer"]
layout_mode = 2
columns = 5