add same plane mesecon rules
parent
7574e266a1
commit
4513e2de54
|
@ -4,10 +4,16 @@ local get_switch_rules = function(param2)
|
||||||
|
|
||||||
-- param2 = 2
|
-- param2 = 2
|
||||||
local rules = {
|
local rules = {
|
||||||
|
-- lower plane
|
||||||
{x=1, y=-1, z=-1},
|
{x=1, y=-1, z=-1},
|
||||||
{x=1, y=-1, z=1},
|
{x=1, 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},
|
||||||
|
-- same plane
|
||||||
|
{x=1, y=0, z=0},
|
||||||
|
{x=-1, y=0, z=0},
|
||||||
|
{x=0, y=0, z=1},
|
||||||
|
{x=0, y=0, z=-1},
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Left and right when looking to +y ?
|
-- Left and right when looking to +y ?
|
||||||
|
|
Loading…
Reference in New Issue