Even Distribution

Modifies CTRL + Click Drag to evenly distribute the items over multiple buildings. Also adds Inventory Cleanup hotkey (SHIFT+C) which evenly distributes excess trash items from inventory into nearby machines.
10 days ago
0.15 - 0.17
Owner: 321freddy
Source: 321freddy/even-distribution
Homepage: https://forums.factorio.com/viewtopic...
License: GNU LGPLv3
Created: 1 year, 10 months ago
Latest Version: 0.3.4 (10 days ago)
Factorio version: 0.15 - 0.17
Downloaded: 120859 times

Forum Post    Github    📢 Check out Attach Notes 📢


Modifies vanilla behaviour for CTRL + Click Drag to evenly distribute the items over multiple buildings.

Pick an item, hold CTRL and Click Drag it over multiple buildings. Start dragging while NOT hovering
over a building with the mouse.


  • CTRL + Left Click Drag = Evenly distribute all items in your inventory
  • CTRL + Right Click Drag = Evenly distribute half the items in your inventory

Inventory Cleanup Hotkey (SHIFT + C)

Evenly distributes excess trash items from your inventory into nearby machines and chests.
Thus for instance when you press the key any raw ores you are carrying will go to nearby furnace, copper wire will go to assemblers, excess fuel will go to burners etc.
The mod has a default list of trash items which includes any raw ores, intermediates and science packs including the ones of popular mods like Bobs and Angels. It will keep a minimum amount of some important items like iron or copper plates in your inventory.

Customize the list of trash items with

  • Vanilla autotrash. Use the configurable startup setting to enable autotrash in early game.
  • Logistic requests. Any items of which you have more than requested will be distributed.
  • Custom trash setting (Per player mod setting). A list of item names with the amounts to keep in inventory seperated by spaces.
  • Any items from your trashslots are also distributed.

Version History

0.3.4 - Fixed inventory cleanup crashed
              Fixed crash for sandbox players
0.3.3 - Major refactor of internal code for some upcoming new features
              Fixed distribution to belts
              Fixed inventory cleanup hotkey distributed to deconstructed entities
0.3.1 - Fixed crash when distributing items in sandbox mode
0.3.0 - Update for Factorio version 0.17

0.2.10 - Fixed biters attacking the blue distribution marker
0.2.9 - Improved inv. cleanup hotkey support for: SeaBlock, Pyanodons Mods and Science Cost Tweaker mod
0.2.8 - Added per player mod setting to disable even distributions CTRL Click Drag modification
              Improved german translation (thanks to ST-DDT)
0.2.7 - Fixed inventory cleanup hotkey crash in Factorio version 0.16.4
              Improved mod description and added usage message at the start of the game for newer players
              Improved mod compatibility
0.2.6 - Update for Factorio version 0.16

0.2.5 - Fixed distribution to factorissimo 2 helper entities
              Added ignored entities mod setting
0.2.4 - Fixed crash on startup caused by mods that modify item flags
0.2.3 - Fixed that you could evenly distribute into player corpses
              Fixed issues with dead players trying to evenly distribute or use inventory cleanup
              Fixed that players in godmode couldn't evenly distribute
              Fixed several crashes with inventory cleanup
              Added proper error checking for custom player trash settings
              Fixed that custom player trash settings sometimes wouldn't work
0.2.2 - Added inventory cleanup hotkey: Evenly distribute excess trash items into nearby machines (SHIFT + C)
              Added distribution text colors: Red = You have insufficient items; Yellow = Target inventory is full
              Added fancy distribution fade out animation
              Added option to prevent machines from starting to craft immediately upon selection
              Fixed rare crash when evenly distributing
              Fixed crash when dead players try to evenly distribute
              Other small fixes
0.1.1 - Fixed blue markers not disappearing.
              Fixed picker dollies not moving blue markers.
              Fixed mod would evenly distribute into other players.
0.1.0 - Fixed crash when fast-replacing buildings.
              Fixed that ammo was taken from the players gun when evenly distributing.
              Added configurable option to include the driven cars inventory when evenly distributing.
              Added german translation for mod settings.
0.0.3 - Fixed crash when selecting assembling machines without recipe.
0.0.2 - Initial release.