From 137f749563d97b707db6ab3c27ca6185eae622cc Mon Sep 17 00:00:00 2001 From: cheapie Date: Thu, 30 Apr 2020 00:57:26 -0500 Subject: Add compatibility with digistuff's channel copier --- init.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.lua b/init.lua index 8bb9002..324e451 100644 --- a/init.lua +++ b/init.lua @@ -450,6 +450,7 @@ if minetest.get_modpath("digilines") then "mesecons_carts_digi_tjunction.png", "mesecons_carts_digi_crossing.png", }, + _digistuff_channelcopier_fieldname = "channel", after_place_node = function(pos) local meta = minetest.get_meta(pos) meta:set_string("formspec","field[channel;Channel;${channel}") @@ -486,6 +487,7 @@ if minetest.get_modpath("digilines") then "mesecons_carts_digi_tjunction.png", "mesecons_carts_digi_crossing.png", }, + _digistuff_channelcopier_fieldname = "channel", drop = "mesecons_carts:digilines_rail_idle", after_place_node = function(pos) local meta = minetest.get_meta(pos) @@ -521,6 +523,7 @@ if minetest.get_modpath("digilines") then "mesecons_carts_digi_tjunction.png", "mesecons_carts_digi_crossing.png", }, + _digistuff_channelcopier_fieldname = "channel", drop = "mesecons_carts:digilines_rail_idle", after_place_node = function(pos) local meta = minetest.get_meta(pos) -- cgit v1.2.3