Mod compatibility fixes

This commit is contained in:
Simon Brodtmann 2025-10-11 18:08:38 +02:00
parent 95e0570f4d
commit 13b23b6523
3 changed files with 9 additions and 9 deletions

View file

@ -24,9 +24,7 @@ if mods["bzsilicon"] then
bobmods.lib.recipe.add_ingredient("optical-fiber", {type="item", name="insulated-cable", amount=1})
--seems that new version of bzsilicon adds this ingredient which interfears
if data.raw.item["silicon"] then
bobmods.lib.recipe.remove_ingredient("processing-unit", "silicon")
end
bobmods.lib.recipe.remove_ingredient("processing-unit", mods["Krastorio2"] and "kr-silicon" or "silicon")
end
------------------------------------------------------------------------------------------------------------------------------------------------