Space Station 13 - Modules - Types

code/datums/ai/generic/find_and_set.dm

/datum/ai_behavior/find_and_setFinds 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_listVariant of find and set that takes a list of things to find.
/datum/ai_behavior/find_and_set/pawn_must_hold_itemVariant of find and set that fails if the living pawn doesn't hold something
/datum/ai_behavior/find_and_set/edibleVariant of find and set that also requires the item to be edible. checks hands too