From d6dd12e515a2a874f2819af82cf4fda8f77e2d28 Mon Sep 17 00:00:00 2001 From: Brevven Date: Mon, 18 Jul 2022 03:47:19 -0700 Subject: [PATCH] fix prereq w k2, aai --- prototypes/gas-extractor.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/prototypes/gas-extractor.lua b/prototypes/gas-extractor.lua index 8112da0..0cba3b9 100644 --- a/prototypes/gas-extractor.lua +++ b/prototypes/gas-extractor.lua @@ -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"}