Comments (2)
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.
from inv.lua.
Converted this ticket into an overview of all autocrafting-related issues.
from inv.lua.
Related Issues (20)
- Multiblock inputs/outputs
- Slow item searching HOT 1
- Client freezes
- Assertion failed when crafting HOT 1
- README outdated
- UI doesn't update
- Code distribution is large HOT 1
- Item location indexing
- Task UI
- Organization
- Display error message when not connected
- Use configuration folders
- Tag format in configs
- Add task error states
- Furnace state change causes disconnect
- Check for fallback recipes
- Redundant crafting steps
- Support multiple machines per recipe
- How do I find out the server id? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from inv.lua.