From 1e8af13706390d38a105c135e3cacd906b4ffacb Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Wed, 22 Oct 2025 00:16:01 +0200 Subject: [PATCH 1/3] 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 2/3] 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 3/3] 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.",