Expand Filter Slots deprecated

by kudziak

Expands inserter and loader filter slots from 5 to 10. Compatible with Bob's and Angel's mods. Zero runtime UPS impact.

Content
13 days ago
2.0
8
Logistics

Changelog

Version: 1.0.2
Date: 15. 04. 2026
  Bugfixes:
    - Fixed crash "Maximum count of filtered items in inserter is 5" by capping inserter filter_count at the Factorio 2.0 engine limit of 5.
    - Loader filter slots still expand to 10 as intended.
Version: 1.0.1
Date: 15. 04. 2026
  Bugfixes:
    - Fixed crash on game load due to missing entity type checks. Added defensive nil checks for data.raw[entity_type] before iteration to handle cases where modded entity types (like "loader-1d") don't exist in vanilla game.
Version: 1.0.0
Date: 15. 04. 2026
  Features:
    - Initial release
    - Expanded filter slots from 5 to 10 for all inserters and loaders
    - Compatible with Bob's and Angel's mods
    - Zero runtime UPS impact through pure data-stage design
    - Defensive error handling for missing entity types
  Technical:
    - Uses data-final-fixes.lua to ensure compatibility with all mods
    - Single-pass O(n) iteration through entity prototypes
    - No runtime code execution - only runs once during data loading
    - Automatic adaptation to modded entities (Bob's/Angel's)
  Performance:
    - Runtime UPS impact: 0.00 (no runtime overhead)
    - Loading time impact: <100ms (one-time data stage processing)
    - Memory overhead: Negligible (only modifies existing prototype properties)