diff options
author | Kahrl <kahrl@gmx.net> | 2013-05-04 02:08:52 +0200 |
---|---|---|
committer | Kahrl <kahrl@gmx.net> | 2013-05-26 00:23:33 +0200 |
commit | 96fe1de8322a57ad82fcab3540c1eb44f74b9989 (patch) | |
tree | 44bc5db4e9d002f2a1fb6506db72e390cabae249 /src/script/lua_api/l_object.h | |
parent | 730d316efe18c57760cd5ec518a6191ac271ce61 (diff) | |
download | minetest-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 'src/script/lua_api/l_object.h')
-rw-r--r-- | src/script/lua_api/l_object.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/script/lua_api/l_object.h b/src/script/lua_api/l_object.h index 88f980a27..57dac0e64 100644 --- a/src/script/lua_api/l_object.h +++ b/src/script/lua_api/l_object.h @@ -209,6 +209,9 @@ private: // hud_set_flags(self, flags) static int l_hud_set_flags(lua_State *L); + // hud_set_hotbar_itemcount(self, hotbar_itemcount) + static int l_hud_set_hotbar_itemcount(lua_State *L); + public: ObjectRef(ServerActiveObject *object); |