Pollution Combinator (Jamie's Fork)


Fork of starruler's Pollution Combinator mod. Adds a combinator that outputs the amount of pollution in the chunk where it is placed as a circuit network signal.

Content
a month ago
1.1 - 2.0
278
Circuit network

g Nice Thank you

8 months ago
(updated 8 months ago)

I use this combinator to control my k2 pollutionscrubbers.

My hole base had in every productionchunk one scrubber with a inserter for the filters controled by a pollutioncombinator. I will take a look very soon.

Over all in my opinion its not needed to calculate the polution every half second ... 1 to 5 seconds are ok ...

Greetings MoSII

EDIT:
Oiginal Mod:
K2SE+BZ+Planetfall (total over 100 mods) Playtime 750h @ 45 UPS
217 Pollutioncombinators on Nauvis with a time usage of 0,340ms
This Mod:
(Default Settings): TimeUsage 0,020 ms @ 46 UPS
(Updatetime 60 Ticks): TimeUsage 0,018 ms @ 46 UPS
(Updatetime 300 Ticks): TimeUsage 0,007 ms to 0,015 @ 46,5 UPS

I will use this mod with 300 ticks updatetime i Think thats fine

8 months ago

Agree, good to have mod. I also agree that it shouldn't be necessary to check very often the pollution value.

8 months ago

Oh wow! I didn't expect comments on this mod, especially this soon! Thanks for the feedback! I made the default 32 ticks because it felt like a nice balance between frequent updates and performance. However, I think I'll push an update later today with the default changed to maybe 180 ticks (so once every 3 seconds). The player will still be able to adjust the value in the settings later of course! Thanks again for the comments!

New response