Page 1 of 1
a way to ensure quality (or any mod) is loaded at the last possible moment
Posted: Fri Jan 02, 2026 4:31 pm
by Stargateur
AFAIK there is no way to ask for a mod to load after all of the rest. This is annoying for mod such as quality. There is no way to tell in a mod, "load before quality".
Re: a way to ensure quality (or any mod) is loaded at the last possible moment
Posted: Fri Jan 02, 2026 5:01 pm
by Rseding91
Optional prerequisites? If such a thing was added.
Re: a way to ensure quality (or any mod) is loaded at the last possible moment
Posted: Fri Jan 02, 2026 11:56 pm
by Stargateur
this would load the mod before, the purpose is after. What would be great is mod that should run last be able to add a weight to their order, quality who add recipe in data-update (well I didn't check actually) could miss recipe from mod that add recipe in data-updates (yes I know it's better to do it in data stage but I don't control all mods in the mod portal :p)
I happen to have a case where I couldn't recycle loader and lane splitter from some mod cause I guess mod order loaded quality before the other mod. Thus the mod author tell me he can recycle so that just unfortunate for my case, and so I wish a way to control better this behavior. Specially since quality doesn't have any dep it's loaded before other mod that have more dep.
Specifically, the depth of each mod's dependency chain is taken into account first, sorting the shorter ones to the front of the queue.
https://lua-api.factorio.com/latest/aux ... cycle.html
It would be great as an user to also be able to override/control mod loading order to be able to fix a small loading order problem.
Re: a way to ensure quality (or any mod) is loaded at the last possible moment
Posted: Mon Jan 05, 2026 10:52 am
by Stargateur
Example of thing current situation make modder do call its mod "zzz-nonstandard-beacons" to try to be the last loaded, next will be zzzz and next will be zzzzzzzzzzzzzzzzzzzzzzz
Re: a way to ensure quality (or any mod) is loaded at the last possible moment
Posted: Mon Jan 05, 2026 12:54 pm
by Rseding91
So if such a thing existed how would the game handle when two mods ask to be loaded “last”?
Re: a way to ensure quality (or any mod) is loaded at the last possible moment
Posted: Mon Jan 05, 2026 1:01 pm
by Kyralessa
They play Rock, Paper, Scissors for it?
Re: a way to ensure quality (or any mod) is loaded at the last possible moment
Posted: Tue Jan 06, 2026 4:29 am
by protocol_1903
Rseding91 wrote: Mon Jan 05, 2026 12:54 pm
So if such a thing existed how would the game handle when two mods ask to be loaded “last”?
I rather think that it should be mod A asking to be loaded specifically before mod B as opposed to after. The rest of the mod order sorts itself out as normal.
Stargateur wrote: Mon Jan 05, 2026 10:52 am
Example of thing current situation make modder do call its mod "zzz-nonstandard-beacons" to try to be the last loaded, next will be zzzz and next will be zzzzzzzzzzzzzzzzzzzzzzz
Glad my mod could be a good example :)
In either case this only applies if a mod specifically wants to be loaded after my mod specifically. Which i highly doubt would ever happen. Even if it does it could just optionally depend on my mod. Any other mod that wants to replicate 'loading last' in all cases would just be start with `zzz` internally. No need to make it longer.
Re: a way to ensure quality (or any mod) is loaded at the last possible moment
Posted: Tue Jan 06, 2026 4:49 pm
by Stargateur
Rseding91 wrote: Mon Jan 05, 2026 12:54 pm
So if such a thing existed how would the game handle when two mods ask to be loaded “last”?
natural order again I guess, but that still better than current just natural order, that clearly not perfect but maybe something like ":quality" in dep could mean "I want to be loaded before quality", or a weight system that would allow more control.