diff --git a/bzaluminum2/compatibility/248k-recipes.lua b/bzaluminum2/compatibility/248k-recipes.lua index 30031ea..58dc490 100644 --- a/bzaluminum2/compatibility/248k-recipes.lua +++ b/bzaluminum2/compatibility/248k-recipes.lua @@ -5,7 +5,7 @@ data:extend({ { name = 'el_purify_aluminum_recipe', type = 'recipe', - enabled = 'false', + enabled = false, category = 'el_purifier_category', main_product = 'el_dirty_water', ingredients = { diff --git a/bzaluminum2/data-util.lua b/bzaluminum2/data-util.lua index 177944b..e69f0d5 100644 --- a/bzaluminum2/data-util.lua +++ b/bzaluminum2/data-util.lua @@ -1188,8 +1188,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 :|