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.
This commit is contained in:
Eric 2019-10-12 22:37:03 -04:00
parent 2089931d5a
commit e5399a3aed
1 changed files with 2 additions and 2 deletions

View File

@ -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",