summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorNovatux <nathanael.courant@laposte.net>2013-10-06 10:35:53 +0200
committerNovatux <nathanael.courant@laposte.net>2013-10-06 10:35:53 +0200
commit79897c8fe60add57f9c759c74f3683c4732dda14 (patch)
tree58ce559b92c2d51a80dea0e88e134a4b2ae9a428 /init.lua
parent7546bb17fb858d11db9ea526ad73f8181f91a154 (diff)
downloadpipeworks-79897c8fe60add57f9c759c74f3683c4732dda14.tar
pipeworks-79897c8fe60add57f9c759c74f3683c4732dda14.tar.gz
pipeworks-79897c8fe60add57f9c759c74f3683c4732dda14.tar.bz2
pipeworks-79897c8fe60add57f9c759c74f3683c4732dda14.tar.xz
pipeworks-79897c8fe60add57f9c759c74f3683c4732dda14.zip
Better deployer and node breaker mesecons rules.
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index 306f64c..b206337 100644
--- a/init.lua
+++ b/init.lua
@@ -111,6 +111,10 @@ dofile(modpath.."/crafts.lua")
dofile(modpath.."/tubes.lua")
+rules_all = {{x=0, y=0, z=1},{x=0, y=0, z=-1},{x=1, y=0, z=0},{x=-1, y=0, 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=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(modpath.."/pipes.lua") end
if enable_teleport_tube then dofile(modpath.."/teleport_tube.lua") end
if enable_pipe_devices then dofile(modpath.."/devices.lua") end