summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>2020-01-14 12:35:37 +0000
committerVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>2020-01-14 12:35:37 +0000
commit84d7104c66459d8785b95d2db5cc8f425a499d89 (patch)
tree15a6da5c66864027448da5cc0c0a603a9831f98d
parent0fa88b7054f2ad6deffb811a552ea0e7fc194cc0 (diff)
parent2ca825f99177966e59157fb4bf429dcf78b98f64 (diff)
downloadpipeworks-84d7104c66459d8785b95d2db5cc8f425a499d89.tar
pipeworks-84d7104c66459d8785b95d2db5cc8f425a499d89.tar.gz
pipeworks-84d7104c66459d8785b95d2db5cc8f425a499d89.tar.bz2
pipeworks-84d7104c66459d8785b95d2db5cc8f425a499d89.tar.xz
pipeworks-84d7104c66459d8785b95d2db5cc8f425a499d89.zip
Merge branch 'master' into 'master'
Fix injector compatibility with technic HV machines Closes #20 See merge request VanessaE/pipeworks!15
-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