Piston and wire cleanups and minor rotation fixes

This commit is contained in:
Carter Kolwey
2016-12-28 05:34:15 -06:00
committed by Jeija
parent 410f43bbc1
commit 774aac6e90
8 changed files with 102 additions and 96 deletions

View File

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