Enhancement of Ctrl+Click Functionality for Requesting All Missing Items in a Recipe
foxwhite25 opened this issue ยท 0 comments
Describe the feature
In the current implementation of the mod, the Ctrl+Click functionality, which is designed to request all missing items for a particular recipe, initiates a separate request for each individual item type within that recipe. This approach can lead to a problem when multiple items in the same recipe share a common ingredient when you click too quickly. Specifically, the first job might consume all of the common ingredient while the subsequent jobs expect those ingredient without needing to autocraft, leaving subsequent jobs without the necessary materials. As a result, the user has to quit and restart the recipe so that the system checks and autocrafts those missing items. This issue is particularly noticeable when using the mod in conjunction with GregTech.
2024-07-15.22-31-00.mp4
A potential solution for this issue has been demonstrated in the NAE2 mod in 1.12 (an addon to AE2 Unofficial Extended Life). NAE2 addresses the problem by creating a temporary pattern and autocompleting the final step of the crafting process. This approach ensures that all necessary items for a recipe are accounted for and crafted as needed, without the need for the user to manually restart the process.
The proposed feature request is to incorporate a similar mechanism into the AE2 mod, enhancing the Ctrl+Click function to better manage shared ingredients across items in a recipe. By doing so, we can improve the user experience, making crafting more efficient and less prone to interruption due to missing items.
Reasons why it should be considered
Incorporating this feature into the AE2 mod would bring about several notable improvements.
Firstly, handling all items within a single task would ensure that the required items are summed up correctly. This would effectively prevent the system from encountering issues related to missing items. By treating the entire crafting process as a single, cohesive task, we can ensure that the system properly accounts for all necessary ingredients without the risk of one job consuming a shared ingredient before another job can use it.
Additionally, this feature would offer the benefit of crafting multiple recipes with similar ingredients (like machines in Gregtech) simultaneously, without the concern of the last crafted item being used prematurely. This is possible because all required items are returned to the system only when every item is ready and the final crafting step is completed. This not only makes the crafting process more efficient but also allows for greater flexibility when crafting multiple items that share common ingredients.
In essence, this feature would significantly streamline the crafting process, making it more efficient and user-friendly. It would reduce the need for manual intervention, such as restarting recipes, and allow users to craft multiple items simultaneously without worrying about shared ingredients being used up.
Additional details
No response