Even Distribution for Factorio 2.1, built on Jhorr's Even Distribution Fork with spoilage preservation. Modifies CTRL + Click Drag to evenly distribute items over multiple buildings, and adds the Inventory Cleanup hotkey (SHIFT+C). Original mod by 321freddy (LGPLv3).
Version: 2.1.10
Date: 2026-11-08
Changes:
- Marked incompatible with Even Distribution fix (even-distribution-fix) and Even Distribution: Updated (even-distribution-updated), so only one copy of Even Distribution can be enabled.
Version: 2.1.9
Date: 2026-11-05
Bugfixes:
- Draw distribution markers with the current rendering target format, so spidertron markers appear above the spidertron again.
- Replace the removed game.recipe_prototypes lookup in the robot-unlock check with prototypes.recipe.
- Recipe product checks use the expected output amount, so random outputs (minimum amount 0) still count as products and probabilities are no longer read as amounts.
Info:
- Include the full GNU GPLv3 and LGPLv3 license texts (COPYING, COPYING.LESSER).
- Marker and recipe fixes adapted from Even Distribution: Updated by johnmart19 / FactorioMods (LGPLv3).
Version: 2.1.8
Date: 2026-11-05
Changes:
- Even Distribution (Reborn) by FallenPaladin, rebuilt on Even Distribution Fork 2.1.7 by Jhorr (his entries below); original mod by 321freddy.
- Marked incompatible with Even Distribution, Even Distribution Fork and Even Distribution fixed (use only one).
- Import saved player preferences and ignored entities from Jhorr's fork as well as from the original mod.
- Freshness is no longer averaged before distributing. Each item keeps its own freshness and merges natively at the target, most-spoiled items going first, so stacks that are not moved are never changed.
Bugfixes:
- Removed the module-level freshness pool from the legacy transfer path, so no state carries between actions or differs between multiplayer peers.
- Errors during distribution now keep their original traceback in crash reports.
- Free hover backup inventories left in a replaced fork's saved data.
Version: 2.1.7
Date: 2026-11-04
Bugfixes:
- Correct oversized Modlist UI sprite references to this fork's 144x144 thumbnail when cached portal dimensions are outdated.
- Preserve the intended thumbnail display size without enlarging or replacing the PNG.
Version: 2.1.6
Date: 2026-11-03
Optimisations:
- Reuse same-sized native hover backup inventories within a tick, copying fresh stack contents on each selection.
- Skip per-slot capture scans for inventories without the selected item and quality.
- Expire hover backups through a due-tick queue instead of scanning every player cache each tick.
- Index target owners without changing target order or remainder allocation.
Changes:
- Import saved player preferences and remotely ignored entities when replacing the original even-distribution mod.
- Register persistent metatables with Factorio and migrate existing fork saves during configuration changes.
- Separate prototype cache refresh, state migration and player initialization; remove the deferred full initialization after load.
- Route transfer helpers through one interface while retaining the quantity-based compatibility path used by helper callers.
Version: 2.1.5
Date: 2026-11-03
Bugfixes:
- Fix item loss when a native drag transfer refills the cursor from the main inventory.
- Restore matching inventory stacks together with the cursor, without overwriting unrelated items after inventory sorting.
- Validate live quantities and all return slots before undoing a native transfer; retain the native transfer when safe restoration is impossible.
- Restore original single-pass Even Distribute dragging: rejected shares stay carried instead of being reassigned to other targets.
- Restore original Balance Inventory remainder allocation when some targets fill up.
- Restore original Cleanup eligibility for full targets and return existing stock above configured fuel/ammo limits when there is room.
- Keep rejected items at their source when no safe destination or return space exists.
Changes:
- Keep freshness groups, quality handling, partial-item preservation and the existing Space Age rules as additions to the original allocation policy.
Version: 2.1.4
Date: 2026-11-02
Changes:
- Distribute one consumption bracket per item and quality, prioritizing the most-used third. Freshness merges within the selected bracket instead of across all player stock.
- Distribute ammunition across all consumption brackets in one action, prioritizing partly used ammunition within each type.
- Process ammunition in ascending progression: yellow, red, then green magazines; normal rockets before explosive rockets.
- Keep a 100-item personal reserve only for item/quality pairs explicitly present in character ammo slots, counting equipped ammunition, the main inventory and the cursor together.
- Enable default Shift+C filling of Biochamber nutrients and ammunition while respecting personal keep rules and distribution limits.
- Treat fuel and recipe inputs as separate destinations when an item is needed in both slots.
- Only allow Shift+C to fill recyclers whose input inventory is already non-empty, and heating towers whose fuel inventory is already non-empty.
- Disable Shift+C for nuclear reactors and fusion reactors, whether empty or already supplied. Use Ctrl+Click Drag to supply them explicitly.
- Exclude atomic bombs from automatic turret filling; retain chest cleanup and explicit drag.
- Refresh revised defaults in older saves of the same mod version without resetting user settings.
Bugfixes:
- Recognize fusion reactors as valid Ctrl+Click Drag targets.
- Preserve quality, freshness, remaining shots, durability and health during distribution, balancing, inventory cleanup, cursor restoration and item returns.
- Preserve the state of fuel and ammunition returned to the player when replacing inferior items.
- Debit sources only after successful insertion; rejected items remain at their source instead of being spilled.
- Correct accounting for partial transfers so subsequent transfers cannot reuse previously distributed freshness or consumption values.
- Retain distinct Even Distribute and Balance Inventory behavior, including existing stock, full targets and native merging of used items.
Optimisations:
- Reduce repeated inventory scans by collecting eligible stacks before distribution.
Credits:
- Thanks to FallenPaladin for the initial spoilage preservation contribution.
Version: 2.1.3
Date: 2026-11-01
Changes:
- First Even Distribution (Reborn) release by FallenPaladin, based on Even Distribution Fork 2.1.2 by Jhorr.
Bugfixes:
- Preserve spoilage when distributing, balancing and using inventory cleanup (initial fix, later replaced by Jhorr's native stack transfer in 2.1.4).
Version: 2.1.2
Date: 2026-10-27
Bugfixes:
- Preserve item quality throughout drag distribution, balancing, cursor restoration and overflow returns.
- Keep different qualities separate when counting or removing items from inventories, vehicles and machines.
- Prevent inventory cleanup from consuming higher-quality items held in the cursor.
- Finish pending distributions before starting a different item or quality transaction.
- Preserve quality when replacing fuel or ammunition; only replace stacks of the selected quality.
Changes:
- Enable drag distribution for every quality tier. Inventory cleanup continues to handle normal-quality items only.
Version: 2.1.1
Date: 2026-10-13
Changes:
- Fork by Jhorr; original mod by 321freddy.
- Fix fuel handling for Factorio 2.1.20+, including multiple fuel categories.
Version: 2.1.0
Date: 2026-06-24
Changes:
- Update for Factorio version 2.1
Version: 2.0.2
Date: 2024-10-22
Changes:
- Added pt-BR translation (thanks to BM123499)
- Updated russian translation (thanks to Astorin)
- Added remote interface for reading limits (thanks to azaghal)
- Default requests are no longer added when changing settings
Bugfixes:
- Fixed crash when distributing with full inventory
- Fixed crash when re-enabling settings
Version: 2.0.1
Date: 2024-10-21
Bugfixes:
- Fixed click drag not distributing evenly
- Fixed crash when inserting into furnaces
- Fixed crash with inventory cleanup when having filter set to infinity
- Fixed furnace recipe not correctly detected
Version: 2.0.0
Date: 2024-10-21
Changes:
- Update for Factorio version 2.0 (still WIP, some features like quality are not fully supported yet)
Bugfixes:
- Fixed empty UI element in top-left corner #48
Version: 1.0.10
Date: 2021-08-20
Changes:
- Added russian translation (thanks to Astorin)
- Added remote interface to ignore entities for Ctrl+Click Drag and Shift+C
Version: 1.0.9
Date: 2021-08-19
Bugfixes:
- Fixed crash in factorio version 1.1.38
Version: 1.0.8
Date: 2021-02-28
Changes:
- Disabling Shift+C in map settings now disables logistic slots
- The default logistic slots are now only added once at the beginning of the game
Bugfixes:
- Fixed Shift+C dropping output item to input slot
- Fixed missing settings button
- Fixed vanilla flying text not being removed properly
- Fixed several crashes
Version: 1.0.7
Date: 2021-01-12
Changes:
- Added map setting to limit Shift+C range globally
Bugfixes:
- Fixed fuel/ammo limits not always accepting fractional values
- Fixed fuel/ammo limit sliders not updating properly when changing the unit
Version: 1.0.6
Date: 2021-01-03
Bugfixes:
- Fixed crash when distributing non-ammo to turrets
- Fixed Shift+C placing fuel in machine outputs
Version: 1.0.5
Date: 2020-12-29
Bugfixes:
- Fixed crash when distributing to machine outputs with Shift+C
- Fixed settings button not being restored properly
Version: 1.0.4
Date: 2020-12-28
Changes:
- Ctrl+Click Drag no longer distributes to ineligible entities
- Ctrl+Click Drag now prevents accidental distribution to spidertron (or other vehicles)
- Added option for Shift+C to drop items to machine output slots
- Removed the need to spam Shift+C to distribute all items
Bugfixes:
- Fixed Shift+C not distributing ammo to artillery
- Other minor fixes
Version: 1.0.3
Date: 2020-12-21
Bugfixes:
- Fixed startup crash with some scenarios/mods
Version: 1.0.2
Date: 2020-12-20
Changes:
- Added a default autotrash configuration for Shift+C when starting a new game. Replaces old internal configuration to allow easier customization.
- Added Shift+C support for Space Exploration
- Improved Shift+C support for Angel's and Bob's mods
Bugfixes:
- Fixed rare possibility of item loss when distributing ammo
Version: 1.0.1
Date: 2020-11-27
Bugfixes:
- Fixed not being able to close the settings window
Version: 1.0.0
Date: 2020-11-25
Changes:
- Update for Factorio version 1.1.0
- Added custom settings gui
- Added balance inventories mode
- Added fuel and ammo distribution limits
- Added option to replace inferior fuel and ammo items when using CTRL+Click Drag
- Added source inventory selection for CTRL+Click Drag (hand only/inventory/vehicle)
- Added ability to disable individual ED features globally and per player
- Logistic slots are now always available from the start
- Improved distribution visualization
Bugfixes:
- Various bugfixes
Version: 0.3.18
Date: 2020-05-02
Changes:
- Update for Factorio version 0.18.22
Version: 0.3.17
Date: 2020-04-01
Bugfixes:
- Fixed that "Always show logistic tab" setting was incompatible with some mods
Version: 0.3.16
Date: 2020-03-17
Changes:
- Update for Factorio version 0.18.13
Version: 0.3.15
Bugfixes:
- Fixed inventory cleanup not working with turrets
Version: 0.3.14
Changes:
- Update for Factorio version 0.18
Version: 0.3.12
Changes:
- Improved SHIFT+C trash list for Industrial Revolution
Version: 0.3.11
Changes:
- Industrial Revolution compatibility
- Wood is ignored by SHIFT+C by default (use autotrash to set a custom limit)
Version: 0.3.10
Bugfixes:
- Fixed crash when using ED in map editor
Version: 0.3.9
Bugfixes:
- Fixed crash with AAI mods
Version: 0.3.8
Bugfixes:
- Fixed migration crash
Version: 0.3.7
Bugfixes:
- Update for Factorio 0.17.35
Version: 0.3.6
Bugfixes:
- Fixed distribution crash after load/save
Version: 0.3.5
Changes:
- Added changelog
Bugfixes:
- Fixed rare crash on startup
Version: 0.3.4
Bugfixes:
- Fixed inventory cleanup crashed
- Fixed crash for sandbox players
Version: 0.3.3
Changes:
- Major refactor of internal code for some upcoming new features
Bugfixes:
- Fixed distribution to belts
- Fixed inventory cleanup hotkey distributed to deconstructed entities
Version: 0.3.1
Bugfixes:
- Fixed crash when distributing items in sandbox mode
Version: 0.3.0
Changes:
- Update for Factorio version 0.17
Version: 0.2.10
Bugfixes:
- Fixed biters attacking the blue distribution marker
Version: 0.2.9
Changes:
- Improved inv. cleanup hotkey support for: SeaBlock, Pyanodons Mods and Science Cost Tweaker mod
Version: 0.2.8
Changes:
- Added per player mod setting to disable even distributions CTRL Click Drag modification
- Improved german translation (thanks to ST-DDT)
Version: 0.2.7
Changes:
- Improved mod description and added usage message at the start of the game for newer players
- Improved mod compatibility
Bugfixes:
- Fixed inventory cleanup hotkey crash in Factorio version 0.16.4
Version: 0.2.6
Changes:
- Update for Factorio version 0.16
Version: 0.2.5
Changes:
- Added ignored entities mod setting
Bugfixes:
- Fixed distribution to factorissimo 2 helper entities
Version: 0.2.4
Bugfixes:
- Fixed crash on startup caused by mods that modify item flags
Version: 0.2.3
Changes:
- Added proper error checking for custom player trash settings
Bugfixes:
- 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
- Fixed that custom player trash settings sometimes wouldn't work
Version: 0.2.2
Changes:
- 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
Bugfixes:
- Fixed rare crash when evenly distributing
- Fixed crash when dead players try to evenly distribute
- Other small fixes
Version: 0.1.1
Bugfixes:
- Fixed blue markers not disappearing.
- Fixed picker dollies not moving blue markers.
- Fixed mod would evenly distribute into other players.
Version: 0.1.0
Changes:
- Added configurable option to include the driven cars inventory when evenly distributing.
- Added german translation for mod settings.
Bugfixes:
- Fixed crash when fast-replacing buildings.
- Fixed that ammo was taken from the players gun when evenly distributing.
Version: 0.0.3
Bugfixes:
- Fixed crash when selecting assembling machines without recipe.
Version: 0.0.2
Changes:
- Initial release.