Skip to content

Inglix/DesirePaths

 
 

Repository files navigation

Creates packed dirt paths when colonists frequently take the same path.

Features
Packed dirt has a higher move speed than most other 'natural' terrains, but it does track a lot of dirt around and has no fertility. If your colonists frequently walk through your farms, they will eventually trample the fields.

Packed dirt paths will form when colonists frequently take the same path over grass, soil, dirt and other natural terrain. The packed dirt paths will eventually degrade back into the original terrain if not walked on. In the real world, such paths are called desire paths, Elephant paths, pirate paths, or just simply shortcuts.

Desire Path

Recommended
If you find that your colonists keep walking through your fields, I recommend using this together with Path Avoid, so that you can better steer where your colonists may and may not walk.

For problematic trade caravans, you may want to use KV's Trading Spot.

That said, if such desire paths form where you don't want them, it's really a sign that you need to change your base design!

Known Issues
None

For Modders
By default, any terrain that has the XML tag TakeFootprints' set to true will be 'packable', and given enough traffic, packed dirt paths will appear. As of version 0.7.97, the mod reads a DefModExtension on terrain defs. This extension has two fields, 'disabled' and 'packedTerrain'. These allow you to disable desire paths' behaviour for a specific terrain, or specify which terrain def should be used for the created path.

This extension can either be added directly on modded terrainDefs, or be injected with a patch. Desire Paths itself uses such a patch to disable its' behaviour for Ice terrain, so that might be a good place to start.

Contributors
Juijote: Add Simplified Chinese translation Proxyer: Japanese Translation Vladimir Alabov: Add russian translation #14 Bambinoff: add Brazilian Portuguese translation

Think you found a bug?

Please read this guide before creating a bug report, and then create a bug report here

Older versions

All current and past versions of this mod can be downloaded from GitHub.

License

All original code in this mod is licensed under the MIT license. Do what you want, but give me credit. All original content (e.g. text, imagery, sounds) in this mod is licensed under the CC-BY-SA 4.0 license.

Parts of the code in this mod, and some of the content may be licensed by their original authors. If this is the case, the original author & license will either be given in the source code, or be in a LICENSE file next to the content. Please do not decompile my mods, but use the original source code available on GitHub, so license information in the source code is preserved.

Parts of this mod were created by, or derived from works created by;

  • surang: road preview icon (BY-NC)
  • Smashicons: path preview icon (BY-NC)
  • Freepik: landscape preview icon (BY-NC)

Are you enjoying my mods?

Become a supporter and show your appreciation by buying me a coffee (or contribute towards a nice single malt).

Supporters

Buy Me a Coffee

I Have a Black Dog

About

paths of desire

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%