From a31d7d0950d18e99b0ee9b3b95ec2202588ce7ce Mon Sep 17 00:00:00 2001 From: Brevven Date: Sun, 24 Jul 2022 15:10:52 -0700 Subject: [PATCH] bob electronics --- changelog.txt | 5 +++++ data-final-fixes.lua | 8 ++++---- info.json | 2 +- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/changelog.txt b/changelog.txt index 70324af..f965cb3 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 0.3.6 +Date: 2022-07-22 + Fixes: + - Fix bob's electronic's basic electronic components recipe changes +--------------------------------------------------------------------------------------------------- Version: 0.3.5 Date: 2022-07-20 Features: diff --git a/data-final-fixes.lua b/data-final-fixes.lua index 460d002..b8c6c09 100644 --- a/data-final-fixes.lua +++ b/data-final-fixes.lua @@ -27,13 +27,13 @@ end -- Green circuits in final fixes due to K2 shenanigans -if not mods.MDbobelectronics then +if mods.MDbobelectronics or mods.bobelectronics then + util.replace_ingredient("basic-electronic-components", "coal", "graphite") + util.replace_ingredient("basic-electronic-components", "coke", "graphite") +else util.replace_some_ingredient("electronic-circuit", "copper-cable", 1, "graphite", 1) -- AAI alternate green circuit util.replace_some_ingredient("electronic-circuit-stone", "copper-cable", 1, "graphite", 1) -else - util.replace_ingredient("basic-electronic-component", "coal", "graphite") - util.replace_ingredient("basic-electronic-component", "coke", "graphite") end if data.raw.recipe["low-density-structure"] and diff --git a/info.json b/info.json index 56be6d2..0f166ea 100644 --- a/info.json +++ b/info.json @@ -1,6 +1,6 @@ { "name": "bzcarbon", - "version": "0.3.5", + "version": "0.3.6", "factorio_version": "1.1", "title": "Graphite & Diamonds", "author": "Brevven",