Goonstation 13 - Modules - Types

code/mob/living/critter/ai/generic_critter.dm

/datum/aiTask/timed/wander/critter/aggressiveThis is standard wander behaviour with frequent checks for nearby enemies, which will interrupt the wandering.
/datum/aiTask/sequence/goalbased/critter/attackThis one makes the critter move towards a target returned from holder.owner.seek_target()
/datum/aiTask/succeedable/critter/attackThe aiTask/succeedable handles the behaviour to do when we're in range of the target
/datum/aiTask/sequence/goalbased/critter/attack/fixed_targetThis one makes the critter move towards a fixed target
/datum/aiTask/sequence/goalbased/critter/range_attackThis makes the critter maintain a distance and fire on the target from holder.owner.seek_target() if the target gets close we back away.
/datum/aiTask/succeedable/critter/range_attackThe aiTask/succeedable handles the behaviour to do when we're in range of the target
/datum/aiTask/sequence/goalbased/critter/flight_rangeThis makes the critter maintain a distance and fire on the target from holder.owner.seek_target() if the target gets close we back away.
/datum/aiTask/succeedable/critter/flight_rangeThe aiTask/succeedable handles the behaviour to do when we're in range of the target
/datum/aiTask/sequence/goalbased/critter/scavengeThis one makes the critter move towards a corpse returned from holder.owner.seek_scavenge_target()
/datum/aiTask/sequence/goalbased/critter/eatThis one makes the critter move towards a food item returned from holder.owner.seek_food_target()
/datum/aiTask/sequence/goalbased/retaliateThis one makes the mob move towards a target mob and attack it. Repeats until the target is dead, gone, too far, or we are incapacitated. Called upon being attacked if the ai is set to retaliate