From 27e33afa952f3609026a6be0f64c8d8b5b972506 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Mon, 20 Oct 2025 10:35:00 +0200 Subject: [PATCH] Update bz mods to version 2 --- data-util.lua | 2 +- prototypes/gyro.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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