342 lines
11 KiB
Plaintext
342 lines
11 KiB
Plaintext
|
[gd_scene load_steps=8 format=2]
|
||
|
|
||
|
[ext_resource path="res://addons/dialogic/Editor/Common/SectionTitle.tscn" type="PackedScene" id=1]
|
||
|
[ext_resource path="res://addons/dialogic/Editor/Common/TLabel.tscn" type="PackedScene" id=2]
|
||
|
[ext_resource path="res://addons/dialogic/Editor/SettingsEditor/Scenes/HistorySettings.gd" type="Script" id=3]
|
||
|
[ext_resource path="res://addons/dialogic/Editor/SettingsEditor/Scenes/SettingsCheckbox.tscn" type="PackedScene" id=4]
|
||
|
|
||
|
[sub_resource type="StyleBoxFlat" id=1]
|
||
|
content_margin_left = 4.0
|
||
|
content_margin_right = 4.0
|
||
|
content_margin_top = 4.0
|
||
|
content_margin_bottom = 4.0
|
||
|
bg_color = Color( 0.252, 0.2718, 0.3246, 1 )
|
||
|
|
||
|
[sub_resource type="Image" id=4]
|
||
|
data = {
|
||
|
"data": PoolByteArray( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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Alpha8",
|
||
|
"height": 16,
|
||
|
"mipmaps": false,
|
||
|
"width": 16
|
||
|
}
|
||
|
|
||
|
[sub_resource type="ImageTexture" id=3]
|
||
|
flags = 4
|
||
|
flags = 4
|
||
|
image = SubResource( 4 )
|
||
|
size = Vector2( 16, 16 )
|
||
|
|
||
|
[node name="HistorySettings" type="VBoxContainer"]
|
||
|
margin_top = 258.0
|
||
|
margin_right = 304.0
|
||
|
margin_bottom = 390.0
|
||
|
script = ExtResource( 3 )
|
||
|
|
||
|
[node name="SectionTitle" parent="." instance=ExtResource( 1 )]
|
||
|
margin_right = 336.0
|
||
|
custom_styles/normal = SubResource( 1 )
|
||
|
text = "History settings"
|
||
|
text_key = "History settings"
|
||
|
|
||
|
[node name="GridContainer" type="GridContainer" parent="."]
|
||
|
margin_top = 26.0
|
||
|
margin_right = 336.0
|
||
|
margin_bottom = 344.0
|
||
|
columns = 2
|
||
|
|
||
|
[node name="HistoryBox" type="HBoxContainer" parent="GridContainer"]
|
||
|
margin_right = 158.0
|
||
|
margin_bottom = 24.0
|
||
|
|
||
|
[node name="SettingsCheckbox" parent="GridContainer/HistoryBox" instance=ExtResource( 4 )]
|
||
|
margin_right = 158.0
|
||
|
margin_bottom = 24.0
|
||
|
text = "Enable History"
|
||
|
settings_section = "history"
|
||
|
settings_key = "enable_history_logging"
|
||
|
|
||
|
[node name="UseDialogTheme" parent="GridContainer" instance=ExtResource( 4 )]
|
||
|
margin_left = 162.0
|
||
|
margin_right = 336.0
|
||
|
margin_bottom = 24.0
|
||
|
text = "Use default theme"
|
||
|
default = true
|
||
|
settings_section = "history"
|
||
|
settings_key = "enable_dynamic_theme"
|
||
|
|
||
|
[node name="HSeparator" type="HSeparator" parent="GridContainer"]
|
||
|
margin_top = 28.0
|
||
|
margin_right = 158.0
|
||
|
margin_bottom = 32.0
|
||
|
|
||
|
[node name="HSeparator2" type="HSeparator" parent="GridContainer"]
|
||
|
margin_left = 162.0
|
||
|
margin_top = 28.0
|
||
|
margin_right = 336.0
|
||
|
margin_bottom = 32.0
|
||
|
|
||
|
[node name="ShowOpenButton" parent="GridContainer" instance=ExtResource( 4 )]
|
||
|
margin_top = 36.0
|
||
|
margin_right = 158.0
|
||
|
margin_bottom = 60.0
|
||
|
text = "Show open button"
|
||
|
default = true
|
||
|
settings_section = "history"
|
||
|
settings_key = "enable_open_button"
|
||
|
|
||
|
[node name="ShowCloseButton" parent="GridContainer" instance=ExtResource( 4 )]
|
||
|
margin_left = 162.0
|
||
|
margin_top = 36.0
|
||
|
margin_right = 336.0
|
||
|
margin_bottom = 60.0
|
||
|
text = "Show close button"
|
||
|
default = true
|
||
|
settings_section = "history"
|
||
|
settings_key = "enable_close_button"
|
||
|
|
||
|
[node name="LogAllChoices" parent="GridContainer" instance=ExtResource( 4 )]
|
||
|
margin_top = 64.0
|
||
|
margin_right = 158.0
|
||
|
margin_bottom = 88.0
|
||
|
text = "Log all choices"
|
||
|
default = true
|
||
|
settings_section = "history"
|
||
|
settings_key = "log_choices"
|
||
|
|
||
|
[node name="LogChoiceAnswer" parent="GridContainer" instance=ExtResource( 4 )]
|
||
|
margin_left = 162.0
|
||
|
margin_top = 64.0
|
||
|
margin_right = 336.0
|
||
|
margin_bottom = 88.0
|
||
|
text = "Log choice answer"
|
||
|
default = true
|
||
|
settings_section = "history"
|
||
|
settings_key = "log_answers"
|
||
|
|
||
|
[node name="LogCharacterJoins" parent="GridContainer" instance=ExtResource( 4 )]
|
||
|
margin_top = 92.0
|
||
|
margin_right = 158.0
|
||
|
margin_bottom = 116.0
|
||
|
text = "Log character joins"
|
||
|
default = true
|
||
|
settings_section = "history"
|
||
|
settings_key = "log_arrivals"
|
||
|
|
||
|
[node name="LogBox" type="HBoxContainer" parent="GridContainer"]
|
||
|
margin_left = 162.0
|
||
|
margin_top = 92.0
|
||
|
margin_right = 336.0
|
||
|
margin_bottom = 116.0
|
||
|
|
||
|
[node name="HSeparator" type="VSeparator" parent="GridContainer/LogBox"]
|
||
|
margin_right = 4.0
|
||
|
margin_bottom = 24.0
|
||
|
|
||
|
[node name="JoinTextLabel" parent="GridContainer/LogBox" instance=ExtResource( 2 )]
|
||
|
anchor_right = 0.0
|
||
|
anchor_bottom = 0.0
|
||
|
margin_left = 8.0
|
||
|
margin_top = 5.0
|
||
|
margin_right = 35.0
|
||
|
margin_bottom = 19.0
|
||
|
text = "Text"
|
||
|
text_key = "Text"
|
||
|
|
||
|
[node name="LineEdit" type="LineEdit" parent="GridContainer/LogBox"]
|
||
|
margin_left = 39.0
|
||
|
margin_right = 174.0
|
||
|
margin_bottom = 24.0
|
||
|
size_flags_horizontal = 3
|
||
|
text = "has arrived"
|
||
|
|
||
|
[node name="LogCharacterLeaves" parent="GridContainer" instance=ExtResource( 4 )]
|
||
|
margin_top = 120.0
|
||
|
margin_right = 158.0
|
||
|
margin_bottom = 144.0
|
||
|
text = "Log character leaves"
|
||
|
default = true
|
||
|
settings_section = "history"
|
||
|
settings_key = "history_scroll_to_bottom"
|
||
|
|
||
|
[node name="LogBox2" type="HBoxContainer" parent="GridContainer"]
|
||
|
margin_left = 162.0
|
||
|
margin_top = 120.0
|
||
|
margin_right = 336.0
|
||
|
margin_bottom = 144.0
|
||
|
|
||
|
[node name="HSeparator" type="VSeparator" parent="GridContainer/LogBox2"]
|
||
|
margin_right = 4.0
|
||
|
margin_bottom = 24.0
|
||
|
|
||
|
[node name="TLabel1" parent="GridContainer/LogBox2" instance=ExtResource( 2 )]
|
||
|
anchor_right = 0.0
|
||
|
anchor_bottom = 0.0
|
||
|
margin_left = 8.0
|
||
|
margin_top = 5.0
|
||
|
margin_right = 35.0
|
||
|
margin_bottom = 19.0
|
||
|
text = "Text"
|
||
|
text_key = "Text"
|
||
|
|
||
|
[node name="LineEdit" type="LineEdit" parent="GridContainer/LogBox2"]
|
||
|
margin_left = 39.0
|
||
|
margin_right = 174.0
|
||
|
margin_bottom = 24.0
|
||
|
size_flags_horizontal = 3
|
||
|
text = "has left"
|
||
|
|
||
|
[node name="ScrollToBottom" parent="GridContainer" instance=ExtResource( 4 )]
|
||
|
margin_top = 148.0
|
||
|
margin_right = 158.0
|
||
|
margin_bottom = 172.0
|
||
|
text = "Scroll to bottom"
|
||
|
default = true
|
||
|
settings_section = "history"
|
||
|
settings_key = "history_scroll_to_bottom"
|
||
|
|
||
|
[node name="ReverseTimeline" parent="GridContainer" instance=ExtResource( 4 )]
|
||
|
margin_left = 162.0
|
||
|
margin_top = 148.0
|
||
|
margin_right = 336.0
|
||
|
margin_bottom = 172.0
|
||
|
text = "Reverse timeline"
|
||
|
settings_section = "history"
|
||
|
settings_key = "history_reverse_timeline"
|
||
|
|
||
|
[node name="ShowNameColors" parent="GridContainer" instance=ExtResource( 4 )]
|
||
|
margin_top = 176.0
|
||
|
margin_right = 158.0
|
||
|
margin_bottom = 200.0
|
||
|
text = "Show name colors"
|
||
|
default = true
|
||
|
settings_section = "history"
|
||
|
settings_key = "history_name_color_on"
|
||
|
|
||
|
[node name="LineBreakAfterNames" parent="GridContainer" instance=ExtResource( 4 )]
|
||
|
margin_left = 162.0
|
||
|
margin_top = 176.0
|
||
|
margin_right = 336.0
|
||
|
margin_bottom = 200.0
|
||
|
text = "Line break after names"
|
||
|
settings_section = "history"
|
||
|
settings_key = "history_break_after_name"
|
||
|
|
||
|
[node name="HSeparator3" type="HSeparator" parent="GridContainer"]
|
||
|
margin_top = 204.0
|
||
|
margin_right = 158.0
|
||
|
margin_bottom = 208.0
|
||
|
|
||
|
[node name="HSeparator4" type="HSeparator" parent="GridContainer"]
|
||
|
margin_left = 162.0
|
||
|
margin_top = 204.0
|
||
|
margin_right = 336.0
|
||
|
margin_bottom = 208.0
|
||
|
|
||
|
[node name="TLabel8" parent="GridContainer" instance=ExtResource( 2 )]
|
||
|
anchor_right = 0.0
|
||
|
anchor_bottom = 0.0
|
||
|
margin_top = 216.0
|
||
|
margin_right = 158.0
|
||
|
margin_bottom = 230.0
|
||
|
size_flags_horizontal = 3
|
||
|
text = "History button position"
|
||
|
text_key = "History button position"
|
||
|
|
||
|
[node name="PositionSelector" type="OptionButton" parent="GridContainer"]
|
||
|
margin_left = 162.0
|
||
|
margin_top = 212.0
|
||
|
margin_right = 336.0
|
||
|
margin_bottom = 234.0
|
||
|
text = "Top Right"
|
||
|
icon = SubResource( 3 )
|
||
|
items = [ "Top Left", SubResource( 3 ), false, 0, null, "Top Center", SubResource( 3 ), false, 1, null, "Top Right", SubResource( 3 ), false, 2, null, "", null, false, 3, null, "Center Left", SubResource( 3 ), false, 3, null, "Center", SubResource( 3 ), false, 4, null, "Center Right", SubResource( 3 ), false, 5, null, "", null, false, 7, null, "Bottom Left", SubResource( 3 ), false, 6, null, "Bottom Center", SubResource( 3 ), false, 7, null, "Bottom Right", SubResource( 3 ), false, 8, null ]
|
||
|
selected = 2
|
||
|
__meta__ = {
|
||
|
"_edit_use_anchors_": false
|
||
|
}
|
||
|
|
||
|
[node name="TLabel9" parent="GridContainer" instance=ExtResource( 2 )]
|
||
|
anchor_right = 0.0
|
||
|
anchor_bottom = 0.0
|
||
|
margin_top = 243.0
|
||
|
margin_right = 158.0
|
||
|
margin_bottom = 257.0
|
||
|
hint_tooltip = "Choose delimiter that appears after character name"
|
||
|
mouse_filter = 0
|
||
|
size_flags_horizontal = 3
|
||
|
text = "Name delimiter"
|
||
|
text_key = "Name delimiter"
|
||
|
|
||
|
[node name="CharacterDelimiter" type="LineEdit" parent="GridContainer"]
|
||
|
margin_left = 162.0
|
||
|
margin_top = 238.0
|
||
|
margin_right = 336.0
|
||
|
margin_bottom = 262.0
|
||
|
text = ":"
|
||
|
|
||
|
[node name="TLabel7" parent="GridContainer" instance=ExtResource( 2 )]
|
||
|
anchor_right = 0.0
|
||
|
anchor_bottom = 0.0
|
||
|
margin_top = 271.0
|
||
|
margin_right = 158.0
|
||
|
margin_bottom = 285.0
|
||
|
mouse_filter = 0
|
||
|
text = "Screen margin"
|
||
|
text_key = "Screen margin"
|
||
|
|
||
|
[node name="BoxMargin" type="HBoxContainer" parent="GridContainer"]
|
||
|
margin_left = 162.0
|
||
|
margin_top = 266.0
|
||
|
margin_right = 336.0
|
||
|
margin_bottom = 290.0
|
||
|
|
||
|
[node name="MarginX" type="SpinBox" parent="GridContainer/BoxMargin"]
|
||
|
margin_right = 74.0
|
||
|
margin_bottom = 24.0
|
||
|
max_value = 999.0
|
||
|
rounded = true
|
||
|
allow_greater = true
|
||
|
allow_lesser = true
|
||
|
|
||
|
[node name="MarginY" type="SpinBox" parent="GridContainer/BoxMargin"]
|
||
|
margin_left = 78.0
|
||
|
margin_right = 152.0
|
||
|
margin_bottom = 24.0
|
||
|
max_value = 999.0
|
||
|
rounded = true
|
||
|
allow_greater = true
|
||
|
allow_lesser = true
|
||
|
|
||
|
[node name="TLabel5" parent="GridContainer" instance=ExtResource( 2 )]
|
||
|
anchor_right = 0.0
|
||
|
anchor_bottom = 0.0
|
||
|
margin_top = 299.0
|
||
|
margin_right = 158.0
|
||
|
margin_bottom = 313.0
|
||
|
text = "Log margin"
|
||
|
text_key = "Log margin"
|
||
|
|
||
|
[node name="ContainerMargin" type="HBoxContainer" parent="GridContainer"]
|
||
|
margin_left = 162.0
|
||
|
margin_top = 294.0
|
||
|
margin_right = 336.0
|
||
|
margin_bottom = 318.0
|
||
|
|
||
|
[node name="MarginX" type="SpinBox" parent="GridContainer/ContainerMargin"]
|
||
|
margin_right = 74.0
|
||
|
margin_bottom = 24.0
|
||
|
max_value = 1e+07
|
||
|
rounded = true
|
||
|
allow_greater = true
|
||
|
allow_lesser = true
|
||
|
|
||
|
[node name="MarginY" type="SpinBox" parent="GridContainer/ContainerMargin"]
|
||
|
margin_left = 78.0
|
||
|
margin_right = 152.0
|
||
|
margin_bottom = 24.0
|
||
|
max_value = 1e+07
|
||
|
rounded = true
|
||
|
allow_greater = true
|
||
|
allow_lesser = true
|