Add channel copier

This commit is contained in:
cheapie
2020-04-30 00:44:04 -05:00
parent 69a9304751
commit 7f5eaac5c3
17 changed files with 120 additions and 0 deletions

View File

@@ -290,6 +290,11 @@ minetest.register_node("digistuff:touchscreen", {
{ -0.5, -0.5, 0.4, 0.5, 0.5, 0.5 }
}
},
_digistuff_channelcopier_fieldname = "channel",
_digistuff_channelcopier_onset = function(pos)
minetest.get_meta(pos):set_int("init",1)
digistuff.update_ts_formspec(pos)
end,
on_receive_fields = digistuff.ts_on_receive_fields,
digiline =
{