forked from Mirrorlandia_minetest/digistuff
Add some extra button rules
This commit is contained in:
parent
a36abbbbfe
commit
d0b0b3aab6
@ -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 = 2},
|
||||
{x = 0,y = 1,z = 1},
|
||||
{x = 0,y = -1,z = 1},
|
||||
}
|
||||
local dir = minetest.facedir_to_dir(node.param2)
|
||||
rules = digistuff.rotate_rules(rules,dir)
|
||||
|
Loading…
Reference in New Issue
Block a user