diff --git a/bzchlorine2/data-util.lua b/bzchlorine2/data-util.lua index 026ef8b..14619f2 100644 --- a/bzchlorine2/data-util.lua +++ b/bzchlorine2/data-util.lua @@ -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 :| diff --git a/bzchlorine2/prototypes/epoxy.lua b/bzchlorine2/prototypes/epoxy.lua index b491650..b7f2fe3 100644 --- a/bzchlorine2/prototypes/epoxy.lua +++ b/bzchlorine2/prototypes/epoxy.lua @@ -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({ {