Suggestion: Limiting upgrade
MuteTiefling opened this issue ยท 2 comments
So, I keep encountering this issue in worlds. It's not strictly limited to Storage Drawers, but it's one of the places where it comes up frequently.
Basically, most systems that allow aggregating multiple storage containers into a single view (refined storage, Botania corporea, and more) tend to cause enormous TPS issues when the total number of items stored reaches some critical mass. That critical mass is probably different per PC, but in my case it usually happens around 1 million items total in the system.
This generally leads me to create elaborate buffer systems to limit the number of items those systems can see. For example, I may set up an automated quarry system that dumps everything into an array of storage drawers. Once this array really fills up (emerald upgrades, yada yada) to that tipping point, I generally have to build a second one. The first serves as an input and a buffer and is allowed to hold all of the items. The second one will be severely limited in size (no upgrades, maybe downgrades in some cases). I then attach the storage system to both, but only allow it to input into the buffer and only withdraw from the tiny version. Thus, I still have access to all of the items, but in smaller packets as I can only extract what the system can see in the smaller drawer array.
So the suggestion would be an 'upgrade' to help simplify this setup. It would be inserted into a drawer and limit the number of items that are visible to external storage systems. So I may have 100 stacks of iron in there, but maybe the limiter only allows external storage to see 10 of them. As those 10 are withdrawn, they're immediately replaced from the remaining 90.
I would suggest that only one stack of the nuggets be shown as available and if they are taken then it would display another stack. This could slow down some crafting but not noticeably.
There's almost no good reason why an item stack of 1 million should cause more stress than a stack of 64, unless said mod is trying to do something like suck them all out at once and turn them into real item stacks. Maybe they are trying to re-expose the inventories as N / 64 slots so you get a linear scale.
I don't know that I intended to get this technical, but it sounds like some kind of upgrade or setting that should be able to be put on a controller, or as some kind of interface block.