Module category defaults


Makes vanilla module categories as the default for allowed_module_categories.

2 days ago
2.0 - 2.1
9.41K

b Title: module-category-defaults crashes during data-final-fixes cascade due to invalid recipe structures from external mods

a month ago

Title: module-category-defaults crashes during data-final-fixes cascade due to invalid recipe structures from external mods
Crash Analysis:This utility mod processes all active machine and recipe prototypes during the final database pass to inject and standardize default module categories. During this iteration cascade, the script hits the malformed "quarry-tungsten-ore" recipe generated by Li-Quarry.Because the incoming recipe prototype is fundamentally broken (missing its mandatory root icon asset properties due to 2.0 conversion mismatch), the module injector encounters an invalid property tree block. The script is unable to safely process or assign module slots to a corrupted recipe structure, causing a secondary crash cascade in the data-final-fixes phase. Please add a safety check to skip processing if a recipe prototype lacks valid core visual definitions.

a month ago

This reads like Li-Quarry should fix their prototypes. I'm not working around bugs like that in other mods. I already saw your post there.

New response