summaryrefslogtreecommitdiff
path: root/mesecons_insulated
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_insulated
parent410f43bbc1dce0e0a35bd9f3a6edd4e545b9ddb4 (diff)
Piston and wire cleanups and minor rotation fixes
Diffstat (limited to 'mesecons_insulated')
-rw-r--r--mesecons_insulated/init.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesecons_insulated/init.lua b/mesecons_insulated/init.lua
index 15b916b..108badf 100644
--- a/mesecons_insulated/init.lua
+++ b/mesecons_insulated/init.lua
@@ -30,6 +30,7 @@ minetest.register_node("mesecons_insulated:insulated_on", {
type = "fixed",
fixed = { -16/32-0.001, -17/32, -3/32, 16/32+0.001, -13/32, 3/32 }
},
+ on_rotate = screwdriver.rotate_simple,
groups = {dig_immediate = 3, not_in_creative_inventory = 1},
drop = "mesecons_insulated:insulated_off",
mesecons = {conductor = {
@@ -62,6 +63,7 @@ minetest.register_node("mesecons_insulated:insulated_off", {
type = "fixed",
fixed = { -16/32-0.001, -17/32, -3/32, 16/32+0.001, -13/32, 3/32 }
},
+ on_rotate = screwdriver.rotate_simple,
groups = {dig_immediate = 3},
mesecons = {conductor = {
state = mesecon.state.off,