From 30009291b5571946a0a813a2f16d0eabbfda132a Mon Sep 17 00:00:00 2001 From: Brevven Date: Sat, 30 Jul 2022 23:42:54 -0700 Subject: [PATCH] ir2 --- compatibility/ir2.lua | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 compatibility/ir2.lua diff --git a/compatibility/ir2.lua b/compatibility/ir2.lua new file mode 100644 index 0000000..a74af03 --- /dev/null +++ b/compatibility/ir2.lua @@ -0,0 +1,17 @@ +local util = require("data-util"); + + +-- absolute barebones "compatibility", won't be very playable +if mods.IndustrialRevolution then + util.set_category("explosives", "crafting-with-fluid") + util.remove_prerequisite("ir2-electronics-1", "ir2-steam-power") + + util.replace_ingredient("gas-extractor", "iron-plate", "copper-beam") + util.replace_ingredient("gas-extractor", "pipe", "copper-pipe") + + util.replace_ingredient("basic-chemical-plant", "iron-plate", "copper-beam") + util.replace_ingredient("basic-chemical-plant", "pipe", "copper-pipe") + + util.set_category("phenol", "crafting") +end +