Compatibility fixes
This commit is contained in:
parent
37161038a4
commit
da5e870ce9
1 changed files with 2 additions and 2 deletions
|
@ -66,8 +66,8 @@ if data.raw.item["silicon-nitride"] then
|
||||||
bobmods.lib.recipe.replace_ingredient("processing-electronics", "plastic-bar", "silicon-nitride")
|
bobmods.lib.recipe.replace_ingredient("processing-electronics", "plastic-bar", "silicon-nitride")
|
||||||
end
|
end
|
||||||
|
|
||||||
if data.raw.item["glass"] then
|
if data.raw.item[mods["Krastorio2"] and "kr-glass" or "glass"] then
|
||||||
bobmods.lib.recipe.add_ingredient("fibreglass-board", {type="item", name="glass", amount=1})
|
bobmods.lib.recipe.add_ingredient("fibreglass-board", {type="item", name=mods["Krastorio2"] and "kr-glass" or "glass", amount=1})
|
||||||
else
|
else
|
||||||
bobmods.lib.recipe.add_ingredient("fibreglass-board", {type="item", name="plastic-bar", amount=1})
|
bobmods.lib.recipe.add_ingredient("fibreglass-board", {type="item", name="plastic-bar", amount=1})
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue