in the local function add_research(name, count) i end up with
elseif level >= 9 then
ingredients = { { "automation-science-pack", 40 }, { "py-science-pack-1", 30 }, { "logistic-science-pack", 20 },
{ "py-science-pack-2", 10 },{ "chemical-science-pack", 6 }, { "py-science-pack-3", 3 },{ "production-science-pack", 2 },{ "py-science-pack-4", 1 },
{ "utility-science-pack", 1 } }
cost_multiplier = 9
and a bit further i had to add the py stuff here too (whithout that i got an error)
for a, b in pairs(ingredients) do
if b[1] ~= "automation-science-pack" and b[1] ~="py-science-pack-1" and b[1] ~="py-science-pack-2" and b[1] ~= "py-science-pack-3" and b[1] ~="py-science-pack-4" and b[1] ~=name then
table.insert(prerequisites, b[1])
end
end
that's all, the rest was just tweaking values and putting all that stuff in the data.lua file, i do them as i go and play so i'm about 10% finish..