omni+k2 soft lock

This commit is contained in:
Brevven 2024-03-17 23:16:15 -07:00
parent cf55cefdee
commit b5beff4ea4
3 changed files with 8 additions and 2 deletions

View file

@ -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:

View file

@ -1,6 +1,6 @@
{
"name": "bztungsten",
"version": "0.7.12",
"version": "0.7.13",
"factorio_version": "1.1",
"title": "Tungsten",
"author": "Brevven",

View file

@ -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