/tg/ Station 13 - Modules - Types

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

/datum/ai_behavior/find_potential_targets/nearestPicks targets based on which one is closest to you, choice between targets at equal distance is arbitrary
/datum/ai_behavior/target_from_retaliate_list/nearestAs above but targets have been filtered from the 'retaliate' blackboard list