From 27ce6d0ecc55af7e46a586b97b3ec9e1d406a897 Mon Sep 17 00:00:00 2001 From: Paul Ouellette Date: Thu, 8 Aug 2019 08:30:38 -0400 Subject: Clean up craft replacements docs --- doc/lua_api.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'doc/lua_api.txt') 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) -- cgit v1.2.3