summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-12-15 04:43:13 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-12-15 04:43:13 -0500
commiteabced6976d18ff887a4ddd1ef0360e7217c0bb2 (patch)
treed542c1ae9d5ec45fb3efd902db47c2a140586002 /init.lua
parent659b4e42b2bb6b55a4031554664b6f371f903f5e (diff)
downloadpipeworks-eabced6976d18ff887a4ddd1ef0360e7217c0bb2.tar
pipeworks-eabced6976d18ff887a4ddd1ef0360e7217c0bb2.tar.gz
pipeworks-eabced6976d18ff887a4ddd1ef0360e7217c0bb2.tar.bz2
pipeworks-eabced6976d18ff887a4ddd1ef0360e7217c0bb2.tar.xz
pipeworks-eabced6976d18ff887a4ddd1ef0360e7217c0bb2.zip
default settings have to be global or pipeworks can't see them
(duh!) confined them to pipeworks.{} table.
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua14
1 files changed, 7 insertions, 7 deletions
diff --git a/init.lua b/init.lua
index 5798d61..101bb52 100644
--- a/init.lua
+++ b/init.lua
@@ -126,13 +126,13 @@ local rules_all = {{x=0, y=0, z=1},{x=0, y=0, z=-1},{x=1, y=0, z=0},{x=-1, y=0,
{x=0, y=1, z=1},{x=0, y=1, z=-1},{x=1, y=1, z=0},{x=-1, y=1, z=0},
{x=0, y=-1, z=1},{x=0, y=-1, z=-1},{x=1, y=-1, z=0},{x=-1, y=-1, z=0},
{x=0, y=1, z=0}, {x=0, y=-1, z=0}}
-if enable_pipes then dofile(pipeworks.modpath.."/pipes.lua") end
-if enable_teleport_tube then dofile(pipeworks.modpath.."/teleport_tube.lua") end
-if enable_pipe_devices then dofile(pipeworks.modpath.."/devices.lua") end
-if enable_redefines then dofile(pipeworks.modpath.."/compat.lua") end
-if enable_autocrafter then dofile(pipeworks.modpath.."/autocrafter.lua") end
-if enable_deployer then dofile(pipeworks.modpath.."/deployer.lua") end
-if enable_node_breaker then dofile(pipeworks.modpath.."/node_breaker.lua") end
+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_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
minetest.register_alias("pipeworks:pipe", "pipeworks:pipe_110000_empty")