summaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
diff options
context:
space:
mode:
authorKahrl <kahrl@gmx.net>2013-05-04 02:08:52 +0200
committerKahrl <kahrl@gmx.net>2013-05-26 00:23:33 +0200
commit96fe1de8322a57ad82fcab3540c1eb44f74b9989 (patch)
tree44bc5db4e9d002f2a1fb6506db72e390cabae249 /doc/lua_api.txt
parent730d316efe18c57760cd5ec518a6191ac271ce61 (diff)
downloadminetest-96fe1de8322a57ad82fcab3540c1eb44f74b9989.tar.gz
minetest-96fe1de8322a57ad82fcab3540c1eb44f74b9989.tar.bz2
minetest-96fe1de8322a57ad82fcab3540c1eb44f74b9989.zip
Add ObjectRef.hud_set_hotbar_itemcount and add TOCLIENT_HUD_SET_PARAM
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r--doc/lua_api.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 260a62763..5143c2ef3 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -1399,6 +1399,8 @@ Player-only: (no-op for other objects)
^ flags: (is visible) hotbar, healthbar, crosshair, wielditem
^ pass a table containing a true/false value of each flag to be set or unset
^ 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
InvRef: Reference to an inventory
methods: