From da9707950e0f69d8a906572fc55f516277e057c4 Mon Sep 17 00:00:00 2001 From: sapier Date: Wed, 2 Jan 2013 19:45:04 +0000 Subject: Add TOCLIENT_SHOW_FORMSPEC to display formspecs at client from lua --- doc/lua_api.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc') diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 117d4b24e..ebad1dad2 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -888,6 +888,9 @@ minetest.get_inventory(location) -> InvRef minetest.create_detached_inventory(name, callbacks) -> InvRef ^ callbacks: See "Detached inventory callbacks" ^ Creates a detached inventory. If it already exists, it is cleared. +minetest.show_formspec(playername, formspec) +^ playername: name of player to show formspec +^ formspec: formspec to display Item handling: minetest.inventorycube(img1, img2, img3) -- cgit v1.2.3