mod compat

This commit is contained in:
Brevven 2025-01-07 04:15:41 -08:00
parent 4bb663bfe0
commit 2377b7e7eb
2 changed files with 3 additions and 1 deletions

View file

@ -3,6 +3,8 @@ Version: 2.0.1
Date: 2025-01-07
Changes:
- In Space Age, modded sand (eg in AAI Industry) will now be created in basic crusher
Fixes:
- Attempted fix for crash with a large suite of mods, one of which seems to set a "deadlock" global variable
---------------------------------------------------------------------------------------------------
Version: 2.0.0
Date: 2025-01-06

View file

@ -1,7 +1,7 @@
-- Deadlock stacking recipes
local util = require("__bzsilicon__.data-util");
if deadlock then
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