Hi there
So I got this:
Failed to load mods: Cycle in technology tree detected.
planet-discovery-corrundum
-> sulfate-processing-2
-> calcium-sulfate
-> blue-rocket
-> space-discovery-asteroid-belt
-> planet-discovery-corrundum
I've looked at this for a few hours with AI trying to understand what's happening here.
Corrundum and Corrundum Acid basically say the Belt depends on blue rocket which depends on discover corrundum (I have the details from where that happens in the files and stages if you need them, but I guess you know these), so Corrundum wants to stay near the sun.
I posted this here since The Inner Core is your inner planet pack, though the blue rocket depending on Belt prerequisite lives in Corrundum Acid.
But whoever modifies planet distances (I have Redrawn-Space-Connections, redrawn-space-compat-fixes, and Better-Planets installed, and maybe other mods mess with distance, too, I don't know), pushes Corrundum beyond the inner belt bound (which might happen because Belt apparently applies some sort of buffer, probably to create space for all the planets, of which I have a LOT installed):
221.212 Loading mod kry-asteroid-belt 1.0.15 (data-final-fixes.lua)
221.213 Script @__kry-asteroid-belt__/lib/asteroid-belt.lua:85: This 'planet: corrundum' falls within an asteroid belt. Shifted to nearest outer edge.
Now, Corrundum is too far out, and Belt says that you first have to research Belt and THEN you can research Corrundum (discovery corrundum is now suddenly dependent on discovery of belt). Which leads to the tech cycle.
I'm not sure if I can make myself clear, and it's probably very hard to reproduce; I didn't want to go into the black magic of all the redrawing and shifting stuff since I fear that they depend on the very specific (planet) mods you have installed, and I don't know of a way how I can easily isolate the issue with Corrundum.
Does this help you, can I provide more information?
As a quick hack I set Corrundum's distance directly in the mod's zip, originally it's 20, but the tech cycle appeared when I set it to 10 and even when I set it to 3. Clearly, I have no idea what's going on with messing with the distance, so... maybe you have an idea how to fix this or to introduce compatibility? :-)
Thanks for your modding work!
Edit: for reference: https://mods.factorio.com/mod/kry-asteroid-belt/discussion/6b0213a72777574afff9e84f
Edit 2: one more data point, as a last thing, I added logging in Belt's lib/asteroid-belt lua in their function clear_belt:
- the distance of the inner and outer belt is 27.5 and 32.5, respectively
- in data updates stage, corrundum's distance is 20, orientation = 0
- => NO log line "Shifted to nearest outer edge" for Corrundrum
- in data final though, corrundrum's distance is 35, orientation = 0.458...
- => and now, this is logged: "This 'planet: corrundum' falls within an asteroid belt. Shifted to nearest outer edge."
- after that, its distance is 35.2, orientation = 0.458..., and the tech prereq is added