Add some extra button rules
This commit is contained in:
@@ -13,6 +13,8 @@ digistuff.button_get_rules = function(node)
|
|||||||
{x = 0,y = 0,z = 1},
|
{x = 0,y = 0,z = 1},
|
||||||
{x = 0,y = 0,z = -1},
|
{x = 0,y = 0,z = -1},
|
||||||
{x = 0,y = 0,z = 2},
|
{x = 0,y = 0,z = 2},
|
||||||
|
{x = 0,y = 1,z = 1},
|
||||||
|
{x = 0,y = -1,z = 1},
|
||||||
}
|
}
|
||||||
local dir = minetest.facedir_to_dir(node.param2)
|
local dir = minetest.facedir_to_dir(node.param2)
|
||||||
rules = digistuff.rotate_rules(rules,dir)
|
rules = digistuff.rotate_rules(rules,dir)
|
||||||
|
Reference in New Issue
Block a user