Fix old recipe result code
This commit is contained in:
parent
22e27da6eb
commit
233eb08b0b
2 changed files with 4 additions and 4 deletions
|
|
@ -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-seedling-2", "bi-ash", "ash")
|
||||||
thxbob.lib.recipe.replace_ingredient("bi-logs-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-1"].results[1].name = "ash"
|
||||||
data.raw.recipe["bi-ash-2"].result = "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-stone-brick", "bi-ash", "ash")
|
||||||
thxbob.lib.recipe.replace_ingredient("bi-fertilizer-1", "bi-ash", "ash")
|
thxbob.lib.recipe.replace_ingredient("bi-fertilizer-1", "bi-ash", "ash")
|
||||||
|
|
|
||||||
|
|
@ -417,13 +417,13 @@ if data.raw.item[data.raw.item["kr-sand"] and "kr-sand" or "sand"] or
|
||||||
-- Adjust result for BioTech
|
-- Adjust result for BioTech
|
||||||
if mods["BioTech"] then
|
if mods["BioTech"] then
|
||||||
BioInd.writeDebug("Adjusting result for \"BioTech\" …")
|
BioInd.writeDebug("Adjusting result for \"BioTech\" …")
|
||||||
recipe.result = "biotech-sand"
|
recipe.results[1].name = "biotech-sand"
|
||||||
|
|
||||||
-- Adjust result for Angel's
|
-- Adjust result for Angel's
|
||||||
elseif mods["angelsrefining"] then
|
elseif mods["angelsrefining"] then
|
||||||
-- Adjust result
|
-- Adjust result
|
||||||
BioInd.writeDebug("Adjusting result for \"angelsrefining\" …")
|
BioInd.writeDebug("Adjusting result for \"angelsrefining\" …")
|
||||||
recipe.result = "solid-sand"
|
recipe.results[1].name = "solid-sand"
|
||||||
|
|
||||||
-- Adjust icon for Krastorio
|
-- Adjust icon for Krastorio
|
||||||
elseif mods["Krastorio2"] or mods["Krastorio2-spaced-out"] then
|
elseif mods["Krastorio2"] or mods["Krastorio2-spaced-out"] then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue