[1.6] Do Not Avoid Fire

If you liked this item, please rate it up on Steam Workshop page.

Author: 幻想鄉の鵬鵬

Last revision: 25 Aug, 2025 at 08:27 UTC (2)

File size: 221.68 KB

On Steam Workshop

Description:

A simple mod which make nonflammable pawns never avoid fire when pathfinding.

can safely add/remove in midgame!

recommend go with:

Unburned
(make mechs don’t beat in fight and provide a way to make colonist non flamable)

to be specific:
this patch apply on those pawns with flammability less than 1%, which is the minimum requirement for being able to catch on fire.

============================
how it work under the hood:
When the algorithm is finding a path from the start to the destination , every "step" it took were determined by "cost" of tiles
buildings,terrain,floor,dangerous things and so on , all add various cost to the tile they belong to.
And most importantly,fire,which will add a big cost to tiles.
Bigger cost means less favorable for the algorithm.
It is almost impossible for this algorithm to generate a path going through fire ,and all pawns use the same algorithm in the vanilla.

The main intention of this mod will be "Making algorithm ignore the cost of fire when doing pathfinding for fireproof pawns"
It was achieved by two separate parts.
The first part record the cost of fire when the game is calculating cost for every tiles
The second part will intercept the data about the cost on every tiles ,and then subtract out the cost of fire before it was send to the algorithm when finding path for fireproof pawns.

Download
Required items:

Click the title to search on this site.


HarmonySteam Workshop
Revisions:

Old revisions of this mod are available below. Click the link to download.