Compatibility fixes

This commit is contained in:
Simon Brodtmann 2025-10-13 16:04:32 +02:00
parent 37161038a4
commit da5e870ce9

View file

@ -66,8 +66,8 @@ if data.raw.item["silicon-nitride"] then
bobmods.lib.recipe.replace_ingredient("processing-electronics", "plastic-bar", "silicon-nitride")
end
if data.raw.item["glass"] then
bobmods.lib.recipe.add_ingredient("fibreglass-board", {type="item", name="glass", amount=1})
if data.raw.item[mods["Krastorio2"] and "kr-glass" or "glass"] then
bobmods.lib.recipe.add_ingredient("fibreglass-board", {type="item", name=mods["Krastorio2"] and "kr-glass" or "glass", amount=1})
else
bobmods.lib.recipe.add_ingredient("fibreglass-board", {type="item", name="plastic-bar", amount=1})
end