Parameterized Blueprints


Implements a basic version of the Parameterized Blueprints shown in FFF-392

Utilities
8 months ago
1.1
1.53K
Blueprints

b Load error

8 months ago

Error ModManager.cpp:1625: Не удалось загрузить мод "parameterized-blueprints": parameterized-blueprints/data-updates.lua:10: attempt to get length of field 'limitation' (a nil value)
stack traceback:
parameterized-blueprints/data-updates.lua:10: in main chunk

8 months ago

That seems to be due to another mod that modifies productivity modules. Can you let me know your mod list so I can have a closer look.
I'll add a check for that however for the next release

8 months ago

With your help I was able to find the one:
https://mods.factorio.com/mod/EditorExtensions

8 months ago

also has same conflict with creative-mod mod..likely for similar reason.

8 months ago
(updated 8 months ago)

I'm getting the same thing here when using this mod with editor extensions.
Edit: just opened a PR to fix it

5 months ago

I found this line in creative mode mod which is what EE is based from:
data.raw["module"][creative_mode_defines.names.recipes.super_productivity_module].limitation = nil
Just adding a simple nil check will prevent this from happening:
@ parameterized-blueprints/data-updates.lua:8
old: if value.name:find("productivity%-module") then
new: if value.name:find("productivity%-module") and value.limitaion then

New response