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 --- src/script/lua_api/l_object.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/script/lua_api/l_object.h') diff --git a/src/script/lua_api/l_object.h b/src/script/lua_api/l_object.h index b6f5cd06f..8fd6c8e71 100644 --- a/src/script/lua_api/l_object.h +++ b/src/script/lua_api/l_object.h @@ -215,6 +215,12 @@ private: // hud_set_hotbar_itemcount(self, hotbar_itemcount) static int l_hud_set_hotbar_itemcount(lua_State *L); + // hud_set_hotbar_image(self, name) + static int l_hud_set_hotbar_image(lua_State *L); + + // hud_set_hotbar_selected_image(self, name) + static int l_hud_set_hotbar_selected_image(lua_State *L); + public: ObjectRef(ServerActiveObject *object); -- cgit v1.2.3