Compare commits

...

5 commits
2.0.7 ... main

Author SHA1 Message Date
Simon Brodtmann
ddebf18fa8 2.0.9 2025-11-02 18:55:38 +01:00
Simon Brodtmann
cca6d11b90 Fix technology icons 2025-11-02 17:17:17 +01:00
Simon Brodtmann
7f7cec98cc 2.0.8 2025-10-22 23:24:17 +02:00
Simon Brodtmann
eedef2d317 Fix zeolite recipe for when silica is not present 2025-10-22 22:26:48 +02:00
Simon Brodtmann
d134d735f9 Fix booleans being strings 2025-10-22 22:26:27 +02:00
5 changed files with 17 additions and 7 deletions

View file

@ -1,4 +1,14 @@
---------------------------------------------------------------------------------------------------
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:

View file

@ -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 :|

View file

@ -1,6 +1,6 @@
{
"name": "ChemistryForYou2",
"version": "2.0.7",
"version": "2.0.9",
"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.",

View file

@ -321,7 +321,7 @@ data:extend({
order = "a",
enabled = false,
energy_required = 8,
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}},
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}},
results = {{type="item", name="zeolite", amount=10}},
},
{

View file

@ -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.25, shift= {-8, -8}},
{ icon = "__ChemistryForYou2__/graphics/icons/sodium-carbonate.png", icon_size = 128, scale=0.5, shift= {-24, -24}},
} 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=0.5, shift= {-8, -8}},
{ icon = "__BrimStuff-Updated__/graphics/icons/potassium-nitrate.png", icon_size = 64, scale=1, shift= {-24, -24}},
} 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=0.3, shift= {-8, -8}},},
{ icon = "__Limestone2__/graphics/icons/limestone-powder.png", icon_size = 64, scale=1, shift= {-24, -24}},},
prerequisites = {"productivity-science-pack", "aluminium-chemistry"},
effects = {
{