-
Notifications
You must be signed in to change notification settings - Fork 17
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
Many factory types continue to run when chest is full #25
Comments
This is also a bug with current 'working' factories. |
Fixed by #27 for production recipes, remains an open issue for other types. |
Weird, that's not supposed to happen for compactors. Try to decompact materials when the compactor is full stops the compactor and does not consume any item. |
Yes, compactors are still affected. |
Alright, I think I've found the issue. The "fix" to factories relies on the fitsIn(Inventory) method. This method works as follows:
This might seems fine at first. However step 2 will stack the item and will "defragment" the given inventory. Thus, if we give this inventory as a parameter: Since the representation has 1 available slot, the I think there are 2 "basic" solutions to that:
Either choice shouldn't be too hard to implement. But I'm curious to hear which one @Maxopoly prefers. |
Fix |
Is this still an issue? Can't seem to replicate on test |
This is fixed for compactors (#13). Other factory types, such as production factories, will continue to run and in the process waste output. It would reduce annoyance (particularly for new players) if all factories automatically deactivated when insufficient output storage space exists.
The text was updated successfully, but these errors were encountered: