diff --git a/bzcarbon2/carbon-recipe-updates.lua b/bzcarbon2/carbon-recipe-updates.lua index 0bf6fde..e46c3ec 100644 --- a/bzcarbon2/carbon-recipe-updates.lua +++ b/bzcarbon2/carbon-recipe-updates.lua @@ -107,7 +107,7 @@ if util.me.use_carbon_black() then util.add_product("coal-liquefaction", util.item("carbon-black", 1)) --K2 - if mods.bztitanium then + if mods["bztitanium2"] then util.add_ingredient("kr-black-reinforced-plate", "carbon-black", 5) util.add_ingredient("kr-white-reinforced-plate", "titanium-plate", 1) end diff --git a/bzcarbon2/carbon-recipe.lua b/bzcarbon2/carbon-recipe.lua index f2d3d03..23c10cd 100644 --- a/bzcarbon2/carbon-recipe.lua +++ b/bzcarbon2/carbon-recipe.lua @@ -43,7 +43,7 @@ data:extend({ icons = (util.k2() and { { icon = "__bzcarbon2__/graphics/icons/graphite.png", icon_size = 128}, - { icon = "__bzcarbon2__/graphics/icons/flake-graphite.png", icon_size = 128, icon_mipmaps = 3, scale=0.25, shift= {-8, -8}}, + { icon = "__bzcarbon2__/graphics/icons/flake-graphite.png", icon_size = 128, icon_mipmaps = 3, scale=0.125, shift= {-8, -8}}, } or nil), -- normal = (util.k2() and -- { diff --git a/bzcarbon2/changelog.txt b/bzcarbon2/changelog.txt index b374cda..478a445 100644 --- a/bzcarbon2/changelog.txt +++ b/bzcarbon2/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 2.0.23 +Date: 21.10.2025 + Changes: + - Switch to bz mods forks +--------------------------------------------------------------------------------------------------- Version: 2.0.22 Date: 19.10.2025 Legacy version meant to be played with my other forks and ATOM. diff --git a/bzcarbon2/data-util.lua b/bzcarbon2/data-util.lua index 1433824..6f1e7ce 100644 --- a/bzcarbon2/data-util.lua +++ b/bzcarbon2/data-util.lua @@ -1748,8 +1748,8 @@ function util.replace_ingredients_prior_to(tech, old, new, multiplier) end util.remove_prior_unlocks(tech, old) for i, recipe in pairs(data.raw.recipe) do - if (recipe.enabled and recipe.enabled ~= 'false') - and (not recipe.hidden or recipe.hidden == 'true') -- probably don't want to change hidden recipes + if (recipe.enabled and recipe.enabled ~= false) + and (not recipe.hidden or recipe.hidden == true) -- probably don't want to change hidden recipes and string.sub(recipe.name, 1, 3) ~= 'se-' -- have to exlude SE in general :( then -- log("BZZZ due to 'enabled' replacing " .. old .. " with " .. new .." in " .. recipe.name) -- Handy Debug :| diff --git a/bzcarbon2/info.json b/bzcarbon2/info.json index 6f3159a..7885cc2 100644 --- a/bzcarbon2/info.json +++ b/bzcarbon2/info.json @@ -1,6 +1,6 @@ { "name": "bzcarbon2", - "version": "2.0.22", + "version": "2.0.23", "factorio_version": "2.0", "title": "Graphite & Diamonds - Legacy", "description": "Adds elemental carbon items to the game, including graphite, diamonds, graphene, and more.", @@ -8,9 +8,9 @@ "homepage": "https://discord.gg/ufvFUJtVwk", "dependencies": [ "base >= 2.0.42", - "? bztitanium", - "? bzsilicon", - "? bzzirconium", + "? bztitanium2", + "? bzsilicon2", + "? bzzirconium2", "? bzfoundry2", "? space-exploration", "? aai-industry", diff --git a/bzcarbon2/prototypes/activated-carbon.lua b/bzcarbon2/prototypes/activated-carbon.lua index 67774c8..ee34824 100644 --- a/bzcarbon2/prototypes/activated-carbon.lua +++ b/bzcarbon2/prototypes/activated-carbon.lua @@ -24,7 +24,7 @@ if mods["wood-industry"] then precursor = "charcoal" end { util.item(precursor), util.fluid("steam"), - (mods.bztitanium or mods.bzzirconium) and util.fluid("vacuum") or nil + (mods["bztitanium2"] or mods["bzzirconium2"]) and util.fluid("vacuum") or nil }, results = { {type="item", name= "activated-carbon", amount=1}, @@ -49,7 +49,7 @@ if mods["wood-industry"] then precursor = "charcoal" end { util.item("carbon-black", 5), util.fluid("steam"), - (mods.bztitanium or mods.bzzirconium) and util.fluid("vacuum") or nil + (mods["bztitanium2"] or mods["bzzirconium2"]) and util.fluid("vacuum") or nil }, results = { {type="item", name= "activated-carbon", amount=1},