Vesta + K2SO Ammonia Trigger Fix
A tiny Factorio 2.1 compatibility mod for Planet Vesta + Krastorio 2 Spaced Out (K2SO).
What it fixes
With the affected mod combination, the Vesta technology:
s1_ammonia_chilled_plate
can still have a craft-fluid research trigger pointing at:
ammonia
while K2SO changes Vesta's ammonia recipe:
ske_ammonia_vesta
so that it actually outputs:
kr-ammonia
Because Factorio research triggers use the internal FluidID, producing kr-ammonia does not satisfy a trigger waiting for ammonia.
How this fix works
data-final-fixes.lua runs after the dependent mods' normal data updates. It reads the actual fluid output of ske_ammonia_vesta and points s1_ammonia_chilled_plate.research_trigger.fluid at that fluid.
It does not permanently hard-code kr-ammonia; if a future update makes the recipe and trigger agree again, the mod simply does nothing.
Diagnostic log
The mod writes a line beginning with:
[Vesta K2SO Ammonia Fix]
to Factorio's log during the data stage, including the old and new FluidID when a patch is applied.