]> Untitled Git - wolf-seeking-sheep.git/blob - addons/dialogic/Modules/Save/settings_save.tscn
Squashed commit of the following:
[wolf-seeking-sheep.git] / addons / dialogic / Modules / Save / settings_save.tscn
1 [gd_scene load_steps=5 format=3 uid="uid://cd340w7blofak"]
2
3 [ext_resource type="Script" uid="uid://ceunhj5sxq8xu" path="res://addons/dialogic/Modules/Save/settings_save.gd" id="2"]
4 [ext_resource type="PackedScene" uid="uid://dbpkta2tjsqim" path="res://addons/dialogic/Editor/Common/hint_tooltip_icon.tscn" id="2_v2wt8"]
5
6 [sub_resource type="Image" id="Image_6yfie"]
7 data = {
8 "data": PackedByteArray(255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 255, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 231, 255, 94, 94, 54, 255, 94, 94, 57, 255, 93, 93, 233, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 231, 255, 94, 94, 54, 255, 94, 94, 57, 255, 93, 93, 233, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 93, 93, 233, 255, 93, 93, 232, 255, 93, 93, 41, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 93, 93, 233, 255, 93, 93, 232, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 44, 255, 255, 255, 0, 255, 97, 97, 42, 255, 97, 97, 42, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 44, 255, 255, 255, 0, 255, 97, 97, 42, 255, 97, 97, 42, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 235, 255, 94, 94, 234, 255, 95, 95, 43, 255, 255, 255, 0, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 235, 255, 94, 94, 234, 255, 95, 95, 43, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 235, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 233, 255, 95, 95, 59, 255, 96, 96, 61, 255, 93, 93, 235, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 233, 255, 95, 95, 59, 255, 96, 96, 61, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0),
9 "format": "RGBA8",
10 "height": 16,
11 "mipmaps": false,
12 "width": 16
13 }
14
15 [sub_resource type="ImageTexture" id="ImageTexture_dbvsu"]
16 image = SubResource("Image_6yfie")
17
18 [node name="Saving" type="VBoxContainer"]
19 offset_right = 1084.0
20 offset_bottom = 212.0
21 script = ExtResource("2")
22
23 [node name="Grid" type="GridContainer" parent="."]
24 layout_mode = 2
25 size_flags_horizontal = 3
26 columns = 2
27
28 [node name="HBoxContainer" type="HBoxContainer" parent="Grid"]
29 layout_mode = 2
30
31 [node name="Label" type="Label" parent="Grid/HBoxContainer"]
32 layout_mode = 2
33 text = "Autosave"
34
35 [node name="HintTooltip" parent="Grid/HBoxContainer" instance=ExtResource("2_v2wt8")]
36 layout_mode = 2
37 tooltip_text = "If enabled dialogic will autosave the full state to the current slot depending on the autosave method."
38 texture = SubResource("ImageTexture_dbvsu")
39 hint_text = "If enabled dialogic will autosave the full state to the current slot depending on the autosave method."
40
41 [node name="Autosave" type="CheckBox" parent="Grid"]
42 unique_name_in_owner = true
43 layout_mode = 2
44
45 [node name="AutosaveModeLabel" type="HBoxContainer" parent="Grid"]
46 unique_name_in_owner = true
47 layout_mode = 2
48
49 [node name="Label2" type="Label" parent="Grid/AutosaveModeLabel"]
50 layout_mode = 2
51 text = "Autosave Mode"
52
53 [node name="AutosaveModeContent" type="HBoxContainer" parent="Grid"]
54 unique_name_in_owner = true
55 layout_mode = 2
56
57 [node name="AutosaveMode" type="OptionButton" parent="Grid/AutosaveModeContent"]
58 unique_name_in_owner = true
59 layout_mode = 2
60 item_count = 3
61 selected = 0
62 popup/item_0/text = "Timeline Start+End+Jump"
63 popup/item_0/id = 0
64 popup/item_1/text = "Each X seconds"
65 popup/item_1/id = 1
66 popup/item_2/text = "Every Text Event"
67 popup/item_2/id = 2
68
69 [node name="AutosaveDelay" type="SpinBox" parent="Grid/AutosaveModeContent"]
70 unique_name_in_owner = true
71 layout_mode = 2
72 max_value = 1000.0
73 suffix = "s"
74
75 [node name="HBoxContainer2" type="HBoxContainer" parent="Grid"]
76 layout_mode = 2
77
78 [node name="Label4" type="Label" parent="Grid/HBoxContainer2"]
79 layout_mode = 2
80 text = "Default slot name"
81
82 [node name="HintTooltip3" parent="Grid/HBoxContainer2" instance=ExtResource("2_v2wt8")]
83 layout_mode = 2
84 tooltip_text = "The name of the default slot. "
85 texture = SubResource("ImageTexture_dbvsu")
86 hint_text = "The name of the default slot. "
87
88 [node name="DefaultSaveSlotName" type="LineEdit" parent="Grid"]
89 unique_name_in_owner = true
90 layout_mode = 2
91 size_flags_horizontal = 0
92 expand_to_text_length = true
93
94 [node name="HBoxContainer3" type="HBoxContainer" parent="Grid"]
95 layout_mode = 2
96
97 [node name="EncryptionPasswordLabel" type="Label" parent="Grid/HBoxContainer3"]
98 layout_mode = 2
99 text = "Encryption Password"
100
101 [node name="HintTooltip" parent="Grid/HBoxContainer3" instance=ExtResource("2_v2wt8")]
102 layout_mode = 2
103 tooltip_text = "The encryption password used to encrypt save files. When left empty, the save files will not be encrypted."
104 texture = SubResource("ImageTexture_dbvsu")
105 hint_text = "The encryption password used to encrypt save files. When left empty, the save files will not be encrypted."
106
107 [node name="HBoxContainer4" type="HBoxContainer" parent="Grid"]
108 layout_mode = 2
109 size_flags_horizontal = 3
110
111 [node name="EncryptionPassword" type="LineEdit" parent="Grid/HBoxContainer4"]
112 unique_name_in_owner = true
113 layout_mode = 2
114 expand_to_text_length = true
115
116 [node name="EncryptionOnExportsSection" type="HBoxContainer" parent="Grid/HBoxContainer4"]
117 unique_name_in_owner = true
118 layout_mode = 2
119
120 [node name="EncryptionPasswordLabel" type="Label" parent="Grid/HBoxContainer4/EncryptionOnExportsSection"]
121 layout_mode = 2
122 text = "Use on exports only"
123
124 [node name="HintTooltip" parent="Grid/HBoxContainer4/EncryptionOnExportsSection" instance=ExtResource("2_v2wt8")]
125 layout_mode = 2
126 tooltip_text = "For easier debugging dialogic will only encrypt saves made by exported project.
127 Exported projects with debug mode on or saves made when running in editor 
128 will not use encryption."
129 texture = SubResource("ImageTexture_dbvsu")
130 hint_text = "For easier debugging dialogic will only encrypt saves made by exported project.
131 Exported projects with debug mode on or saves made when running in editor 
132 will not use encryption."
133
134 [node name="EncryptionOnExports" type="CheckBox" parent="Grid/HBoxContainer4/EncryptionOnExportsSection"]
135 unique_name_in_owner = true
136 layout_mode = 2
137
138 [connection signal="toggled" from="Grid/Autosave" to="." method="_on_autosave_toggled"]
139 [connection signal="item_selected" from="Grid/AutosaveModeContent/AutosaveMode" to="." method="_on_autosave_mode_item_selected"]
140 [connection signal="value_changed" from="Grid/AutosaveModeContent/AutosaveDelay" to="." method="_on_autosave_delay_value_changed"]
141 [connection signal="text_changed" from="Grid/DefaultSaveSlotName" to="." method="_on_default_save_slot_name_text_changed"]
142 [connection signal="text_changed" from="Grid/HBoxContainer4/EncryptionPassword" to="." method="_on_encryption_password_text_changed"]
143 [connection signal="toggled" from="Grid/HBoxContainer4/EncryptionOnExportsSection/EncryptionOnExports" to="." method="_on_encryption_on_exports_toggled"]