From: RealBadAngel Date: Sat, 1 Dec 2012 17:36:42 +0000 (+0100) Subject: New elements in formspec, item_image and item_image_button. X-Git-Tag: 0.4.4~27 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f4b7e1a5707850aad9f6c122c05de4d2f9ede074;p=oweals%2Fminetest.git New elements in formspec, item_image and item_image_button. Fixed also game bug drawing dragged item behind fields, buttons etc. --- diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 08619b72a..60d1b2cb9 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -697,6 +697,10 @@ image[,;,;] ^ Show an image ^ Position and size units are inventory slots +item_image[,;,;] +^ Show an inventory image of registered item/node +^ Position and size units are inventory slots + background[,;,;] ^ Use a background. Inventory rectangles are not drawn then. ^ Position and size units are inventory slots @@ -738,6 +742,12 @@ image_button[,;,;;;