Krastorio 2 & Maraxsis Compatibility Fix
Fixes a startup crash during prototype loading when using Krastorio 2 (or Krastorio 2 Spaced Out) together with Maraxsis.
What this mod fixes
When loading Maraxsis alongside Krastorio 2, Maraxsis attempts to modify kr-quantum-computer's quality base effect in compat/krastorio-2.lua:132. Because Krastorio 2 creates the quantum computer entity without an explicit effect_receiver table, indexing effect_receiver results in a nil value error and crashes the game on startup.
This compatibility fix pre-initializes effect_receiver for kr-quantum-computer during the data stage, allowing Maraxsis to apply its quality changes safely.
Compatibility & Requirements
- Factorio version: 2.0+
- Compatible with: Krastorio 2, Krastorio2-spaced-out, Maraxsis