diff options
author | cheapie <no-email-for-you@example.com> | 2020-04-30 00:57:26 -0500 |
---|---|---|
committer | cheapie <no-email-for-you@example.com> | 2020-04-30 00:57:26 -0500 |
commit | 137f749563d97b707db6ab3c27ca6185eae622cc (patch) | |
tree | 09587a74ee1a50601f910f7cda2b3f3d28a92a69 | |
parent | 92a8d35af79e1cff5bd4372d6af3e34196e2a3ed (diff) | |
download | mesecons_carts-137f749563d97b707db6ab3c27ca6185eae622cc.tar mesecons_carts-137f749563d97b707db6ab3c27ca6185eae622cc.tar.gz mesecons_carts-137f749563d97b707db6ab3c27ca6185eae622cc.tar.bz2 mesecons_carts-137f749563d97b707db6ab3c27ca6185eae622cc.tar.xz mesecons_carts-137f749563d97b707db6ab3c27ca6185eae622cc.zip |
Add compatibility with digistuff's channel copier
-rw-r--r-- | init.lua | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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) |