summaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-06-01 20:51:15 +0300
committerPerttu Ahola <celeron55@gmail.com>2012-06-03 22:31:01 +0300
commitd7447cdf9e4df3c345218886ab2bae0e0cc4fc55 (patch)
tree4ebc1c2fd91d66f8711ed87013af80a4adf53cc0 /doc/lua_api.txt
parentff8d2bbc3682b12d40d1dfb212d39a50c498fb93 (diff)
downloadminetest-d7447cdf9e4df3c345218886ab2bae0e0cc4fc55.tar.gz
minetest-d7447cdf9e4df3c345218886ab2bae0e0cc4fc55.tar.bz2
minetest-d7447cdf9e4df3c345218886ab2bae0e0cc4fc55.zip
Implement sign using form field protocol
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r--doc/lua_api.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 58c260425..73d7b3641 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -1036,6 +1036,10 @@ Node definition (register_node)
on_dig = func(pos, node, digger),
^ default: minetest.node_dig
^ By default: checks privileges, wears out tool and removes node
+
+ on_receive_fields = func(pos, formname, fields, sender),
+ ^ fields = {name1 = value1, name2 = value2, ...}
+ ^ default: nil
}
Recipe: (register_craft)