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 :| 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},