Factorio: Advanced Matter Factory for Krastorio 2

In Krastorio (Legacy) I like the flexibility of the matter factory. In my game I started with a train based feeder that would collect extra resources and pushed them to a free matter factory when the train was full and a factory was availiable. (The full trains prevented leftover resources in the factory allowing a clean switch*) This allowed higher throughput/performance with some additional effort. I was disappointed when K2 removed that feature and added fixed recipe matter conversion. In my opinion effort vs. result is the core of factorio even if it becomes slightly unbalanced at high optimization levels.

This mod aims to restore the tradeoff between complexity and result for K2 matter conversion by reintroducing the Krastorio(Legacy) Matter Factory into K2. It even was slightly improved.

*I switched to a circuit spagetthi later

Notes

Feel free to review and improve the code.

Acknowledgements