A way to edit productivity module limitations
Posted: Sat Jan 13, 2024 3:04 pm
Hi guys, let me go straight into this.
I'm not good at Lua probably, but I need to add some recipes ("iron-dust0", "iron-dust1", "iron-dust2") to the productivity module limitations and dunno how to do that.
I saw that it is the function that defines to which recipes productivity modules can be applied:
And, moreover, should I edit this thing or can I add more functions like this to the data.raw limitations of the productivity modules?
I'm not good at Lua probably, but I need to add some recipes ("iron-dust0", "iron-dust1", "iron-dust2") to the productivity module limitations and dunno how to do that.
I saw that it is the function that defines to which recipes productivity modules can be applied:
Code: Select all
function productivity_module_limitation()
return
{
"sulfuric-acid",
"basic-oil-processing",
"advanced-oil-processing",
"coal-liquefaction",
"heavy-oil-cracking",
"light-oil-cracking",
"solid-fuel-from-light-oil",
"solid-fuel-from-heavy-oil",
"solid-fuel-from-petroleum-gas",
"lubricant",
"iron-plate",
"copper-plate",
"steel-plate",
"stone-brick",
"sulfur",
"plastic-bar",
"empty-barrel",
"uranium-processing",
"copper-cable",
"iron-stick",
"iron-gear-wheel",
"electronic-circuit",
"advanced-circuit",
"processing-unit",
"engine-unit",
"electric-engine-unit",
"uranium-fuel-cell",
"explosives",
"battery",
"flying-robot-frame",
"low-density-structure",
"rocket-fuel",
"nuclear-fuel",
"nuclear-fuel-reprocessing",
"rocket-control-unit",
"rocket-part",
"automation-science-pack",
"logistic-science-pack",
"chemical-science-pack",
"military-science-pack",
"production-science-pack",
"utility-science-pack",
"kovarex-enrichment-process"
}
end