diff options
author | sapier <Sapier at GMX dot net> | 2013-01-02 19:45:04 +0000 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2013-01-02 20:59:37 +0200 |
commit | da9707950e0f69d8a906572fc55f516277e057c4 (patch) | |
tree | c8991d2c8f650d0735e69ff93fc9ebe0b32b141c /doc | |
parent | 36f03a7f4ae81e8735328a38c9415b6e7081c37c (diff) | |
download | minetest-da9707950e0f69d8a906572fc55f516277e057c4.tar.gz minetest-da9707950e0f69d8a906572fc55f516277e057c4.tar.bz2 minetest-da9707950e0f69d8a906572fc55f516277e057c4.zip |
Add TOCLIENT_SHOW_FORMSPEC to display formspecs at client from lua
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua_api.txt | 3 |
1 files changed, 3 insertions, 0 deletions
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) |