code/datums/ai/generic/find_and_set.dm 
/datum/ai_behavior/find_and_set | Finds an item near themselves, sets a blackboard key as it. Very useful for AIs that need to use machines or something. If you want to do something more complicated than find a single atom, change the search_tactic() proc cool tip: search_tactic() can set lists |
---|---|
/datum/ai_behavior/find_and_set/in_list | Variant of find and set that takes a list of things to find. |