-
Notifications
You must be signed in to change notification settings - Fork 3
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
Autocrafting system rework #16
Comments
To fix #28, it may be necessary to find a complete solution for the requested item and then queue all of the necessary tasks at once. The current implementation of CraftManager is limited to one recipe per item type so under this restriction the algorithm may be straightforward. However, supporting fallback recipes would remove this simplification. The items may also need to be marked as reserved somehow so that a second autocrafting task does not interfere with the first. The current system where tasks are added iteratively could be preserved if extra materials that are currently being crafted are counted. However, I wonder if it would be better to solve for the recipe using a recursive function, like how the early versions of this software did, instead of through the task system. |
Converted this ticket into an overview of all autocrafting-related issues. |
The current implementation of autocrafting can be improved. Currently, the following tickets are associated:
A partial rewrite of that component may be necessary to resolve them. Plus, there are these lingering issues:
The text was updated successfully, but these errors were encountered: