aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul Ouellette <oue.paul18@gmail.com>2019-08-08 08:30:38 -0400
committersfan5 <sfan5@live.de>2019-12-07 23:46:24 +0100
commit27ce6d0ecc55af7e46a586b97b3ec9e1d406a897 (patch)
tree814e12f932e3b66e6464f2c565c3af5182ebabe2 /doc
parent103d9c5c536abd15a79eb7ed899fee29168bb14c (diff)
downloadminetest-27ce6d0ecc55af7e46a586b97b3ec9e1d406a897.tar.gz
minetest-27ce6d0ecc55af7e46a586b97b3ec9e1d406a897.tar.bz2
minetest-27ce6d0ecc55af7e46a586b97b3ec9e1d406a897.zip
Clean up craft replacements docs
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 12ab2b4b5..f3e21bbc5 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -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)