summaryrefslogtreecommitdiff
path: root/mesecons/presets.lua
diff options
context:
space:
mode:
Diffstat (limited to 'mesecons/presets.lua')
-rw-r--r--mesecons/presets.lua10
1 files changed, 9 insertions, 1 deletions
diff --git a/mesecons/presets.lua b/mesecons/presets.lua
index 450f039..463a0f8 100644
--- a/mesecons/presets.lua
+++ b/mesecons/presets.lua
@@ -1,7 +1,7 @@
mesecon.rules={}
mesecon.state = {}
-mesecon.rules.default =
+mesecon.rules.default =
{{x=0, y=0, z=-1},
{x=1, y=0, z=0},
{x=-1, y=0, z=0},
@@ -15,5 +15,13 @@ mesecon.rules.default =
{x=0, y=1, z=-1},
{x=0, y=-1, z=-1}}
+mesecon.rules.buttonlike =
+{{x = 1, y = 0, z = 0},
+{x = 1, y = 1, z = 0},
+{x = 1, y =-1, z = 0},
+{x = 1, y =-1, z = 1},
+{x = 1, y =-1, z =-1},
+{x = 2, y = 0, z = 0}}
+
mesecon.state.on = "on"
mesecon.state.off = "off"