summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOgelGames <olliverdc28@gmail.com>2020-01-14 23:07:09 +1100
committerOgelGames <olliverdc28@gmail.com>2020-01-14 23:07:09 +1100
commit2ca825f99177966e59157fb4bf429dcf78b98f64 (patch)
tree15a6da5c66864027448da5cc0c0a603a9831f98d
parent0fa88b7054f2ad6deffb811a552ea0e7fc194cc0 (diff)
downloadpipeworks-2ca825f99177966e59157fb4bf429dcf78b98f64.tar
pipeworks-2ca825f99177966e59157fb4bf429dcf78b98f64.tar.gz
pipeworks-2ca825f99177966e59157fb4bf429dcf78b98f64.tar.bz2
pipeworks-2ca825f99177966e59157fb4bf429dcf78b98f64.tar.xz
pipeworks-2ca825f99177966e59157fb4bf429dcf78b98f64.zip
fix injector compatibility with technic hv machines
-rw-r--r--filter-injector.lua10
1 files changed, 7 insertions, 3 deletions
diff --git a/filter-injector.lua b/filter-injector.lua
index 316e76a..779b69a 100644
--- a/filter-injector.lua
+++ b/filter-injector.lua
@@ -68,8 +68,6 @@ local function punch_filter(data, filtpos, filtnode, msg)
if not fromdef then return end
local fromtube = fromdef.tube
local input_special_cases = {
- ["technic:mv_furnace"] = "dst",
- ["technic:mv_furnace_active"] = "dst",
["technic:mv_electric_furnace"] = "dst",
["technic:mv_electric_furnace_active"] = "dst",
["technic:mv_alloy_furnace"] = "dst",
@@ -84,7 +82,13 @@ local function punch_filter(data, filtpos, filtnode, msg)
["technic:mv_grinder_active"] = "dst",
["technic:tool_workshop"] = "src",
["technic:mv_freezer"] = "dst",
- ["technic:mv_freezer_active"] = "dst"
+ ["technic:mv_freezer_active"] = "dst",
+ ["technic:hv_electric_furnace"] = "dst",
+ ["technic:hv_electric_furnace_active"] = "dst",
+ ["technic:hv_compressor"] = "dst",
+ ["technic:hv_compressor_active"] = "dst",
+ ["technic:hv_grinder"] = "dst",
+ ["technic:hv_grinder_active"] = "dst"
}
-- make sure there's something appropriate to inject the item into