code/mob/living/critter/ai/mimic.dm
/datum/aiTask/timed/wait_in_ambush | Wait in ambush - while hidden, stay hidden until a potential target is nearby, then interupt AI so ambush or attack can trigger |
---|---|
/datum/aiTask/sequence/goalbased/ambush | If a target is in range and we're hiding, attack them until they're incapacitated |
/datum/aiTask/sequence/goalbased/run_and_hide | If a target can see us and we're not hiding, then lets run away and hide |