Pollution Fix Spread for ribbon world

by NewTech

This mod fixes the illogical vanilla behavior of pollution spreading and dispersing outside the map in ribbon worlds. All your pollution will only spread along the length of your surface.

Tweaks
2 months ago
2.0
121
Environment

g got NaN when adding to existing save

4 months ago

hey there, not sure if you are still willing to update this mod, but i've run into this error while adding this to an existing modded save
The mod Pollution Fix Spread for ribbon world (1.0.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Pollution-fix-spread-for-ribbon-world::on_nth_tick(64)
real number expected got nan.
stack traceback:
[C]: in function 'set_evolution_factor'
Pollution-fix-spread-for-ribbon-world/control.lua:31: in function <Pollution-fix-spread-for-ribbon-world/control.lua:2>

4 months ago

[Used google translate]
I can update the mod. As I understand it, an incorrect value is coming from somewhere in the formula calculation... and I have no ideas when viewing the code.
Therefore, to fix this defect, I need a save file in which the error occurs (with the mods folder, if used) in one archive.

Thanks for letting me know, I will look here a little more often.

2 months ago

[Used google translate]
I updated the mod, no matter what, there is no longer a need to do calculations, and accordingly the phantom source of the error no longer has anywhere to appear.

New response