From b5beff4ea41eba668271a3495b5f6ae7947f19a6 Mon Sep 17 00:00:00 2001 From: Brevven Date: Sun, 17 Mar 2024 23:16:15 -0700 Subject: [PATCH] omni+k2 soft lock --- changelog.txt | 5 +++++ info.json | 2 +- tungsten-recipe-updates.lua | 3 ++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/changelog.txt b/changelog.txt index 4abab19..dc59d3a 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 0.7.13 +Date: 2024-03-18 + Fixes: + - Fix soft lock when used with both Omnimatter and Krastorio 2 +--------------------------------------------------------------------------------------------------- Version: 0.7.12 Date: 2023-12-22 Fixes: diff --git a/info.json b/info.json index 8383628..60796b8 100644 --- a/info.json +++ b/info.json @@ -1,6 +1,6 @@ { "name": "bztungsten", - "version": "0.7.12", + "version": "0.7.13", "factorio_version": "1.1", "title": "Tungsten", "author": "Brevven", diff --git a/tungsten-recipe-updates.lua b/tungsten-recipe-updates.lua index 491d081..445c4a5 100644 --- a/tungsten-recipe-updates.lua +++ b/tungsten-recipe-updates.lua @@ -30,7 +30,8 @@ end util.add_ingredient("assembling-machine-3", "tungsten-carbide", 4) util.add_ingredient("electric-furnace", "tungsten-carbide", 1) -if not mods.MoreScience or data.raw["assembling-machine"]["basic-chemical-plant"] then +if (not mods.MoreScience or data.raw["assembling-machine"]["basic-chemical-plant"]) +and (not (mods.omnimatter and mods.Krastorio2)) then util.add_ingredient("chemical-plant", "tungsten-carbide", 2) util.add_ingredient("chemical-plant", cuw, 5) end