[bug] Builder will not use taught recipes in certain situations. 1.12 Build 8242.
Ragnarok96 opened this issue ยท 2 comments
Minecolonies version
Build# 8242
Expected behavior
When the builder is taught a recipe, if the materials to make the recipe are placed in his inventory AFTER he has already made a request for a specific item, his request should then cancel/fulfill itself as he is able to craft the needed items himself.
Actual behaviour
The request remains and the builder does nothing, however if you cancel the request then the AI realises that the builder does in fact have the resources to craft the required items and he will continue building as normal. This makes it seem like there is a check not in place that there should be, with reference to the items in the builders inventory or chest inventory and the learned recipes.
Steps to reproduce the problem
(In this example I will demo with wood planks which is what I discovered the issue with)
- Teach builder how to make wood planks from wood logs.
- Schedule a building requiring wood planks while the builder has no logs or planks in any of his chests/inventories.
- The builder will request wooden planks.
- Place wooden logs in the builders inventory.
- The builders request will not clear, click cancel.
- The builder then realises he can actually craft the planks himself and will continue to build as normal.
As a side note, I haven't tested this with other workers, as it may apply to all workers following the same scenario as detailed above if they also have recipes that can be completed for requests in this manner via their own 2x2 craft grids.