summaryrefslogtreecommitdiff
path: root/panel.lua
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2020-04-30 00:44:04 -0500
committercheapie <no-email-for-you@example.com>2020-04-30 00:44:04 -0500
commit7f5eaac5c35d4c26d566b39a45e93c4582712b90 (patch)
tree9171eab3d223ed1dd321f789eaad84c02583b518 /panel.lua
parent69a9304751cfdf784696212fcf4834eba584c584 (diff)
downloaddigistuff-7f5eaac5c35d4c26d566b39a45e93c4582712b90.tar
digistuff-7f5eaac5c35d4c26d566b39a45e93c4582712b90.tar.gz
digistuff-7f5eaac5c35d4c26d566b39a45e93c4582712b90.tar.bz2
digistuff-7f5eaac5c35d4c26d566b39a45e93c4582712b90.tar.xz
digistuff-7f5eaac5c35d4c26d566b39a45e93c4582712b90.zip
Add channel copier
Diffstat (limited to 'panel.lua')
-rw-r--r--panel.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/panel.lua b/panel.lua
index d543af1..7ecc633 100644
--- a/panel.lua
+++ b/panel.lua
@@ -123,6 +123,11 @@ minetest.register_node("digistuff:panel", {
"digistuff_panel_back.png",
"digistuff_panel_front.png"
},
+ _digistuff_channelcopier_fieldname = "channel",
+ _digistuff_channelcopier_onset = function(pos)
+ local helpmsg = "Channel has been set. Waiting for data..."
+ digistuff.update_panel_formspec(pos,helpmsg)
+ end,
paramtype = "light",
paramtype2 = "facedir",
node_box = {