summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2014-07-11 09:15:37 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2014-07-11 09:48:43 -0400
commit8aea4b1a1364e0cb6c4bb7b344c5b83455ed4bb5 (patch)
tree61208fea2e153ca1d172dcbdcd21029deadad102 /init.lua
parent87d87c91fa83a8bdb09e718f0641a33f475f6826 (diff)
downloadpipeworks-8aea4b1a1364e0cb6c4bb7b344c5b83455ed4bb5.tar
pipeworks-8aea4b1a1364e0cb6c4bb7b344c5b83455ed4bb5.tar.gz
pipeworks-8aea4b1a1364e0cb6c4bb7b344c5b83455ed4bb5.tar.bz2
pipeworks-8aea4b1a1364e0cb6c4bb7b344c5b83455ed4bb5.tar.xz
pipeworks-8aea4b1a1364e0cb6c4bb7b344c5b83455ed4bb5.zip
add conversion routine for cheapie's auto tree taps
turns them into nodebreakers with technic taps if auto tree taps are not defined and if technic tree taps are.
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 6964abc..acf867e 100644
--- a/init.lua
+++ b/init.lua
@@ -120,7 +120,11 @@ if pipeworks.enable_pipe_devices then dofile(pipeworks.modpath.."/devices.lua")
if pipeworks.enable_redefines then dofile(pipeworks.modpath.."/compat.lua") end
if pipeworks.enable_autocrafter then dofile(pipeworks.modpath.."/autocrafter.lua") end
if pipeworks.enable_deployer then dofile(pipeworks.modpath.."/deployer.lua") end
-if pipeworks.enable_node_breaker then dofile(pipeworks.modpath.."/node_breaker.lua") end
+
+if pipeworks.enable_node_breaker then
+ dofile(pipeworks.modpath.."/node_breaker.lua")
+ dofile(pipeworks.modpath.."/legacy.lua")
+end
minetest.register_alias("pipeworks:pipe", "pipeworks:pipe_110000_empty")