summaryrefslogtreecommitdiff
path: root/Scenes/UI/Menu.tscn
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-05-23 14:11:43 +0200
committerDaniel Weipert <git@mail.dweipert.de>2024-05-23 14:11:43 +0200
commit06647b11ee163bc40daf454d87e1fcae563c3ced (patch)
tree866823ed79fa1c3bbdcb8b0be417f028f0c92d9b /Scenes/UI/Menu.tscn
parent276b7664bd4a475a3ca93a682c16b49c504c58f7 (diff)
update
Diffstat (limited to 'Scenes/UI/Menu.tscn')
-rw-r--r--Scenes/UI/Menu.tscn51
1 files changed, 51 insertions, 0 deletions
diff --git a/Scenes/UI/Menu.tscn b/Scenes/UI/Menu.tscn
index 38c3ee4..e7c7b13 100644
--- a/Scenes/UI/Menu.tscn
+++ b/Scenes/UI/Menu.tscn
@@ -32,6 +32,7 @@ theme_override_font_sizes/font_size = 5
theme_override_styles/panel = SubResource("StyleBoxFlat_flq5r")
theme_override_styles/tabbar_background = SubResource("StyleBoxFlat_u0ugs")
clip_tabs = false
+tab_focus_mode = 0
script = ExtResource("1_vwah3")
[node name="Bombs" type="MarginContainer" parent="."]
@@ -101,6 +102,7 @@ text = "Components"
label_settings = SubResource("LabelSettings_qokw0")
[node name="BombComponents" type="ItemList" parent="Bombs/Panel/HBoxContainer/VBoxContainer3"]
+visible = false
layout_mode = 2
theme_override_font_sizes/font_size = 4
select_mode = 1
@@ -114,6 +116,52 @@ item_2/text = "RemoteDetonate"
item_3/text = "Water"
item_4/text = "Salt"
+[node name="VBoxContainer" type="VBoxContainer" parent="Bombs/Panel/HBoxContainer/VBoxContainer3"]
+layout_mode = 2
+size_flags_vertical = 3
+
+[node name="Slot1" type="Button" parent="Bombs/Panel/HBoxContainer/VBoxContainer3/VBoxContainer"]
+layout_mode = 2
+theme_override_font_sizes/font_size = 4
+text = "Empty"
+flat = true
+
+[node name="Slot2" type="Button" parent="Bombs/Panel/HBoxContainer/VBoxContainer3/VBoxContainer"]
+layout_mode = 2
+theme_override_font_sizes/font_size = 4
+text = "Empty"
+flat = true
+
+[node name="Slot3" type="Button" parent="Bombs/Panel/HBoxContainer/VBoxContainer3/VBoxContainer"]
+layout_mode = 2
+theme_override_font_sizes/font_size = 4
+text = "Empty"
+flat = true
+
+[node name="MarginContainer" type="MarginContainer" parent="Bombs/Panel"]
+layout_mode = 2
+offset_right = 232.0
+offset_bottom = 136.0
+grow_horizontal = 2
+grow_vertical = 2
+theme_override_constants/margin_left = 10
+theme_override_constants/margin_top = 10
+theme_override_constants/margin_right = 10
+theme_override_constants/margin_bottom = 10
+
+[node name="CenterContainer" type="CenterContainer" parent="Bombs/Panel/MarginContainer"]
+layout_mode = 2
+
+[node name="BombComponents" type="ItemList" parent="Bombs/Panel/MarginContainer/CenterContainer"]
+unique_name_in_owner = true
+visible = false
+custom_minimum_size = Vector2(50, 0)
+layout_mode = 2
+theme_override_font_sizes/font_size = 4
+auto_height = true
+text_overrun_behavior = 0
+fixed_column_width = 500
+
[node name="System" type="MarginContainer" parent="."]
visible = false
layout_mode = 2
@@ -167,6 +215,9 @@ step = 0.05
[connection signal="pressed" from="Bombs/Panel/HBoxContainer/VBoxContainer/ButtonBombBreakables" to="." method="_on_button_bomb_breakables_pressed"]
[connection signal="item_selected" from="Bombs/Panel/HBoxContainer/VBoxContainer2/BombPower" to="." method="_on_bomb_power_item_selected"]
[connection signal="multi_selected" from="Bombs/Panel/HBoxContainer/VBoxContainer3/BombComponents" to="." method="_on_bomb_components_multi_selected"]
+[connection signal="pressed" from="Bombs/Panel/HBoxContainer/VBoxContainer3/VBoxContainer/Slot1" to="." method="_on_slot_pressed" binds= [0]]
+[connection signal="pressed" from="Bombs/Panel/HBoxContainer/VBoxContainer3/VBoxContainer/Slot2" to="." method="_on_slot_pressed" binds= [1]]
+[connection signal="pressed" from="Bombs/Panel/HBoxContainer/VBoxContainer3/VBoxContainer/Slot3" to="." method="_on_slot_pressed" binds= [2]]
[connection signal="pressed" from="System/Panel/VBoxContainer/ButtonResume" to="." method="_on_button_resume_pressed"]
[connection signal="pressed" from="System/Panel/VBoxContainer/ButtonQuit" to="." method="_on_button_quit_pressed"]
[connection signal="value_changed" from="System/Panel/VBoxContainer2/SliderVolume" to="." method="_on_slider_volume_value_changed"]