{ "dm_type": "/datum/ai_controller/basic_controller/sloth", "type": "parallel", "failure_policy": "BT_PARALLEL_FAILURE_CHILD_ONE", "success_policy": "BT_PARALLEL_SUCCESS_CHILD_ONE", "repeat_secondary": true, "repeat_secondary_delay": "BASIC_MOB_FIND_TARGET_RATE", "finish_on_primary": true, "children": [ { "type": "selector", "children": [ { "type": "decorator", "decorator": "/datum/bt_node/decorator/bb_key_set", "vars": { "key": "BB_CURRENT_TARGET", "observer_abort": "BT_ABORT_SELF" }, "child": { "type": "subtree", "subtype": "/datum/bt_node/subtree/run_away_from_target" } }, { "type": "subtree", "subtype": "/datum/bt_node/subtree/climb_tree" }, { "type": "subtree", "subtype": "/datum/bt_node/subtree/random_walk" } ] }, { "type": "subtree", "subtype": "/datum/bt_node/subtree/random_speech_loop" }, { "type": "leaf", "behavior": "/datum/bt_node/ai_behavior/acquire_target/target_from_retaliate_list/nearest", "vars": { "target_key": "BB_CURRENT_TARGET", "targeting_strategy": "BB_TARGETING_STRATEGY", "hiding_location_key": "BB_CURRENT_TARGET_HIDING_LOCATION" } }, { "type": "leaf", "behavior": "/datum/bt_node/ai_behavior/acquire_target/update_interaction_target", "vars": { "target_key": "BB_CLIMBED_TREE", "target_source": "/datum/target_source/oview_single_type/flora_tree", "targeting_strategy": "/datum/targeting_strategy/anything" } } ] }