Even Distribution


Modifies CTRL + Click Drag to evenly distribute the items over multiple buildings. Also adds Inventory Cleanup hotkey (SHIFT+C) which evenly distributes unneeded items from inventory into nearby machines.

Utilities
a month ago
0.15 - 2.0
406K

b found a bug

6 months ago

i was distributing modules to a bunch of chemical plants while running at very high speed and the game crashed.
possible other circumstance, i was using the factory levels mod and there may have been a level up with perfect timing.
this is the one and only time i ever got this error, i can't repeat the process with the same results, but i have the error message. hope this helps.

The mod Even Distribution (1.0.10) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event even-distribution::on_player_fast_transferred (ID 132)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
[C]: in function 'index'
__even-distribution
/scripts/helpers.lua:21: in function 'index'
__even-distribution
/scripts/drag.lua:224: in function 'onStackTransferred'
even-distribution/scripts/drag.lua:208: in function 'func'
even-distribution/framework.lua:99: in function <even-distribution/framework.lua:98>

New response