From d695f84c5de8b1a27f72f7abd4e2faddef9c8308 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Sun, 2 Nov 2025 09:14:23 +0100 Subject: [PATCH 1/4] Fix booleans being strings --- GasGasGases2/data-util.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GasGasGases2/data-util.lua b/GasGasGases2/data-util.lua index 81def01..a20f4b8 100644 --- a/GasGasGases2/data-util.lua +++ b/GasGasGases2/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 4f571d801bdd708010629ec541cc13d83f433132 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Sun, 2 Nov 2025 09:15:09 +0100 Subject: [PATCH 2/4] Fix name of argon-extraction and use basic-chemistry crafting category https://discord.com/channels/1174743568590590053/1429279779634417684/1429279779634417684 --- GasGasGases2/prototypes/recipes.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/GasGasGases2/prototypes/recipes.lua b/GasGasGases2/prototypes/recipes.lua index b1638d0..830f7fc 100644 --- a/GasGasGases2/prototypes/recipes.lua +++ b/GasGasGases2/prototypes/recipes.lua @@ -294,7 +294,8 @@ if mods["bzgas2"] then { type = "recipe", name = "argon-extraction", - category = "chemistry", + localised_name = { "fluid-name.argon" }, + category = data.raw["recipe-category"]["basic-chemistry"] and "basic-chemistry" or "chemistry", icons = (mods["Krastorio2"] and { { icon = "__GasGasGases2__/graphics/icons/argon.png", icon_size = 64}, From e3dfbce46cb05c68d1bc71b6f6421186dd3ce017 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Sun, 2 Nov 2025 10:28:29 +0100 Subject: [PATCH 3/4] Change optics to lamp --- GasGasGases2/prototypes/technology.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GasGasGases2/prototypes/technology.lua b/GasGasGases2/prototypes/technology.lua index 027d4d9..e47e981 100644 --- a/GasGasGases2/prototypes/technology.lua +++ b/GasGasGases2/prototypes/technology.lua @@ -33,5 +33,5 @@ data:extend( }) util.add_prerequisite("chemical-science-pack", "air-liquefaction") if not mods["bzgas2"] then - util.add_prerequisite("optics", "air-liquefaction") + util.add_prerequisite("lamp", "air-liquefaction") end \ No newline at end of file From 48ecef0f98ff9d097ecde8a9d946f2a8d25f895f Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Sun, 2 Nov 2025 18:50:17 +0100 Subject: [PATCH 4/4] 2.0.3 --- GasGasGases2/changelog.txt | 7 +++++++ GasGasGases2/info.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/GasGasGases2/changelog.txt b/GasGasGases2/changelog.txt index 602b35e..981099b 100644 --- a/GasGasGases2/changelog.txt +++ b/GasGasGases2/changelog.txt @@ -1,4 +1,11 @@ --------------------------------------------------------------------------------------------------- +Version: 2.0.3 +Date: 02.11.2025 + Bug Fixes: + - Fix name of argon extraction recipe + - Argon extraction recipe uses basic-chemistry crafting category + - Change "optics" to "lamp" to respect the Factorio 2.0 renaming +--------------------------------------------------------------------------------------------------- Version: 2.0.2 Date: 21.10.2025 Changes: diff --git a/GasGasGases2/info.json b/GasGasGases2/info.json index 957dd5a..9392ab6 100644 --- a/GasGasGases2/info.json +++ b/GasGasGases2/info.json @@ -1,6 +1,6 @@ { "name": "GasGasGases2", - "version": "2.0.2", + "version": "2.0.3", "factorio_version": "2.0", "title": "GasGasGases", "description": "This mod is inspired by Brevven's BZ mods and adds the 6 noble gases plus uses for them.",