fix prereq w k2, aai

This commit is contained in:
Brevven 2022-07-18 03:47:19 -07:00
parent bc14a89bb8
commit d6dd12e515

View file

@ -8,9 +8,12 @@ local ge_ingredients = {
}
local ge_prereq = {"automation"}
if mods.bzlead then table.insert(ge_ingredients, {"lead-plate", 4}) end
if mods.Krastorio2 or mods["aai-industry"] then
if mods.Krastorio2 then
table.insert(ge_ingredients, {"sand", 10})
ge_prereq = {"sand"}
ge_prereq = {"kr-stone-processing"}
elseif mods["aai-industry"] then
table.insert(ge_ingredients, {"sand", 10})
ge_prereq = {"sand-processing"}
elseif data.raw.item["silica"] and data.raw.technology["silica-processing"] then
table.insert(ge_ingredients, {"silica", 20})
ge_prereq = {"silica-processing"}