From d134d735f9d20db384f1b3d70e430345eeb7e440 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Wed, 22 Oct 2025 22:26:27 +0200 Subject: [PATCH 1/5] Fix booleans being strings --- ChemistryForYou2/data-util.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ChemistryForYou2/data-util.lua b/ChemistryForYou2/data-util.lua index 81def01..a20f4b8 100644 --- a/ChemistryForYou2/data-util.lua +++ b/ChemistryForYou2/data-util.lua @@ -855,8 +855,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 eedef2d3174f0d02f60a43a4b6a4959c167ddbc4 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Wed, 22 Oct 2025 22:26:48 +0200 Subject: [PATCH 2/5] Fix zeolite recipe for when silica is not present --- ChemistryForYou2/prototypes/recipes.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ChemistryForYou2/prototypes/recipes.lua b/ChemistryForYou2/prototypes/recipes.lua index 2314d70..c808575 100644 --- a/ChemistryForYou2/prototypes/recipes.lua +++ b/ChemistryForYou2/prototypes/recipes.lua @@ -321,7 +321,7 @@ data:extend({ order = "a", enabled = false, energy_required = 8, - ingredients = {{type="item", name="sodium-aluminate", amount=5},(data.raw.fluid["gas"] and {type="item", name="silica", amount=5}) or {type="item", name="stone", amount=5}, {type="fluid", name="water", amount=100}}, + ingredients = {{type="item", name="sodium-aluminate", amount=5},(data.raw.item["silica"] and {type="item", name="silica", amount=5}) or {type="item", name="stone", amount=5}, {type="fluid", name="water", amount=100}}, results = {{type="item", name="zeolite", amount=10}}, }, { From 7f7cec98cc49e7ef5e359d62f91ae0cf73f53eb1 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Wed, 22 Oct 2025 23:24:17 +0200 Subject: [PATCH 3/5] 2.0.8 --- ChemistryForYou2/changelog.txt | 5 +++++ ChemistryForYou2/info.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChemistryForYou2/changelog.txt b/ChemistryForYou2/changelog.txt index 6a777de..bd31bd1 100644 --- a/ChemistryForYou2/changelog.txt +++ b/ChemistryForYou2/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 2.0.8 +Date: 22.10.2025 + Changes: + - Fix zeolite recipe for when silica is not present +--------------------------------------------------------------------------------------------------- Version: 2.0.7 Date: 21.10.2025 Changes: diff --git a/ChemistryForYou2/info.json b/ChemistryForYou2/info.json index 667bd47..02cab6d 100644 --- a/ChemistryForYou2/info.json +++ b/ChemistryForYou2/info.json @@ -1,6 +1,6 @@ { "name": "ChemistryForYou2", - "version": "2.0.7", + "version": "2.0.8", "factorio_version": "2.0", "title": "ChemistryForYou", "description": "This mod adds more chemistry and is intented to be played with my other mods aswell as K2, SE and BZ.\n\nThis mod is inspired by Brevven's BZ mods.", From cca6d11b900f73fd233b64136b2b9bf243e5df52 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Sun, 2 Nov 2025 13:21:26 +0100 Subject: [PATCH 4/5] Fix technology icons --- ChemistryForYou2/prototypes/technology.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ChemistryForYou2/prototypes/technology.lua b/ChemistryForYou2/prototypes/technology.lua index f1e0ff8..26e170f 100644 --- a/ChemistryForYou2/prototypes/technology.lua +++ b/ChemistryForYou2/prototypes/technology.lua @@ -67,7 +67,7 @@ data:extend( icons = (mods["Krastorio2"] and { { icon = "__Krastorio2Assets__/icons/items/glass.png", icon_size = 64}, - { icon = "__ChemistryForYou2__/graphics/icons/sodium-carbonate.png", icon_size = 128, scale=0.25, shift= {-8, -8}}, + { icon = "__ChemistryForYou2__/graphics/icons/sodium-carbonate.png", icon_size = 128, scale=0.5, shift= {-24, -24}}, } or { { icon = "__ChemistryForYou2__/graphics/icons/sodium-carbonate.png", icon_size = 128}, }), @@ -157,7 +157,7 @@ data:extend( icons = (mods["BrimStuff-Updated"] and { { icon = "__base__/graphics/icons/fluid/sulfuric-acid.png", icon_size = 64}, - { icon = "__BrimStuff-Updated__/graphics/icons/potassium-nitrate.png", icon_size = 64, scale=0.5, shift= {-8, -8}}, + { icon = "__BrimStuff-Updated__/graphics/icons/potassium-nitrate.png", icon_size = 64, scale=1, shift= {-24, -24}}, } or { { icon = "__base__/graphics/icons/fluid/sulfuric-acid.png", icon_size = 64}, }), @@ -525,7 +525,7 @@ if mods["Krastorio2"] then type = "technology", name = "air-scrubing-oil-processing", icons = {{ icon = "__base__/graphics/icons/fluid/light-oil.png", icon_size = 64}, - { icon = "__Limestone2__/graphics/icons/limestone-powder.png", icon_size = 64, scale=0.3, shift= {-8, -8}},}, + { icon = "__Limestone2__/graphics/icons/limestone-powder.png", icon_size = 64, scale=1, shift= {-24, -24}},}, prerequisites = {"productivity-science-pack", "aluminium-chemistry"}, effects = { { From ddebf18fa8b6a27eec8423c2a1fcb0121936a65f Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Sun, 2 Nov 2025 18:55:38 +0100 Subject: [PATCH 5/5] 2.0.9 --- ChemistryForYou2/changelog.txt | 5 +++++ ChemistryForYou2/info.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChemistryForYou2/changelog.txt b/ChemistryForYou2/changelog.txt index bd31bd1..52f6abb 100644 --- a/ChemistryForYou2/changelog.txt +++ b/ChemistryForYou2/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 2.0.9 +Date: 02.11.2025 + Bug Fixes: + - Fix some technology icons +--------------------------------------------------------------------------------------------------- Version: 2.0.8 Date: 22.10.2025 Changes: diff --git a/ChemistryForYou2/info.json b/ChemistryForYou2/info.json index 02cab6d..2fb3672 100644 --- a/ChemistryForYou2/info.json +++ b/ChemistryForYou2/info.json @@ -1,6 +1,6 @@ { "name": "ChemistryForYou2", - "version": "2.0.8", + "version": "2.0.9", "factorio_version": "2.0", "title": "ChemistryForYou", "description": "This mod adds more chemistry and is intented to be played with my other mods aswell as K2, SE and BZ.\n\nThis mod is inspired by Brevven's BZ mods.",