From 233eb08b0b5fae9d613cf595e639da6aef457e60 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Tue, 24 Feb 2026 22:04:47 +0100 Subject: [PATCH] Fix old recipe result code --- Bio_Industries_2/data-updates.lua | 4 ++-- Bio_Industries_2/prototypes/Bio_Farm/compatible_recipes.lua | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Bio_Industries_2/data-updates.lua b/Bio_Industries_2/data-updates.lua index 16d34e90..013ac2fb 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 a521bfb2..a15e5e5b 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