summaryrefslogtreecommitdiff
path: root/mesecons/presets.lua
diff options
context:
space:
mode:
Diffstat (limited to 'mesecons/presets.lua')
-rw-r--r--mesecons/presets.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/mesecons/presets.lua b/mesecons/presets.lua
index ea4bd65..e5ca1ca 100644
--- a/mesecons/presets.lua
+++ b/mesecons/presets.lua
@@ -30,6 +30,14 @@ mesecon.rules.flat =
{x =-1, y = 0, z = 0},
{x = 0, y = 0, z = 1},
{x = 0, y = 0, z =-1}}
+
+mesecon.rules.alldirs =
+{{x= 1, y= 0, z= 0},
+ {x=-1, y= 0, z= 0},
+ {x= 0, y= 1, z= 0},
+ {x= 0, y=-1, z= 0},
+ {x= 0, y= 0, z= 1},
+ {x= 0, y= 0, z=-1}}
mesecon.rules.buttonlike_get = function(node)
local rules = mesecon.rules.buttonlike