lord-server/lord#755 add reward chest for quests (lord-server/lord#897)
This commit is contained in:
committed by
GitHub
parent
4936dbfab1
commit
fd9e5629ac
@@ -10,6 +10,7 @@ function InvRef:is_empty(list_name) end
|
|||||||
function InvRef:get_size(list_name) end
|
function InvRef:get_size(list_name) end
|
||||||
--- set size of a list, avoid e.g. , 7*3), use , 21) --7*3 instead to avoid confusion with formspec#list
|
--- set size of a list, avoid e.g. , 7*3), use , 21) --7*3 instead to avoid confusion with formspec#list
|
||||||
--- @param list_name string
|
--- @param list_name string
|
||||||
|
--- @param size number
|
||||||
function InvRef:set_size(list_name, size) end
|
function InvRef:set_size(list_name, size) end
|
||||||
--- get width of a list
|
--- get width of a list
|
||||||
--- @param list_name string
|
--- @param list_name string
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ Entity = {}
|
|||||||
--* The object is removed after returning from Lua. However the `ObjectRef`
|
--* The object is removed after returning from Lua. However the `ObjectRef`
|
||||||
--itself instantly becomes unusable with all further method calls having
|
--itself instantly becomes unusable with all further method calls having
|
||||||
--no effect and returning `nil`.
|
--no effect and returning `nil`.
|
||||||
--* `set_velocity(vel)`
|
function Entity:set_velocity(vel) end
|
||||||
--* `vel` is a vector, e.g. `{x=0.0, y=2.3, z=1.0}`
|
--* `vel` is a vector, e.g. `{x=0.0, y=2.3, z=1.0}`
|
||||||
--* `set_acceleration(acc)`
|
--* `set_acceleration(acc)`
|
||||||
--* `acc` is a vector
|
--* `acc` is a vector
|
||||||
|
|||||||
@@ -982,6 +982,7 @@ function minetest.get_node_timer(pos) end
|
|||||||
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
|
||||||
|
--- @return ObjectRef|nil
|
||||||
---
|
---
|
||||||
--- [View in lua_api.txt](https://github.com/minetest/minetest/blob/5.4.1/doc/lua_api.txt#L4911-L4912)
|
--- [View in lua_api.txt](https://github.com/minetest/minetest/blob/5.4.1/doc/lua_api.txt#L4911-L4912)
|
||||||
function minetest.add_item(pos, item) end
|
function minetest.add_item(pos, item) end
|
||||||
|
|||||||
Reference in New Issue
Block a user