From a767fa924205bdd76ad2bfa88366b68e5cc03b1e Mon Sep 17 00:00:00 2001 From: Brevven Date: Thu, 21 Jul 2022 16:49:30 -0700 Subject: [PATCH] modmash --- changelog.txt | 5 +++++ data-final-fixes.lua | 1 + info.json | 2 +- recipe-updates.lua | 6 ++++++ 4 files changed, 13 insertions(+), 1 deletion(-) diff --git a/changelog.txt b/changelog.txt index 054a76c..07a2d87 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 0.0.4 +Date: 2022-07-22 + Features: + - Compatible with ModMash Splinter electronics +--------------------------------------------------------------------------------------------------- Version: 0.0.3 Date: 2022-07-22 Features: diff --git a/data-final-fixes.lua b/data-final-fixes.lua index 2b1fd68..892e2cf 100644 --- a/data-final-fixes.lua +++ b/data-final-fixes.lua @@ -42,5 +42,6 @@ if not mods.Krastorio2 and not mods["aai-industry"] and not mods.bzaluminum and util.add_prerequisite("logistic-science-pack", "electronics") end +util.remove_ingredient("small-lamp", "blank-circuit") -- mod mash -- Must be last util.create_list() diff --git a/info.json b/info.json index a55ffeb..e1cb58b 100644 --- a/info.json +++ b/info.json @@ -1,6 +1,6 @@ { "name": "bzgas", - "version": "0.0.3", + "version": "0.0.4", "factorio_version": "1.1", "title": "Natural Gas", "author": "Brevven", diff --git a/recipe-updates.lua b/recipe-updates.lua index 5eca17a..38ed683 100644 --- a/recipe-updates.lua +++ b/recipe-updates.lua @@ -47,3 +47,9 @@ util.add_ingredient("basic-circuit-board", "bakelite", 1) util.set_enabled("basic-circuit-board", false) util.add_unlock("electronics", "basic-circuit-board") + +-- Modmash electronics +util.replace_ingredient("blank-circuit", "iron-plate", "bakelite") +util.set_enabled("blank-circuit", false) +util.add_unlock("electronics", "blank-circuit") +