code/datums/ai/basic_mobs/basic_subtrees/maintain_distance.dm
/datum/ai_planning_subtree/maintain_distance | Step away if too close, or towards if too far |
---|---|
/datum/ai_behavior/step_away | Take one step away |
/datum/ai_behavior/pursue_to_range | Pursue a target until we are within a provided range |
/datum/ai_behavior/cover_minimum_distance | instead of taking a single step, we cover the entire distance |