mirror of
https://cheapiesystems.com/git/digistuff
synced 2024-11-28 10:03:49 +01:00
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