A simple mod which make nonflammable pawns never avoid fire when pathfinding.
can safely add/remove in midgame!
recommend go with:
[url=https://steamcommunity.com/sharedfiles/filedetails/?id=3252095758]Mechanoids dont beat fire[/url]
[url=https://steamcommunity.com/sharedfiles/filedetails/?id=3538336699]Unburned[/url]
(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.