diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 301832618..500b514d9 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -694,6 +694,11 @@ image[,;,;] ^ Show an image ^ Position and size units are inventory slots +background[,;,;] +^ Use a background. Inventory rectangles are not drawn then. +^ Position and size units are inventory slots +^ Example for formspec 8x4 in 16x resolution: image shall be sized 8*16px x 4*16px + field[,;,;;