Expanded Productivity Research

by Gandave

Adds Productivity technologies for all intermediate recipes, grouped by output item, with a progression similar to mining productivity. Optionally adjusts existing techs' progression. Optionally adds productivity techs for non-intermediate recipes as well.

Tweaks
a month ago
2.0
1.71K
Manufacturing

b [Bug fixed+Full compatibility not yet] Science pack compatability (Moshine + Secretas)

4 months ago

Any mod that adds new science packs, e.g.
Moshine https://mods.factorio.com/mod/Moshine
Secretes & Frozeta https://mods.factorio.com/mod/secretas

Make the game crash on load, I read this last line of your mod description "Additionally, mods that add or remove science packs will most likely break the progression." Thought this meant break the game progressing ingame and not being incompatible. Hopefully it will be possible to fix / add compatability for new science packs.

The error log:
Error ModManager.cpp:1758: Failed to load mod "ExpandedProductivityResearch": ExpandedProductivityResearch/functions.lua:396: attempt to compare number with nil
stack traceback:
ExpandedProductivityResearch/functions.lua:396: in function 'getHighestSciencePack'
ExpandedProductivityResearch/functions.lua:574: in function 'createTechnologyForTechLevel'
ExpandedProductivityResearch/functions.lua:540: in function 'generateAllProductivityTechs'

4 months ago

Any mod that adds new science packs, e.g.
Moshine https://mods.factorio.com/mod/Moshine
Secretes & Frozeta https://mods.factorio.com/mod/secretas

Make the game crash on load, I read this last line of your mod description "Additionally, mods that add or remove science packs will most likely break the progression." Thought this meant break the game progressing ingame and not being incompatible. Hopefully it will be possible to fix / add compatability for new science packs.

The error log:
Error ModManager.cpp:1758: Failed to load mod "ExpandedProductivityResearch": ExpandedProductivityResearch/functions.lua:396: attempt to compare number with nil
stack traceback:
ExpandedProductivityResearch/functions.lua:396: in function 'getHighestSciencePack'
ExpandedProductivityResearch/functions.lua:574: in function 'createTechnologyForTechLevel'
ExpandedProductivityResearch/functions.lua:540: in function 'generateAllProductivityTechs'
ExpandedProductivityResearch/data-final-fixes.lua:22: in main chunk

edit: correct error log

4 months ago

No, it should not crash the game. I'll work on a hotfix in a bit that makes the game run at least and look at maybe full compatibility at a later point.

4 months ago

The game is now starting with both mods without crashing. A full compatibility looks to be a bit more complicated due to the new labs and science packs added by Moshine. For now, everything with data cells is being ignored.

4 months ago

Alright, thats mostly what I meant with 'compatible'. Just want to be able to play the game with both mods :D

New response