From 744730de91fec78891bd02d5f3877ccae088fbbc Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Sun, 19 Oct 2025 00:00:52 +0200 Subject: [PATCH 01/14] Update to bzfoundry2 --- bzchlorine2/data-util.lua | 2 +- bzchlorine2/info.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bzchlorine2/data-util.lua b/bzchlorine2/data-util.lua index 4547d4f..026ef8b 100644 --- a/bzchlorine2/data-util.lua +++ b/bzchlorine2/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/bzchlorine2/info.json b/bzchlorine2/info.json index 7f8159f..2dd35f8 100644 --- a/bzchlorine2/info.json +++ b/bzchlorine2/info.json @@ -8,7 +8,7 @@ "homepage": "https://discord.gg/ufvFUJtVwk", "dependencies": [ "base >= 2.0.0", - "? bzfoundry >= 2.0.0", + "? bzfoundry2 >= 2.0.0", "? bztitanium >= 2.0.26", "? bzlead >= 2.0.28", "? bzzirconium >= 2.1.13", From fa9dd797efefd920a43c328849e12527f8fea284 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Sun, 19 Oct 2025 00:09:05 +0200 Subject: [PATCH 02/14] readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index af0b012..cc0c765 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Adds salt, chlorine, and a variety of intermediates to the base game. Changes ad Compatible with Krastorio 2 and Space Exploration. A standalone piece of BZ Mods. -## Thanks to +## Credits - Brevven ([Original mod](https://mods.factorio.com/mod/bzchlorine)) - [Benjah-bmm27](https://commons.wikimedia.org/wiki/File:Vinyl-chloride-3D-vdW.png) (vinyl chloride icon) - [snouz](https://github.com/snouz) (logo inspiration) From 65f36726296bc7c6285ba90ffdb70309a8726c23 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Sun, 19 Oct 2025 00:12:04 +0200 Subject: [PATCH 03/14] readme --- README.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/README.md b/README.md index cc0c765..7b0e69d 100644 --- a/README.md +++ b/README.md @@ -3,11 +3,8 @@ **Compatibility with Space Age is explicitly excluded until someone integrates it nicely.** # Salt & Chlorine - Adds salt, chlorine, and a variety of intermediates to the base game. Changes advanced circuit production. -Compatible with Krastorio 2 and Space Exploration. A standalone piece of BZ Mods. - ## Credits - Brevven ([Original mod](https://mods.factorio.com/mod/bzchlorine)) - [Benjah-bmm27](https://commons.wikimedia.org/wiki/File:Vinyl-chloride-3D-vdW.png) (vinyl chloride icon) From 2f9fdd508fff7b7644f2e98221085733f98f9bae Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Sun, 19 Oct 2025 14:42:46 +0200 Subject: [PATCH 04/14] Update to bzgas2 --- bzchlorine2/info.json | 2 +- bzchlorine2/prototypes/chlorine.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bzchlorine2/info.json b/bzchlorine2/info.json index 2dd35f8..fb647db 100644 --- a/bzchlorine2/info.json +++ b/bzchlorine2/info.json @@ -15,7 +15,7 @@ "? bztungsten >= 0.6.0", "? bzcarbon >= 2.0.21", "? bztin >= 2.1.15", - "? bzgas >= 2.0.0", + "? bzgas2 >= 2.0.0", "? space-exploration >= 0.7.34", "? aai-industry >= 0.6.13", "(?) aai-loaders >= 0.2.7", diff --git a/bzchlorine2/prototypes/chlorine.lua b/bzchlorine2/prototypes/chlorine.lua index 256e384..ae96373 100644 --- a/bzchlorine2/prototypes/chlorine.lua +++ b/bzchlorine2/prototypes/chlorine.lua @@ -185,7 +185,7 @@ else util.add_unlock("kr-fluids-chemistry", "hydrogen-chloride-salt") end -if mods.bzgas then +if mods.bzgas2 then data:extend({ { type="recipe", @@ -198,7 +198,7 @@ if mods.bzgas then {type="fluid", name=hcl_name, amount=5}, }, icons = { - {icon = "__bzgas__/graphics/icons/bakelite.png", icon_size=128}, + {icon = "__bzgas2__/graphics/icons/bakelite.png", icon_size=128}, {icon = "__bzchlorine2__/graphics/icons/hcl.png", icon_size=128, scale=0.125, shift={-8,-8}}, }, enabled = false, From 57dea0540b03c32bfe7be0b7e583ec143239e33b Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Sun, 19 Oct 2025 15:52:29 +0200 Subject: [PATCH 05/14] Update to bztungsten2 --- bzchlorine2/info.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bzchlorine2/info.json b/bzchlorine2/info.json index fb647db..0ed3240 100644 --- a/bzchlorine2/info.json +++ b/bzchlorine2/info.json @@ -12,7 +12,7 @@ "? bztitanium >= 2.0.26", "? bzlead >= 2.0.28", "? bzzirconium >= 2.1.13", - "? bztungsten >= 0.6.0", + "? bztungsten2 >= 2.0.0", "? bzcarbon >= 2.0.21", "? bztin >= 2.1.15", "? bzgas2 >= 2.0.0", From f9b3d84f887d2aeb5a206e7ae0594a5a27a43da7 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Sun, 19 Oct 2025 17:53:51 +0200 Subject: [PATCH 06/14] Update to bzcarbon2 --- bzchlorine2/info.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bzchlorine2/info.json b/bzchlorine2/info.json index 0ed3240..f4510a9 100644 --- a/bzchlorine2/info.json +++ b/bzchlorine2/info.json @@ -13,7 +13,7 @@ "? bzlead >= 2.0.28", "? bzzirconium >= 2.1.13", "? bztungsten2 >= 2.0.0", - "? bzcarbon >= 2.0.21", + "? bzcarbon2 >= 2.0.22", "? bztin >= 2.1.15", "? bzgas2 >= 2.0.0", "? space-exploration >= 0.7.34", From 19141e3b76dbc75ecc4e901c7abee03776e60956 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Mon, 20 Oct 2025 10:23:10 +0200 Subject: [PATCH 07/14] Update to bzlead2 --- bzchlorine2/info.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bzchlorine2/info.json b/bzchlorine2/info.json index f4510a9..ae4fad8 100644 --- a/bzchlorine2/info.json +++ b/bzchlorine2/info.json @@ -10,7 +10,7 @@ "base >= 2.0.0", "? bzfoundry2 >= 2.0.0", "? bztitanium >= 2.0.26", - "? bzlead >= 2.0.28", + "? bzlead2 >= 2.0.29", "? bzzirconium >= 2.1.13", "? bztungsten2 >= 2.0.0", "? bzcarbon2 >= 2.0.22", From 335ca4580c3c52b83bc80ef1afeefd4041c3fa40 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Tue, 21 Oct 2025 14:27:21 +0200 Subject: [PATCH 08/14] Update to bztin2 --- bzchlorine2/info.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bzchlorine2/info.json b/bzchlorine2/info.json index ae4fad8..bc13c6a 100644 --- a/bzchlorine2/info.json +++ b/bzchlorine2/info.json @@ -14,7 +14,7 @@ "? bzzirconium >= 2.1.13", "? bztungsten2 >= 2.0.0", "? bzcarbon2 >= 2.0.22", - "? bztin >= 2.1.15", + "? bztin2 >= 2.1.16", "? bzgas2 >= 2.0.0", "? space-exploration >= 0.7.34", "? aai-industry >= 0.6.13", From 0c48494f89dd3aae867e0d388c443d0d7be1973c Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Tue, 21 Oct 2025 14:27:24 +0200 Subject: [PATCH 09/14] Update to bztitanium2 --- bzchlorine2/info.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bzchlorine2/info.json b/bzchlorine2/info.json index bc13c6a..27d8bf9 100644 --- a/bzchlorine2/info.json +++ b/bzchlorine2/info.json @@ -9,7 +9,7 @@ "dependencies": [ "base >= 2.0.0", "? bzfoundry2 >= 2.0.0", - "? bztitanium >= 2.0.26", + "? bztitanium2 >= 2.0.27", "? bzlead2 >= 2.0.29", "? bzzirconium >= 2.1.13", "? bztungsten2 >= 2.0.0", From 9d6fa99849bd9bcf572fec7e5bb98528a1711b34 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Tue, 21 Oct 2025 14:52:53 +0200 Subject: [PATCH 10/14] Update to bzzirconium2 --- bzchlorine2/info.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bzchlorine2/info.json b/bzchlorine2/info.json index 27d8bf9..f2d4d41 100644 --- a/bzchlorine2/info.json +++ b/bzchlorine2/info.json @@ -11,7 +11,7 @@ "? bzfoundry2 >= 2.0.0", "? bztitanium2 >= 2.0.27", "? bzlead2 >= 2.0.29", - "? bzzirconium >= 2.1.13", + "? bzzirconium2 >= 2.1.14", "? bztungsten2 >= 2.0.0", "? bzcarbon2 >= 2.0.22", "? bztin2 >= 2.1.16", From e168c68a6646b7e0b7dd747bc59919f844d739ce Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Tue, 21 Oct 2025 16:01:25 +0200 Subject: [PATCH 11/14] 2.0.1 --- bzchlorine2/changelog.txt | 5 +++++ bzchlorine2/info.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bzchlorine2/changelog.txt b/bzchlorine2/changelog.txt index 39b5261..76bbad1 100644 --- a/bzchlorine2/changelog.txt +++ b/bzchlorine2/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 2.0.1 +Date: 21.10.2025 + Changes: + - Switch to bz mods forks +--------------------------------------------------------------------------------------------------- Version: 2.0.0 Date: 18.10.2025 Changes: diff --git a/bzchlorine2/info.json b/bzchlorine2/info.json index f2d4d41..ff86281 100644 --- a/bzchlorine2/info.json +++ b/bzchlorine2/info.json @@ -1,6 +1,6 @@ { "name": "bzchlorine2", - "version": "2.0.0", + "version": "2.0.1", "factorio_version": "2.0", "title": "Salt & Chlorine", "description": "Adds salt, chlorine and more to the base game. Reworks advanced circuit production.", From 1e8af13706390d38a105c135e3cacd906b4ffacb Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Wed, 22 Oct 2025 00:16:01 +0200 Subject: [PATCH 12/14] Fix booleans being strings --- bzchlorine2/data-util.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bzchlorine2/data-util.lua b/bzchlorine2/data-util.lua index 026ef8b..14619f2 100644 --- a/bzchlorine2/data-util.lua +++ b/bzchlorine2/data-util.lua @@ -1191,8 +1191,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 :| From 3346155a084c7f9c0f22ac1d15e85f9ff3f7a438 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Wed, 22 Oct 2025 00:16:14 +0200 Subject: [PATCH 13/14] Fix epoxy recipe --- bzchlorine2/prototypes/epoxy.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bzchlorine2/prototypes/epoxy.lua b/bzchlorine2/prototypes/epoxy.lua index b491650..b7f2fe3 100644 --- a/bzchlorine2/prototypes/epoxy.lua +++ b/bzchlorine2/prototypes/epoxy.lua @@ -1,6 +1,6 @@ local util = require("data-util"); -local cl_name = mods.Krastorio2 and "kr-chlorine" or cl_name +local cl_name = mods.Krastorio2 and "kr-chlorine" or "chlorine" data:extend({ { From 04859fe03456538276a901618409031d79f61c8d Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Wed, 22 Oct 2025 23:25:55 +0200 Subject: [PATCH 14/14] 2.0.2 --- bzchlorine2/changelog.txt | 5 +++++ bzchlorine2/info.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bzchlorine2/changelog.txt b/bzchlorine2/changelog.txt index 76bbad1..018feb7 100644 --- a/bzchlorine2/changelog.txt +++ b/bzchlorine2/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 2.0.2 +Date: 22.10.2025 + Bug Fixes: + - Fix epoxy recipe +--------------------------------------------------------------------------------------------------- Version: 2.0.1 Date: 21.10.2025 Changes: diff --git a/bzchlorine2/info.json b/bzchlorine2/info.json index ff86281..8035ac3 100644 --- a/bzchlorine2/info.json +++ b/bzchlorine2/info.json @@ -1,6 +1,6 @@ { "name": "bzchlorine2", - "version": "2.0.1", + "version": "2.0.2", "factorio_version": "2.0", "title": "Salt & Chlorine", "description": "Adds salt, chlorine and more to the base game. Reworks advanced circuit production.",