From 7860097eda449f0bb99971a037967bd338441133 Mon Sep 17 00:00:00 2001 From: PilzAdam Date: Tue, 3 Sep 2013 19:51:40 +0200 Subject: Use player:set_hotbar_image() instead of hardcoded hotbar.png --- doc/lua_api.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc/lua_api.txt') 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: -- cgit v1.2.3