a way to ensure quality (or any mod) is loaded at the last possible moment
- Stargateur
- Filter Inserter

- Posts: 379
- Joined: Sat Oct 05, 2019 6:17 am
- Contact:
a way to ensure quality (or any mod) is loaded at the last possible moment
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
Optional prerequisites? If such a thing was added.
If you want to get ahold of me I'm almost always on Discord.
- Stargateur
- Filter Inserter

- Posts: 379
- Joined: Sat Oct 05, 2019 6:17 am
- Contact:
Re: a way to ensure quality (or any mod) is loaded at the last possible moment
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.
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.
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.
https://lua-api.factorio.com/latest/aux ... cycle.htmlSpecifically, the depth of each mod's dependency chain is taken into account first, sorting the shorter ones to the front of the queue.
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.
- Stargateur
- Filter Inserter

- Posts: 379
- Joined: Sat Oct 05, 2019 6:17 am
- Contact:
Re: a way to ensure quality (or any mod) is loaded at the last possible moment
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
So if such a thing existed how would the game handle when two mods ask to be loaded “last”?
If you want to get ahold of me I'm almost always on Discord.
Re: a way to ensure quality (or any mod) is loaded at the last possible moment
They play Rock, Paper, Scissors for it?
- protocol_1903
- Filter Inserter

- Posts: 426
- Joined: Fri Sep 09, 2022 4:33 pm
- Contact:
Re: a way to ensure quality (or any mod) is loaded at the last possible moment
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.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”?
Glad my mod could be a good example :)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
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.
Py and PyBlock developer, wielder of LUA in arbitrary ways. I make mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
https://mods.factorio.com/user/protocol_1903
- Stargateur
- Filter Inserter

- Posts: 379
- Joined: Sat Oct 05, 2019 6:17 am
- Contact:
Re: a way to ensure quality (or any mod) is loaded at the last possible moment
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.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”?
Another: zzzzStopChasingBeltItems
