summaryrefslogtreecommitdiff
path: root/infrastructure/advanced_automatic_warning_device.lua
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2020-04-30 01:09:06 -0500
committercheapie <no-email-for-you@example.com>2020-04-30 01:09:06 -0500
commit97052d1579398e8f41239d8fbd7be6a6ae947dd1 (patch)
tree8003d49e3facb147303bbe33daa9840a9709a31f /infrastructure/advanced_automatic_warning_device.lua
parentda5e18e1c67f7c2bcb35da52033b5f00a696216b (diff)
downloadroads-master.tar
roads-master.tar.gz
roads-master.tar.bz2
roads-master.tar.xz
roads-master.zip
Add support for digistuff's channel copierHEADmaster
Diffstat (limited to 'infrastructure/advanced_automatic_warning_device.lua')
-rw-r--r--infrastructure/advanced_automatic_warning_device.lua2
1 files changed, 2 insertions, 0 deletions
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)