96 lines
3.0 KiB
Plaintext
96 lines
3.0 KiB
Plaintext
|
[gd_scene load_steps=7 format=2]
|
||
|
|
||
|
[ext_resource path="res://addons/dialogic/Editor/Events/Parts/ResourcePickers/Definitions/DefinitionPicker.tscn" type="PackedScene" id=1]
|
||
|
[ext_resource path="res://addons/dialogic/Editor/Events/Parts/Logic/ConditionTypePicker.tscn" type="PackedScene" id=2]
|
||
|
[ext_resource path="res://addons/dialogic/Editor/Events/Parts/Text/CustomLineEdit.tscn" type="PackedScene" id=3]
|
||
|
[ext_resource path="res://addons/dialogic/Editor/Events/Parts/Logic/EventPart_ConditionPicker.gd" type="Script" id=4]
|
||
|
[ext_resource path="res://addons/dialogic/Editor/Events/Parts/Text/GreyLabel.tscn" type="PackedScene" id=5]
|
||
|
|
||
|
[sub_resource type="StyleBoxFlat" id=1]
|
||
|
content_margin_left = 10.0
|
||
|
content_margin_right = 10.0
|
||
|
content_margin_top = 5.0
|
||
|
content_margin_bottom = 5.0
|
||
|
bg_color = Color( 0.12549, 0.141176, 0.192157, 1 )
|
||
|
border_width_left = 1
|
||
|
border_width_top = 1
|
||
|
border_width_right = 1
|
||
|
border_width_bottom = 1
|
||
|
border_color = Color( 0.0980392, 0.113725, 0.152941, 1 )
|
||
|
corner_radius_top_left = 3
|
||
|
corner_radius_top_right = 3
|
||
|
corner_radius_bottom_right = 3
|
||
|
corner_radius_bottom_left = 3
|
||
|
|
||
|
[node name="ConditionPicker" type="VBoxContainer"]
|
||
|
margin_left = -1.0
|
||
|
margin_right = 430.0
|
||
|
margin_bottom = 24.0
|
||
|
size_flags_vertical = 4
|
||
|
script = ExtResource( 4 )
|
||
|
__meta__ = {
|
||
|
"_edit_use_anchors_": false
|
||
|
}
|
||
|
|
||
|
[node name="HBox" type="HBoxContainer" parent="."]
|
||
|
margin_right = 473.0
|
||
|
margin_bottom = 27.0
|
||
|
size_flags_vertical = 3
|
||
|
|
||
|
[node name="HasCondition" type="HBoxContainer" parent="HBox"]
|
||
|
margin_right = 89.0
|
||
|
margin_bottom = 27.0
|
||
|
size_flags_vertical = 3
|
||
|
|
||
|
[node name="UseCondition" type="CheckBox" parent="HBox/HasCondition"]
|
||
|
margin_right = 89.0
|
||
|
margin_bottom = 27.0
|
||
|
size_flags_vertical = 7
|
||
|
text = "Condition"
|
||
|
|
||
|
[node name="Values" type="HBoxContainer" parent="HBox"]
|
||
|
margin_left = 93.0
|
||
|
margin_right = 473.0
|
||
|
margin_bottom = 27.0
|
||
|
|
||
|
[node name="Label2" parent="HBox/Values" instance=ExtResource( 5 )]
|
||
|
margin_top = 6.0
|
||
|
margin_right = 9.0
|
||
|
margin_bottom = 20.0
|
||
|
custom_colors/font_color = Color( 0, 0, 0, 1 )
|
||
|
text = "If"
|
||
|
|
||
|
[node name="DefinitionPicker" parent="HBox/Values" instance=ExtResource( 1 )]
|
||
|
margin_left = 13.0
|
||
|
margin_top = 1.0
|
||
|
margin_right = 115.0
|
||
|
margin_bottom = 25.0
|
||
|
|
||
|
[node name="Label" parent="HBox/Values" instance=ExtResource( 5 )]
|
||
|
margin_left = 119.0
|
||
|
margin_top = 6.0
|
||
|
margin_right = 130.0
|
||
|
margin_bottom = 20.0
|
||
|
custom_colors/font_color = Color( 0, 0, 0, 1 )
|
||
|
text = "is"
|
||
|
|
||
|
[node name="ConditionTypePicker" parent="HBox/Values" instance=ExtResource( 2 )]
|
||
|
margin_left = 134.0
|
||
|
margin_right = 232.0
|
||
|
margin_bottom = 27.0
|
||
|
|
||
|
[node name="Control" type="Control" parent="HBox/Values"]
|
||
|
margin_left = 236.0
|
||
|
margin_right = 246.0
|
||
|
margin_bottom = 27.0
|
||
|
rect_min_size = Vector2( 10, 0 )
|
||
|
|
||
|
[node name="Value" parent="HBox/Values" instance=ExtResource( 3 )]
|
||
|
margin_left = 250.0
|
||
|
margin_right = 380.0
|
||
|
margin_bottom = 27.0
|
||
|
custom_styles/read_only = SubResource( 1 )
|
||
|
custom_styles/focus = SubResource( 1 )
|
||
|
custom_styles/normal = SubResource( 1 )
|
||
|
text = "text"
|