Store hp for teken into inventory horse. Fixes lord-server/lord#1100
This commit is contained in:
@@ -25,7 +25,7 @@ function ItemStack:get_definition() end
|
||||
--- returns get_stack_max() - get_count()
|
||||
function ItemStack:get_free_space() end
|
||||
|
||||
--- returns a MetaDataRef
|
||||
--- @return MetaDataRef
|
||||
function ItemStack:get_meta() end
|
||||
|
||||
--- returns a string, for compatibility reasons this is equal to get_meta():get_string("")
|
||||
|
||||
@@ -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)
|
||||
--- `staticdata` [Optional] no info
|
||||
--- @return ObjectRef|nil
|
||||
function minetest.add_entity(pos, name, staticdata) end
|
||||
--- Spawn item
|
||||
--- * Returns `ObjectRef`, or `nil` if failed
|
||||
|
||||
Reference in New Issue
Block a user