From d7447cdf9e4df3c345218886ab2bae0e0cc4fc55 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Fri, 1 Jun 2012 20:51:15 +0300 Subject: Implement sign using form field protocol --- doc/lua_api.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') 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) -- cgit v1.2.3