Disable pollution for a surface at runtime

User avatar
Stargateur
Filter Inserter
Filter Inserter
Posts: 431
Joined: Sat Oct 05, 2019 6:17 am
Contact:

Disable pollution for a surface at runtime

Post by Stargateur »

Would it be possible to disable pollution on a specific surface during runtime ? There is pollutant_type but it's read only. Would be useful to be able to disable pollution at runtime, use case, for space exploration, when you kill all bitter there is no need for pollution, it would save both UPS and prevent pollution from creating chunk saving save space.

Code: Select all

surface.pollutant_type = nil
would remove every pollution on planet and disable it and clear any statistic on pollution.
Rseding91
Factorio Staff
Factorio Staff
Posts: 16794
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Disable pollution for a surface at runtime

Post by Rseding91 »

This was added for 2.1.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Implemented mod requests”