fix a deadlock, more

This commit is contained in:
Brevven 2022-05-29 17:01:41 -07:00
parent 2efb1ed290
commit 39790a40b2
6 changed files with 28 additions and 7 deletions

View file

@ -93,7 +93,14 @@ if not mods.Krastorio2 and not mods["aai-industry"] and not mods.bzaluminum then
util.set_enabled("inserter", false)
util.add_prerequisite("logistic-science-pack", "electronics")
end
util.set_enabled("electric-mining-drill", true)
if not mods["aai-industry"] then
if mods.Krastorio2 then
util.add_effect("kr-automation-core", { type = "unlock-recipe", recipe = "electric-mining-drill" })
else
util.set_enabled("electric-mining-drill", true)
end
end
-- Must be last