Fix missing prerequisite with Krastorio

This commit is contained in:
Simon Brodtmann 2025-11-05 00:20:05 +01:00
parent 14eebeb797
commit cbb2a32ea6

View file

@ -6,8 +6,6 @@ if mods.Bio_Industries then
util.remove_ingredient("foundry", "silica") util.remove_ingredient("foundry", "silica")
end end
if data.raw.item["coke"] and not mods.Krastorio2 then if data.raw.item["coke"] and not mods.Krastorio2 then
if deadlock then if deadlock then
deadlock.add_stack("coke", "__bzfoundry2__/graphics/icons/coke-stacked.png", "deadlock-stacking-1", 128) deadlock.add_stack("coke", "__bzfoundry2__/graphics/icons/coke-stacked.png", "deadlock-stacking-1", 128)
@ -17,6 +15,9 @@ if data.raw.item["coke"] and not mods.Krastorio2 then
end end
end end
if mods["Krastorio2"] then
util.add_prerequisite("foundry", "automation-science-pack")
end
util.add_to_product("vtk-deepcore-mining-ore-chunk-refining-coal-focus", "vtk-deepcore-mining-coal-chunk", 8) util.add_to_product("vtk-deepcore-mining-ore-chunk-refining-coal-focus", "vtk-deepcore-mining-coal-chunk", 8)
util.add_to_product("vtk-deepcore-mining-ore-chunk-refining", "vtk-deepcore-mining-coal-chunk", 10) util.add_to_product("vtk-deepcore-mining-ore-chunk-refining", "vtk-deepcore-mining-coal-chunk", 10)