summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2019-06-02 12:58:22 -0500
committercheapie <no-email-for-you@example.com>2019-06-02 12:58:22 -0500
commitd0b0b3aab6e4c9f505fabfc8ec2f5c5cc0f3cf05 (patch)
tree30e3eb297345acf30e01f9b3f1d8c31496752192
parenta36abbbbfefc063ffd5a92c37444777196ec07ca (diff)
downloaddigistuff-d0b0b3aab6e4c9f505fabfc8ec2f5c5cc0f3cf05.tar
digistuff-d0b0b3aab6e4c9f505fabfc8ec2f5c5cc0f3cf05.tar.gz
digistuff-d0b0b3aab6e4c9f505fabfc8ec2f5c5cc0f3cf05.tar.bz2
digistuff-d0b0b3aab6e4c9f505fabfc8ec2f5c5cc0f3cf05.tar.xz
digistuff-d0b0b3aab6e4c9f505fabfc8ec2f5c5cc0f3cf05.zip
Add some extra button rules
-rw-r--r--switches.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/switches.lua b/switches.lua
index 5301594..d7c461a 100644
--- a/switches.lua
+++ b/switches.lua
@@ -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)