diff --git a/advanced-carbon-furnace.lua b/advanced-carbon-furnace.lua index 225e8be..f6a20d5 100644 --- a/advanced-carbon-furnace.lua +++ b/advanced-carbon-furnace.lua @@ -1,7 +1,7 @@ local futil = require("util"); local util = require("__bztungsten__.data-util"); -if util.me.get_setting("bztungsten-advanced-carbon-furnace") == "yes" and not mods.Krastorio2 and not mods.bzfoundry then +if util.me.get_setting("bztungsten-advanced-carbon-furnace") == "yes" and not mods.Krastorio2 and not mods.bzfoundry2 then log("Using advanced carbon furnace") data:extend({ { diff --git a/data-util.lua b/data-util.lua index 8a63c8c..bc84044 100644 --- a/data-util.lua +++ b/data-util.lua @@ -44,7 +44,7 @@ if get_setting("bz-recipe-bypass") then end function util.is_foundry() - return mods.bzfoundry and not me.get_setting("bzfoundry-minimal") + return mods.bzfoundry2 and not me.get_setting("bzfoundry-minimal") end function should_force(options) diff --git a/settings.lua b/settings.lua index fff6802..af0caee 100644 --- a/settings.lua +++ b/settings.lua @@ -29,7 +29,7 @@ data:extend({ setting_type = "startup", default_value = "no", allowed_values = {"yes", "no"}, - hidden = not not (mods.Krastorio2 or mods.bzfoundry), + hidden = not not (mods.Krastorio2 or mods.bzfoundry2), order = "aea", }, }) diff --git a/tungsten-recipe-se.lua b/tungsten-recipe-se.lua index 6fd6190..ef833d6 100644 --- a/tungsten-recipe-se.lua +++ b/tungsten-recipe-se.lua @@ -224,7 +224,7 @@ else end end -if mods["aai-industry"] and not mods["Krastorio2"] and not mods.bzfoundry then +if mods["aai-industry"] and not mods["Krastorio2"] and not mods.bzfoundry2 then data:extend({ { type = "recipe", diff --git a/tungsten-recipe-updates.lua b/tungsten-recipe-updates.lua index 7096fdd..835e04c 100644 --- a/tungsten-recipe-updates.lua +++ b/tungsten-recipe-updates.lua @@ -22,7 +22,7 @@ util.replace_ingredient("cannon-shell", "copper-plate", "tungsten-plate") -- Tooling util.add_prerequisite("automation-2", util.me.tungsten_processing) -if mods.bzaluminum or mods.bzcarbon or mods.bzgas then +if mods.bzaluminum2 or mods.bzcarbon or mods.bzgas2 then util.replace_ingredient("assembling-machine-2", "steel-plate", "tungsten-carbide") else util.replace_some_ingredient("assembling-machine-2", "steel-plate", 1, "tungsten-carbide", 1)