minor compat aai, k2
This commit is contained in:
parent
39790a40b2
commit
7dde159f28
5 changed files with 32 additions and 5 deletions
|
|
@ -95,13 +95,18 @@ if not mods.Krastorio2 and not mods["aai-industry"] and not mods.bzaluminum then
|
|||
end
|
||||
|
||||
if not mods["aai-industry"] then
|
||||
if mods.Krastorio2 then
|
||||
util.add_effect("kr-automation-core", { type = "unlock-recipe", recipe = "electric-mining-drill" })
|
||||
else
|
||||
if not mods.Krastorio2 then
|
||||
util.set_enabled("electric-mining-drill", true)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
if mods["aai-industry"] then
|
||||
-- AAI Industry now unlocks steam much later. Move it to an earlier sensible location in the tech tree.
|
||||
util.set_prerequisite("steam-power", {"basic-fluid-handling"})
|
||||
util.set_tech_recipe("steam-power", {{"automation-science-pack", 1}})
|
||||
end
|
||||
|
||||
|
||||
-- Must be last
|
||||
util.create_list()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue