Is the behaviour for 1000 Pollution Units -> 1 'tick' of evolution via pollution factor hardcoded, or is there an API hook that handles it? I can't find anything explicitly about the total global pollution in the docs or base mod, but thought I'd at least double check here first before dropping a request on the interface board.
Anyone more familiar with how pollution works able to walk through how the process of how pollution impacts the evolution factor, step-by-step?
Global Pollution - Does an interface to this exist?
Re: Global Pollution - Does an interface to this exist?
Sorry if it wasn't clear what I was asking. How I understand the pollution->evolution flow works is like this:
1. Every tick pollution is generated by polluters.
2. Pollution is accumulated by [something].
3. Every 1000 accumulated units, the evolution factor is increased by the pollution factor.
My question is - for step 2 and 3 in the process, what scripting hooks exist for this, and how much of it is hardcoded? Based on my investigating, the '1000 pollution units -> 1 pollution factor' looks to be hardcoded, so changing the pollution->evolution flow in a mod is limited as a result.
1. Every tick pollution is generated by polluters.
2. Pollution is accumulated by [something].
3. Every 1000 accumulated units, the evolution factor is increased by the pollution factor.
My question is - for step 2 and 3 in the process, what scripting hooks exist for this, and how much of it is hardcoded? Based on my investigating, the '1000 pollution units -> 1 pollution factor' looks to be hardcoded, so changing the pollution->evolution flow in a mod is limited as a result.
Re: Global Pollution - Does an interface to this exist?
All of the pollution logic is based off the map_settings which is defined in the prototypes and in the generate-map GUI.
If you want to get ahold of me I'm almost always on Discord.