RimWorld Mods

Clean Pathfinding Mod

Author of the Clean Pathfinding Mod: OwlChemist

What’s the point of building roads and paths around the map if your pawns are just going to dirty their feet by not using them? The Clean Pathfinding Mod applies a modifier to the perceived pathing costs of any dirty tiles to help keep things clean.

Clean Pathfinding Mod features

An avoidance bias can be applied to any filth-generating tiles. Pawns will prefer to go around by using cleaner paths, even if it means it’ll take longer to reach their destination. While this may be less efficient, the reduction of cleaning tasks in the future makes up for it.

A road attraction bonus can be applied to any tiles that have the road tag.

[Optional]: The range of precise pathfinding can be adjusted, if your computer has performance to spare. The default range is around 40 tiles, and the slider adds to this.
[Optional]: Pawns may factor illumination when calculating their path.


Q. Does this mod impact performance?
A. The original vanilla pathfinding code is still used. The only extra bit of code injected is a faction check, to prevent hostiles from respecting your settings, but this does not amount to anything as far as performance goes. This mod functions using variables that already existed and are calculated, but underutilized in vanilla.

Q. How does this mod compare to Perfect Pathfinding, and can they be used together?
A. Rimworld has multiple pathfinding systems, and Perfect Pathfnding forces pawns to always use the most precise one regardless of performance costs, but doesn’t have anything to do with filth avoidance or arbitrary road attraction. They can be used together, though this mod comes with a built-in range adjuster. It’s not quite the same thing but the difference is debatable.

Q. What floors have the “road tag”?
A. The road tag is a built in vanilla feature and is seen on flagstone, packed dirt, and broken asphalt. Modded floors may also use it. This feature was mainly added for packed dirt, since packed dirt paths are also filth generating. If you don’t have any of those, you can make due with only using the filth avoidance setting.

Compatibility notes

Compatible with other mods that edit pathing, such as Path Avoid and SoS2.


Version 1.5
Clean Pathfinding Mod is not updated to RimWorld 1.5

Older versions:

Hm, you're using an ad blocker...

We get it, ads are not what you’re here for. But ads help us keep the lights on. We deliver up-to-date mods, guides and plenty of RimWorld content at no cost to you. So, please, add us to your ad blocker’s whitelist to continue browsing the RimWorld Base. 

Please whitelist us on your ad blocker and

Get a lifetime ad-free experience with the purchase of any RimWorld merchandise from our store. 

Still seeing this message after making a purchase? Click here to fix it

Get your RimWorld T-Shirt!

Dress in RimWorld style. For you or your loved ones!