From e5399a3aed5b27f39381e12c63f67da4a5e5c5df Mon Sep 17 00:00:00 2001 From: Eric Date: Sat, 12 Oct 2019 22:37:03 -0400 Subject: [PATCH] Added on_rotate for srewvriver It's possible to change axis with the screw driver. Note that It does not really use facedir but still use 3 pre-made orientations. Paramtype2 facedir is required for some screw driver to trigger on_rotate but it's not really used for the rotation. --- mesecons_slippyblocks/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mesecons_slippyblocks/init.lua b/mesecons_slippyblocks/init.lua index 87a2f07..cfdcb39 100644 --- a/mesecons_slippyblocks/init.lua +++ b/mesecons_slippyblocks/init.lua @@ -5,7 +5,7 @@ drawtype = "nodebox", tiles = {"mesecons_slippyblocks.png"}, buildable_to = true, - groups = {cracky=3,oddly_breakable_by_hand=3}, + groups = {cracky = 3, oddly_breakable_by_hand = 3}, drop = "mesecons_slippyblocks:slippy_block", node_box = { type = "fixed", @@ -44,7 +44,7 @@ description = "Slippy block)", drawtype = "nodebox", tiles = {"mesecons_slippyblocks.png"}, - groups = {cracky=3,oddly_breakable_by_hand=3, not_in_creative_inventory = 1}, + groups = {cracky = 3,oddly_breakable_by_hand = 3, not_in_creative_inventory = 1}, drop = "mesecons_slippyblocks:slippy_block", node_box = { type = "fixed",