Compare commits

...

3 commits
2.0.1 ... main

Author SHA1 Message Date
Simon Brodtmann
04859fe034 2.0.2 2025-10-22 23:25:55 +02:00
Simon Brodtmann
3346155a08 Fix epoxy recipe 2025-10-22 00:16:14 +02:00
Simon Brodtmann
1e8af13706 Fix booleans being strings 2025-10-22 00:16:01 +02:00
4 changed files with 9 additions and 4 deletions

View file

@ -1,4 +1,9 @@
---------------------------------------------------------------------------------------------------
Version: 2.0.2
Date: 22.10.2025
Bug Fixes:
- Fix epoxy recipe
---------------------------------------------------------------------------------------------------
Version: 2.0.1
Date: 21.10.2025
Changes:

View file

@ -1191,8 +1191,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": "bzchlorine2",
"version": "2.0.1",
"version": "2.0.2",
"factorio_version": "2.0",
"title": "Salt & Chlorine",
"description": "Adds salt, chlorine and more to the base game. Reworks advanced circuit production.",

View file

@ -1,6 +1,6 @@
local util = require("data-util");
local cl_name = mods.Krastorio2 and "kr-chlorine" or cl_name
local cl_name = mods.Krastorio2 and "kr-chlorine" or "chlorine"
data:extend({
{