/tg/ Station 13 - Modules - Types

code/datums/ai/generic_behaviors/pick_random_ability.dm

/datum/bt_node/ai_behavior/pick_random_abilityPicks a random available ability from a pool of blackboard keys, excluding the last-used one. Writes the selected action object to result_key for a targeted_mob_ability leaf to fire. Returns INSTANT FAILURE if no ability in the pool is currently available.