From 4d00996dcc2e3583d05a1d5b5bbfe59f618a8d78 Mon Sep 17 00:00:00 2001 From: bitbrain Date: Mon, 6 Jul 2026 20:08:53 +0100 Subject: [PATCH] support beehave_tree when duplicating scenes, closes #309 --- addons/beehave/nodes/beehave_tree.gd | 18 +- addons/gdUnit4/GdUnitRunner.cfg | 374 +++++++++++++++------------ test/beehave_tree_test.gd | 21 ++ 3 files changed, 234 insertions(+), 179 deletions(-) diff --git a/addons/beehave/nodes/beehave_tree.gd b/addons/beehave/nodes/beehave_tree.gd index f3d81e74..d73caaf2 100644 --- a/addons/beehave/nodes/beehave_tree.gd +++ b/addons/beehave/nodes/beehave_tree.gd @@ -33,10 +33,8 @@ signal tree_disabled @export_node_path var actor_node_path: NodePath: set(anp): actor_node_path = anp - if actor_node_path != null and str(actor_node_path) != "..": - actor = get_node(actor_node_path.get_as_property_path()) - else: - actor = get_parent() + if is_inside_tree(): + _resolve_actor() if Engine.is_editor_hint(): update_configuration_warnings() @@ -114,10 +112,7 @@ func _ready() -> void: process_thread = ProcessThread.PHYSICS if not actor: - if actor_node_path: - actor = get_node(actor_node_path) - else: - actor = get_parent() + _resolve_actor() if not blackboard: # invoke setter to auto-initialise the blackboard. @@ -144,6 +139,13 @@ func _ready() -> void: BeehaveDebuggerMessages.register_tree(_get_debugger_data(self)) +func _resolve_actor() -> void: + if actor_node_path.is_empty(): + actor = get_parent() + else: + actor = get_node_or_null(actor_node_path) + + func _on_scene_tree_node_added_removed(node: Node, is_added: bool) -> void: if Engine.is_editor_hint(): return diff --git a/addons/gdUnit4/GdUnitRunner.cfg b/addons/gdUnit4/GdUnitRunner.cfg index b0c73bf9..77b2c739 100644 --- a/addons/gdUnit4/GdUnitRunner.cfg +++ b/addons/gdUnit4/GdUnitRunner.cfg @@ -9,7 +9,7 @@ "attribute_index": -1, "display_name": "test_normal_tick", "fully_qualified_name": "test.beehave_tree_test.test_normal_tick", - "guid": "8b75afa1-d09e43a-897f777-5c626fed17", + "guid": "2e11a7c2-42cb4f3-788394c-bbbb4cf28f", "line_number": 19, "metadata": {}, "require_godot_runtime": true, @@ -25,7 +25,7 @@ "attribute_index": -1, "display_name": "test_low_tick_rate", "fully_qualified_name": "test.beehave_tree_test.test_low_tick_rate", - "guid": "977ff98e-ce3f481-5ab233f-8691bb04f4", + "guid": "0c8cb897-8b6d4c8-3b2d682-f3ff564446", "line_number": 26, "metadata": {}, "require_godot_runtime": true, @@ -41,7 +41,7 @@ "attribute_index": -1, "display_name": "test_low_tick_rate_last_tick", "fully_qualified_name": "test.beehave_tree_test.test_low_tick_rate_last_tick", - "guid": "3e3746cd-4f5945f-3825acf-dcff3e7956", + "guid": "cb03e304-8e70481-cbc83f3-1cca0fcef0", "line_number": 39, "metadata": {}, "require_godot_runtime": true, @@ -57,7 +57,7 @@ "attribute_index": -1, "display_name": "test_nothing_running_before_first_tick", "fully_qualified_name": "test.beehave_tree_test.test_nothing_running_before_first_tick", - "guid": "96a1b3b8-606c4cd-5995a5d-e7089b7bed", + "guid": "1344eb89-f2b2406-5a10daa-3bae7cdad1", "line_number": 50, "metadata": {}, "require_godot_runtime": true, @@ -73,7 +73,7 @@ "attribute_index": -1, "display_name": "test_get_last_condition", "fully_qualified_name": "test.beehave_tree_test.test_get_last_condition", - "guid": "9d6b1a5a-cda74dc-f808baf-8d818b9759", + "guid": "06856b6c-cda8473-78e09dd-d34be45fa0", "line_number": 58, "metadata": {}, "require_godot_runtime": true, @@ -89,7 +89,7 @@ "attribute_index": -1, "display_name": "test_disabled", "fully_qualified_name": "test.beehave_tree_test.test_disabled", - "guid": "2a5901f1-781744a-5b3a7f1-ff4f85b17a", + "guid": "806fb8a2-4a4f49e-ea90a84-70a73e59bb", "line_number": 67, "metadata": {}, "require_godot_runtime": true, @@ -105,7 +105,7 @@ "attribute_index": -1, "display_name": "test_reenabled", "fully_qualified_name": "test.beehave_tree_test.test_reenabled", - "guid": "bd35f514-8c28466-9afda60-88d33fd20c", + "guid": "0810c7a7-166b452-1967bc6-2954884bc5", "line_number": 77, "metadata": {}, "require_godot_runtime": true, @@ -121,7 +121,7 @@ "attribute_index": -1, "display_name": "test_interrupt_running_action", "fully_qualified_name": "test.beehave_tree_test.test_interrupt_running_action", - "guid": "257c3906-e4cc43f-49cbd06-1743b77000", + "guid": "8f59f7f5-bc24455-ab26a9c-8a6cf1e15c", "line_number": 87, "metadata": {}, "require_godot_runtime": true, @@ -137,7 +137,7 @@ "attribute_index": -1, "display_name": "test_blackboard_not_initialized", "fully_qualified_name": "test.beehave_tree_test.test_blackboard_not_initialized", - "guid": "891ffcfb-8685462-39c3ffe-f9d655da74", + "guid": "4c381b6b-7c534b7-19bea03-3375b799ad", "line_number": 99, "metadata": {}, "require_godot_runtime": true, @@ -146,6 +146,38 @@ "suite_resource_path": "res://test/beehave_tree_test.gd", "test_name": "test_blackboard_not_initialized" }, + { + "@path": "res://addons/gdUnit4/src/core/discovery/GdUnitTestCase.gd", + "@subpath": "", + "assembly_location": "", + "attribute_index": -1, + "display_name": "test_duplicated_tree_resolves_own_actor", + "fully_qualified_name": "test.beehave_tree_test.test_duplicated_tree_resolves_own_actor", + "guid": "88c53e06-569344e-0afbee0-e7c7ea5e71", + "line_number": 110, + "metadata": {}, + "require_godot_runtime": true, + "source_file": "res://test/beehave_tree_test.gd", + "suite_name": "beehave_tree_test", + "suite_resource_path": "res://test/beehave_tree_test.gd", + "test_name": "test_duplicated_tree_resolves_own_actor" + }, + { + "@path": "res://addons/gdUnit4/src/core/discovery/GdUnitTestCase.gd", + "@subpath": "", + "assembly_location": "", + "attribute_index": -1, + "display_name": "test_actor_node_path_resolved_when_added_to_tree", + "fully_qualified_name": "test.beehave_tree_test.test_actor_node_path_resolved_when_added_to_tree", + "guid": "f88627a8-fd41429-a99beb9-68f04907cf", + "line_number": 122, + "metadata": {}, + "require_godot_runtime": true, + "source_file": "res://test/beehave_tree_test.gd", + "suite_name": "beehave_tree_test", + "suite_resource_path": "res://test/beehave_tree_test.gd", + "test_name": "test_actor_node_path_resolved_when_added_to_tree" + }, { "@path": "res://addons/gdUnit4/src/core/discovery/GdUnitTestCase.gd", "@subpath": "", @@ -153,8 +185,8 @@ "attribute_index": -1, "display_name": "test_actor_override", "fully_qualified_name": "test.beehave_tree_test.test_actor_override", - "guid": "e784a0da-a57e433-b8c9ca2-df4185e617", - "line_number": 109, + "guid": "b0f3b8c4-07f244b-bba8fe3-5f8ae6d1bc", + "line_number": 131, "metadata": {}, "require_godot_runtime": true, "source_file": "res://test/beehave_tree_test.gd", @@ -169,8 +201,8 @@ "attribute_index": -1, "display_name": "test_manual_mode_does_not_auto_tick", "fully_qualified_name": "test.beehave_tree_test.test_manual_mode_does_not_auto_tick", - "guid": "de894fbe-7b5b4e7-58c9079-5212378065", - "line_number": 119, + "guid": "87e4eff5-58634d1-5b27d69-992aeecc2a", + "line_number": 141, "metadata": {}, "require_godot_runtime": true, "source_file": "res://test/beehave_tree_test.gd", @@ -185,8 +217,8 @@ "attribute_index": -1, "display_name": "test_manual_mode_can_tick_manually", "fully_qualified_name": "test.beehave_tree_test.test_manual_mode_can_tick_manually", - "guid": "b04ee6e5-77dc4a7-1adab8e-e68177e852", - "line_number": 134, + "guid": "7cc033e0-fff04b3-0824837-a4f85ee395", + "line_number": 156, "metadata": {}, "require_godot_runtime": true, "source_file": "res://test/beehave_tree_test.gd", @@ -201,8 +233,8 @@ "attribute_index": -1, "display_name": "test_manual_mode_respects_tick_rate", "fully_qualified_name": "test.beehave_tree_test.test_manual_mode_respects_tick_rate", - "guid": "7d32260e-56aa4b3-cb94221-f81433ae10", - "line_number": 153, + "guid": "936fb947-0a29440-6bc0b36-60abd6aa82", + "line_number": 175, "metadata": {}, "require_godot_runtime": true, "source_file": "res://test/beehave_tree_test.gd", @@ -217,8 +249,8 @@ "attribute_index": -1, "display_name": "test_manual_mode_can_be_disabled", "fully_qualified_name": "test.beehave_tree_test.test_manual_mode_can_be_disabled", - "guid": "e72f5d28-4f69498-9bb4954-9de5e51c89", - "line_number": 181, + "guid": "673966c7-d6854c9-fb46771-fa523769cd", + "line_number": 203, "metadata": {}, "require_godot_runtime": true, "source_file": "res://test/beehave_tree_test.gd", @@ -233,7 +265,7 @@ "attribute_index": -1, "display_name": "test_action_after_run", "fully_qualified_name": "test.before_after_run_test.test_action_after_run", - "guid": "0f5b3589-596b4ee-1b93ff2-bcd07c714d", + "guid": "f4e010f7-8fcd4ca-ca86566-c934e23223", "line_number": 30, "metadata": {}, "require_godot_runtime": true, @@ -249,7 +281,7 @@ "attribute_index": -1, "display_name": "test_has_value", "fully_qualified_name": "test.blackboard.blackboard_test.test_has_value", - "guid": "7d8e360c-707645e-d8b3d8b-156b6e1efa", + "guid": "170ea425-e46e4cd-0856945-64c5be7a1f", "line_number": 11, "metadata": {}, "require_godot_runtime": true, @@ -265,7 +297,7 @@ "attribute_index": -1, "display_name": "test_erase_value", "fully_qualified_name": "test.blackboard.blackboard_test.test_erase_value", - "guid": "15b49065-a0ee45b-b8a1299-f80829f1d1", + "guid": "0e695541-45e84e6-ca5a31d-ac13454bbd", "line_number": 18, "metadata": {}, "require_godot_runtime": true, @@ -281,7 +313,7 @@ "attribute_index": -1, "display_name": "test_separate_blackboard_erase_value", "fully_qualified_name": "test.blackboard.blackboard_test.test_separate_blackboard_erase_value", - "guid": "93823649-7465474-19c8341-46e8e949d4", + "guid": "c244a877-123f4cd-e9f635f-7443028c78", "line_number": 25, "metadata": {}, "require_godot_runtime": true, @@ -297,7 +329,7 @@ "attribute_index": -1, "display_name": "test_set_value", "fully_qualified_name": "test.blackboard.blackboard_test.test_set_value", - "guid": "060da6e5-574a41d-e967fab-1c0cf751f5", + "guid": "b624fad2-438c482-e9bea0f-5d63fc4cc0", "line_number": 32, "metadata": {}, "require_godot_runtime": true, @@ -313,7 +345,7 @@ "attribute_index": -1, "display_name": "test_separate_blackboard_id_value", "fully_qualified_name": "test.blackboard.blackboard_test.test_separate_blackboard_id_value", - "guid": "76b1e35d-42ab4d4-eb651b2-1ba61c225c", + "guid": "f2446c0e-ed0c453-6894d7f-fa5515fc93", "line_number": 38, "metadata": {}, "require_godot_runtime": true, @@ -329,7 +361,7 @@ "attribute_index": -1, "display_name": "test_get_default", "fully_qualified_name": "test.blackboard.blackboard_test.test_get_default", - "guid": "16444fba-e96e4df-a94948e-99966c68f7", + "guid": "14103e5b-a156406-c911fd0-490cd25481", "line_number": 46, "metadata": {}, "require_godot_runtime": true, @@ -345,7 +377,7 @@ "attribute_index": -1, "display_name": "test_blackboard_shared_between_trees", "fully_qualified_name": "test.blackboard.blackboard_test.test_blackboard_shared_between_trees", - "guid": "99fd9208-7b414d7-da1d007-3310dfb261", + "guid": "0512762d-ee08474-3a5f67f-f345406132", "line_number": 52, "metadata": {}, "require_godot_runtime": true, @@ -361,7 +393,7 @@ "attribute_index": -1, "display_name": "test_blackboard_property_shared_between_trees", "fully_qualified_name": "test.blackboard.blackboard_test.test_blackboard_property_shared_between_trees", - "guid": "e704788e-79534d4-5a29199-8f3f0558dc", + "guid": "2c2a04f3-596a401-6977dec-361e1eeeaa", "line_number": 63, "metadata": {}, "require_godot_runtime": true, @@ -377,7 +409,7 @@ "attribute_index": -1, "display_name": "test_separate_blackboards_independent_values", "fully_qualified_name": "test.blackboard.blackboard_test.test_separate_blackboards_independent_values", - "guid": "82f62023-044b49a-7ac03f5-b07fcc2e1b", + "guid": "dcde1cdb-df034c5-b901b06-1b7f7bdd50", "line_number": 76, "metadata": {}, "require_godot_runtime": true, @@ -393,7 +425,7 @@ "attribute_index": -1, "display_name": "test_debugger_renders_correctly", "fully_qualified_name": "test.debug.debugger_test.test_debugger_renders_correctly", - "guid": "f9985c81-d1c9441-8857c11-9db91313e8", + "guid": "5f353fd8-dc7f404-eb5c136-2931e7a6e7", "line_number": 16, "metadata": {}, "require_godot_runtime": true, @@ -409,7 +441,7 @@ "attribute_index": -1, "display_name": "test_changing_to_all_colors", "fully_qualified_name": "test.e2e_test.test_changing_to_all_colors", - "guid": "44f6bbc8-975c46c-e813681-cfce87be88", + "guid": "6bf13d06-bb34427-4bfe6ff-690f38de0b", "line_number": 15, "metadata": {}, "require_godot_runtime": true, @@ -425,7 +457,7 @@ "attribute_index": -1, "display_name": "test_always_executing_first_successful_node", "fully_qualified_name": "test.nodes.composites.selector_random_test.test_always_executing_first_successful_node", - "guid": "b1cf044e-99274ed-cb3c1a2-defc7d7327", + "guid": "56c635a2-62ee4dd-b8ab942-296e94a99b", "line_number": 38, "metadata": {}, "require_godot_runtime": true, @@ -441,7 +473,7 @@ "attribute_index": -1, "display_name": "test_execute_second_when_first_is_failing", "fully_qualified_name": "test.nodes.composites.selector_random_test.test_execute_second_when_first_is_failing", - "guid": "547c4a59-77c6479-f9db2e2-bbe426b8ae", + "guid": "c662ff68-d782401-2b4de0f-08442e682c", "line_number": 46, "metadata": {}, "require_godot_runtime": true, @@ -457,7 +489,7 @@ "attribute_index": -1, "display_name": "test_random_even_execution", "fully_qualified_name": "test.nodes.composites.selector_random_test.test_random_even_execution", - "guid": "e8b7664d-347641b-492e7d9-ad7978927c", + "guid": "3ede7db2-f183464-c84585e-c4e54e8ac1", "line_number": 55, "metadata": {}, "require_godot_runtime": true, @@ -473,7 +505,7 @@ "attribute_index": -1, "display_name": "test_return_failure_of_none_is_succeeding", "fully_qualified_name": "test.nodes.composites.selector_random_test.test_return_failure_of_none_is_succeeding", - "guid": "0cb26d5d-e031454-195370f-72f4d6f396", + "guid": "42bcf496-4986423-8960a53-63c69ea4ff", "line_number": 63, "metadata": {}, "require_godot_runtime": true, @@ -489,7 +521,7 @@ "attribute_index": -1, "display_name": "test_clear_running_child_after_run", "fully_qualified_name": "test.nodes.composites.selector_random_test.test_clear_running_child_after_run", - "guid": "ce58b4e6-c563493-7846c8f-9b7944aaff", + "guid": "6f60ba89-934340b-6a6ec1e-d74d784ce3", "line_number": 72, "metadata": {}, "require_godot_runtime": true, @@ -505,7 +537,7 @@ "attribute_index": -1, "display_name": "test_always_executing_first_successful_node", "fully_qualified_name": "test.nodes.composites.selector_reactive_test.test_always_executing_first_successful_node", - "guid": "22d6918d-3085438-7b50ffc-4b5626af26", + "guid": "1b4c8d88-92b04c6-98f535d-66d801cea5", "line_number": 38, "metadata": {}, "require_godot_runtime": true, @@ -521,7 +553,7 @@ "attribute_index": -1, "display_name": "test_execute_second_when_first_is_failing", "fully_qualified_name": "test.nodes.composites.selector_reactive_test.test_execute_second_when_first_is_failing", - "guid": "d38cc576-f04a4f5-2861790-d51cbcd40a", + "guid": "3dd8cdcb-125a46f-0bc630c-6c22734af3", "line_number": 48, "metadata": {}, "require_godot_runtime": true, @@ -537,7 +569,7 @@ "attribute_index": -1, "display_name": "test_return_failure_of_none_is_succeeding", "fully_qualified_name": "test.nodes.composites.selector_reactive_test.test_return_failure_of_none_is_succeeding", - "guid": "33000c10-a0de411-9a59976-a26e99f09c", + "guid": "0ba5081c-1add4d9-ba150c8-6bc1172375", "line_number": 61, "metadata": {}, "require_godot_runtime": true, @@ -553,7 +585,7 @@ "attribute_index": -1, "display_name": "test_keeps_restarting_child_until_success", "fully_qualified_name": "test.nodes.composites.selector_reactive_test.test_keeps_restarting_child_until_success", - "guid": "8867f4cb-2bfd4b6-f9c7484-72e15a9cd3", + "guid": "0d80e830-4f2c4ed-8997d78-8614d6816e", "line_number": 71, "metadata": {}, "require_godot_runtime": true, @@ -569,7 +601,7 @@ "attribute_index": -1, "display_name": "test_keeps_restarting_child_until_failure", "fully_qualified_name": "test.nodes.composites.selector_reactive_test.test_keeps_restarting_child_until_failure", - "guid": "ea0e32de-d00647a-4a19ffb-6e2270af6e", + "guid": "69104d34-89284f5-da54564-d4ad28ff65", "line_number": 92, "metadata": {}, "require_godot_runtime": true, @@ -585,7 +617,7 @@ "attribute_index": -1, "display_name": "test_interrupt_second_when_first_is_running", "fully_qualified_name": "test.nodes.composites.selector_reactive_test.test_interrupt_second_when_first_is_running", - "guid": "44930197-6a39450-b87203a-fd4e255fc3", + "guid": "a2d6b64b-3a38444-0a04c08-32b42e5936", "line_number": 113, "metadata": {}, "require_godot_runtime": true, @@ -601,7 +633,7 @@ "attribute_index": -1, "display_name": "test_clear_running_child_after_run", "fully_qualified_name": "test.nodes.composites.selector_reactive_test.test_clear_running_child_after_run", - "guid": "09b3011c-963b45c-d818fc9-c90d30f7b4", + "guid": "28327ad6-0fee4d4-2bf3bdb-d3fd905069", "line_number": 126, "metadata": {}, "require_godot_runtime": true, @@ -617,7 +649,7 @@ "attribute_index": -1, "display_name": "test_branch_change_detection", "fully_qualified_name": "test.nodes.composites.selector_reactive_test.test_branch_change_detection", - "guid": "86b2e1fb-97c44bd-8a4ca8e-8f318fed57", + "guid": "2dec4192-7a65413-79ade35-e890db6e64", "line_number": 136, "metadata": {}, "require_godot_runtime": true, @@ -633,7 +665,7 @@ "attribute_index": -1, "display_name": "test_complex_nested_selector_interruption", "fully_qualified_name": "test.nodes.composites.selector_reactive_test.test_complex_nested_selector_interruption", - "guid": "ccc920fd-c5a2451-6891eea-6ff4c94cbf", + "guid": "7cec4123-b2a24e0-2bf906c-bc0ac36ab0", "line_number": 171, "metadata": {}, "require_godot_runtime": true, @@ -649,7 +681,7 @@ "attribute_index": -1, "display_name": "test_interrupt_all_children_after_all_failed", "fully_qualified_name": "test.nodes.composites.selector_reactive_test.test_interrupt_all_children_after_all_failed", - "guid": "dc9c8d5d-9efd47b-280b8a8-4bd4a4964b", + "guid": "985696a0-3007472-c8174e8-2147980402", "line_number": 245, "metadata": {}, "require_godot_runtime": true, @@ -665,7 +697,7 @@ "attribute_index": -1, "display_name": "test_nested_interrupt_after_all_failed", "fully_qualified_name": "test.nodes.composites.selector_reactive_test.test_nested_interrupt_after_all_failed", - "guid": "41c9708c-f52e4f9-eb349ed-21ef07df6d", + "guid": "0a41b2dc-1d6c4b3-59d78ea-0448e2445b", "line_number": 305, "metadata": {}, "require_godot_runtime": true, @@ -681,7 +713,7 @@ "attribute_index": -1, "display_name": "test_always_executing_first_successful_node", "fully_qualified_name": "test.nodes.composites.selector_test.test_always_executing_first_successful_node", - "guid": "d1423f4b-de534a4-7a11d2b-097dbadca9", + "guid": "27d44540-b168484-48aad6b-7dfdf61a53", "line_number": 38, "metadata": {}, "require_godot_runtime": true, @@ -697,7 +729,7 @@ "attribute_index": -1, "display_name": "test_execute_second_when_first_is_failing", "fully_qualified_name": "test.nodes.composites.selector_test.test_execute_second_when_first_is_failing", - "guid": "bffee9f1-cb994ff-2848026-dd31efec25", + "guid": "e1b580bd-b24b4b9-fb2e870-951f6cf6d7", "line_number": 45, "metadata": {}, "require_godot_runtime": true, @@ -713,7 +745,7 @@ "attribute_index": -1, "display_name": "test_return_failure_of_none_is_succeeding", "fully_qualified_name": "test.nodes.composites.selector_test.test_return_failure_of_none_is_succeeding", - "guid": "f53c7e8e-113848d-cb13b5a-e7eaecdca8", + "guid": "0f30bbc0-17f8496-bacc633-b2ef0075dd", "line_number": 53, "metadata": {}, "require_godot_runtime": true, @@ -729,7 +761,7 @@ "attribute_index": -1, "display_name": "test_not_interrupt_second_when_first_is_succeeding", "fully_qualified_name": "test.nodes.composites.selector_test.test_not_interrupt_second_when_first_is_succeeding", - "guid": "2db30506-38e74c3-98e048c-f19154dea2", + "guid": "eb99bb25-3e614a7-eb26c91-5d943fe07b", "line_number": 61, "metadata": {}, "require_godot_runtime": true, @@ -745,7 +777,7 @@ "attribute_index": -1, "display_name": "test_not_interrupt_second_when_first_is_running", "fully_qualified_name": "test.nodes.composites.selector_test.test_not_interrupt_second_when_first_is_running", - "guid": "62e67c8f-71de449-b9675e2-c12bcc3872", + "guid": "fea1fa2e-9d3a4a5-b968b43-d593899b6b", "line_number": 74, "metadata": {}, "require_godot_runtime": true, @@ -761,7 +793,7 @@ "attribute_index": -1, "display_name": "test_tick_again_when_child_returns_running", "fully_qualified_name": "test.nodes.composites.selector_test.test_tick_again_when_child_returns_running", - "guid": "17293a0b-d8a745c-5bc2011-863de8af1f", + "guid": "b2c4728c-fdb544a-68fa0f9-baea10d5e3", "line_number": 87, "metadata": {}, "require_godot_runtime": true, @@ -777,7 +809,7 @@ "attribute_index": -1, "display_name": "test_clear_running_child_after_run", "fully_qualified_name": "test.nodes.composites.selector_test.test_clear_running_child_after_run", - "guid": "c9ad2d5f-5f6a4d2-6b69494-c3cab35810", + "guid": "b96e3177-1767471-39cd17e-b217be11cb", "line_number": 96, "metadata": {}, "require_godot_runtime": true, @@ -793,7 +825,7 @@ "attribute_index": -1, "display_name": "test_not_interrupt_first_after_finished", "fully_qualified_name": "test.nodes.composites.selector_test.test_not_interrupt_first_after_finished", - "guid": "0aecdb61-e52842a-59a245f-72eb519980", + "guid": "21d1ebb5-894740d-69c196a-02ec5214f7", "line_number": 106, "metadata": {}, "require_godot_runtime": true, @@ -809,7 +841,7 @@ "attribute_index": -1, "display_name": "test_branch_change_resets_cooldown", "fully_qualified_name": "test.nodes.composites.selector_test.test_branch_change_resets_cooldown", - "guid": "dd438632-abde41d-fac0f87-cc4bd11d46", + "guid": "a983ffd4-4d47427-4a9edaf-d62d17bd70", "line_number": 132, "metadata": {}, "require_godot_runtime": true, @@ -825,7 +857,7 @@ "attribute_index": -1, "display_name": "test_nested_selector_interruption", "fully_qualified_name": "test.nodes.composites.selector_test.test_nested_selector_interruption", - "guid": "94ad22a1-585e464-dbf8791-76f6db84b6", + "guid": "ce244ad0-59cf4b7-39461cb-21e14d639b", "line_number": 192, "metadata": {}, "require_godot_runtime": true, @@ -841,7 +873,7 @@ "attribute_index": -1, "display_name": "test_complex_nested_selector_interruption", "fully_qualified_name": "test.nodes.composites.selector_test.test_complex_nested_selector_interruption", - "guid": "f6ab471f-dd2d4c3-08dad13-d93751dee3", + "guid": "77d1b92b-47634a3-18c0868-f7e4e0a3a4", "line_number": 229, "metadata": {}, "require_godot_runtime": true, @@ -857,7 +889,7 @@ "attribute_index": -1, "display_name": "test_interrupt_all_children_after_all_failed", "fully_qualified_name": "test.nodes.composites.selector_test.test_interrupt_all_children_after_all_failed", - "guid": "b3156307-a91e4e4-4b833be-2c14b88ca6", + "guid": "e5269ae6-dee1471-a91807f-8ca917a1c2", "line_number": 304, "metadata": {}, "require_godot_runtime": true, @@ -873,7 +905,7 @@ "attribute_index": -1, "display_name": "test_nested_interrupt_after_all_failed", "fully_qualified_name": "test.nodes.composites.selector_test.test_nested_interrupt_after_all_failed", - "guid": "c0ad19f4-7d76479-4afe6db-e5e0e307a6", + "guid": "52559610-aa5649c-b890a90-b2ae6bf9af", "line_number": 364, "metadata": {}, "require_godot_runtime": true, @@ -889,7 +921,7 @@ "attribute_index": -1, "display_name": "test_interrupt_all_children_after_failure_return", "fully_qualified_name": "test.nodes.composites.selector_test.test_interrupt_all_children_after_failure_return", - "guid": "c7517607-d6384e8-d903cbd-b630d3ced9", + "guid": "9d3924c0-521e466-7ae20e3-2f4e6f45fd", "line_number": 428, "metadata": {}, "require_godot_runtime": true, @@ -905,7 +937,7 @@ "attribute_index": -1, "display_name": "test_always_executing_first_successful_node", "fully_qualified_name": "test.nodes.composites.sequence_random_test.test_always_executing_first_successful_node", - "guid": "f57fd9ea-34344c2-fb0ef5f-209acc021d", + "guid": "38648f58-a19348b-28c8d2c-bb1dd80f67", "line_number": 39, "metadata": {}, "require_godot_runtime": true, @@ -921,7 +953,7 @@ "attribute_index": -1, "display_name": "test_execute_second_when_first_is_failing", "fully_qualified_name": "test.nodes.composites.sequence_random_test.test_execute_second_when_first_is_failing", - "guid": "91461eb9-6ac74af-a8c488c-5c8994007d", + "guid": "1474b955-b735488-787c7bc-08c6612ed2", "line_number": 49, "metadata": {}, "require_godot_runtime": true, @@ -937,7 +969,7 @@ "attribute_index": -1, "display_name": "test_random_even_execution", "fully_qualified_name": "test.nodes.composites.sequence_random_test.test_random_even_execution", - "guid": "e109d0f8-676d462-5999949-c009bcb3d3", + "guid": "62335522-2712461-f81ae2e-528082d6a5", "line_number": 60, "metadata": {}, "require_godot_runtime": true, @@ -953,7 +985,7 @@ "attribute_index": -1, "display_name": "test_weighted_random_sampling", "fully_qualified_name": "test.nodes.composites.sequence_random_test.test_weighted_random_sampling", - "guid": "c8836aaa-d2d64b2-cb1bd3e-8293b504bf", + "guid": "6697a47e-3e8f48d-7a2c90c-8fc061bfe7", "line_number": 68, "metadata": {}, "require_godot_runtime": true, @@ -969,7 +1001,7 @@ "attribute_index": -1, "display_name": "test_return_failure_of_none_is_succeeding", "fully_qualified_name": "test.nodes.composites.sequence_random_test.test_return_failure_of_none_is_succeeding", - "guid": "741531c1-2cff423-6b79bcd-683f762f41", + "guid": "86d4cba6-0373452-4b2ab9c-8798c97e4e", "line_number": 98, "metadata": {}, "require_godot_runtime": true, @@ -985,7 +1017,7 @@ "attribute_index": -1, "display_name": "test_clear_running_child_after_run", "fully_qualified_name": "test.nodes.composites.sequence_random_test.test_clear_running_child_after_run", - "guid": "ac78b416-73d443c-88799c5-7f0db76ce0", + "guid": "56ad838d-4a2d4bb-1aa7302-e6b417a7f4", "line_number": 108, "metadata": {}, "require_godot_runtime": true, @@ -1001,7 +1033,7 @@ "attribute_index": -1, "display_name": "test_always_exexuting_all_successful_nodes", "fully_qualified_name": "test.nodes.composites.sequence_reactive_test.test_always_exexuting_all_successful_nodes", - "guid": "10a8ca28-03344d1-4a3da41-ade2b10cd7", + "guid": "d3ef4d3d-e86d4d4-8aa0634-221b05851f", "line_number": 37, "metadata": {}, "require_godot_runtime": true, @@ -1017,7 +1049,7 @@ "attribute_index": -1, "display_name": "test_never_execute_second_when_first_is_failing", "fully_qualified_name": "test.nodes.composites.sequence_reactive_test.test_never_execute_second_when_first_is_failing", - "guid": "37c91867-602a46b-c8e3876-00e024848f", + "guid": "61401694-87904dd-bbcc7f7-d679f47d4c", "line_number": 47, "metadata": {}, "require_godot_runtime": true, @@ -1033,7 +1065,7 @@ "attribute_index": -1, "display_name": "test_keeps_running_child_until_success", "fully_qualified_name": "test.nodes.composites.sequence_reactive_test.test_keeps_running_child_until_success", - "guid": "7308af39-fbca400-0aee18c-b6b18e231c", + "guid": "9483423e-fc264dc-0b1c76f-5c493e432c", "line_number": 58, "metadata": {}, "require_godot_runtime": true, @@ -1049,7 +1081,7 @@ "attribute_index": -1, "display_name": "test_keeps_running_child_until_failure", "fully_qualified_name": "test.nodes.composites.sequence_reactive_test.test_keeps_running_child_until_failure", - "guid": "1c45eeeb-c357421-ba61eaa-32f6c0cf2d", + "guid": "310f49cb-da6c426-1aa75a9-89156a0e13", "line_number": 79, "metadata": {}, "require_godot_runtime": true, @@ -1065,7 +1097,7 @@ "attribute_index": -1, "display_name": "test_restart_when_child_returns_failure", "fully_qualified_name": "test.nodes.composites.sequence_reactive_test.test_restart_when_child_returns_failure", - "guid": "c0b9b17b-97ac4ee-c9c491a-aea06a12f3", + "guid": "f5d557e9-d1ff48e-185e621-2551484b4f", "line_number": 100, "metadata": {}, "require_godot_runtime": true, @@ -1081,7 +1113,7 @@ "attribute_index": -1, "display_name": "test_restart_again_when_child_returns_running", "fully_qualified_name": "test.nodes.composites.sequence_reactive_test.test_restart_again_when_child_returns_running", - "guid": "b34d1866-175b4c4-79bfa7c-6d4ecb2b5f", + "guid": "c41562ef-b6c4478-c891e24-4fb371ef54", "line_number": 109, "metadata": {}, "require_godot_runtime": true, @@ -1097,7 +1129,7 @@ "attribute_index": -1, "display_name": "test_interrupt_second_when_first_is_running", "fully_qualified_name": "test.nodes.composites.sequence_reactive_test.test_interrupt_second_when_first_is_running", - "guid": "2cfcc35a-7ac546a-bb491dd-04a003b891", + "guid": "b5ad0ed8-9d4341d-abb6f40-868af12d62", "line_number": 118, "metadata": {}, "require_godot_runtime": true, @@ -1113,7 +1145,7 @@ "attribute_index": -1, "display_name": "test_clear_running_child_after_run", "fully_qualified_name": "test.nodes.composites.sequence_reactive_test.test_clear_running_child_after_run", - "guid": "20096387-8515491-1aeb069-7fab3500d8", + "guid": "4e9ccd9e-f5e541f-09975dc-93477877f7", "line_number": 131, "metadata": {}, "require_godot_runtime": true, @@ -1129,7 +1161,7 @@ "attribute_index": -1, "display_name": "test_branch_change_detection_on_failure", "fully_qualified_name": "test.nodes.composites.sequence_reactive_test.test_branch_change_detection_on_failure", - "guid": "385bc2b0-040a4fe-6891b54-6c1d2377e8", + "guid": "5398528a-24d0467-aadb399-e9d77dcbc1", "line_number": 141, "metadata": {}, "require_godot_runtime": true, @@ -1145,7 +1177,7 @@ "attribute_index": -1, "display_name": "test_nested_sequence_interrupt", "fully_qualified_name": "test.nodes.composites.sequence_reactive_test.test_nested_sequence_interrupt", - "guid": "fcff4689-a686422-fb90d39-5534127a3e", + "guid": "cc81f19d-f0664fb-fbd4ad8-14032b11ee", "line_number": 173, "metadata": {}, "require_godot_runtime": true, @@ -1161,7 +1193,7 @@ "attribute_index": -1, "display_name": "test_nested_sequence_child_failure_interrupt", "fully_qualified_name": "test.nodes.composites.sequence_reactive_test.test_nested_sequence_child_failure_interrupt", - "guid": "6d00b36f-b3fd449-4b6d64a-8e09838004", + "guid": "81356836-01e04d8-a8e2060-e21b4020ad", "line_number": 232, "metadata": {}, "require_godot_runtime": true, @@ -1177,7 +1209,7 @@ "attribute_index": -1, "display_name": "test_always_exexuting_all_successful_nodes", "fully_qualified_name": "test.nodes.composites.sequence_star_test.test_always_exexuting_all_successful_nodes", - "guid": "77811464-f50847e-fa8cdec-8773add522", + "guid": "34a69f78-ade24ce-98e2b1d-d6bdfc0225", "line_number": 38, "metadata": {}, "require_godot_runtime": true, @@ -1193,7 +1225,7 @@ "attribute_index": -1, "display_name": "test_never_execute_second_when_first_is_failing", "fully_qualified_name": "test.nodes.composites.sequence_star_test.test_never_execute_second_when_first_is_failing", - "guid": "2b12deb0-9ce0482-88935f7-953817d0a2", + "guid": "b6675a95-be47434-396d472-2816865fad", "line_number": 48, "metadata": {}, "require_godot_runtime": true, @@ -1209,7 +1241,7 @@ "attribute_index": -1, "display_name": "test_keeps_running_child_until_success", "fully_qualified_name": "test.nodes.composites.sequence_star_test.test_keeps_running_child_until_success", - "guid": "59c25d6c-4a984dd-ba1e28f-24323c41b4", + "guid": "4a3124fd-b04942e-98d5fe8-0d6b050a73", "line_number": 59, "metadata": {}, "require_godot_runtime": true, @@ -1225,7 +1257,7 @@ "attribute_index": -1, "display_name": "test_keeps_running_child_until_failure", "fully_qualified_name": "test.nodes.composites.sequence_star_test.test_keeps_running_child_until_failure", - "guid": "13f6157d-8bc24ad-88856c1-d61eb2bc4f", + "guid": "1267008a-d241449-18a7ce9-9134da2201", "line_number": 80, "metadata": {}, "require_godot_runtime": true, @@ -1241,7 +1273,7 @@ "attribute_index": -1, "display_name": "test_tick_again_when_child_returns_failure", "fully_qualified_name": "test.nodes.composites.sequence_star_test.test_tick_again_when_child_returns_failure", - "guid": "7847179e-26f64a8-9be8315-5143c52df0", + "guid": "5cfcf869-2c1e411-cb484d5-774abca833", "line_number": 103, "metadata": {}, "require_godot_runtime": true, @@ -1257,7 +1289,7 @@ "attribute_index": -1, "display_name": "test_tick_again_when_child_returns_running", "fully_qualified_name": "test.nodes.composites.sequence_star_test.test_tick_again_when_child_returns_running", - "guid": "19b3ddbe-5c044d6-e8af62b-62f3af24de", + "guid": "bd39ff12-c8c14a7-9a60feb-8860635e5c", "line_number": 112, "metadata": {}, "require_godot_runtime": true, @@ -1273,7 +1305,7 @@ "attribute_index": -1, "display_name": "test_clear_running_child_after_run", "fully_qualified_name": "test.nodes.composites.sequence_star_test.test_clear_running_child_after_run", - "guid": "f151045f-7007431-989674f-20c14223fd", + "guid": "d6a3b610-8eae4e0-2bff96c-8c0167327b", "line_number": 121, "metadata": {}, "require_godot_runtime": true, @@ -1289,7 +1321,7 @@ "attribute_index": -1, "display_name": "test_branch_change_detection_on_failure", "fully_qualified_name": "test.nodes.composites.sequence_star_test.test_branch_change_detection_on_failure", - "guid": "b7d7eda5-b30c495-69d27c6-c21f9cd2c1", + "guid": "aae717ba-a452468-38a5a91-66c403c9c9", "line_number": 131, "metadata": {}, "require_godot_runtime": true, @@ -1305,7 +1337,7 @@ "attribute_index": -1, "display_name": "test_branch_change_detection_on_consequent_failure", "fully_qualified_name": "test.nodes.composites.sequence_star_test.test_branch_change_detection_on_consequent_failure", - "guid": "e7294860-b0cc4f6-b8e7353-aabb64150f", + "guid": "256f0ca3-8c8c423-4909983-b3efcafbe1", "line_number": 157, "metadata": {}, "require_godot_runtime": true, @@ -1321,7 +1353,7 @@ "attribute_index": -1, "display_name": "test_nested_sequence_interrupt", "fully_qualified_name": "test.nodes.composites.sequence_star_test.test_nested_sequence_interrupt", - "guid": "a5407160-e79440e-ea61ae2-91de01dbfb", + "guid": "88553800-f77b4b3-eb11765-21014f07cb", "line_number": 188, "metadata": {}, "require_godot_runtime": true, @@ -1337,7 +1369,7 @@ "attribute_index": -1, "display_name": "test_nested_sequence_child_failure_interrupt", "fully_qualified_name": "test.nodes.composites.sequence_star_test.test_nested_sequence_child_failure_interrupt", - "guid": "98298060-21a24a3-f876695-c7de5da2c3", + "guid": "8aceb3de-c50748e-8ab5649-4db747feae", "line_number": 247, "metadata": {}, "require_godot_runtime": true, @@ -1353,7 +1385,7 @@ "attribute_index": -1, "display_name": "test_always_executing_all_successful_nodes", "fully_qualified_name": "test.nodes.composites.sequence_test.test_always_executing_all_successful_nodes", - "guid": "485bd8ca-c87b42a-db51dd9-c891e67b07", + "guid": "02585c92-6eae489-eaa5c6c-b86e80bb77", "line_number": 37, "metadata": {}, "require_godot_runtime": true, @@ -1369,7 +1401,7 @@ "attribute_index": -1, "display_name": "test_never_execute_second_when_first_is_failing", "fully_qualified_name": "test.nodes.composites.sequence_test.test_never_execute_second_when_first_is_failing", - "guid": "5efbd77a-414c446-a97d882-5c8c363dc5", + "guid": "948a83c4-ca1145d-1876f2c-eb500071c7", "line_number": 44, "metadata": {}, "require_godot_runtime": true, @@ -1385,7 +1417,7 @@ "attribute_index": -1, "display_name": "test_not_interrupt_second_when_first_is_failing", "fully_qualified_name": "test.nodes.composites.sequence_test.test_not_interrupt_second_when_first_is_failing", - "guid": "4191c7e3-fbc342c-3bf2c5a-b61da326b7", + "guid": "cae7e6ce-70f344f-eb66158-324ad7a823", "line_number": 52, "metadata": {}, "require_godot_runtime": true, @@ -1401,7 +1433,7 @@ "attribute_index": -1, "display_name": "test_not_interrupting_second_when_first_is_running", "fully_qualified_name": "test.nodes.composites.sequence_test.test_not_interrupting_second_when_first_is_running", - "guid": "91182bc7-6e2c4b5-39e0482-7d950164ef", + "guid": "c84b8d32-1366441-39c5cf4-8c105c52ee", "line_number": 65, "metadata": {}, "require_godot_runtime": true, @@ -1417,7 +1449,7 @@ "attribute_index": -1, "display_name": "test_restart_when_child_returns_failure", "fully_qualified_name": "test.nodes.composites.sequence_test.test_restart_when_child_returns_failure", - "guid": "63ecea57-56404ad-9a683c1-4efbead1f8", + "guid": "fab88354-1f81494-cb1435e-1fd88f7d65", "line_number": 78, "metadata": {}, "require_godot_runtime": true, @@ -1433,7 +1465,7 @@ "attribute_index": -1, "display_name": "test_tick_again_when_child_returns_running", "fully_qualified_name": "test.nodes.composites.sequence_test.test_tick_again_when_child_returns_running", - "guid": "8a54bb11-4a5e48e-184eb89-6d60d9e987", + "guid": "fcee308d-7b5448f-68b14a1-8d567ca9a4", "line_number": 87, "metadata": {}, "require_godot_runtime": true, @@ -1449,7 +1481,7 @@ "attribute_index": -1, "display_name": "test_clear_running_child_after_run", "fully_qualified_name": "test.nodes.composites.sequence_test.test_clear_running_child_after_run", - "guid": "9d1fdfad-77434d1-59b293e-54dc39af6d", + "guid": "fa18af38-2a86450-9bbbb78-084db2c1db", "line_number": 96, "metadata": {}, "require_godot_runtime": true, @@ -1465,7 +1497,7 @@ "attribute_index": -1, "display_name": "test_not_interrupt_first_after_finished", "fully_qualified_name": "test.nodes.composites.sequence_test.test_not_interrupt_first_after_finished", - "guid": "ca35249b-ffd9477-88722ff-b055bd544d", + "guid": "4bc5d417-8cfa42b-e8aba78-f7acde77a3", "line_number": 106, "metadata": {}, "require_godot_runtime": true, @@ -1481,7 +1513,7 @@ "attribute_index": -1, "display_name": "test_branch_change_detection_on_consequent_failure", "fully_qualified_name": "test.nodes.composites.sequence_test.test_branch_change_detection_on_consequent_failure", - "guid": "adc6a7c0-64164f7-6b7f441-2084f91191", + "guid": "689294ac-d6a2492-fa440d0-b87efdced7", "line_number": 130, "metadata": {}, "require_godot_runtime": true, @@ -1497,7 +1529,7 @@ "attribute_index": -1, "display_name": "test_nested_sequence_interrupt", "fully_qualified_name": "test.nodes.composites.sequence_test.test_nested_sequence_interrupt", - "guid": "5deb079d-d48147d-d8960bf-7cecaae525", + "guid": "e0cbc14c-8884475-caf58eb-67602cd652", "line_number": 160, "metadata": {}, "require_godot_runtime": true, @@ -1513,7 +1545,7 @@ "attribute_index": -1, "display_name": "test_nested_sequence_child_failure_interrupt", "fully_qualified_name": "test.nodes.composites.sequence_test.test_nested_sequence_child_failure_interrupt", - "guid": "f9387fd6-2b3b4fb-388278a-92abd36692", + "guid": "92d602d1-658d4b3-7bcef03-14bdc0b040", "line_number": 216, "metadata": {}, "require_godot_runtime": true, @@ -1529,7 +1561,7 @@ "attribute_index": -1, "display_name": "test_always_return_first_node_result", "fully_qualified_name": "test.nodes.composites.simple_parallel_test.test_always_return_first_node_result", - "guid": "a41af393-e6b1493-78d7fc8-f1c539b666", + "guid": "0e29ed41-200b41e-190ccf8-262357ad0a", "line_number": 37, "metadata": {}, "require_godot_runtime": true, @@ -1545,7 +1577,7 @@ "attribute_index": -1, "display_name": "test_interrupt_second_when_first_is_succeeding", "fully_qualified_name": "test.nodes.composites.simple_parallel_test.test_interrupt_second_when_first_is_succeeding", - "guid": "3b55e1a3-49a5491-19eb71b-4c42df9b4f", + "guid": "1968b73a-d2aa426-4894ba5-a292242f0e", "line_number": 50, "metadata": {}, "require_godot_runtime": true, @@ -1561,7 +1593,7 @@ "attribute_index": -1, "display_name": "test_interrupt_second_when_first_is_failing", "fully_qualified_name": "test.nodes.composites.simple_parallel_test.test_interrupt_second_when_first_is_failing", - "guid": "a2d09fbc-f3ad44b-99494ca-8f8007ed9a", + "guid": "09a6356a-ee09403-58f16ad-b67605c8cb", "line_number": 63, "metadata": {}, "require_godot_runtime": true, @@ -1577,7 +1609,7 @@ "attribute_index": -1, "display_name": "test_continue_tick_when_child_returns_failing", "fully_qualified_name": "test.nodes.composites.simple_parallel_test.test_continue_tick_when_child_returns_failing", - "guid": "00104b66-40564b8-d8b93a8-092bc5d64e", + "guid": "efad5726-e4c24b4-da08cbe-02925ac125", "line_number": 76, "metadata": {}, "require_godot_runtime": true, @@ -1593,7 +1625,7 @@ "attribute_index": -1, "display_name": "test_child_continue_tick_in_delay_mode", "fully_qualified_name": "test.nodes.composites.simple_parallel_test.test_child_continue_tick_in_delay_mode", - "guid": "2cd06d90-c28d4b2-f9beb0e-8e8b9ecff6", + "guid": "a576ad09-fc834c0-a938462-28abf2de41", "line_number": 88, "metadata": {}, "require_godot_runtime": true, @@ -1609,7 +1641,7 @@ "attribute_index": -1, "display_name": "test_child_tick_count", "fully_qualified_name": "test.nodes.composites.simple_parallel_test.test_child_tick_count", - "guid": "2affac84-726a4ab-898d04c-e8e45c1ef4", + "guid": "91b44060-6ca3401-bb74382-adea71d601", "line_number": 107, "metadata": {}, "require_godot_runtime": true, @@ -1625,7 +1657,7 @@ "attribute_index": -1, "display_name": "test_nested_simple_parallel", "fully_qualified_name": "test.nodes.composites.simple_parallel_test.test_nested_simple_parallel", - "guid": "f46156a4-e703423-fae1607-826c576d49", + "guid": "e6e07420-7b634cf-c826cd4-d044e8e8e8", "line_number": 133, "metadata": {}, "require_godot_runtime": true, @@ -1641,7 +1673,7 @@ "attribute_index": -1, "display_name": "test_running_then_fail", "fully_qualified_name": "test.nodes.decorators.cooldown_test.test_running_then_fail", - "guid": "6319680a-f7ee4ff-2866b16-c7490f9d47", + "guid": "6e085970-edcf41b-d9a0502-b1ddda1210", "line_number": 49, "metadata": {}, "require_godot_runtime": true, @@ -1657,7 +1689,7 @@ "attribute_index": -1, "display_name": "test_interrupt_propagates_when_actionleaf", "fully_qualified_name": "test.nodes.decorators.cooldown_test.test_interrupt_propagates_when_actionleaf", - "guid": "ebbb21e6-b8a5458-69383b7-9d82345ef1", + "guid": "1961c797-493b47a-4b96511-b43f5e4bf4", "line_number": 61, "metadata": {}, "require_godot_runtime": true, @@ -1673,7 +1705,7 @@ "attribute_index": -1, "display_name": "test_interrupt_propagates_when_composite", "fully_qualified_name": "test.nodes.decorators.cooldown_test.test_interrupt_propagates_when_composite", - "guid": "58432a9b-f30f4ce-6969891-1e69be1148", + "guid": "b85cc5a8-b2cf49f-4961c4f-c11906a1a5", "line_number": 71, "metadata": {}, "require_godot_runtime": true, @@ -1689,7 +1721,7 @@ "attribute_index": -1, "display_name": "test_after_run_called_on_success", "fully_qualified_name": "test.nodes.decorators.cooldown_test.test_after_run_called_on_success", - "guid": "3153d185-c4d743c-59baf4e-1d07626835", + "guid": "f104ba78-928046d-2862e25-369ae14102", "line_number": 88, "metadata": {}, "require_godot_runtime": true, @@ -1705,7 +1737,7 @@ "attribute_index": -1, "display_name": "test_after_run_called_on_failure", "fully_qualified_name": "test.nodes.decorators.cooldown_test.test_after_run_called_on_failure", - "guid": "6dc618f8-1dc44da-69cef23-db9561fe0f", + "guid": "edd40842-9a584ce-db06b50-b214be58ba", "line_number": 103, "metadata": {}, "require_godot_runtime": true, @@ -1721,7 +1753,7 @@ "attribute_index": -1, "display_name": "test_after_run_not_called_during_cooldown", "fully_qualified_name": "test.nodes.decorators.cooldown_test.test_after_run_not_called_during_cooldown", - "guid": "8aa70957-a08840c-6a35537-02d1f94c93", + "guid": "17b748c0-0d7244e-09f8c27-c27211d144", "line_number": 118, "metadata": {}, "require_godot_runtime": true, @@ -1737,7 +1769,7 @@ "attribute_index": -1, "display_name": "test_before_run_only_called_once_per_cooldown", "fully_qualified_name": "test.nodes.decorators.cooldown_test.test_before_run_only_called_once_per_cooldown", - "guid": "c2fd8696-6cec4de-b8df9c7-d2acb96b28", + "guid": "a9ef573f-656e4b5-0970497-6c50b737c2", "line_number": 134, "metadata": {}, "require_godot_runtime": true, @@ -1753,7 +1785,7 @@ "attribute_index": -1, "display_name": "test_cooldown_reset_on_interrupt", "fully_qualified_name": "test.nodes.decorators.cooldown_test.test_cooldown_reset_on_interrupt", - "guid": "f6c0fcc8-d66d459-9b2f4ee-a1a70ba6bb", + "guid": "6558b6b6-b350484-3a80075-d7f4a5bcb1", "line_number": 153, "metadata": {}, "require_godot_runtime": true, @@ -1769,7 +1801,7 @@ "attribute_index": -1, "display_name": "test_return_success_after_delay", "fully_qualified_name": "test.nodes.decorators.delayer_test.test_return_success_after_delay", - "guid": "11481477-5b4946f-8bf5138-375925045e", + "guid": "3f84a2a4-cf044a6-fb5b763-241cac157c", "line_number": 35, "metadata": {}, "require_godot_runtime": true, @@ -1785,7 +1817,7 @@ "attribute_index": -1, "display_name": "test_return_running_after_delay", "fully_qualified_name": "test.nodes.decorators.delayer_test.test_return_running_after_delay", - "guid": "995add94-421f485-98973f9-526fac44e6", + "guid": "381c1ebd-7f2c4e0-7aecdcd-f9838df02e", "line_number": 45, "metadata": {}, "require_godot_runtime": true, @@ -1801,7 +1833,7 @@ "attribute_index": -1, "display_name": "test_after_run_called_on_success", "fully_qualified_name": "test.nodes.decorators.delayer_test.test_after_run_called_on_success", - "guid": "4efddd48-2f95419-9acd8de-9c46938ee1", + "guid": "007852bf-4e76438-292c027-2a0b574cf4", "line_number": 61, "metadata": {}, "require_godot_runtime": true, @@ -1817,7 +1849,7 @@ "attribute_index": -1, "display_name": "test_after_run_called_on_failure", "fully_qualified_name": "test.nodes.decorators.delayer_test.test_after_run_called_on_failure", - "guid": "4168880f-deb0457-1ad4698-7c626e6772", + "guid": "81f678fc-e7504ef-2960650-3a9c0cd34e", "line_number": 73, "metadata": {}, "require_godot_runtime": true, @@ -1833,7 +1865,7 @@ "attribute_index": -1, "display_name": "test_after_run_not_called_during_delay", "fully_qualified_name": "test.nodes.decorators.delayer_test.test_after_run_not_called_during_delay", - "guid": "00d10c99-66634a6-7996901-9e314df8f2", + "guid": "75d39031-a4e746e-9a3cfd2-0ecfae99be", "line_number": 85, "metadata": {}, "require_godot_runtime": true, @@ -1849,7 +1881,7 @@ "attribute_index": -1, "display_name": "test_before_run_only_called_once_per_run", "fully_qualified_name": "test.nodes.decorators.delayer_test.test_before_run_only_called_once_per_run", - "guid": "7abbe2ce-1f004fa-2bab230-5fc087f760", + "guid": "a6403f46-1782433-79f98a4-7f054932dc", "line_number": 98, "metadata": {}, "require_godot_runtime": true, @@ -1865,7 +1897,7 @@ "attribute_index": -1, "display_name": "test_delay_reset_on_interrupt", "fully_qualified_name": "test.nodes.decorators.delayer_test.test_delay_reset_on_interrupt", - "guid": "6af9855e-31d14ad-18f2f00-368fba2e19", + "guid": "7604d09c-9ea044a-4bf297d-0878a16774", "line_number": 122, "metadata": {}, "require_godot_runtime": true, @@ -1881,7 +1913,7 @@ "attribute_index": -1, "display_name": "test_tick", "fully_qualified_name": "test.nodes.decorators.failer_test.test_tick", - "guid": "ba443fba-e8564cf-4b2f903-182a5c2010", + "guid": "6020d380-3e084cc-094b0d6-131d9a04d6", "line_number": 33, "metadata": {}, "require_godot_runtime": true, @@ -1897,7 +1929,7 @@ "attribute_index": -1, "display_name": "test_clear_running_child_after_run", "fully_qualified_name": "test.nodes.decorators.failer_test.test_clear_running_child_after_run", - "guid": "89742a24-7c2542e-0b6e580-da9541b8cf", + "guid": "41958411-49ae44d-38c0846-feaede0361", "line_number": 38, "metadata": {}, "require_godot_runtime": true, @@ -1913,7 +1945,7 @@ "attribute_index": -1, "display_name": "test_invert_success_to_failure", "fully_qualified_name": "test.nodes.decorators.inverter_test.test_invert_success_to_failure", - "guid": "1f3b4d71-39d1425-1aa0900-b485a5c3cd", + "guid": "a0978edf-29f94ab-d892ed2-b190866d5b", "line_number": 33, "metadata": {}, "require_godot_runtime": true, @@ -1929,7 +1961,7 @@ "attribute_index": -1, "display_name": "test_invert_failure_to_success", "fully_qualified_name": "test.nodes.decorators.inverter_test.test_invert_failure_to_success", - "guid": "9107c629-8a3b4fc-ab333da-c8457e8781", + "guid": "000ae354-129c408-8bd66da-8385384e04", "line_number": 38, "metadata": {}, "require_godot_runtime": true, @@ -1945,7 +1977,7 @@ "attribute_index": -1, "display_name": "test_clear_running_child_after_run", "fully_qualified_name": "test.nodes.decorators.inverter_test.test_clear_running_child_after_run", - "guid": "8261725c-5b914f0-9872089-efbd7558c1", + "guid": "8884a131-1a824e3-eb9b354-383e86b428", "line_number": 43, "metadata": {}, "require_godot_runtime": true, @@ -1961,7 +1993,7 @@ "attribute_index": 0, "display_name": "test_max_count:0 (2)", "fully_qualified_name": "test.nodes.decorators.limiter_test.test_max_count.test_max_count:0 (2)", - "guid": "7418e035-6e19446-fb73ae1-9751f5bc9c", + "guid": "13967588-43df4b6-89db780-94bafc951a", "line_number": 33, "metadata": {}, "require_godot_runtime": true, @@ -1977,7 +2009,7 @@ "attribute_index": 1, "display_name": "test_max_count:1 (0)", "fully_qualified_name": "test.nodes.decorators.limiter_test.test_max_count.test_max_count:1 (0)", - "guid": "ae9d6d28-33ee46e-b9fec9f-0851737dd4", + "guid": "4d8da8b9-0dc6467-68db01d-25c72adb82", "line_number": 33, "metadata": {}, "require_godot_runtime": true, @@ -1993,7 +2025,7 @@ "attribute_index": -1, "display_name": "test_interrupt_after_run", "fully_qualified_name": "test.nodes.decorators.limiter_test.test_interrupt_after_run", - "guid": "98905729-8715484-f8ce605-ff30c0fa4f", + "guid": "1437e89b-4e80490-ba5442a-6309f075f0", "line_number": 45, "metadata": {}, "require_godot_runtime": true, @@ -2009,7 +2041,7 @@ "attribute_index": -1, "display_name": "test_clear_running_child_after_run", "fully_qualified_name": "test.nodes.decorators.limiter_test.test_clear_running_child_after_run", - "guid": "f6c6ea5b-117c4c2-88b1960-1271129b8f", + "guid": "5d6bfa93-5526455-aa9edba-1eba4feb17", "line_number": 56, "metadata": {}, "require_godot_runtime": true, @@ -2025,7 +2057,7 @@ "attribute_index": -1, "display_name": "test_counter_reset_on_interrupt", "fully_qualified_name": "test.nodes.decorators.limiter_test.test_counter_reset_on_interrupt", - "guid": "be103143-35a04c4-38a09f2-bcc103cb28", + "guid": "45c56c40-d80c49c-a971fd5-2fe15e8988", "line_number": 66, "metadata": {}, "require_godot_runtime": true, @@ -2041,7 +2073,7 @@ "attribute_index": 0, "display_name": "test_repetitions:0 (2)", "fully_qualified_name": "test.nodes.decorators.repeater_test.test_repetitions.test_repetitions:0 (2)", - "guid": "ab2d7648-e31d4a9-9b61f6d-0ab23069f9", + "guid": "92de53ae-9e294cb-db7b1fb-6424406ee9", "line_number": 44, "metadata": {}, "require_godot_runtime": true, @@ -2057,7 +2089,7 @@ "attribute_index": 1, "display_name": "test_repetitions:1 (0)", "fully_qualified_name": "test.nodes.decorators.repeater_test.test_repetitions.test_repetitions:1 (0)", - "guid": "253b40ee-43da4d9-da2271c-80c242b678", + "guid": "20e9333f-bb9844a-08c1604-84fa91f05a", "line_number": 44, "metadata": {}, "require_godot_runtime": true, @@ -2073,7 +2105,7 @@ "attribute_index": -1, "display_name": "test_failure", "fully_qualified_name": "test.nodes.decorators.repeater_test.test_failure", - "guid": "9eff9840-3c5c40b-1908a94-ecaa80b0e2", + "guid": "98004290-9ed0486-f9f41c6-eeb1ef8511", "line_number": 63, "metadata": {}, "require_godot_runtime": true, @@ -2089,7 +2121,7 @@ "attribute_index": -1, "display_name": "test_counter_reset_on_interrupt", "fully_qualified_name": "test.nodes.decorators.repeater_test.test_counter_reset_on_interrupt", - "guid": "bbfdfe1b-9b8b4ae-68e05e1-b57ca09fc3", + "guid": "567b950d-dbf44e8-db5801e-490dec0383", "line_number": 99, "metadata": {}, "require_godot_runtime": true, @@ -2105,7 +2137,7 @@ "attribute_index": -1, "display_name": "test_tick", "fully_qualified_name": "test.nodes.decorators.succeeder_test.test_tick", - "guid": "e3bd0768-bafd4df-a8d4b44-e9faf98074", + "guid": "56ad3080-f8284b1-8954fcf-38e5064a67", "line_number": 33, "metadata": {}, "require_godot_runtime": true, @@ -2121,7 +2153,7 @@ "attribute_index": -1, "display_name": "test_clear_running_child_after_run", "fully_qualified_name": "test.nodes.decorators.succeeder_test.test_clear_running_child_after_run", - "guid": "c7732cc9-cfa24a9-ab8e95d-e33a784917", + "guid": "36c0263d-a3944e1-69be577-b3b0d24272", "line_number": 38, "metadata": {}, "require_godot_runtime": true, @@ -2137,7 +2169,7 @@ "attribute_index": -1, "display_name": "test_return_failure_when_child_exceeds_time_limiter", "fully_qualified_name": "test.nodes.decorators.time_limiter_test.test_return_failure_when_child_exceeds_time_limiter", - "guid": "e29ae2b7-642a49e-aaa8aa8-f2c44b1fc1", + "guid": "5de15056-c6cb419-19c3a5f-f0e1ee98e9", "line_number": 37, "metadata": {}, "require_godot_runtime": true, @@ -2153,7 +2185,7 @@ "attribute_index": -1, "display_name": "test_reset_when_child_finishes", "fully_qualified_name": "test.nodes.decorators.time_limiter_test.test_reset_when_child_finishes", - "guid": "aea3c810-be0b42d-6871beb-0db132876c", + "guid": "7c3acbbd-737a458-6a429b1-b4262e8a6e", "line_number": 46, "metadata": {}, "require_godot_runtime": true, @@ -2169,7 +2201,7 @@ "attribute_index": -1, "display_name": "test_clear_running_child_after_run", "fully_qualified_name": "test.nodes.decorators.time_limiter_test.test_clear_running_child_after_run", - "guid": "3642e660-48e3463-2b1fc88-6648b00fc1", + "guid": "6d331d01-43b6495-5af8822-16132c7201", "line_number": 56, "metadata": {}, "require_godot_runtime": true, @@ -2185,7 +2217,7 @@ "attribute_index": -1, "display_name": "test_timer_reset_on_interrupt", "fully_qualified_name": "test.nodes.decorators.time_limiter_test.test_timer_reset_on_interrupt", - "guid": "958e7f92-3bfe406-6b0e913-12c13b83e9", + "guid": "d31379d8-3ca6446-5b52d74-67825f6bfa", "line_number": 65, "metadata": {}, "require_godot_runtime": true, @@ -2201,7 +2233,7 @@ "attribute_index": -1, "display_name": "test_failure", "fully_qualified_name": "test.nodes.decorators.until_fail_test.test_failure", - "guid": "360b28a3-33044c0-98abc7f-89e8f6cc39", + "guid": "e271f85d-17a2458-7b6eb42-675450566d", "line_number": 33, "metadata": {}, "require_godot_runtime": true, @@ -2217,7 +2249,7 @@ "attribute_index": -1, "display_name": "test_after_run_called_on_success", "fully_qualified_name": "test.nodes.decorators.until_fail_test.test_after_run_called_on_success", - "guid": "1feb073d-1626452-9bc18cb-3e7a91e21c", + "guid": "375c6cf2-fbbb485-ea6dbdc-914a300a07", "line_number": 47, "metadata": {}, "require_godot_runtime": true, @@ -2233,7 +2265,7 @@ "attribute_index": -1, "display_name": "test_after_run_called_on_failure", "fully_qualified_name": "test.nodes.decorators.until_fail_test.test_after_run_called_on_failure", - "guid": "1245d868-21ad4d6-2aee981-d6982e5a11", + "guid": "de62ed38-4cf545d-ab5ae05-afeedccf8d", "line_number": 54, "metadata": {}, "require_godot_runtime": true, @@ -2249,7 +2281,7 @@ "attribute_index": -1, "display_name": "test_after_run_not_called_during_running", "fully_qualified_name": "test.nodes.decorators.until_fail_test.test_after_run_not_called_during_running", - "guid": "ccd5e40d-feba41f-ab6a4d6-31fbc80ee1", + "guid": "ee96e8fd-347d402-e84753f-46e82ad6ba", "line_number": 61, "metadata": {}, "require_godot_runtime": true, @@ -2265,7 +2297,7 @@ "attribute_index": -1, "display_name": "test_erase_existing_key", "fully_qualified_name": "test.nodes.leaves.actions.blackboard_erase_test.test_erase_existing_key", - "guid": "3adaee7a-63cf4e2-29fbdeb-3b6e5e3d56", + "guid": "40687451-b3e346d-2b956b1-d3b872daea", "line_number": 27, "metadata": {}, "require_godot_runtime": true, @@ -2281,7 +2313,7 @@ "attribute_index": -1, "display_name": "test_erase_non_existing_key", "fully_qualified_name": "test.nodes.leaves.actions.blackboard_erase_test.test_erase_non_existing_key", - "guid": "c4b0e437-2a824e1-0ac30ff-3ecf792aa6", + "guid": "460d415c-723e429-99dce83-1fb698ca52", "line_number": 34, "metadata": {}, "require_godot_runtime": true, @@ -2297,7 +2329,7 @@ "attribute_index": -1, "display_name": "test_invalid_key_expression", "fully_qualified_name": "test.nodes.leaves.actions.blackboard_erase_test.test_invalid_key_expression", - "guid": "3289e7a6-6fac4b4-19128e1-6986fce66c", + "guid": "755585b3-bde84e4-2958c42-af8de15b4c", "line_number": 39, "metadata": {}, "require_godot_runtime": true, @@ -2313,7 +2345,7 @@ "attribute_index": -1, "display_name": "test_set_to_constant", "fully_qualified_name": "test.nodes.leaves.actions.blackboard_set_test.test_set_to_constant", - "guid": "7ccda964-e95e47f-1836acb-14261d8c45", + "guid": "10c70603-a4f64b7-db19a73-cd1fb8c453", "line_number": 26, "metadata": {}, "require_godot_runtime": true, @@ -2329,7 +2361,7 @@ "attribute_index": -1, "display_name": "test_copy_key", "fully_qualified_name": "test.nodes.leaves.actions.blackboard_set_test.test_copy_key", - "guid": "e53bca9c-4c6346f-7b9cbf1-5f0395bacf", + "guid": "40ad56f6-907b475-6a0a9ae-f55b2e32f7", "line_number": 34, "metadata": {}, "require_godot_runtime": true, @@ -2345,7 +2377,7 @@ "attribute_index": -1, "display_name": "test_invalid_expression", "fully_qualified_name": "test.nodes.leaves.actions.blackboard_set_test.test_invalid_expression", - "guid": "48881874-75e34d1-097e351-6149637c27", + "guid": "6ee6d844-08884ca-088923b-59fc68315b", "line_number": 42, "metadata": {}, "require_godot_runtime": true, @@ -2361,7 +2393,7 @@ "attribute_index": -1, "display_name": "test_set_vector3", "fully_qualified_name": "test.nodes.leaves.actions.blackboard_set_test.test_set_vector3", - "guid": "f49a5225-e9534d8-0a36402-02c2c3cbe5", + "guid": "19bff589-06e64aa-da42d60-2925158ff3", "line_number": 49, "metadata": {}, "require_godot_runtime": true, @@ -2377,7 +2409,7 @@ "attribute_index": -1, "display_name": "test_invalid_key_expression", "fully_qualified_name": "test.nodes.leaves.actions.blackboard_set_test.test_invalid_key_expression", - "guid": "25ffffb9-ae0e405-c878b34-87756bdf15", + "guid": "7f0e003c-fff3451-39bccdd-a7b59c2cb3", "line_number": 57, "metadata": {}, "require_godot_runtime": true, @@ -2393,7 +2425,7 @@ "attribute_index": -1, "display_name": "test_invalid_value_expression", "fully_qualified_name": "test.nodes.leaves.actions.blackboard_set_test.test_invalid_value_expression", - "guid": "c658dfa3-5a8f42c-887c618-5e964f8ce3", + "guid": "bf8c6d82-5c4b405-9b6fa64-00439d9ad4", "line_number": 63, "metadata": {}, "require_godot_runtime": true, @@ -2409,7 +2441,7 @@ "attribute_index": -1, "display_name": "test_comparison_operators", "fully_qualified_name": "test.nodes.leaves.conditions.blackboard_compare_test.test_comparison_operators", - "guid": "e75e06f8-954e4bf-aac5272-bd26143729", + "guid": "f4d98a43-12c848c-59e8a25-377cf4f796", "line_number": 24, "metadata": {}, "require_godot_runtime": true, @@ -2425,7 +2457,7 @@ "attribute_index": -1, "display_name": "test_blackboard_access", "fully_qualified_name": "test.nodes.leaves.conditions.blackboard_compare_test.test_blackboard_access", - "guid": "00056cdf-95de44f-1acdf44-baf65cc6bb", + "guid": "5a236af1-2efb4b4-1837023-fac4d9c8ef", "line_number": 71, "metadata": {}, "require_godot_runtime": true, @@ -2441,7 +2473,7 @@ "attribute_index": -1, "display_name": "test_invalid_left_operand_expression", "fully_qualified_name": "test.nodes.leaves.conditions.blackboard_compare_test.test_invalid_left_operand_expression", - "guid": "321adccd-235841a-18b5f68-1124768876", + "guid": "b7b7ee06-b7b74b6-7945413-f804d1f5ae", "line_number": 82, "metadata": {}, "require_godot_runtime": true, @@ -2457,7 +2489,7 @@ "attribute_index": -1, "display_name": "test_invalid_right_operand_expression", "fully_qualified_name": "test.nodes.leaves.conditions.blackboard_compare_test.test_invalid_right_operand_expression", - "guid": "7f91784c-9dab40c-ca1cef3-6e84f45de1", + "guid": "26c7f14a-0818492-6ad96b8-197c78186d", "line_number": 91, "metadata": {}, "require_godot_runtime": true, @@ -2473,7 +2505,7 @@ "attribute_index": -1, "display_name": "test_key_exists", "fully_qualified_name": "test.nodes.leaves.conditions.blackboard_has_test.test_key_exists", - "guid": "9d781caa-4f5c4f3-89649b5-e6f018aa31", + "guid": "617f002e-d8e64c9-58d14a0-b9af296787", "line_number": 27, "metadata": {}, "require_godot_runtime": true, @@ -2489,7 +2521,7 @@ "attribute_index": -1, "display_name": "test_variant_key_exists", "fully_qualified_name": "test.nodes.leaves.conditions.blackboard_has_test.test_variant_key_exists", - "guid": "91463522-c75a491-6a8aa07-9bf53a9ec3", + "guid": "fa37f2a2-e1174b2-994e6cd-05d3270fc1", "line_number": 34, "metadata": {}, "require_godot_runtime": true, @@ -2505,7 +2537,7 @@ "attribute_index": -1, "display_name": "test_key_exists_but_value_null", "fully_qualified_name": "test.nodes.leaves.conditions.blackboard_has_test.test_key_exists_but_value_null", - "guid": "31007b5f-f15949f-b9e2361-0422665c7d", + "guid": "96242dd3-c12e4e1-2bb1011-71bf721f60", "line_number": 42, "metadata": {}, "require_godot_runtime": true, @@ -2521,7 +2553,7 @@ "attribute_index": -1, "display_name": "test_key_does_not_exist", "fully_qualified_name": "test.nodes.leaves.conditions.blackboard_has_test.test_key_does_not_exist", - "guid": "849072da-aa354b6-7839a0b-474b691333", + "guid": "fa48e2ef-5f7440a-2982d46-b134c15195", "line_number": 49, "metadata": {}, "require_godot_runtime": true, @@ -2537,7 +2569,7 @@ "attribute_index": -1, "display_name": "test_invalid_key_expression", "fully_qualified_name": "test.nodes.leaves.conditions.blackboard_has_test.test_invalid_key_expression", - "guid": "4d52d6da-caeb4b2-aac93f6-b5540cd0fb", + "guid": "bfdb9faa-cce44b0-2a577bb-de4a23e669", "line_number": 54, "metadata": {}, "require_godot_runtime": true, @@ -2553,7 +2585,7 @@ "attribute_index": -1, "display_name": "test_invalid_key_expression_wrong_format", "fully_qualified_name": "test.nodes.leaves.conditions.blackboard_has_test.test_invalid_key_expression_wrong_format", - "guid": "76efd083-13e7446-59f21db-f02a85129b", + "guid": "72988df2-680044b-4a98493-e7698ff7fe", "line_number": 61, "metadata": {}, "require_godot_runtime": true, @@ -2569,7 +2601,7 @@ "attribute_index": -1, "display_name": "test_add_child", "fully_qualified_name": "test.randomized_composites.runtime_changes.runtime_changes_test.test_add_child", - "guid": "550c8a23-efdd44a-0a593b3-9012167bae", + "guid": "fbf56b1e-1b2e432-aa0ac24-0d20c9bd14", "line_number": 22, "metadata": {}, "require_godot_runtime": true, @@ -2585,7 +2617,7 @@ "attribute_index": -1, "display_name": "test_remove_child", "fully_qualified_name": "test.randomized_composites.runtime_changes.runtime_changes_test.test_remove_child", - "guid": "f25e0851-c96a4c7-3961629-62301c5e40", + "guid": "b88e14b3-4b5f458-294c2da-32e84f90e3", "line_number": 45, "metadata": {}, "require_godot_runtime": true, @@ -2601,7 +2633,7 @@ "attribute_index": -1, "display_name": "test_rename_child", "fully_qualified_name": "test.randomized_composites.runtime_changes.runtime_changes_test.test_rename_child", - "guid": "53bd4a62-59454d7-e8ecfc4-6665aff7f5", + "guid": "626a5104-6d394c8-d98540a-40fa80fd0f", "line_number": 71, "metadata": {}, "require_godot_runtime": true, @@ -2617,7 +2649,7 @@ "attribute_index": -1, "display_name": "test_scene_reload", "fully_qualified_name": "test.randomized_composites.runtime_changes.runtime_changes_test.test_scene_reload", - "guid": "15c0b092-59f24ce-2945c99-00d58025d3", + "guid": "e81a852e-d8c340b-bb8099c-53a807ad09", "line_number": 99, "metadata": {}, "require_godot_runtime": true, @@ -2633,7 +2665,7 @@ "attribute_index": -1, "display_name": "test_weights_effecting_sample", "fully_qualified_name": "test.randomized_composites.weighted_sampling.selector_random.selector_random_weights_test.test_weights_effecting_sample", - "guid": "1ded44e8-3328423-1b5e1c8-1194bc07d0", + "guid": "85c7d5bc-749b41d-3928952-ce945dc394", "line_number": 13, "metadata": {}, "require_godot_runtime": true, @@ -2649,7 +2681,7 @@ "attribute_index": -1, "display_name": "test_weights_effecting_sample", "fully_qualified_name": "test.randomized_composites.weighted_sampling.sequence_random_weights.sequence_random_weights_test.test_weights_effecting_sample", - "guid": "f2769113-710b40a-d9d893d-9790eea80d", + "guid": "70deaa7b-73c54ef-586d0f9-8d0731dbe9", "line_number": 15, "metadata": {}, "require_godot_runtime": true, diff --git a/test/beehave_tree_test.gd b/test/beehave_tree_test.gd index 23a1ae29..276b3077 100644 --- a/test/beehave_tree_test.gd +++ b/test/beehave_tree_test.gd @@ -106,6 +106,27 @@ func test_blackboard_not_initialized() -> void: assert_that(result).is_equal(BeehaveNode.SUCCESS) +func test_duplicated_tree_resolves_own_actor() -> void: + var scene = create_scene() + scene_runner(scene) + var duplicate = auto_free(scene.test_node.duplicate()) + scene.add_child(duplicate) + var duplicated_tree: BeehaveTree = duplicate.get_node("BeehaveTree") + assert_that(duplicated_tree.actor).is_equal(duplicate) + assert_that(scene.beehave_tree.actor).is_equal(scene.test_node) + duplicated_tree._physics_process(1.0) + assert_that(duplicated_tree.status).is_equal(BeehaveNode.SUCCESS) + + +func test_actor_node_path_resolved_when_added_to_tree() -> void: + var scene = create_scene() + scene_runner(scene) + var tree = create_tree() + tree.actor_node_path = NodePath("../AnotherNode") + scene.add_child(tree) + assert_that(tree.actor).is_equal(scene.get_node("AnotherNode")) + + func test_actor_override() -> void: var scene = create_scene() scene_runner(scene)