Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 88eb0c6

Browse files
committedApr 12, 2013
Allow pistons to connect vertically (to mese)
1 parent c08e868 commit 88eb0c6

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed
 

‎mesecons_pistons/init.lua

+8-4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ piston_rules =
33
{{x=0, y=0, z=1}, --everything apart from z- (pusher side)
44
{x=1, y=0, z=0},
55
{x=-1, y=0, z=0},
6+
{x=0, y=1, z=0},
7+
{x=0, y=-1, z=0},
68
{x=1, y=1, z=0},
79
{x=1, y=-1, z=0},
810
{x=-1, y=1, z=0},
@@ -15,6 +17,7 @@ local piston_up_rules =
1517
{x=1, y=0, z=0},
1618
{x=-1, y=0, z=0},
1719
{x=0, y=0, z=1},
20+
{x=0, y=-1, z=0},
1821
{x=1, y=-1, z=0},
1922
{x=-1, y=-1, z=0},
2023
{x=0, y=-1, z=1},
@@ -25,10 +28,11 @@ local piston_down_rules =
2528
{x=1, y=0, z=0},
2629
{x=-1, y=0, z=0},
2730
{x=0, y=0, z=1},
28-
{x=1, y=1, z=0},
29-
{x=-1, y=1, z=0},
30-
{x=0, y=1, z=1},
31-
{x=0, y=1, z=-1}}
31+
{x=0, y=1, z=0},
32+
{x=1, y=1, z=0},
33+
{x=-1, y=1, z=0},
34+
{x=0, y=1, z=1},
35+
{x=0, y=1, z=-1}}
3236

3337
local piston_get_rules = function (node)
3438
local rules = piston_rules

0 commit comments

Comments
 (0)