mirror of
https://cheapiesystems.com/git/mesecons_carts
synced 2025-01-21 11:51:29 +01:00
Add compatibility with digistuff's channel copier
This commit is contained in:
parent
92a8d35af7
commit
137f749563
3
init.lua
3
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)
|
||||
|
Loading…
Reference in New Issue
Block a user