Fix K2 compatibility
This commit is contained in:
parent
6bbb2beb8e
commit
8739f2c2e6
1 changed files with 2 additions and 3 deletions
|
@ -28,10 +28,9 @@ if data.raw.item["tinned-copper-cable"] then
|
||||||
end
|
end
|
||||||
|
|
||||||
if data.raw.item["carbon"] then
|
if data.raw.item["carbon"] then
|
||||||
|
|
||||||
bobmods.lib.recipe.replace_ingredient("basic-electronic-components", "coal", "carbon")
|
bobmods.lib.recipe.replace_ingredient("basic-electronic-components", "coal", "carbon")
|
||||||
elseif data.raw.item["coke"] then
|
elseif data.raw.item[mods["Krastorio2"] and "kr-coke" or "coke"] then
|
||||||
bobmods.lib.recipe.replace_ingredient("basic-electronic-components", "coal", "coke")
|
bobmods.lib.recipe.replace_ingredient("basic-electronic-components", "coal", mods["Krastorio2"] and "kr-coke" or "coke")
|
||||||
end
|
end
|
||||||
|
|
||||||
if data.raw.item["silicon-wafer"] then
|
if data.raw.item["silicon-wafer"] then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue