owmii / krate

Krate, better than chest with filters and useful upgrades.
GNU Lesser General Public License v3.0
4 stars 5 forks source link

compacting upgrade creates unnecessary partial stacks #14

Open Spongman opened 3 years ago

Spongman commented 3 years ago

in an empty Kreate

when the compacting upgrade creates new iron blocks it should add them to the first non-full stack of iron blocks, not just place them in the first empty slot.

Spongman commented 3 years ago

obviously this is a pathalogical repro case, but if you have a sluice piping many types of items into a Krate then, over time, you end up with duplicate partial stack of input items, and duplicate partial stacks of compacted items, wasting a ton of space and causing the Krate to reject items well before it's actually full.