Nucular Engineering


Nuclear overhaul mod. Fly to Aquilo as your first space platform destination. Or second, or third.

Content
a day ago
2.0
1.09K
Trains Combat Fluids Manufacturing

b Compatibility issue with crushing industry

23 hours ago

The latest update now makes a compatibility issue with crushing industry:

Failed to load mods: Error while loading technology prototype "asteroid-reprocessing" (technology): Research ingredient "production-science-pack" is registered twice in the technology
Modifications: Space Age › Nucular Engineering › Crushing Industry

PS.
Is there a typo in the mod name: Nucular Engineering should be: Nuclear Engineering ?

14 hours ago
(updated 14 hours ago)

The issue is probably that crushing industry table.inserts() the production science pack as a tech ingredient without checking if it's already there. It's something I'm often guilty of in nucular engineering, but in the case of asteroid reprocessing I completely reinitialize the tech ingredient array, so it's definitely not this mod that adds the duplicate entry. The only way this may be fixable on my part is to assign the tech ingredients in the data-final-fixes so it runs after all the other mods, or completely hide the vanilla tech and add my own nucular-asteroid-reprocessing tech that does the same thing as the vanilla tech.
So to keep playing right now you could either extract nucular engineering into the mod folder, open the base-data-updates.lua folder, delete line 451, then compress it back into a zip file, or you could extract crushing industry and delete line 40 in the file prototypes/technology-updates.lua there, both approaches will work. But you'll need to redo that after every update of that mod.
Maybe I could add a few functions into data-final-fixes that would clean up any erroneous entries like that, but I'm not sure if that might be too invasive for other mods.

New response