started scavenging book

This commit is contained in:
Tabby 2026-01-12 20:04:01 +11:00
parent 4f899c13f9
commit c952938134
5 changed files with 78 additions and 3 deletions

View file

@ -1,9 +1,10 @@
[gd_scene load_steps=7 format=3 uid="uid://bkhg56q71vsjv"]
[gd_scene load_steps=9 format=3 uid="uid://bkhg56q71vsjv"]
[ext_resource type="Script" uid="uid://jxkjnscuxcyi" path="res://inv_system/player_inventory.gd" id="1_vk2kx"]
[ext_resource type="Script" uid="uid://c6oycdae5wvjf" path="res://inv_system/inventory.gd" id="2_hk4hx"]
[ext_resource type="PackedScene" uid="uid://dgqs20xf7l8c" path="res://inv_system/item_slot.tscn" id="3_8qgtd"]
[ext_resource type="Script" uid="uid://chxgum3v3d1o7" path="res://crafting/recipe book/recipie_book.gd" id="4_bdgfq"]
[ext_resource type="Script" uid="uid://drm5jfhadys7l" path="res://crafting/recipe book/scavengeBook.gd" id="5_bdgfq"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_2jtfh"]
content_margin_left = 0.0
@ -29,6 +30,18 @@ corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
corner_detail = 5
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_8qgtd"]
content_margin_left = 0.0
content_margin_top = 0.0
content_margin_right = 0.0
content_margin_bottom = 0.0
bg_color = Color(0.6, 0.6, 0.6, 0)
corner_radius_top_left = 3
corner_radius_top_right = 3
corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
corner_detail = 5
[node name="PlayerInventory" type="Control" node_paths=PackedStringArray("inventory_panel", "button")]
z_index = 2
layout_mode = 3
@ -58,7 +71,7 @@ offset_left = 83.0
offset_top = 67.0
offset_right = 431.0
offset_bottom = 544.0
current_tab = 1
current_tab = 2
[node name="Inventory" type="PanelContainer" parent="TabContainer" node_paths=PackedStringArray("grid", "inv_label")]
visible = false
@ -185,6 +198,7 @@ layout_mode = 2
layout_mode = 2
[node name="Recipie Book" type="PanelContainer" parent="TabContainer" node_paths=PackedStringArray("vbox")]
visible = false
layout_mode = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_icm48")
script = ExtResource("4_bdgfq")
@ -207,4 +221,14 @@ layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="Scavenge" type="PanelContainer" parent="TabContainer"]
layout_mode = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_8qgtd")
script = ExtResource("5_bdgfq")
metadata/_tab_index = 2
[node name="GridContainer" type="GridContainer" parent="TabContainer/Scavenge"]
layout_mode = 2
columns = 5
[connection signal="pressed" from="Button" to="." method="_on_button_pressed"]