diff --git a/data-util.lua b/data-util.lua index ddf7a5d..f608af9 100644 --- a/data-util.lua +++ b/data-util.lua @@ -99,7 +99,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/prototypes/gyro.lua b/prototypes/gyro.lua index 5fed8de..364120d 100644 --- a/prototypes/gyro.lua +++ b/prototypes/gyro.lua @@ -9,11 +9,11 @@ gyro_ingredients = { -- outputs 4 util.item(silicon, 4)} gyro_prereqs = {util.me.silicon_processing} -if mods.bzcarbon then +if mods["bzcarbon2"] then table.insert(gyro_ingredients, util.item("diamond", 1)) table.insert(gyro_prereqs, "diamond-processing") end -if mods.bztungsten and not mods["space-age"] then +if mods.bztungsten2 and not mods["space-age"] then table.insert(gyro_ingredients, util.item("tungsten-plate", 1)) table.insert(gyro_prereqs, "tungsten-processing") elseif mods.bztitanium and data.raw.item["titanium-plate"] then