diff options
Diffstat (limited to 'pipeworks')
-rw-r--r-- | pipeworks/depends.txt | 4 | ||||
-rw-r--r-- | pipeworks/filter-injector.lua | 2 | ||||
-rw-r--r-- | pipeworks/init.lua | 7 |
3 files changed, 8 insertions, 5 deletions
diff --git a/pipeworks/depends.txt b/pipeworks/depends.txt index 97c9e30..b5dcdb1 100644 --- a/pipeworks/depends.txt +++ b/pipeworks/depends.txt @@ -1,5 +1,5 @@ default basic_materials -mesecons -mesecons_mvps +mesecons? +mesecons_mvps? digilines? diff --git a/pipeworks/filter-injector.lua b/pipeworks/filter-injector.lua index 29fc1d3..675ea07 100644 --- a/pipeworks/filter-injector.lua +++ b/pipeworks/filter-injector.lua @@ -193,6 +193,8 @@ local function punch_filter(data, filtpos, filtnode, msg) ["technic:mv_grinder"] = "dst", ["technic:mv_grinder_active"] = "dst", ["technic:tool_workshop"] = "src", + ["technic:mv_freezer"] = "dst", + ["technic:mv_freezer_active"] = "dst" } -- make sure there's something appropriate to inject the item into diff --git a/pipeworks/init.lua b/pipeworks/init.lua index 714480e..445a8d4 100644 --- a/pipeworks/init.lua +++ b/pipeworks/init.lua @@ -133,15 +133,16 @@ dofile(pipeworks.modpath..logicdir.."flowable_node_registry_install.lua") if pipeworks.enable_pipes then dofile(pipeworks.modpath.."/pipes.lua") end if pipeworks.enable_teleport_tube then dofile(pipeworks.modpath.."/teleport_tube.lua") end if pipeworks.enable_pipe_devices then dofile(pipeworks.modpath.."/devices.lua") end - if pipeworks.enable_redefines then dofile(pipeworks.modpath.."/compat-chests.lua") dofile(pipeworks.modpath.."/compat-furnaces.lua") end if pipeworks.enable_autocrafter then dofile(pipeworks.modpath.."/autocrafter.lua") end -if pipeworks.enable_lua_tube then dofile(pipeworks.modpath.."/lua_tube.lua") end +if pipeworks.enable_lua_tube and + (minetest.get_modpath("mesecons") or minetest.get_modpath("digilines")) then + dofile(pipeworks.modpath.."/lua_tube.lua") +end minetest.register_alias("pipeworks:pipe", "pipeworks:pipe_110000_empty") print("Pipeworks loaded!") - |