Page 1 of 1

Disable pollution for a surface at runtime

Posted: Wed May 13, 2026 12:36 pm
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.

Re: Disable pollution for a surface at runtime

Posted: Thu May 14, 2026 2:43 pm
by Rseding91
This was added for 2.1.