diff --git a/ChemistryForYou2/changelog.txt b/ChemistryForYou2/changelog.txt index 52f6abb..6a777de 100644 --- a/ChemistryForYou2/changelog.txt +++ b/ChemistryForYou2/changelog.txt @@ -1,14 +1,4 @@ --------------------------------------------------------------------------------------------------- -Version: 2.0.9 -Date: 02.11.2025 - Bug Fixes: - - Fix some technology icons ---------------------------------------------------------------------------------------------------- -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/data-util.lua b/ChemistryForYou2/data-util.lua index a20f4b8..81def01 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 :| diff --git a/ChemistryForYou2/info.json b/ChemistryForYou2/info.json index 2fb3672..667bd47 100644 --- a/ChemistryForYou2/info.json +++ b/ChemistryForYou2/info.json @@ -1,6 +1,6 @@ { "name": "ChemistryForYou2", - "version": "2.0.9", + "version": "2.0.7", "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.", diff --git a/ChemistryForYou2/prototypes/recipes.lua b/ChemistryForYou2/prototypes/recipes.lua index c808575..2314d70 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.item["silica"] 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.fluid["gas"] 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}}, }, { diff --git a/ChemistryForYou2/prototypes/technology.lua b/ChemistryForYou2/prototypes/technology.lua index 26e170f..f1e0ff8 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.5, shift= {-24, -24}}, + { icon = "__ChemistryForYou2__/graphics/icons/sodium-carbonate.png", icon_size = 128, scale=0.25, shift= {-8, -8}}, } 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=1, shift= {-24, -24}}, + { icon = "__BrimStuff-Updated__/graphics/icons/potassium-nitrate.png", icon_size = 64, scale=0.5, shift= {-8, -8}}, } 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=1, shift= {-24, -24}},}, + { icon = "__Limestone2__/graphics/icons/limestone-powder.png", icon_size = 64, scale=0.3, shift= {-8, -8}},}, prerequisites = {"productivity-science-pack", "aluminium-chemistry"}, effects = { {