RecipePrototype::allow_productivity = true not actuating in Space Age
Posted: Mon Oct 28, 2024 4:31 pm
Hello,
I've been trying to enable productivity module on a recipe I made.
Following the new Factorio 2.0 / Space Age changes I added:
allow_productivity = true
However, this doesn't seem to do anything. I tried this in an existing save as well as a new save.
I also tried changing the base assembling machines to enable productivity in data-final-fixes.lua:
and that doesn't seem to do it either.
I then proceeded with actually adding that in the Factorio's base installation folder just for sanity check and yet I cannot add productivity modules to those machines and I get the productivity limitation message.
If you happen to know what's going on and have a solution, I appreciate if you could point me in the right direction.
Thanks
I've been trying to enable productivity module on a recipe I made.
Following the new Factorio 2.0 / Space Age changes I added:
allow_productivity = true
However, this doesn't seem to do anything. I tried this in an existing save as well as a new save.
Code: Select all
data:extend(
{
{
type = "recipe",
name = "assembling-machine-test",
enabled = true,
ingredients =
{
{type="item", name="iron-plate", amount=20}
},
results = {{type="item", name="assembling-machine-test", amount=1}},
allow_productivity = true
},
Code: Select all
data.raw['recipe']['assembling-machine-1'].allow_productivity = true
data.raw['recipe']['assembling-machine-2'].allow_productivity = true
data.raw['recipe']['assembling-machine-3'].allow_productivity = true
I then proceeded with actually adding that in the Factorio's base installation folder just for sanity check and yet I cannot add productivity modules to those machines and I get the productivity limitation message.
If you happen to know what's going on and have a solution, I appreciate if you could point me in the right direction.
Thanks