[gd_scene load_steps=2 format=3 uid="uid://chky5yb5bj7gy"] [ext_resource type="Script" uid="uid://nft8qh8eyyn4" path="res://01 - Menus/05 - Campaign Manager/item_helper.gd" id="1_yac37"] [node name="item_helper" type="Control"] custom_minimum_size = Vector2(0, 320) layout_mode = 3 anchors_preset = 0 offset_right = 2112.0 offset_bottom = 192.0 size_flags_horizontal = 3 size_flags_vertical = 3 script = ExtResource("1_yac37") [node name="ColorRect" type="ColorRect" parent="."] layout_mode = 0 offset_right = 1920.0 offset_bottom = 320.0 color = Color(0.047058824, 0.07058824, 0.09803922, 1) [node name="item" type="LineEdit" parent="."] unique_name_in_owner = true layout_mode = 1 anchors_preset = -1 anchor_left = 0.030303031 anchor_top = 0.2 anchor_right = 0.030303031 anchor_bottom = 0.2 offset_right = 256.0 offset_bottom = 64.0 placeholder_text = "technical name" metadata/_edit_use_anchors_ = true [node name="name_self" type="LineEdit" parent="."] unique_name_in_owner = true layout_mode = 1 anchors_preset = -1 anchor_left = 0.18200001 anchor_top = 0.2 anchor_right = 0.18200001 anchor_bottom = 0.2 offset_left = -0.3840332 offset_right = 255.61597 offset_bottom = 64.0 placeholder_text = "singular name" metadata/_edit_use_anchors_ = true [node name="name" type="LineEdit" parent="."] unique_name_in_owner = true layout_mode = 1 anchors_preset = -1 anchor_left = 0.333 anchor_top = 0.2 anchor_right = 0.333 anchor_bottom = 0.2 offset_left = 0.7039795 offset_right = 256.70398 offset_bottom = 64.0 placeholder_text = "multiple name" metadata/_edit_use_anchors_ = true [node name="modules_list" type="ItemList" parent="."] unique_name_in_owner = true clip_contents = false layout_mode = 1 anchors_preset = -1 anchor_left = 0.030000001 anchor_top = 0.5 anchor_right = 0.030000001 anchor_bottom = 0.5 offset_left = 0.6399994 offset_right = 1472.64 offset_bottom = 128.0 metadata/_edit_use_anchors_ = true [node name="add_new_select" type="OptionButton" parent="."] unique_name_in_owner = true visible = false layout_mode = 1 anchors_preset = -1 anchor_left = 0.54545456 anchor_top = 0.6 anchor_right = 0.54545456 anchor_bottom = 0.6 offset_right = 512.0 offset_bottom = 64.0 metadata/_edit_use_anchors_ = true [node name="module" type="OptionButton" parent="."] unique_name_in_owner = true layout_mode = 1 anchors_preset = -1 anchor_left = 0.4848485 anchor_top = 0.2 anchor_right = 0.4848485 anchor_bottom = 0.2 offset_right = 256.0 offset_bottom = 64.0 metadata/_edit_use_anchors_ = true [node name="add_new" type="Button" parent="."] unique_name_in_owner = true layout_mode = 0 offset_left = 1600.0 offset_top = 192.0 offset_right = 1856.0 offset_bottom = 256.0 text = "Add list" [node name="categories" type="OptionButton" parent="."] unique_name_in_owner = true layout_mode = 1 anchors_preset = -1 anchor_left = 0.63600004 anchor_top = 0.2 anchor_right = 0.63600004 anchor_bottom = 0.2 offset_left = 0.76794434 offset_right = 256.76794 offset_bottom = 64.0 item_count = 1 popup/item_0/id = 0 metadata/_edit_use_anchors_ = true [connection signal="text_changed" from="item" to="." method="_on_item_text_changed"] [connection signal="item_selected" from="modules_list" to="." method="_on_modules_list_item_selected"] [connection signal="focus_exited" from="add_new_select" to="." method="_on_add_new_select_focus_exited"] [connection signal="item_selected" from="add_new_select" to="." method="_on_add_new_item_selected"] [connection signal="item_selected" from="module" to="." method="_on_module_item_selected"] [connection signal="button_up" from="add_new" to="." method="_on_add_new_button_up"] [connection signal="item_selected" from="categories" to="." method="_on_categories_item_selected"]