diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2014-07-11 09:15:37 -0400 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2014-07-11 09:48:43 -0400 |
commit | 8aea4b1a1364e0cb6c4bb7b344c5b83455ed4bb5 (patch) | |
tree | 61208fea2e153ca1d172dcbdcd21029deadad102 /init.lua | |
parent | 87d87c91fa83a8bdb09e718f0641a33f475f6826 (diff) |
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.lua | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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") |