Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Furnace: Cooking craft recipe output replacements not working #2856

Open
JurajVajda opened this issue Mar 28, 2021 · 1 comment
Open

Furnace: Cooking craft recipe output replacements not working #2856

JurajVajda opened this issue Mar 28, 2021 · 1 comment

Comments

@JurajVajda
Copy link

If a crafting recipe output has a replacement item it will try to put that replacement item in furnace src slot, since there can be multiple items (with replacements) in src inventory (of furnace) it will not add the replacement item to the src slot - unless it's the last item and src slot is empty. I would expect this to work similar to the fuel slot where the replacement item will be added to fuel slot if empty, to dest slots if fuel not empty or drop on top of the furnace if all slots are full.

Reference line:

inv:set_stack("src", 1, aftercooked.items[1])

Minetest: 5.4.0
Game: minetest_game
OS: Mac OS 11.2.3

Can be reproduced by adding multiple items with replacements in recipe to the src of furnace.

  • Expected: all replacement items are returned.
  • Actual: only last replacement item is returned.
@p-ouellette
Copy link
Contributor

While the engine does support it, replacements support for cooking recipes is not documented in lua_api.txt and I can't think of any case where it would make sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants