From 008b80fe1ca9d46610b8971e2ac92fb56da8e69f Mon Sep 17 00:00:00 2001 From: Paul Ouellette Date: Sat, 24 Aug 2019 12:38:02 -0400 Subject: Add ItemStack:get_description() to get tooltip (#8847) --- src/script/lua_api/l_item.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/script/lua_api/l_item.h') diff --git a/src/script/lua_api/l_item.h b/src/script/lua_api/l_item.h index 5ff715b2a..6fab58045 100644 --- a/src/script/lua_api/l_item.h +++ b/src/script/lua_api/l_item.h @@ -66,6 +66,9 @@ private: // set_metadata(self, string) static int l_set_metadata(lua_State *L); + // get_description(self) + static int l_get_description(lua_State *L); + // clear(self) -> true static int l_clear(lua_State *L); -- cgit v1.2.3