1
0
spogulis no https://github.com/luanti-org/luanti.git synced 2025-12-27 00:35:24 +01:00

Add TOCLIENT_SHOW_FORMSPEC to display formspecs at client from lua

Šī revīzija ir iekļauta:
sapier
2013-01-02 19:45:04 +00:00
revīziju iesūtīja Perttu Ahola
vecāks 36f03a7f4a
revīzija da9707950e
8 mainīti faili ar 129 papildinājumiem un 2 dzēšanām

Parādīt failu

@@ -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)