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
2 months ago
0.15 - 2.0
412K

b Shift-C caused crash in Space Age

2 months ago

Shift-C with iron plate or copper plate set to 0 and inf caused crash.

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

Error while running event even-distribution::inventory-cleanup (ID 225)
even-distribution/scripts/helpers/LuaPlayer.lua:51: attempt to compare nil with number
stack traceback:
even-distribution/scripts/helpers/LuaPlayer.lua:51: in function 'trashItems'
even-distribution/scripts/cleanup.lua:14: in function 'func'
even-distribution/framework.lua:49: in function <even-distribution/framework.lua:48>

2 months ago

I'm also getting this crash. It was working fine until I made changes to the default logistics

2 months ago

Fixed in version 2.0.1

2 months ago

I'm getting similar maybe 1 out of every 10 times I do ctrl+drag to deposit resources in furnaces:

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

Error while running event even-distribution::on_player_fast_transferred (ID 140)
LuaGameScript doesn't contain key get_filtered_recipe_prototypes.
stack traceback:
[C]: in function 'index'
__even-distribution
/scripts/helpers/LuaEntity.lua:32: in function 'canSmelt'
even-distribution/scripts/drag.lua:319: in function 'isEntityEligible'
even-distribution/scripts/drag.lua:225: in function 'onStackTransferred'
even-distribution/scripts/drag.lua:210: in function 'func'
even-distribution/framework.lua:49: in function <even-distribution/framework.lua:48>

2 months ago

Fixed in version 2.0.1

I posted my comment and when it refreshed the page you had already said it was fixed. Whoops.

2 months ago

Fixed in version 2.0.1

I posted my comment and when it refreshed the page you had already said it was fixed. Whoops.

No problem ^^

New response