mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Clean up craft replacements docs
This commit is contained in:
parent
103d9c5c53
commit
27ce6d0ecc
3 changed files with 17 additions and 7 deletions
|
@ -4782,8 +4782,9 @@ Item handling
|
|||
`{stack1, stack2, stack3, stack4, stack 5, stack 6, stack 7, stack 8, stack 9}`
|
||||
* `output.item` = `ItemStack`, if unsuccessful: empty `ItemStack`
|
||||
* `output.time` = a number, if unsuccessful: `0`
|
||||
* `output.replacements` = list of `ItemStack`s that couldn't be placed in
|
||||
`decremented_input.items`
|
||||
* `output.replacements` = List of replacement `ItemStack`s that couldn't be
|
||||
placed in `decremented_input.items`. Replacements can be placed in
|
||||
`decremented_input` if the stack of the replaced item has a count of 1.
|
||||
* `decremented_input` = like `input`
|
||||
* `minetest.get_craft_recipe(output)`: returns input
|
||||
* returns last registered recipe for output item (node)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue