k2 updates and spaced out

This commit is contained in:
Brevven 2025-05-04 03:29:43 -07:00
parent f8a6ecf923
commit 03451f3d45
10 changed files with 71 additions and 53 deletions

View file

@ -4,7 +4,7 @@ local util = require("__bzsilicon__.data-util");
if deadlock and deadlock["add_stack"] then
deadlock.add_stack("silica", "__bzsilicon__/graphics/icons/stacked/silica-stacked.png" , "deadlock-stacking-1", 64)
deadlock.add_stack("optical-fiber", "__bzsilicon__/graphics/icons/stacked/optical-fiber-stacked.png" , "deadlock-stacking-2", 64)
if not mods["Krastorio2"] then
if not util.k2() then
deadlock.add_stack("silicon", "__bzsilicon__/graphics/icons/stacked/silicon-stacked.png" , "deadlock-stacking-2", 64)
end
if util.me.more_intermediates() then
@ -20,7 +20,7 @@ end
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
if not util.k2() then
deadlock_crating.add_crate("silicon", "deadlock-crating-2")
end
if util.me.more_intermediates() then
@ -32,7 +32,7 @@ if deadlock_crating then
end
end
if mods["deadlock_stacked_recipes"] and mods["Krastorio2"] then
if mods["deadlock_stacked_recipes"] and util.k2() then
-- We assume the crushing stacked quartz -> silica recipe will be added.
util.remove_raw("recipe", "kr-vc-deadlock-stack-quartz")
end