From 97052d1579398e8f41239d8fbd7be6a6ae947dd1 Mon Sep 17 00:00:00 2001 From: cheapie Date: Thu, 30 Apr 2020 01:09:06 -0500 Subject: Add support for digistuff's channel copier --- infrastructure/advanced_automatic_warning_device.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'infrastructure/advanced_automatic_warning_device.lua') diff --git a/infrastructure/advanced_automatic_warning_device.lua b/infrastructure/advanced_automatic_warning_device.lua index 0545e6e..1049c56 100644 --- a/infrastructure/advanced_automatic_warning_device.lua +++ b/infrastructure/advanced_automatic_warning_device.lua @@ -141,6 +141,7 @@ minetest.register_node("infrastructure:ebell",{ {-0.12,-0.35,-0.12,0.12,0.2,0.12,}, }, }, + _digistuff_channelcopier_fieldname = "channel", groups = {cracky = 3,}, on_destruct = infrastructure.stop_bell, after_place_node = ebell_updateformspec, @@ -481,6 +482,7 @@ minetest.register_node("infrastructure:automatic_warning_device_bottom", { {-1/16, 0, -1/16, 1/16, 3, 1/16} } }, + _digistuff_channelcopier_fieldname = "channel", on_construct = function(pos) local node = minetest.get_node(pos) -- cgit v1.2.3