Store hp for teken into inventory horse. Fixes lord-server/lord#1100

This commit is contained in:
alek13
2023-08-16 23:01:34 +03:00
parent e28ba55a7c
commit f1cf10d9d9
2 changed files with 2 additions and 1 deletions

View File

@@ -25,7 +25,7 @@ function ItemStack:get_definition() end
--- returns get_stack_max() - get_count() --- returns get_stack_max() - get_count()
function ItemStack:get_free_space() end function ItemStack:get_free_space() end
--- returns a MetaDataRef --- @return MetaDataRef
function ItemStack:get_meta() end function ItemStack:get_meta() end
--- returns a string, for compatibility reasons this is equal to get_meta():get_string("") --- returns a string, for compatibility reasons this is equal to get_meta():get_string("")

View File

@@ -981,6 +981,7 @@ function minetest.get_node_timer(pos) end
--- ---
--- [View in lua_api.txt](https://github.com/minetest/minetest/blob/5.4.1/doc/lua_api.txt#L4908-L4910) --- [View in lua_api.txt](https://github.com/minetest/minetest/blob/5.4.1/doc/lua_api.txt#L4908-L4910)
--- `staticdata` [Optional] no info --- `staticdata` [Optional] no info
--- @return ObjectRef|nil
function minetest.add_entity(pos, name, staticdata) end function minetest.add_entity(pos, name, staticdata) end
--- Spawn item --- Spawn item
--- * Returns `ObjectRef`, or `nil` if failed --- * Returns `ObjectRef`, or `nil` if failed