[gd_scene format=3 uid="uid://ctmad6foidkvp"] [ext_resource type="Script" uid="uid://cngxwfcrim746" path="res://Scripts/UI/DSL/NodeDisplays/IfNodeDisplay.cs" id="1_ygi5c"] [node name="If" type="GraphNode" unique_id=821127877] offset_right = 468.0 offset_bottom = 129.0 theme_override_constants/separation = 20 title = "If" slot/0/left_enabled = true slot/0/left_type = 0 slot/0/left_color = Color(1, 1, 1, 1) slot/0/left_icon = null slot/0/right_enabled = true slot/0/right_type = 0 slot/0/right_color = Color(1, 1, 1, 1) slot/0/right_icon = null slot/0/draw_stylebox = true slot/1/left_enabled = false slot/1/left_type = 0 slot/1/left_color = Color(1, 1, 1, 1) slot/1/left_icon = null slot/1/right_enabled = true slot/1/right_type = 0 slot/1/right_color = Color(1, 1, 1, 1) slot/1/right_icon = null slot/1/draw_stylebox = true script = ExtResource("1_ygi5c") [node name="Values" type="HBoxContainer" parent="." unique_id=149543652] layout_mode = 2 alignment = 1 [node name="RichTextLabel" type="RichTextLabel" parent="Values" unique_id=1884502843] layout_mode = 2 size_flags_horizontal = 3 size_flags_stretch_ratio = 0.2 text = "if" fit_content = true autowrap_mode = 0 horizontal_alignment = 1 vertical_alignment = 1 [node name="Item" type="OptionButton" parent="Values" unique_id=635450884] layout_mode = 2 size_flags_horizontal = 3 [node name="Comparator" type="OptionButton" parent="Values" unique_id=691603757] layout_mode = 2 size_flags_horizontal = 3 item_count = 6 popup/item_0/text = "is equal to" popup/item_0/id = 0 popup/item_1/text = "is bigger than" popup/item_1/id = 1 popup/item_2/text = "is less than" popup/item_2/id = 2 popup/item_3/text = "is not" popup/item_3/id = 3 popup/item_4/text = "is less than or equal to" popup/item_4/id = 4 popup/item_5/text = "is bigger than or equal to" popup/item_5/id = 5 [node name="Amount" type="SpinBox" parent="Values" unique_id=561942124] layout_mode = 2 size_flags_horizontal = 3 rounded = true alignment = 1 prefix = "x" select_all_on_focus = true [node name="RichTextLabel2" type="RichTextLabel" parent="Values" unique_id=947350412] layout_mode = 2 size_flags_horizontal = 3 size_flags_stretch_ratio = 0.2 text = "execute" fit_content = true autowrap_mode = 0 horizontal_alignment = 1 vertical_alignment = 1 [node name="RichTextLabel" type="RichTextLabel" parent="." unique_id=798764628] layout_mode = 2 size_flags_horizontal = 3 size_flags_stretch_ratio = 0.2 text = "Else" fit_content = true autowrap_mode = 0 horizontal_alignment = 1 vertical_alignment = 1