Compare commits

...

6 commits
2.0.22 ... main

Author SHA1 Message Date
Simon Brodtmann
d4952e2620 Fix graphite recipe icon scale 2025-10-22 23:34:50 +02:00
Simon Brodtmann
1cee258d56 Fix booleans being strings 2025-10-22 23:34:34 +02:00
Simon Brodtmann
aa1103ae23 2.0.23 2025-10-21 15:54:35 +02:00
Simon Brodtmann
4c239ddddc Update to bzzirconium2 2025-10-21 14:53:21 +02:00
Simon Brodtmann
e9d2283c20 Update to bzsilicon2 2025-10-21 14:28:54 +02:00
Simon Brodtmann
06b4bcf2ec Update to bztitanium2 2025-10-21 14:28:47 +02:00
6 changed files with 15 additions and 10 deletions

View file

@ -107,7 +107,7 @@ if util.me.use_carbon_black() then
util.add_product("coal-liquefaction", util.item("carbon-black", 1)) util.add_product("coal-liquefaction", util.item("carbon-black", 1))
--K2 --K2
if mods.bztitanium then if mods["bztitanium2"] then
util.add_ingredient("kr-black-reinforced-plate", "carbon-black", 5) util.add_ingredient("kr-black-reinforced-plate", "carbon-black", 5)
util.add_ingredient("kr-white-reinforced-plate", "titanium-plate", 1) util.add_ingredient("kr-white-reinforced-plate", "titanium-plate", 1)
end end

View file

@ -43,7 +43,7 @@ data:extend({
icons = (util.k2() and icons = (util.k2() and
{ {
{ icon = "__bzcarbon2__/graphics/icons/graphite.png", icon_size = 128}, { 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), } or nil),
-- normal = (util.k2() and -- normal = (util.k2() and
-- { -- {

View file

@ -1,4 +1,9 @@
--------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------
Version: 2.0.23
Date: 21.10.2025
Changes:
- Switch to bz mods forks
---------------------------------------------------------------------------------------------------
Version: 2.0.22 Version: 2.0.22
Date: 19.10.2025 Date: 19.10.2025
Legacy version meant to be played with my other forks and ATOM. Legacy version meant to be played with my other forks and ATOM.

View file

@ -1748,8 +1748,8 @@ function util.replace_ingredients_prior_to(tech, old, new, multiplier)
end end
util.remove_prior_unlocks(tech, old) util.remove_prior_unlocks(tech, old)
for i, recipe in pairs(data.raw.recipe) do for i, recipe in pairs(data.raw.recipe) do
if (recipe.enabled and recipe.enabled ~= 'false') if (recipe.enabled and recipe.enabled ~= false)
and (not recipe.hidden or recipe.hidden == 'true') -- probably don't want to change hidden recipes 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 :( and string.sub(recipe.name, 1, 3) ~= 'se-' -- have to exlude SE in general :(
then then
-- log("BZZZ due to 'enabled' replacing " .. old .. " with " .. new .." in " .. recipe.name) -- Handy Debug :| -- log("BZZZ due to 'enabled' replacing " .. old .. " with " .. new .." in " .. recipe.name) -- Handy Debug :|

View file

@ -1,6 +1,6 @@
{ {
"name": "bzcarbon2", "name": "bzcarbon2",
"version": "2.0.22", "version": "2.0.23",
"factorio_version": "2.0", "factorio_version": "2.0",
"title": "Graphite & Diamonds - Legacy", "title": "Graphite & Diamonds - Legacy",
"description": "Adds elemental carbon items to the game, including graphite, diamonds, graphene, and more.", "description": "Adds elemental carbon items to the game, including graphite, diamonds, graphene, and more.",
@ -8,9 +8,9 @@
"homepage": "https://discord.gg/ufvFUJtVwk", "homepage": "https://discord.gg/ufvFUJtVwk",
"dependencies": [ "dependencies": [
"base >= 2.0.42", "base >= 2.0.42",
"? bztitanium", "? bztitanium2",
"? bzsilicon", "? bzsilicon2",
"? bzzirconium", "? bzzirconium2",
"? bzfoundry2", "? bzfoundry2",
"? space-exploration", "? space-exploration",
"? aai-industry", "? aai-industry",

View file

@ -24,7 +24,7 @@ if mods["wood-industry"] then precursor = "charcoal" end
{ {
util.item(precursor), util.item(precursor),
util.fluid("steam"), 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 = { results = {
{type="item", name= "activated-carbon", amount=1}, {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.item("carbon-black", 5),
util.fluid("steam"), 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 = { results = {
{type="item", name= "activated-carbon", amount=1}, {type="item", name= "activated-carbon", amount=1},