jeremiahwinsley / ExMachinis

MIT License
2 stars 1 forks source link

Add "safe output mode" toggle button to Flux Sieve GUI #20

Open Jack-McKalling opened 1 year ago

Jack-McKalling commented 1 year ago

As by #18, the default behaviour of the Flux Sieve is to void all output items that don't fit in the attached inventory. Without changing this default behaviour, I would like to suggest to add a toggle button to the sieve's GUI to switch between this and a "safe output mode".

If there are players who would want to by default just void every item they're not filtering their inventory for, then this will allow them to continue to do so. But for players who want to prevent the input from being consumed when some of the potential output items don't fit, they could then toggle the button to set that particular machine to only run a cycle when all possible outputs can be inserted.

It would be much more useful as a per-machine toggle switch than the (in the other issue suggested) game-wide config option, because this is not just a player choice, but a situation-specific choice. A player might feel differently about different types of input resources and want to conserve one but not another.

Alternatively, the toggle button could also be called "Void excess output", and by default be turned on. If that makes more sense to you.

Kevin-Marsh commented 1 year ago

I came here to suggest an internal buffer and found your comment. I also wanted to add that I like using an AE interface for item input. This only has 9 slots. It means that any items over this slot amount get voided. This would be solved if it had an internal inventory and is able to output over a few ticks instead of dumping everything at once. I do think an internal buffer has some strong merits.