(I saw 1 reference to this in a thread but it was in German but my understanding of German is pretty weak.)
I really would like to modify science pack recipes.
The code in data-final-fixes.lua that causes the error:
Code: Select all
-- It appears that the Developers have disabled the ability to
-- change science packs so the following does not work.
-- nerf science packs a bit
----[[
-- purple Production science pack
data.raw.technology["production-science-pack"].unit.ingredients =
{
{"electric-furnace", 1},
{"productivity-module", 1},
--{"rail", 30}
{"rail", 10}
}
data.raw.technology["production-science-pack"].unit.energy_required = 15
data.raw.technology["production-science-pack"].unit.result_count = 4
if mods["Bio_Industries"]
then
data.raw.technology["production-science-pack"].unit.ingredients =
{
{"electric-furnace", 1},
{"productivity-module", 1},
--{"rail", 30}
{"bi-rail-wood", 10}
}
--data.raw.technology["bi_recipe_production_science_pack"].unit.energy_required = 15
--data.raw.technology["bi_recipe_production_science_pack"].unit.result_count = 4
end
-- yellow Utility science pack
data.raw.technology["utility-science-pack"].unit.ingredients =
{
{"low-density-structure", 2},
{"processing-unit", 2},
{"flying-robot-frame", 1}
}
data.raw.technology["utility-science-pack"].unit.energy_required = 15
data.raw.technology["utility-science-pack"].unit.result_count = 4
--]]