From 901ad22e7cb575fada00fbfc6ff8e9cb6fd040b3 Mon Sep 17 00:00:00 2001 From: Brevven Date: Mon, 15 Aug 2022 00:17:18 -0700 Subject: [PATCH] bob --- compatibility/bob.lua | 16 ++++++++++++++++ data-updates.lua | 1 + info.json | 2 ++ 3 files changed, 19 insertions(+) create mode 100644 compatibility/bob.lua diff --git a/compatibility/bob.lua b/compatibility/bob.lua new file mode 100644 index 0000000..848bb81 --- /dev/null +++ b/compatibility/bob.lua @@ -0,0 +1,16 @@ +local util = require("data-util"); + +if mods.bobelectronics or mods.MDbobelectronics then + + -- FeCL3 is now anhydrous, so hydrate it for bob + util.remove_ingredient("ferric-chloride-solution", "iron-ore") + util.remove_ingredient("ferric-chloride-solution", "hydrogen-chloride") + util.add_ingredient("ferric-chloride-solution", "ferric-chloride", 5) + util.add_ingredient("ferric-chloride-solution", "water", 50) + + -- Phenolic board replaced with substrate + util.replace_ingredient("circuit-board", "phenolic-board", "pcb-substrate") + + + -- NOTE ingredients like phenolic board etc will not be used in many mod loadouts. Maybe fix later +end diff --git a/data-updates.lua b/data-updates.lua index 0f0c900..2e9752c 100644 --- a/data-updates.lua +++ b/data-updates.lua @@ -4,6 +4,7 @@ require("recipe-updates") require("map-gen-preset-updates") -- require("strange-matter") -- require("compatibility/248k") +require("compatibility/bob") local util = require("data-util"); diff --git a/info.json b/info.json index ee1c978..8a0c005 100644 --- a/info.json +++ b/info.json @@ -18,6 +18,8 @@ "? space-exploration >= 0.5.100", "? aai-industry", "? Krastorio2", + "? bobelectronics", + "? MDbobelectronics", "? deadlock-beltboxes-loaders", "? DeadlockCrating" ],