deadlock stacking thanks to GeneralTank

This commit is contained in:
Brevven 2021-02-28 18:38:08 -08:00
parent fbf1c2c86b
commit db912cb1de

25
deadlock-stacking.lua Normal file
View file

@ -0,0 +1,25 @@
-- Deadlock stacking recipes
if deadlock then
deadlock.add_stack("silica", nil, "deadlock-stacking-1", 64)
deadlock.add_stack("optical-fiber", nil, "deadlock-stacking-2", 64)
if not mods["Krastorio2"] then
deadlock.add_stack("silicon", nil, "deadlock-stacking-2", 64)
end
if settings.startup["bzsilicon-more-intermediates"].value == "yes" then
deadlock.add_stack("silicon-wafer", nil, "deadlock-stacking-2", 64)
deadlock.add_stack("solar-cell", nil, "deadlock-stacking-2", 64)
end
end
-- Deadlock crating recipes
if deadlock_crating then
deadlock_crating.add_crate("silica", "deadlock-crating-1")
deadlock_crating.add_crate("optical-fiber", "deadlock-crating-2")
if not mods["Krastorio2"] then
deadlock_crating.add_crate("silicon", "deadlock-crating-2")
end
if settings.startup["bzsilicon-more-intermediates"].value == "yes" then
deadlock_crating.add_crate("silicon-wafer", "deadlock-crating-2", 64)
deadlock_crating.add_crate("solar-cell", "deadlock-crating-2", 64)
end
end