diff options
-rw-r--r-- | init.lua | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -659,6 +659,7 @@ minetest.register_node("elevatorparts:pilantern_up_off",{ {-0.5, -0.5, 0.48, 0.5, 0.5, 0.5 }, }, }, + on_destruct = removeEntity, on_construct = function(pos) local meta = minetest.get_meta(pos) meta:set_string("formspec","field[channel;Channel;${channel}") @@ -729,6 +730,7 @@ minetest.register_node("elevatorparts:pilantern_up_on",{ {-0.5, -0.5, 0.48, 0.5, 0.5, 0.5 }, }, }, + on_destruct = removeEntity, on_construct = function(pos) local meta = minetest.get_meta(pos) meta:set_string("formspec","field[channel;Channel;${channel}") @@ -797,6 +799,7 @@ minetest.register_node("elevatorparts:pilantern_down_off",{ {-0.5, -0.5, 0.48, 0.5, 0.5, 0.5 }, }, }, + on_destruct = removeEntity, on_construct = function(pos) local meta = minetest.get_meta(pos) meta:set_string("formspec","field[channel;Channel;${channel}") @@ -867,6 +870,7 @@ minetest.register_node("elevatorparts:pilantern_down_on",{ {-0.5, -0.5, 0.48, 0.5, 0.5, 0.5 }, }, }, + on_destruct = removeEntity, on_construct = function(pos) local meta = minetest.get_meta(pos) meta:set_string("formspec","field[channel;Channel;${channel}") @@ -935,6 +939,7 @@ minetest.register_node("elevatorparts:pilantern_updown_off",{ {-0.5, -0.5, 0.48, 0.5, 0.5, 0.5 }, }, }, + on_destruct = removeEntity, on_construct = function(pos) local meta = minetest.get_meta(pos) meta:set_string("formspec","field[channel;Channel;${channel}") @@ -1008,6 +1013,7 @@ minetest.register_node("elevatorparts:pilantern_updown_upon",{ {-0.5, -0.5, 0.48, 0.5, 0.5, 0.5 }, }, }, + on_destruct = removeEntity, on_construct = function(pos) local meta = minetest.get_meta(pos) meta:set_string("formspec","field[channel;Channel;${channel}") @@ -1081,6 +1087,7 @@ minetest.register_node("elevatorparts:pilantern_updown_downon",{ {-0.5, -0.5, 0.48, 0.5, 0.5, 0.5 }, }, }, + on_destruct = removeEntity, on_construct = function(pos) local meta = minetest.get_meta(pos) meta:set_string("formspec","field[channel;Channel;${channel}") @@ -1154,6 +1161,7 @@ minetest.register_node("elevatorparts:pilantern_updown_bothon",{ {-0.5, -0.5, 0.48, 0.5, 0.5, 0.5 }, }, }, + on_destruct = removeEntity, on_construct = function(pos) local meta = minetest.get_meta(pos) meta:set_string("formspec","field[channel;Channel;${channel}") |