332 lines
17 KiB
Plaintext
332 lines
17 KiB
Plaintext
[gd_scene format=3 uid="uid://g6lbgg1fhc25"]
|
|
|
|
[ext_resource type="Script" uid="uid://bms0xtv8vh2qg" path="res://gui/menu/settings/scripts/settings.gd" id="1_7t8mv"]
|
|
[ext_resource type="PackedScene" uid="uid://brxrl7sipyy6k" path="res://gui/menu/window/window.tscn" id="1_gkn1k"]
|
|
[ext_resource type="Theme" uid="uid://bgcmd213j6gk1" path="res://gui/ressources/hud.tres" id="2_7t8mv"]
|
|
[ext_resource type="PackedScene" uid="uid://cvjqp3oewr3rv" path="res://gui/menu/window/content_title.tscn" id="3_rbiwc"]
|
|
[ext_resource type="PackedScene" uid="uid://d3agt2njfgddb" path="res://gui/menu/window/content_label.tscn" id="4_rbiwc"]
|
|
[ext_resource type="AudioStream" uid="uid://8juy5ev3rdfh" path="res://common/audio_manager/assets/sfx/plant_points/plant_point_1.wav" id="6_8f00b"]
|
|
[ext_resource type="FontFile" uid="uid://qt80w6o01q5s" path="res://gui/ressources/fonts/TitanOne-Regular.ttf" id="6_18i73"]
|
|
[ext_resource type="Theme" uid="uid://5au2k3vf2po3" path="res://gui/ressources/menu.tres" id="6_bun6f"]
|
|
[ext_resource type="Texture2D" uid="uid://c2qg7ikkylfv4" path="res://common/icons/seeds.svg" id="6_v2wwn"]
|
|
[ext_resource type="Texture2D" uid="uid://b0wy3dbpxbnt7" path="res://common/icons/seedling.svg" id="7_bun6f"]
|
|
[ext_resource type="Texture2D" uid="uid://bn2wkun71ocun" path="res://common/icons/tree.svg" id="8_18i73"]
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_g4v7s"]
|
|
font = ExtResource("6_18i73")
|
|
font_color = Color(0.06318334, 0.059500005, 0.17, 0.6431373)
|
|
|
|
[node name="Settings" type="MarginContainer" unique_id=1374154672]
|
|
process_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme_override_constants/margin_left = 100
|
|
theme_override_constants/margin_top = 100
|
|
theme_override_constants/margin_right = 100
|
|
theme_override_constants/margin_bottom = 100
|
|
script = ExtResource("1_7t8mv")
|
|
|
|
[node name="SettingsWindow" parent="." unique_id=798514856 instance=ExtResource("1_gkn1k")]
|
|
unique_name_in_owner = true
|
|
process_mode = 3
|
|
custom_minimum_size = Vector2(800, 0)
|
|
layout_mode = 2
|
|
size_flags_vertical = 1
|
|
mouse_filter = 0
|
|
title = "SETTINGS"
|
|
|
|
[node name="WindowTitle" parent="SettingsWindow/WindowHeader/MarginContainer" index="0"]
|
|
text = "SETTINGS"
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="SettingsWindow/WindowContent/MarginContainer/ContentContainer" index="0" unique_id=871158801]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme_override_constants/margin_left = 5
|
|
theme_override_constants/margin_top = 0
|
|
|
|
[node name="SettingsContent" type="VBoxContainer" parent="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer" unique_id=1219194290]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
|
|
[node name="LanguageTitle" parent="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent" unique_id=327370385 instance=ExtResource("3_rbiwc")]
|
|
layout_mode = 2
|
|
title = "LANGUAGE"
|
|
|
|
[node name="LanguageSettings" type="GridContainer" parent="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent" unique_id=1441746682]
|
|
layout_mode = 2
|
|
columns = 2
|
|
|
|
[node name="LanguageText" parent="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent/LanguageSettings" unique_id=1716488893 instance=ExtResource("4_rbiwc")]
|
|
layout_mode = 2
|
|
|
|
[node name="LanguageOptionButton" type="OptionButton" parent="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent/LanguageSettings" unique_id=1927908163]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 4
|
|
theme = ExtResource("2_7t8mv")
|
|
selected = 0
|
|
item_count = 2
|
|
popup/item_0/text = "English"
|
|
popup/item_0/id = 0
|
|
popup/item_1/text = "Français"
|
|
popup/item_1/id = 1
|
|
|
|
[node name="SoundTitle" parent="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent" unique_id=1397576206 instance=ExtResource("3_rbiwc")]
|
|
layout_mode = 2
|
|
title = "SOUND"
|
|
|
|
[node name="SoundSliders" type="GridContainer" parent="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent" unique_id=1765279832]
|
|
layout_mode = 2
|
|
columns = 2
|
|
|
|
[node name="MasterText" parent="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent/SoundSliders" unique_id=1907057953 instance=ExtResource("4_rbiwc")]
|
|
layout_mode = 2
|
|
text = "MASTER_VOLUME"
|
|
|
|
[node name="MasterSlider" type="HSlider" parent="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent/SoundSliders" unique_id=886808622]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme = ExtResource("2_7t8mv")
|
|
max_value = 1.0
|
|
step = 0.01
|
|
value = 1.0
|
|
|
|
[node name="MusicText" parent="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent/SoundSliders" unique_id=282651139 instance=ExtResource("4_rbiwc")]
|
|
layout_mode = 2
|
|
text = "MUSIC_VOLUME"
|
|
|
|
[node name="MusicSlider" type="HSlider" parent="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent/SoundSliders" unique_id=685809540]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme = ExtResource("2_7t8mv")
|
|
max_value = 1.0
|
|
step = 0.01
|
|
value = 1.0
|
|
|
|
[node name="EvironmentText" parent="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent/SoundSliders" unique_id=378240691 instance=ExtResource("4_rbiwc")]
|
|
layout_mode = 2
|
|
text = "ENVIRONMENT_VOLUME"
|
|
|
|
[node name="EnvSlider" type="HSlider" parent="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent/SoundSliders" unique_id=1793576476]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_vertical = 1
|
|
max_value = 1.0
|
|
step = 0.01
|
|
|
|
[node name="SFXText" parent="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent/SoundSliders" unique_id=720423882 instance=ExtResource("4_rbiwc")]
|
|
layout_mode = 2
|
|
text = "SFX_VOLUME"
|
|
|
|
[node name="SFXSlider" type="HSlider" parent="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent/SoundSliders" unique_id=1992740216]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_vertical = 1
|
|
max_value = 1.0
|
|
step = 0.01
|
|
|
|
[node name="VideoTitle" parent="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent" unique_id=1107495854 instance=ExtResource("3_rbiwc")]
|
|
layout_mode = 2
|
|
title = "VIDEO"
|
|
|
|
[node name="VideoSettings" type="GridContainer" parent="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent" unique_id=781693505]
|
|
layout_mode = 2
|
|
columns = 2
|
|
|
|
[node name="FullScreenText" parent="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent/VideoSettings" unique_id=1915748714 instance=ExtResource("4_rbiwc")]
|
|
layout_mode = 2
|
|
text = "FULLSCREEN"
|
|
|
|
[node name="FullScreenCheckBox" type="CheckBox" parent="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent/VideoSettings" unique_id=1501477055]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 10
|
|
size_flags_vertical = 4
|
|
theme = ExtResource("2_7t8mv")
|
|
|
|
[node name="UiSizeSliderText" parent="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent/VideoSettings" unique_id=1487118616 instance=ExtResource("4_rbiwc")]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "UI_SIZE"
|
|
|
|
[node name="UiSizeSlider" type="HSlider" parent="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent/VideoSettings" unique_id=921491472]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme = ExtResource("2_7t8mv")
|
|
min_value = 0.5
|
|
max_value = 2.5
|
|
step = 0.01
|
|
value = 1.5
|
|
|
|
[node name="FovSliderText" parent="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent/VideoSettings" unique_id=1512796885 instance=ExtResource("4_rbiwc")]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "FOV"
|
|
|
|
[node name="FovSlider" type="HSlider" parent="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent/VideoSettings" unique_id=1863124478]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme = ExtResource("2_7t8mv")
|
|
min_value = 25.0
|
|
max_value = 150.0
|
|
value = 25.0
|
|
|
|
[node name="GameTitle" parent="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent" unique_id=1070654753 instance=ExtResource("3_rbiwc")]
|
|
layout_mode = 2
|
|
title = "GAME"
|
|
|
|
[node name="GameSettings" type="GridContainer" parent="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent" unique_id=51915883]
|
|
layout_mode = 2
|
|
columns = 2
|
|
|
|
[node name="VboxContainer" type="VBoxContainer" parent="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent/GameSettings" unique_id=58604710]
|
|
layout_mode = 2
|
|
|
|
[node name="StoryModeDifficultyText" parent="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent/GameSettings/VboxContainer" unique_id=1951982692 instance=ExtResource("4_rbiwc")]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "STORY_MODE_DIFFICULTY"
|
|
autowrap_mode = 3
|
|
|
|
[node name="StoryModeDifficultyPrecisionText" parent="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent/GameSettings/VboxContainer" unique_id=2085500248 instance=ExtResource("4_rbiwc")]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_colors/font_color = Color(0.0627451, 0.05882353, 0.16862746, 1)
|
|
text = "RESTART_TO_LAST_BASE_TO_APPLY"
|
|
label_settings = SubResource("LabelSettings_g4v7s")
|
|
autowrap_mode = 3
|
|
|
|
[node name="StoryModeDifficultyOptionButton" type="OptionButton" parent="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent/GameSettings" unique_id=361207221]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
theme = ExtResource("6_bun6f")
|
|
theme_override_constants/icon_max_width = 32
|
|
selected = 0
|
|
item_count = 3
|
|
popup/item_0/text = "COSY_MODE"
|
|
popup/item_0/icon = ExtResource("6_v2wwn")
|
|
popup/item_0/id = 0
|
|
popup/item_1/text = "ADVENTURE_MODE"
|
|
popup/item_1/icon = ExtResource("7_bun6f")
|
|
popup/item_1/id = 1
|
|
popup/item_2/text = "CHALLENGE_MODE"
|
|
popup/item_2/icon = ExtResource("8_18i73")
|
|
popup/item_2/id = 2
|
|
|
|
[node name="SensibilitySliderText" parent="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent/GameSettings" unique_id=1624022562 instance=ExtResource("4_rbiwc")]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "MOUSE_SENSIVITY"
|
|
|
|
[node name="SensibilitySlider" type="HSlider" parent="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent/GameSettings" unique_id=1287461408]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme = ExtResource("2_7t8mv")
|
|
min_value = 0.01
|
|
max_value = 0.5
|
|
step = 0.01
|
|
value = 0.2
|
|
|
|
[node name="AutoPickupText" parent="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent/GameSettings" unique_id=1206884739 instance=ExtResource("4_rbiwc")]
|
|
layout_mode = 2
|
|
text = "AUTO_PICKUP"
|
|
|
|
[node name="AutoPickupCheckBox" type="CheckBox" parent="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent/GameSettings" unique_id=679739606]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 10
|
|
size_flags_vertical = 4
|
|
theme = ExtResource("2_7t8mv")
|
|
|
|
[node name="TwitchIntegrationTitle" parent="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent" unique_id=1569982523 instance=ExtResource("3_rbiwc")]
|
|
layout_mode = 2
|
|
title = "TWITCH_INTEGRATION"
|
|
|
|
[node name="GridContainer" type="GridContainer" parent="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent" unique_id=522476269]
|
|
layout_mode = 2
|
|
columns = 2
|
|
|
|
[node name="TwitchActivation" parent="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent/GridContainer" unique_id=845492722 instance=ExtResource("4_rbiwc")]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "ACTIVATE_TWITCH_INTERACTION"
|
|
|
|
[node name="TwitchActivationCheckBox" type="CheckBox" parent="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent/GridContainer" unique_id=41914098]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 10
|
|
size_flags_vertical = 4
|
|
theme = ExtResource("2_7t8mv")
|
|
|
|
[node name="TwitchChannel" parent="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent/GridContainer" unique_id=761410855 instance=ExtResource("4_rbiwc")]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "TWITCH_CHANNEL"
|
|
|
|
[node name="TwitchChannelLineEdit" type="LineEdit" parent="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent/GridContainer" unique_id=1533093934]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="TwitchPseudoCount" parent="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent" unique_id=1953595699 instance=ExtResource("4_rbiwc")]
|
|
unique_name_in_owner = true
|
|
modulate = Color(1, 1, 1, 0.5882353)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "PSEUDO_GATHERED "
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="MasterTestPlayer" type="AudioStreamPlayer" parent="." unique_id=1170520824]
|
|
unique_name_in_owner = true
|
|
stream = ExtResource("6_8f00b")
|
|
|
|
[node name="MusicTestPlayer" type="AudioStreamPlayer" parent="." unique_id=1716804039]
|
|
unique_name_in_owner = true
|
|
stream = ExtResource("6_8f00b")
|
|
bus = &"Music"
|
|
|
|
[node name="AmbianceTestPlayer" type="AudioStreamPlayer" parent="." unique_id=658541025]
|
|
unique_name_in_owner = true
|
|
stream = ExtResource("6_8f00b")
|
|
bus = &"Ambiance"
|
|
|
|
[node name="SfxTestPlayer" type="AudioStreamPlayer" parent="." unique_id=2061345469]
|
|
unique_name_in_owner = true
|
|
stream = ExtResource("6_8f00b")
|
|
bus = &"Sfx"
|
|
|
|
[connection signal="item_selected" from="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent/LanguageSettings/LanguageOptionButton" to="." method="_on_language_option_button_item_selected"]
|
|
[connection signal="drag_ended" from="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent/SoundSliders/MasterSlider" to="." method="_on_master_slider_drag_ended"]
|
|
[connection signal="drag_ended" from="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent/SoundSliders/MusicSlider" to="." method="_on_music_slider_drag_endeded"]
|
|
[connection signal="drag_ended" from="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent/SoundSliders/EnvSlider" to="." method="_on_env_slider_drag_endeded"]
|
|
[connection signal="drag_ended" from="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent/SoundSliders/SFXSlider" to="." method="_on_sfx_slider_drag_endeded"]
|
|
[connection signal="toggled" from="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent/VideoSettings/FullScreenCheckBox" to="." method="_on_full_screen_check_box_toggled"]
|
|
[connection signal="value_changed" from="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent/VideoSettings/UiSizeSlider" to="." method="_on_ui_size_slider_value_changed"]
|
|
[connection signal="value_changed" from="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent/VideoSettings/FovSlider" to="." method="_on_fov_slider_value_changed"]
|
|
[connection signal="item_selected" from="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent/GameSettings/StoryModeDifficultyOptionButton" to="." method="_on_story_mode_difficulty_option_button_item_selected"]
|
|
[connection signal="value_changed" from="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent/GameSettings/SensibilitySlider" to="." method="_on_sensibility_slider_value_changed"]
|
|
[connection signal="toggled" from="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent/GameSettings/AutoPickupCheckBox" to="." method="_on_auto_pickup_check_box_toggled"]
|
|
[connection signal="toggled" from="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent/GridContainer/TwitchActivationCheckBox" to="." method="_on_twitch_activation_check_box_toggled"]
|
|
[connection signal="editing_toggled" from="SettingsWindow/WindowContent/MarginContainer/ContentContainer/MarginContainer/SettingsContent/GridContainer/TwitchChannelLineEdit" to="." method="_on_twitch_channel_line_edit_editing_toggled"]
|
|
|
|
[editable path="SettingsWindow"]
|