🌐Planet Rubia


Discover the wind planet Rubia. Belts and inserters work differently on Rubia, leading to unique building challenges not seen on any other planet. Your whole factory must go with the wind as a never-ending barrage of waste is hurled at your base.

Content
a month ago
2.0 - 2.1
46.7K
Factorio: Space Age Icon Space Age Mod
Planets Logistics Trains Environment Mining Manufacturing Power

b [Can’t Fix] Reached id limit for recipe

a month ago

Hi there! I guess it's not really a bug, but I ran into this error (I've got a ton of mods installed, mainly planets, so it's not a huge surprise).

But I thought, maybe you have an idea how to mitigate this, maybe you can create fewer recipes or introduce some settings to keep their numbers lower. I haven't yet been to your planet, so I don't know about your recipes and how they work in game. But maybe you base them in part on other mods which maybe make less sense so there could be options to optimize.

these are the main contributors to the recipes in my setup:

 656.088 Info PrototypeList.cpp:85: recipe counts:
...
 656.089 Info PrototypeList.cpp:87:  Paracelsin: 11419
...
 656.090 Info PrototypeList.cpp:87:  foliax: 20098
...
 656.090 Info PrototypeList.cpp:87:  panglia_planet: 11319
...
 656.091 Info PrototypeList.cpp:87:  rigor-module: 58578
...
 656.091 Info PrototypeList.cpp:87:  rubia: 11707
...
 656.299 Error ModManager.cpp:1786: Reached id limit for recipe. The game can't contain more than 65535 instances of this prototype due to hardcoded limits of the engine. See the log file for more detail.

Thank you for giving this a thought!

P.S.: similar question here
https://mods.factorio.com/mod/rigor-module/discussion/6a7d5c55fe4a315bdac133f3
https://mods.factorio.com/mod/foliax/discussion/6aebbe5683fb8387e569bd85
https://mods.factorio.com/mod/Paracelsin/discussion/6aeced2ad36ccc4b7bbe300b
https://mods.factorio.com/mod/panglia_planet/discussion/6aeced65181cfe1e488a5941

a month ago

Hey. Rubia makes one recipe per item in the game, with a similar mechanic to a recycler. This is the first time I’ve ever heard of this issue, and removing these recipes would cause a major mechanic on Rubia to break. Unfortunately, I can’t fulfill this request.

a month ago

Looking more carefully at this data, it seems the issue is that several mods here are making 1 recipe per item prototype (for different core mechanics). Your problem is that you have >11,500 item prototypes. You are probably playing with some mod that adds a ton of items (perhaps one that makes buildings level up, or remakes them in multiple qualities as separate items). That is your culprit that needs to get removed.

13 days ago

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.

a day ago

your real count is from recycler
Pangalia and Paracelsin both have crushing recipe styles that double this
Foliax then readds the original number on top for a triple
Biggest benefit would be getting Paracelsin and Pangalia to use the same code for their generation so they use the same names if run together, or just turn off Paracelsin's version

New response