diff --git a/GasGasGases2/changelog.txt b/GasGasGases2/changelog.txt index 981099b..602b35e 100644 --- a/GasGasGases2/changelog.txt +++ b/GasGasGases2/changelog.txt @@ -1,11 +1,4 @@ --------------------------------------------------------------------------------------------------- -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/data-util.lua b/GasGasGases2/data-util.lua index a20f4b8..81def01 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/info.json b/GasGasGases2/info.json index 9392ab6..957dd5a 100644 --- a/GasGasGases2/info.json +++ b/GasGasGases2/info.json @@ -1,6 +1,6 @@ { "name": "GasGasGases2", - "version": "2.0.3", + "version": "2.0.2", "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.", diff --git a/GasGasGases2/prototypes/recipes.lua b/GasGasGases2/prototypes/recipes.lua index 830f7fc..b1638d0 100644 --- a/GasGasGases2/prototypes/recipes.lua +++ b/GasGasGases2/prototypes/recipes.lua @@ -294,8 +294,7 @@ if mods["bzgas2"] then { type = "recipe", name = "argon-extraction", - localised_name = { "fluid-name.argon" }, - category = data.raw["recipe-category"]["basic-chemistry"] and "basic-chemistry" or "chemistry", + category = "chemistry", icons = (mods["Krastorio2"] and { { icon = "__GasGasGases2__/graphics/icons/argon.png", icon_size = 64}, diff --git a/GasGasGases2/prototypes/technology.lua b/GasGasGases2/prototypes/technology.lua index e47e981..027d4d9 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("lamp", "air-liquefaction") + util.add_prerequisite("optics", "air-liquefaction") end \ No newline at end of file