summaryrefslogtreecommitdiff
path: root/pipeworks/filter-injector.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-03-04 23:58:38 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-03-04 23:58:38 -0500
commita46f07cbfbd9ae59b7b1cc2fc32f68c39ae34de0 (patch)
tree5358ecc88cd634e7277bf04e51be8e9ddd37b2aa /pipeworks/filter-injector.lua
parent3eb0b959da58a153e4b9fc7f70eb513b1cf0e5fd (diff)
downloaddreambuilder_modpack-a46f07cbfbd9ae59b7b1cc2fc32f68c39ae34de0.tar
dreambuilder_modpack-a46f07cbfbd9ae59b7b1cc2fc32f68c39ae34de0.tar.gz
dreambuilder_modpack-a46f07cbfbd9ae59b7b1cc2fc32f68c39ae34de0.tar.bz2
dreambuilder_modpack-a46f07cbfbd9ae59b7b1cc2fc32f68c39ae34de0.tar.xz
dreambuilder_modpack-a46f07cbfbd9ae59b7b1cc2fc32f68c39ae34de0.zip
updated digilines, framedglass, mesecons, pipeworks, quartz
technic, unifiedinventory, and unifiedbricks
Diffstat (limited to 'pipeworks/filter-injector.lua')
-rw-r--r--pipeworks/filter-injector.lua19
1 files changed, 19 insertions, 0 deletions
diff --git a/pipeworks/filter-injector.lua b/pipeworks/filter-injector.lua
index 3427894..6f3271f 100644
--- a/pipeworks/filter-injector.lua
+++ b/pipeworks/filter-injector.lua
@@ -175,6 +175,25 @@ local function punch_filter(data, filtpos, filtnode, msg)
local fromdef = minetest.registered_nodes[fromnode.name]
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",
+ ["technic:mv_alloy_furnace_active"] = "dst",
+ ["technic:mv_centrifuge"] = "dst",
+ ["technic:mv_centrifuge_active"] = "dst",
+ ["technic:mv_compressor"] = "dst",
+ ["technic:mv_compressor_active"] = "dst",
+ ["technic:mv_extractor"] = "dst",
+ ["technic:mv_extractor_active"] = "dst",
+ ["technic:mv_grinder"] = "dst",
+ ["technic:mv_grinder_active"] = "dst",
+ ["technic:tool_workshop"] = "src",
+ }
+
+ if fromtube then fromtube.input_inventory = input_special_cases[fromnode.name] or fromtube.input_inventory end
if not (fromtube and fromtube.input_inventory) then return end
local slotseq_mode