/tg/ Station 13 - Modules - Types

code/datums/ai/basic_mobs/basic_ai_behaviors/find_flee_location.dm

/datum/bt_node/ai_behavior/find_flee_locationFinds the best adjacent turf to flee to away from a threat and stores it in a blackboard key. Tries get_step_away first, then falls back to shuffled directions if blocked. Returns INSTANT SUCCESS if a step was found, INSTANT FAILURE if completely cornered.