{ "dm_type": "/datum/ai_controller/basic_controller/frog", "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": "subtree", "subtype": "/datum/bt_node/subtree/frog_engage_target" }, { "type": "subtree", "subtype": "/datum/bt_node/subtree/go_for_swim" }, { "type": "subtree", "subtype": "/datum/bt_node/subtree/random_walk" } ] }, { "type": "leaf", "behavior": "/datum/bt_node/ai_behavior/acquire_target/target_from_retaliate_list", "vars": { "target_key": "BB_CURRENT_TARGET", "targeting_strategy": "BB_TARGETING_STRATEGY", "hiding_location_key": "BB_CURRENT_TARGET_HIDING_LOCATION" } }, { "type": "decorator", "decorator": "/datum/bt_node/decorator/key_off_cooldown", "vars": { "cooldown_key": "BB_KEY_SWIMMER_COOLDOWN" }, "child": { "type": "leaf", "behavior": "/datum/bt_node/ai_behavior/acquire_target/update_interaction_target", "vars": { "target_key": "BB_SWIM_ALTERNATE_TURF", "targeting_strategy": "/datum/targeting_strategy/walkable_turf", "target_source": "/datum/target_source/oview_water_turfs" } } }, { "type": "subtree", "subtype": "/datum/bt_node/subtree/random_speech_loop", "bindings": { "bqdqne64": "/datum/bt_node/ai_behavior/random_speech/frog" } } ] }