MHH Stack Sizes


Configurable stack sizes for all items via startup settings. Items are dynamically categorized by properties (raw materials, plates, science, fuel, ammo, etc.) for seamless compatibility with vanilla, Space Age, Space Exploration, Krastorio 2, and other overhaul mods. Buildings and equipment keep their default stack sizes.

Tweaks
a day ago
2.0
15
Storage Cheats

Changelog

Version: 4.1.14
Date: 2026-07-02
  Changes:
    - Science pack detection now matches type "item" too (2.1 changed science packs from "tool" to "item")
Version: 4.1.13
Date: 2026-07-02
  Changes:
    - Consolidated changelog
--------------------------------------------------------------------------------------------------
Version: 4.1.12
Date: 2026-06-30
  Changes:
    - Fixed nil version error in debug log: added nil-safe access for mods table

Version: 4.1.9
Date: 2026-06-30
  Changes:
    - Fixed nil version error in debug log: mods table in Factorio 2.0 stores version strings directly, not tables
--
Version: 4.1.7
Date: 2026-06-30
  Changes:
    - Fixed stone not getting its stack size changed: place_as_tile caused it to be excluded
    - Stone-brick is now categorized as plates (excluded from place_as_tile check, categorized via %-brick$ rule)
--
Version: 4.1.5
Date: 2026-06-30
  Changes:
    - Replaced thumbnail with a collage of stackable items (ores, plates, circuits, science, fuel, ammo, modules, etc.)
--
Version: 4.1.3
Date: 2026-06-30
  Changes:
    - Added range notation [1-10000] to all int-setting descriptions for clarity
Version: 4.1.2
Date: 2026-06-30
  Changes:
    - Fixed stone not being categorized as raw-materials when SE changes its subgroup
Version: 4.1.1
Date: 2026-06-30
  Changes:
    - Fixed "Unknown key" for debug-log setting: added missing locale name entry
Version: 4.1.0
Date: 2026-06-30
  Changes:
    - Added (?) space-age optional dependency
Version: 4.0.1
Date: 2026-06-30
  Changes:
    - Debug logging now gated behind startup setting mhh-stacksize-debug-log (default off)
Version: 4.0.0
Date: 2026-06-30
  Changes:
    - Complete rewrite with dynamic property-based item categorization
    - Split "Fuel" into Burner (default 50) and Advanced (default 10)
    - Split "Ammo" into Basic (200), Advanced (100), and Capsules (100)
    - Removed "Other" category (repair-pack now excluded by type)
    - Added "Data" category for SE data items (default 100)
    - Module detection uses module_effects property (not name patterns)
    - Added data-updates.lua phase for mods that add items in data.lua
    - data-final-fixes.lua re-runs full detection to catch postprocess changes
    - Added priority-based detection chain: exclusions → keep-default → properties → subgroup → name
    - 14 configurable settings (was 11)
Version: 3.1.1
Date: 2026-06-27
  Changes:
    - Added mod thumbnail (composed from base game plate icons)