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-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=f4b7e1a5707850aad9f6c122c05de4d2f9ede074;p=zefram%2Fminetest%2Fminetest_engine.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 08619b72..60d1b2cb 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[,;,;;;