Makes vanilla module categories the default allowed_module_categories for entity prototypes.
Lua libraries for use by other mods and submods that are parts of a larger mod.
Version: 2.2.0
Date: 03.08.2026
Features:
- Added setting (default disabled) to attempt to auto-detect modded module categories that should be treated like vanilla categories.
Compatibility:
- Added 'ModuleCategoryDefaults.restricted_categories' table for module categories that should be disabled for all entities.
- Added 'ModuleCategoryDefaults.process_entity_prototypes()' function that can be called manually to pick up any entity prototypes created after this mod's 'data-final-fixes'.
- Added 'ModuleCategoryDefaults.process_recipe_prototypes()' function that does equivalent logic for recipe prototypes (recipes are not processed by default).
Version: 2.1.2
Date: 30.07.2026
Info:
- Updated README.
- Added thumbnail.
Version: 2.1.1
Date: 26.07.2026
Bugfixes:
- Fix crash when Space Age is not active.
Version: 2.1.0
Date: 06.07.2026
Changes:
- Add agricultural towers to the list.
Version: 2.0.0
Date: 23.06.2026
Changes:
- Updated for Factorio 2.1 (no code changes needed).
Version: 1.3.0
Date: 07.06.2026
Changes:
- Exclude recipes from the logic. This is a result from a discussion after several modders reported that recipes being included is problematic.
Version: 1.2.0
Date: 12.04.2026
Changes:
- Make default_categories available globally in data stage.
Bugfixes:
- Add supoprt for Metal and Stars overclock modules.
Version: 1.1.0
Date: 09.04.2026
Changes:
- Apply the same logic to recipes.
Bugfixes:
- Fix the table not being a copy per entity.