Next Gen Evolution Extended
Make enemy evolution respond to pollution reaching nests. This Factorio 2.1 continuation preserves Qon's Next Gen Evolution model and settings, builds on GTrista's 2.0 port, and extends Vismark's modded-spawner compatibility work.
Pollution absorbed by enemy spawners increases evolution. Pollution damaging trees, natural absorption, destroyed trees and optional killed natives provide separate configurable contributions. The defaults remain 45 / 9 / -3 / 20 / 0, and the calculation runs once every 3,600 game ticks.
Spawner detection uses the prototype type unit-spawner, including modded spawners whose names do not contain spawner, while excluding other pollution-absorbing entities. The optional natives-killed setting retains the original biter/spitter name filter.
Settings and saves
New-map defaults and map presets set vanilla pollution-produced evolution to 0, allowing absorption to replace that source. Vanilla time and destroyed-spawner factors remain available. The five original gogreen-* runtime-global settings are retained.
Existing saves keep their current map settings and enemy evolution. If vanilla pollution-produced evolution is still enabled, it contributes alongside absorption; review that setting when switching to this model.
Disable NextGenEvolution, NextGenEvolution-Port and NextGenEvolution-ModCompatability before enabling this replacement. These older variants are incompatible with this mod to prevent duplicate updates. Recognized predecessor diagnostic counters can be migrated; they do not reset or replace the save's current evolution.
Use /ngevolution for an evolution summary and /nge_debug for raw diagnostic counters. Both commands support server-console/RCON use.
Scope
Custom evolution calculations always target the surface named nauvis, independently of player location. Other surfaces are unsupported. New-map vanilla pollution-factor defaults are global map settings. Rampant Evolution and Rampant Evolution Fixed are incompatible.
Factorio 2.1; Nauvis only. Space Age is not required, and per-planet/Space Age evolution is not implemented. Modded spawner detection is supported by prototype type; full Rampant gameplay compatibility has not been verified. No zero-UPS-impact claim is made.
Tested on Factorio 2.1.23 and 2.1.24 without Space Age: new-map defaults, one-minute evolution calculations using actual engine statistics, zero-statistics commands, save/reload and configuration changes. A controlled predecessor-save test verified native migration of diagnostic history and preservation of custom coefficients, current evolution and existing map factors. Full Rampant gameplay and arbitrary modpack conversions remain outside that validation.
Credits and license
Original model and mod: Qon. Factorio 2.0 port: GTrista. Modded-spawner compatibility fork: Vismark. This Factorio 2.1 continuation: DiabolicWolf.
Distributed with the inherited GNU GPL version 3 license; the original source notice allows version 3 or any later version. The download includes readable Lua source, the license, credits and port notes.