I have a group of bots, used for construction. They do not have any military ability, but they positively enjoy running towards walls in order to repair them. Specifically: They're given a movement command with the target set to the wall.
Sometimes, the fastest path to the wall involves running outside the walls. Sometimes there are biters there, and there was an alternate, slightly longer path which would have kept them out of harm's way. It would be nice to have a flag that increases the per-tile cost of pathing over tiles that happen to have piles of biter corpses, or perhaps which have biters nearby -- whatever you think is the most reasonable calculation here.
Call it "is_coward", maybe?
Pathfinding flag to avoid biters
Re: Pathfinding flag to avoid biters
I don't see this as ever happening. It would add a load of complexity and overhead to pathfinding for something the base game would never use.
If you want to get ahold of me I'm almost always on Discord.