Hi there!
tl;dr
- set rigor-module-compatibility-mode to false (rigor-module-compatibility-mode-include-vanilla still true) in https://mods.factorio.com/mod/rigor-module
- deactivated https://mods.factorio.com/mod/textplates
- deactivated https://mods.factorio.com/mod/cargo_crates
/tl;dr
Just wanted to update a little in case someone else stumbles upon this in the future. I hope you don't mind posting this here.
Your observation with the 11500 prototypes sent me on a good track, rather than looking just at the largest numbers, and instead looking at what mods might be the root of those many recipes.
After activating compatibility mode in rigor modules and they improved some stuff (https://mods.factorio.com/mod/rigor-module/discussion/6a7d5c55fe4a315bdac133f3), their recipes went down to 3460.
so these remained the top contributors:
planet_prismaris 4352
recycler 5940
panglia_planet 11066
Paracelsin 11174
rubia 11499
foliax 19219
still 91458 recipes in total.
I logged the names of recipes you add at your /prototypes/data-script/crapapult-recipes.lua#144, 11404 in total. I sorted them a bit and found out that because of textplates you add 1422 recipes alone - which is quite interesting since strangely, textplates itself only seems to add 18 recipes by themselves, at least that's what Factorio reports in the list of recipes right before the error is thrown... not sure what trick they're playing. :-D
I like textplates, but something has to give, right? deactivated it, thus:
planet_prismaris 4352 0
recycler 4518 -1422
panglia_planet 9644 -1422
Paracelsin 9752 -1422
rubia 10077 -1422
foliax 19219 0
85736 recipes in total, so down 5722.
And that's where I'm grateful for your thoughts, since here it's obvious that the other planet mods (and even recycler) each added their set of 1422 recipes, too...
Next one I found is that Foliax adds 7012 recipes because of cargo_crates. Interestingly, Foliax didn't profit from killing textplates, and on the other hand your mod (and most others) does nothing with cargo_crates. Maybe some sort of mod loading order thing.
Luckily I don't need cargo_crates at all, since it's a dependency for https://mods.factorio.com/mod/pelagos, which isn't even 2.1 yet. So, after killing cargo_crates (which adds another 3747 recipes just by itself):
planet_prismaris 2603 -1749
recycler 4518 0
panglia_planet 9644 0
Paracelsin 9752 0
rubia 10077 0
foliax 12306 -6913
73600 recipes in total, so down another 12136.
still more than 65535, but I'm sure I'll find some more. But these have been the main findings.