No Description
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.

IfCondition.tscn 3.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. [gd_scene load_steps=9 format=2]
  2. [ext_resource path="res://addons/dialogic/Images/condition.svg" type="Texture" id=1]
  3. [ext_resource path="res://addons/dialogic/Editor/Pieces/IfCondition.gd" type="Script" id=2]
  4. [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/ConditionPicker.tscn" type="PackedScene" id=3]
  5. [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/PieceExtraSettings.tscn" type="PackedScene" id=4]
  6. [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/CustomLineEdit.tscn" type="PackedScene" id=6]
  7. [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/DefinitionPicker.tscn" type="PackedScene" id=7]
  8. [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/Spacer.tscn" type="PackedScene" id=8]
  9. [sub_resource type="StyleBoxFlat" id=1]
  10. content_margin_left = 16.0
  11. content_margin_right = 6.0
  12. content_margin_top = 6.0
  13. content_margin_bottom = 6.0
  14. bg_color = Color( 0.243137, 0.231373, 0.396078, 0.772549 )
  15. border_width_left = 2
  16. border_width_top = 2
  17. border_width_right = 2
  18. border_width_bottom = 2
  19. border_color = Color( 0.12549, 0.12549, 0.12549, 1 )
  20. corner_radius_top_left = 6
  21. corner_radius_top_right = 6
  22. corner_radius_bottom_right = 6
  23. corner_radius_bottom_left = 6
  24. [node name="IfCondition" type="HBoxContainer"]
  25. margin_right = 1004.0
  26. margin_bottom = 42.0
  27. size_flags_horizontal = 3
  28. size_flags_vertical = 9
  29. script = ExtResource( 2 )
  30. __meta__ = {
  31. "_edit_use_anchors_": false
  32. }
  33. [node name="Indent" type="Control" parent="."]
  34. visible = false
  35. margin_bottom = 42.0
  36. [node name="PanelContainer" type="PanelContainer" parent="."]
  37. margin_right = 1004.0
  38. margin_bottom = 42.0
  39. mouse_filter = 1
  40. size_flags_horizontal = 3
  41. size_flags_vertical = 3
  42. custom_styles/panel = SubResource( 1 )
  43. __meta__ = {
  44. "_edit_use_anchors_": false
  45. }
  46. [node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer"]
  47. margin_left = 16.0
  48. margin_top = 6.0
  49. margin_right = 998.0
  50. margin_bottom = 36.0
  51. size_flags_horizontal = 3
  52. [node name="Header" type="HBoxContainer" parent="PanelContainer/VBoxContainer"]
  53. margin_right = 982.0
  54. margin_bottom = 28.0
  55. [node name="TextureRect" type="TextureRect" parent="PanelContainer/VBoxContainer/Header"]
  56. margin_right = 22.0
  57. margin_bottom = 28.0
  58. texture = ExtResource( 1 )
  59. stretch_mode = 6
  60. [node name="DefinitionPicker" parent="PanelContainer/VBoxContainer/Header" instance=ExtResource( 7 )]
  61. margin_left = 26.0
  62. margin_right = 169.0
  63. margin_bottom = 28.0
  64. [node name="ConditionPicker" parent="PanelContainer/VBoxContainer/Header" instance=ExtResource( 3 )]
  65. [node name="CustomLineEdit" parent="PanelContainer/VBoxContainer/Header" instance=ExtResource( 6 )]
  66. margin_left = 256.0
  67. margin_right = 352.0
  68. margin_bottom = 28.0
  69. hint_tooltip = "you can enter a text-value, a number or you can enter the name of another definition to compare against."
  70. [node name="Preview" type="Label" parent="PanelContainer/VBoxContainer/Header"]
  71. margin_left = 308.0
  72. margin_top = 7.0
  73. margin_right = 308.0
  74. margin_bottom = 21.0
  75. custom_colors/font_color = Color( 1, 1, 1, 0.513726 )
  76. [node name="Spacer" parent="PanelContainer/VBoxContainer/Header" instance=ExtResource( 8 )]
  77. margin_left = 312.0
  78. margin_right = 941.0
  79. margin_bottom = 28.0
  80. [node name="OptionButton" parent="PanelContainer/VBoxContainer/Header" instance=ExtResource( 4 )]
  81. margin_left = 945.0
  82. margin_right = 982.0
  83. margin_bottom = 28.0
  84. items = [ "Move Up", null, 0, false, false, 0, 0, null, "", false, "Move Down", null, 0, false, false, 1, 0, null, "", false, "", null, 0, false, false, 2, 0, null, "", true, "Remove", null, 0, false, false, 3, 0, null, "", false ]