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

g Crash 2.0.1 while re-enabling settings

a month ago

Steps performed:
1. Originally used 2.0.0 and got a crash when trying to put copper ore into smelters.
2. Went to the settings and checked Disabled CTRL+Click Drag and Disable Inventory Cleanup.
3. Updated mod to 2.0.1
4. Went to the settings and unchecked Disable Inventory Cleanup, confirmed changes, and resumed game. Error message shown below.
4 b. No crash if I unchecked Disabled CTRL+Click Drag, confirmed changes and resume game.

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

Error while running event even-distribution::on_runtime_mod_setting_changed (ID 63)
even-distribution/scripts/setup.lua:206: attempt to index local 'player' (a nil value)
stack traceback:
even-distribution/scripts/setup.lua:206: in function 'addDefaultLogisticSlots'
even-distribution/scripts/setup.lua:254: in function 'func'
even-distribution/framework.lua:49: in function <even-distribution/framework.lua:48>

a month ago

Fixed in version 2.0.2. Thanks for the report :)

New response