From d695f84c5de8b1a27f72f7abd4e2faddef9c8308 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Sun, 2 Nov 2025 09:14:23 +0100 Subject: [PATCH 1/2] 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/2] 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},