Skip to content

Commit 2e5a18c

Browse files
committed
Update pause_overlay and inventory scenes
Claude Code created them. Opening these scenes in Godot and then saving them add unique IDs to the file.
1 parent 3215e04 commit 2e5a18c

2 files changed

Lines changed: 22 additions & 19 deletions

File tree

scenes/globals/pause/pause_overlay.tscn

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[ext_resource type="Texture2D" uid="uid://lg5dl13njsg3" path="res://assets/first_party/tiles/Grass_And_Sand_Tiles.png" id="2_1tcw0"]
55
[ext_resource type="Theme" uid="uid://cvitou84ni7qe" path="res://scenes/ui_elements/components/theme.tres" id="2_sd5t1"]
66
[ext_resource type="PackedScene" uid="uid://dkeb0yjgcfi86" path="res://scenes/menus/options/options.tscn" id="3_sd5t1"]
7-
[ext_resource type="PackedScene" path="res://scenes/ui_elements/inventory/inventory.tscn" id="4_inv"]
7+
[ext_resource type="PackedScene" uid="uid://fdedj5gjhhh3" path="res://scenes/ui_elements/inventory/inventory.tscn" id="4_inv"]
88
[ext_resource type="PackedScene" uid="uid://56ja3m4283wa" path="res://scenes/menus/debug/debug_settings.tscn" id="5_ai8ue"]
99

1010
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_1tcw0"]
@@ -69,7 +69,7 @@ size_flags_horizontal = 4
6969
theme_type_variation = &"FlatButton"
7070
text = "Resume"
7171

72-
[node name="InventoryButton" type="Button" parent="TabContainer/PauseMenu/VBoxContainer"]
72+
[node name="InventoryButton" type="Button" parent="TabContainer/PauseMenu/VBoxContainer" unique_id=551488208]
7373
unique_name_in_owner = true
7474
layout_mode = 2
7575
size_flags_horizontal = 4
@@ -104,29 +104,31 @@ size_flags_horizontal = 4
104104
theme_type_variation = &"FlatButton"
105105
text = "Exit to Title"
106106

107-
[node name="Inventory" parent="TabContainer" instance=ExtResource("4_inv")]
107+
[node name="Inventory" parent="TabContainer" unique_id=1305017818 instance=ExtResource("4_inv")]
108108
unique_name_in_owner = true
109109
process_mode = 2
110110
visible = false
111111
layout_mode = 2
112+
metadata/_tab_index = 1
112113

113114
[node name="Options" parent="TabContainer" unique_id=2078715393 instance=ExtResource("3_sd5t1")]
114115
unique_name_in_owner = true
115116
process_mode = 2
116117
visible = false
117118
layout_mode = 2
119+
metadata/_tab_index = 2
118120

119121
[node name="DebugSettings" parent="TabContainer" unique_id=1197092088 instance=ExtResource("5_ai8ue")]
120122
visible = false
121123
layout_mode = 2
122-
metadata/_tab_index = 2
124+
metadata/_tab_index = 3
123125

124126
[connection signal="pressed" from="TabContainer/PauseMenu/VBoxContainer/ResumeButton" to="." method="_on_resume_button_pressed"]
125127
[connection signal="pressed" from="TabContainer/PauseMenu/VBoxContainer/InventoryButton" to="." method="_on_inventory_button_pressed"]
126-
[connection signal="back" from="TabContainer/Inventory" to="." method="_on_inventory_back"]
127128
[connection signal="pressed" from="TabContainer/PauseMenu/VBoxContainer/AbandonQuestButton" to="." method="_on_abandon_quest_pressed"]
128129
[connection signal="pressed" from="TabContainer/PauseMenu/VBoxContainer/OptionsButton" to="." method="_on_options_button_pressed"]
129130
[connection signal="pressed" from="TabContainer/PauseMenu/VBoxContainer/DebugButton" to="TabContainer/DebugSettings" method="show"]
130131
[connection signal="pressed" from="TabContainer/PauseMenu/VBoxContainer/TitleScreenButton" to="." method="_on_title_screen_button_pressed"]
132+
[connection signal="back" from="TabContainer/Inventory" to="." method="_on_inventory_back"]
131133
[connection signal="back" from="TabContainer/Options" to="." method="_on_options_back"]
132134
[connection signal="back" from="TabContainer/DebugSettings" to="." method="_on_options_back"]

scenes/ui_elements/inventory/inventory.tscn

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
[gd_scene format=3]
1+
[gd_scene format=3 uid="uid://fdedj5gjhhh3"]
22

33
[ext_resource type="Theme" uid="uid://cvitou84ni7qe" path="res://scenes/ui_elements/components/theme.tres" id="1_theme"]
4-
[ext_resource type="Script" path="res://scenes/ui_elements/inventory/components/inventory.gd" id="2_script"]
4+
[ext_resource type="Script" uid="uid://ipkyvsxlcpiv" path="res://scenes/ui_elements/inventory/components/inventory.gd" id="2_script"]
55
[ext_resource type="Texture2D" uid="uid://xe25gqovxxpe" path="res://assets/first_party/icons/left_arrow.png" id="3_arrow"]
66

7-
[node name="Inventory" type="PanelContainer"]
7+
[node name="Inventory" type="PanelContainer" unique_id=1518531873]
88
custom_minimum_size = Vector2(800, 600)
99
anchors_preset = 15
1010
anchor_right = 1.0
@@ -14,65 +14,66 @@ grow_vertical = 2
1414
theme = ExtResource("1_theme")
1515
script = ExtResource("2_script")
1616

17-
[node name="VBoxContainer" type="VBoxContainer" parent="."]
17+
[node name="VBoxContainer" type="VBoxContainer" parent="." unique_id=716636447]
1818
layout_mode = 2
1919

20-
[node name="TabBar" type="TabBar" parent="VBoxContainer"]
20+
[node name="TabBar" type="TabBar" parent="VBoxContainer" unique_id=935986579]
2121
unique_name_in_owner = true
2222
layout_mode = 2
23+
current_tab = 0
2324
tab_count = 1
2425
tab_0/title = "Trinkets"
2526

26-
[node name="ScrollContainer" type="ScrollContainer" parent="VBoxContainer"]
27+
[node name="ScrollContainer" type="ScrollContainer" parent="VBoxContainer" unique_id=766950734]
2728
unique_name_in_owner = true
2829
layout_mode = 2
2930
size_flags_vertical = 3
3031

31-
[node name="ItemsGrid" type="GridContainer" parent="VBoxContainer/ScrollContainer"]
32+
[node name="ItemsGrid" type="GridContainer" parent="VBoxContainer/ScrollContainer" unique_id=824202967]
3233
unique_name_in_owner = true
3334
layout_mode = 2
3435
size_flags_horizontal = 3
3536
columns = 5
3637

37-
[node name="InspectPanel" type="PanelContainer" parent="VBoxContainer"]
38+
[node name="InspectPanel" type="PanelContainer" parent="VBoxContainer" unique_id=1837968640]
3839
unique_name_in_owner = true
3940
visible = false
4041
layout_mode = 2
4142
size_flags_vertical = 3
4243

43-
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/InspectPanel"]
44+
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/InspectPanel" unique_id=1290645998]
4445
layout_mode = 2
4546
theme_override_constants/margin_left = 16
4647
theme_override_constants/margin_top = 16
4748
theme_override_constants/margin_right = 16
4849
theme_override_constants/margin_bottom = 16
4950

50-
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/InspectPanel/MarginContainer"]
51+
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/InspectPanel/MarginContainer" unique_id=1945517949]
5152
layout_mode = 2
5253

53-
[node name="InspectIcon" type="TextureRect" parent="VBoxContainer/InspectPanel/MarginContainer/VBoxContainer"]
54+
[node name="InspectIcon" type="TextureRect" parent="VBoxContainer/InspectPanel/MarginContainer/VBoxContainer" unique_id=439455063]
5455
unique_name_in_owner = true
5556
layout_mode = 2
5657
size_flags_vertical = 3
5758
expand_mode = 3
5859
stretch_mode = 5
5960

60-
[node name="InspectText" type="RichTextLabel" parent="VBoxContainer/InspectPanel/MarginContainer/VBoxContainer"]
61+
[node name="InspectText" type="RichTextLabel" parent="VBoxContainer/InspectPanel/MarginContainer/VBoxContainer" unique_id=1340829475]
6162
unique_name_in_owner = true
6263
visible = false
6364
layout_mode = 2
6465
size_flags_vertical = 3
6566
fit_content = true
6667
scroll_active = false
6768

68-
[node name="CloseButton" type="Button" parent="VBoxContainer/InspectPanel/MarginContainer/VBoxContainer"]
69+
[node name="CloseButton" type="Button" parent="VBoxContainer/InspectPanel/MarginContainer/VBoxContainer" unique_id=800569538]
6970
unique_name_in_owner = true
7071
layout_mode = 2
7172
size_flags_horizontal = 4
7273
theme_type_variation = &"FlatButton"
7374
text = "Close"
7475

75-
[node name="BackButton" type="Button" parent="VBoxContainer"]
76+
[node name="BackButton" type="Button" parent="VBoxContainer" unique_id=1566964954]
7677
unique_name_in_owner = true
7778
layout_mode = 2
7879
size_flags_horizontal = 4

0 commit comments

Comments
 (0)