From b41ba59355e3c8e3ad0d988e45b28f59e2138585 Mon Sep 17 00:00:00 2001 From: Brevven Date: Tue, 9 Aug 2022 16:06:40 -0700 Subject: [PATCH] more science compat --- changelog.txt | 5 +++++ info.json | 2 +- tungsten-recipe-updates.lua | 7 +++++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/changelog.txt b/changelog.txt index 225a8ea..98bda0c 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 0.7.1 +Date: 2022-08-10 + Fixes: + - Compatibility - fix tech deadlock with MoreScience +--------------------------------------------------------------------------------------------------- Version: 0.7.0 Date: 2022-08-09 Features: diff --git a/info.json b/info.json index fbdac5f..a02dab5 100644 --- a/info.json +++ b/info.json @@ -1,6 +1,6 @@ { "name": "bztungsten", - "version": "0.7.0", + "version": "0.7.1", "factorio_version": "1.1", "title": "Tungsten", "author": "Brevven", diff --git a/tungsten-recipe-updates.lua b/tungsten-recipe-updates.lua index 01bd88c..d3bcb19 100644 --- a/tungsten-recipe-updates.lua +++ b/tungsten-recipe-updates.lua @@ -28,13 +28,16 @@ else util.replace_some_ingredient("assembling-machine-2", "steel-plate", 1, "tungsten-carbide", 1) end util.add_ingredient("assembling-machine-3", "tungsten-carbide", 4) -util.add_ingredient("chemical-plant", "tungsten-carbide", 2) util.add_ingredient("electric-furnace", "tungsten-carbide", 1) +if not mods.MoreScience or data.raw["assembling-machine"]["basic-chemical-plant"] then + util.add_ingredient("chemical-plant", "tungsten-carbide", 2) + util.add_ingredient("chemical-plant", cuw, 5) +end + -- Electrodes & spark plugs util.replace_ingredient("accumulator", "iron-plate", cuw) util.add_ingredient("oil-refinery", cuw, 10) -util.add_ingredient("chemical-plant", cuw, 5) util.add_prerequisite("engine", util.me.tungsten_processing) util.add_ingredient("engine-unit", "tungsten-plate", 1)