From a94931bb7016f67486203da6f4fb12a3d8d4f98f Mon Sep 17 00:00:00 2001 From: Brevven Date: Tue, 7 Jan 2025 04:13:24 -0800 Subject: [PATCH] mod compat --- changelog.txt | 5 +++++ info.json | 2 +- titanium-recipe-final-stacking.lua | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/changelog.txt b/changelog.txt index 9a39077..4bbe7f4 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 2.0.16 +Date: 2025-01-07 + Fixes: + - Improve compatibility with some mods. +--------------------------------------------------------------------------------------------------- Version: 2.0.15 Date: 2025-01-06 Fixes: diff --git a/info.json b/info.json index 6f670b9..549a84b 100644 --- a/info.json +++ b/info.json @@ -1,6 +1,6 @@ { "name": "bztitanium", - "version": "2.0.15", + "version": "2.0.16", "factorio_version": "2.0", "title": "Titanium", "author": "Brevven", diff --git a/titanium-recipe-final-stacking.lua b/titanium-recipe-final-stacking.lua index c79f750..5b733f2 100644 --- a/titanium-recipe-final-stacking.lua +++ b/titanium-recipe-final-stacking.lua @@ -2,7 +2,7 @@ local util = require("__bztitanium__.data-util"); -if deadlock then +if deadlock and deadlock["add_stack"] then deadlock.add_stack("titanium-ore", "__bztitanium__/graphics/icons/stacked/titanium-ore-stacked.png", "deadlock-stacking-2", 64) deadlock.add_stack(util.me.titanium_plate, "__bztitanium__/graphics/icons/stacked/titanium-plate-stacked.png" , "deadlock-stacking-2", 64) if mods["Krastorio2"] then