diff --git a/Bio_Industries_2/data-updates.lua b/Bio_Industries_2/data-updates.lua index 16d34e9..013ac2f 100644 --- a/Bio_Industries_2/data-updates.lua +++ b/Bio_Industries_2/data-updates.lua @@ -372,8 +372,8 @@ if data.raw.item["ash"] and mods["pycoalprocessing"] then thxbob.lib.recipe.replace_ingredient("bi-seedling-2", "bi-ash", "ash") thxbob.lib.recipe.replace_ingredient("bi-logs-2", "bi-ash", "ash") - data.raw.recipe["bi-ash-1"].result = "ash" - data.raw.recipe["bi-ash-2"].result = "ash" + data.raw.recipe["bi-ash-1"].results[1].name = "ash" + data.raw.recipe["bi-ash-2"].results[1].name = "ash" thxbob.lib.recipe.replace_ingredient("bi-stone-brick", "bi-ash", "ash") thxbob.lib.recipe.replace_ingredient("bi-fertilizer-1", "bi-ash", "ash") diff --git a/Bio_Industries_2/prototypes/Bio_Farm/compatible_recipes.lua b/Bio_Industries_2/prototypes/Bio_Farm/compatible_recipes.lua index a521bfb..a15e5e5 100644 --- a/Bio_Industries_2/prototypes/Bio_Farm/compatible_recipes.lua +++ b/Bio_Industries_2/prototypes/Bio_Farm/compatible_recipes.lua @@ -417,13 +417,13 @@ if data.raw.item[data.raw.item["kr-sand"] and "kr-sand" or "sand"] or -- Adjust result for BioTech if mods["BioTech"] then BioInd.writeDebug("Adjusting result for \"BioTech\" …") - recipe.result = "biotech-sand" + recipe.results[1].name = "biotech-sand" -- Adjust result for Angel's elseif mods["angelsrefining"] then -- Adjust result BioInd.writeDebug("Adjusting result for \"angelsrefining\" …") - recipe.result = "solid-sand" + recipe.results[1].name = "solid-sand" -- Adjust icon for Krastorio elseif mods["Krastorio2"] or mods["Krastorio2-spaced-out"] then