summaryrefslogtreecommitdiff
path: root/mesecons_extrawires/corner.lua
diff options
context:
space:
mode:
authorCarter Kolwey <cheapiephp@gmail.com>2016-12-28 05:34:15 -0600
committerJeija <norrepli@gmail.com>2017-03-04 09:39:40 +0100
commit774aac6e9059c713f8f9222a7e81bebf2ea49e93 (patch)
tree70cf23462fe01c0c674c46b59448edecfe23ad3e /mesecons_extrawires/corner.lua
parent410f43bbc1dce0e0a35bd9f3a6edd4e545b9ddb4 (diff)
Piston and wire cleanups and minor rotation fixes
Diffstat (limited to 'mesecons_extrawires/corner.lua')
-rw-r--r--mesecons_extrawires/corner.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesecons_extrawires/corner.lua b/mesecons_extrawires/corner.lua
index 6033893..05e76b3 100644
--- a/mesecons_extrawires/corner.lua
+++ b/mesecons_extrawires/corner.lua
@@ -37,6 +37,7 @@ minetest.register_node("mesecons_extrawires:corner_on", {
sunlight_propagates = true,
selection_box = corner_selectionbox,
node_box = corner_nodebox,
+ on_rotate = screwdriver.rotate_simple,
groups = {dig_immediate = 3, not_in_creative_inventory = 1},
drop = "mesecons_extrawires:corner_off",
mesecons = {conductor =
@@ -64,6 +65,7 @@ minetest.register_node("mesecons_extrawires:corner_off", {
sunlight_propagates = true,
selection_box = corner_selectionbox,
node_box = corner_nodebox,
+ on_rotate = screwdriver.rotate_simple,
groups = {dig_immediate = 3},
mesecons = {conductor =
{