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 I think this has already been mentioned but

5 years ago

Error while running event even-distribution::on_tick (ID 0)
even-distribution/scripts/visuals.lua:107: attempt to index a nil value
stack traceback:
even-distribution/scripts/visuals.lua:107: in function 'func'
even-distribution/scripts/helpers.lua:141: in function 'where'
even-distribution/scripts/visuals.lua:101: in function 'unmark'
even-distribution/scripts/visuals.lua:117: in function 'func'
even-distribution/scripts/helpers.lua:124: in function 'each'
even-distribution/scripts/visuals.lua:116: in function 'unmark'
even-distribution/scripts/drag.lua:173: in function 'resetCache'
even-distribution/scripts/drag.lua:62: in function 'distributeItems'
even-distribution/scripts/drag.lua:15: in function 'func'
even-distribution/framework.lua:99: in function <even-distribution/framework.lua:98>

I get this when working with map editor on a scenario I'm trying to tweak

5 years ago

Thanks for the report. Should be fixed in version 0.3.10. Please tell me if not

New response