summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPilzAdam <pilzadam@minetest.net>2013-09-03 19:51:40 +0200
committerPilzAdam <pilzadam@minetest.net>2013-09-05 00:21:16 +0200
commit7860097eda449f0bb99971a037967bd338441133 (patch)
treebcc66bcb45cb8753f2d82c22973c9fc867774cfa /doc
parent5b518ed2feff28c9bf21ad940c1b211b72d71bd1 (diff)
downloadminetest-7860097eda449f0bb99971a037967bd338441133.tar.gz
minetest-7860097eda449f0bb99971a037967bd338441133.tar.bz2
minetest-7860097eda449f0bb99971a037967bd338441133.zip
Use player:set_hotbar_image() instead of hardcoded hotbar.png
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 21cbcb822..e65392c17 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -1618,6 +1618,10 @@ Player-only: (no-op for other objects)
^ if a flag is nil, the flag is not modified
- hud_set_hotbar_itemcount(count): sets number of items in builtin hotbar
^ count: number of items, must be between 1 and 23
+- hud_set_hotbar_image(texturename)
+ ^ sets background image for hotbar
+- hud_set_hotbar_selected_image(texturename)
+ ^ sets image for selected item of hotbar
InvRef: Reference to an inventory
methods: