Hey there!
Great idea for a mod, the pollution color was probably the only thing that bothered me due to my color blindness, and I just powered through it by quickly enabling/disabling it and squinting hard to try and see the difference. Now I don't have to anymore! :)
As for the need for manual update / rechart - there's a function script.on_init
, which gets called when the mod gets first added to a save, so you can put the rechart function there to do it automatically. I've unpacked your mod and added a control.lua
file:
script.on_init(function()
game.forces.player.rechart()
end)
And it worked like charm. :)