summaryrefslogtreecommitdiff
path: root/mesecons_pistons
diff options
context:
space:
mode:
authorAnthony Zhang <azhang9@gmail.com>2013-03-11 17:37:50 -0400
committerAnthony Zhang <azhang9@gmail.com>2013-03-11 17:37:50 -0400
commit4406654fa4c031882aaffddd6608ba011b8174c3 (patch)
treef8040938b6e5bede787989e718b5e4617a9e37cc /mesecons_pistons
parentdb90c1cb4b351a533145e7c246ee3a625af63c2b (diff)
downloadmesecons-4406654fa4c031882aaffddd6608ba011b8174c3.tar
mesecons-4406654fa4c031882aaffddd6608ba011b8174c3.tar.gz
mesecons-4406654fa4c031882aaffddd6608ba011b8174c3.tar.bz2
mesecons-4406654fa4c031882aaffddd6608ba011b8174c3.tar.xz
mesecons-4406654fa4c031882aaffddd6608ba011b8174c3.zip
Support metadata in piston pushing (so that microcontrollers and such can be pushed), support pushing chests (not locked ones though), and add two missing rules for pistons (z- top and bottom, but not z- itself). This still avoids the piston pushing power source issue.
Diffstat (limited to 'mesecons_pistons')
-rw-r--r--mesecons_pistons/init.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/mesecons_pistons/init.lua b/mesecons_pistons/init.lua
index d496b1e..4998ae6 100644
--- a/mesecons_pistons/init.lua
+++ b/mesecons_pistons/init.lua
@@ -8,7 +8,9 @@ piston_rules =
{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=0, y=-1, z=1},
+ {x=0, y=1, z=-1},
+ {x=0, y=-1, z=-1}}
local piston_get_rules = function (node)
local rules = piston_rules