summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-04-10 23:13:44 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-04-11 01:33:06 -0400
commit8f3d8cc5865b0d1ef8aafdd8908221bdebb79a25 (patch)
treee49dd978fbd2b866f97965e04c2872b4aa0c746b /init.lua
parentcf97f02434af2d6342b3e11156d089f40a7a2460 (diff)
downloadpipeworks-8f3d8cc5865b0d1ef8aafdd8908221bdebb79a25.tar
pipeworks-8f3d8cc5865b0d1ef8aafdd8908221bdebb79a25.tar.gz
pipeworks-8f3d8cc5865b0d1ef8aafdd8908221bdebb79a25.tar.bz2
pipeworks-8f3d8cc5865b0d1ef8aafdd8908221bdebb79a25.tar.xz
pipeworks-8f3d8cc5865b0d1ef8aafdd8908221bdebb79a25.zip
allow stack per-chest/per-furnace stack splitting
defaults to disabled, whether the node has a new formspec or not note that furnace fuel stacks can't be split.
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 499f6ba..7b0efd3 100644
--- a/init.lua
+++ b/init.lua
@@ -108,7 +108,10 @@ dofile(pipeworks.modpath.."/wielder.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.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
minetest.register_alias("pipeworks:pipe", "pipeworks:pipe_110000_empty")