Hello again! Sorry for bringing another crash so soon, this time a heavier one 😄
After updating military-mlrs to 1.4.15, the game fails to load in my modpack (220+ mods including Bob's Mods, Angel's Mods, and Omnimatter) with the following prototype error:
Error while running setup for entity prototype "military-grad-fcu" (artillery-turret): Entity must be minable when next_upgrade is set. (was bob-artillery-turret-2)
What is happening:
Bob's Warfare (bobwarfare) adds next_upgrade = "bob-artillery-turret-2" to the vanilla artillery-turret. When military-mlrs copies artillery-turret to create the hidden non-minable military-grad-fcu (and probably other *-fcu turrets), it inherits next_upgrade while minable is set to nil, which causes Factorio to crash during setup.
Suggestion for future-proofing:
Could you please clear next_upgrade = nil (and any leftover upgrade/mining properties) when cloning vanilla entities for hidden FCU turrets? Also, since big overhaul packs like Bob's, Angel's, and Omnimatter heavily modify vanilla entities, fluids, and recipes, adding safety checks like this when cloning or altering prototypes will prevent a lot of similar crashes in large modpacks!
Thanks in advance for looking into this!