89 lines
2.9 KiB
Plaintext
89 lines
2.9 KiB
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://cjc888f2cc6yj"]
|
|
|
|
[ext_resource type="Script" path="res://UI/EscapeMenu/AssistMenu/AssistMenu.gd" id="1_3rj4w"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_i2vwi"]
|
|
bg_color = Color(0.188235, 0.188235, 0.188235, 1)
|
|
|
|
[node name="AssistMenu" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_3rj4w")
|
|
|
|
[node name="PanelContainer" type="PanelContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -250.0
|
|
offset_top = -137.5
|
|
offset_right = 260.0
|
|
offset_bottom = 137.5
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_i2vwi")
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 14
|
|
|
|
[node name="MenuName" type="Label" parent="PanelContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 36
|
|
text = "Assist Menu"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="XPMultiplier" type="Label" parent="PanelContainer/VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 30
|
|
text = "XP Multiplier: 1x"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="XPSlider" type="HSlider" parent="PanelContainer/VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(350, 0)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
max_value = 6.0
|
|
value = 3.0
|
|
tick_count = 7
|
|
ticks_on_borders = true
|
|
|
|
[node name="HSplitContainer" type="HFlowContainer" parent="PanelContainer/VBoxContainer"]
|
|
custom_minimum_size = Vector2(470, 0)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
|
|
[node name="Label" type="Label" parent="PanelContainer/VBoxContainer/HSplitContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 6
|
|
theme_override_font_sizes/font_size = 18
|
|
text = "Disable quest and swimming level requirements"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="QuestLevelChecks" type="CheckBox" parent="PanelContainer/VBoxContainer/HSplitContainer"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(0, 50)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 2
|
|
|
|
[node name="CloseButton" type="Button" parent="PanelContainer/VBoxContainer"]
|
|
custom_minimum_size = Vector2(80, 0)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
text = "Close"
|
|
|
|
[connection signal="drag_ended" from="PanelContainer/VBoxContainer/XPSlider" to="." method="_on_xp_slider_drag_ended"]
|
|
[connection signal="value_changed" from="PanelContainer/VBoxContainer/XPSlider" to="." method="_on_xp_slider_value_changed"]
|
|
[connection signal="toggled" from="PanelContainer/VBoxContainer/HSplitContainer/QuestLevelChecks" to="." method="_on_quest_level_checks_toggled"]
|
|
[connection signal="pressed" from="PanelContainer/VBoxContainer/CloseButton" to="." method="_on_close_button_pressed"]
|