{ "dm_type": "/datum/ai_controller/basic_controller/bot/firebot", "type": "parallel", "failure_policy": "BT_PARALLEL_FAILURE_CHILD_ONE", "success_policy": "BT_PARALLEL_SUCCESS_CHILD_ONE", "repeat_secondary": true, "repeat_secondary_delay": "1 SECONDS", "finish_on_primary": true, "children": [ { "type": "selector", "children": [ { "type": "subtree", "subtype": "/datum/bt_node/subtree/escape_captivity/pacifist" }, { "type": "subtree", "subtype": "/datum/bt_node/subtree/bot_respond_to_summon" }, { "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": { "observer_abort": "BT_ABORT_BOTH", "key": "BB_CURRENT_TARGET" }, "child": { "type": "sequence", "children": [ { "type": "leaf", "behavior": "/datum/bt_node/ai_behavior/announce_fire_detected" }, { "type": "leaf", "behavior": "/datum/bt_node/ai_behavior/move_to_target", "vars": { "target_key": "BB_CURRENT_TARGET", "required_dist": 1, "finish_on_arrival": true, "movement_type": "/datum/ai_movement/basic_avoidance" } }, { "type": "leaf", "behavior": "/datum/bt_node/ai_behavior/bot_interact/extinguish", "vars": { "target_key": "BB_CURRENT_TARGET" } } ] } }, { "type": "subtree", "subtype": "/datum/bt_node/subtree/bot_patrol" } ] }, { "type": "selector", "children": [ { "type": "leaf", "behavior": "/datum/bt_node/ai_behavior/acquire_target/update_interaction_target", "vars": { "target_key": "BB_CURRENT_TARGET", "target_source": "/datum/target_source/firebot_targets", "targeting_strategy": "/datum/targeting_strategy/extinguishable_person", "ignore_list_key": "BB_TEMPORARY_IGNORE_LIST", "must_be_reachable": true, "vision_range": 5 } }, { "type": "leaf", "behavior": "/datum/bt_node/ai_behavior/acquire_target/update_interaction_target", "vars": { "target_key": "BB_CURRENT_TARGET", "target_source": "/datum/target_source/range_turfs/firebot_hotspots", "targeting_strategy": "/datum/targeting_strategy/burning_hotspot", "ignore_list_key": "BB_TEMPORARY_IGNORE_LIST", "must_be_reachable": true, "vision_range": 5 } } ] } ] } ] }, { "type": "selector", "children": [ { "type": "leaf", "behavior": "/datum/bt_node/ai_behavior/handle_firebot_speech" }, { "type": "subtree", "subtype": "/datum/bt_node/subtree/bot_salute_authority" } ] } ] }