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
|
||||
|
||||
if data.raw.item["carbon"] then
|
||||
|
||||
bobmods.lib.recipe.replace_ingredient("basic-electronic-components", "coal", "carbon")
|
||||
elseif data.raw.item["coke"] then
|
||||
bobmods.lib.recipe.replace_ingredient("basic-electronic-components", "coal", "coke")
|
||||
elseif data.raw.item[mods["Krastorio2"] and "kr-coke" or "coke"] then
|
||||
bobmods.lib.recipe.replace_ingredient("basic-electronic-components", "coal", mods["Krastorio2"] and "kr-coke" or "coke")
|
||||
end
|
||||
|
||||
if data.raw.item["silicon-wafer"] then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue