You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
1.9 KiB
66 lines
1.9 KiB
3 years ago
|
[gd_scene load_steps=5 format=2]
|
||
|
|
||
|
[ext_resource path="res://addons/dialogic/Editor/Events/Parts/Text/CustomLineEdit.tscn" type="PackedScene" id=1]
|
||
|
[ext_resource path="res://addons/dialogic/Editor/Events/Parts/ResourcePickers/Condition/ConditionPicker.gd" type="Script" id=2]
|
||
|
[ext_resource path="res://addons/dialogic/Editor/Events/styles/MenuButtonHover.tres" type="StyleBox" id=3]
|
||
|
[ext_resource path="res://addons/dialogic/Editor/Events/styles/MenuButtonNormal.tres" type="StyleBox" id=4]
|
||
|
|
||
|
[node name="ConditionPicker" type="HBoxContainer"]
|
||
|
margin_right = 24.0
|
||
|
margin_bottom = 24.0
|
||
|
rect_min_size = Vector2( 0, 30 )
|
||
|
script = ExtResource( 2 )
|
||
|
__meta__ = {
|
||
|
"_edit_use_anchors_": false
|
||
|
}
|
||
|
|
||
|
[node name="HasCondition" type="HBoxContainer" parent="."]
|
||
|
visible = false
|
||
|
margin_right = 122.0
|
||
|
margin_bottom = 30.0
|
||
|
|
||
|
[node name="CheckBox" type="CheckBox" parent="HasCondition"]
|
||
|
margin_right = 122.0
|
||
|
margin_bottom = 30.0
|
||
|
text = "Has condition?"
|
||
|
|
||
|
[node name="Values" type="HBoxContainer" parent="."]
|
||
|
margin_right = 283.0
|
||
|
margin_bottom = 30.0
|
||
|
|
||
|
[node name="Definition" type="MenuButton" parent="Values"]
|
||
|
margin_right = 126.0
|
||
|
margin_bottom = 30.0
|
||
|
custom_styles/hover = ExtResource( 3 )
|
||
|
custom_styles/normal = ExtResource( 4 )
|
||
|
text = "Select Definition"
|
||
|
flat = false
|
||
|
|
||
|
[node name="Label" type="Label" parent="Values"]
|
||
|
margin_left = 130.0
|
||
|
margin_top = 8.0
|
||
|
margin_right = 141.0
|
||
|
margin_bottom = 22.0
|
||
|
text = "is"
|
||
|
|
||
|
[node name="Condition" type="MenuButton" parent="Values"]
|
||
|
margin_left = 145.0
|
||
|
margin_right = 217.0
|
||
|
margin_bottom = 30.0
|
||
|
custom_styles/hover = ExtResource( 3 )
|
||
|
custom_styles/normal = ExtResource( 4 )
|
||
|
text = "equal to"
|
||
|
flat = false
|
||
|
|
||
|
[node name="Control" type="Control" parent="Values"]
|
||
|
margin_left = 221.0
|
||
|
margin_right = 231.0
|
||
|
margin_bottom = 30.0
|
||
|
rect_min_size = Vector2( 10, 0 )
|
||
|
|
||
|
[node name="Value" parent="Values" instance=ExtResource( 1 )]
|
||
|
margin_left = 235.0
|
||
|
margin_top = 1.0
|
||
|
margin_right = 283.0
|
||
|
margin_bottom = 28.0
|