Page 1 of 1
[solved] Quality order
Posted: Sat Jan 24, 2026 1:52 pm
by lorrein
Im trying to make a mod that will change quality order to ...Legendary => Legendary-plus => Mythical...
Legendary-plus and
Mythical are from 2 different mods, and basic order when im not using my mod is ...Legendary => Mythical... so its basically skipping the Legendary-plus level. I tryed to make a mod and this what i coded in data-final-fixes.lua
Code: Select all
if mods["QualityPlus"] and mods["Quality-Plus-Plus"] then
data.raw.quality.legendary.next = "legendary-plus"
data.raw["quality"]["legendary-plus"].next = "mythical"
end
But for some reason it only changes order to ...Legendary => Legendary-plus and it just ends there, it seems im doing something wrong, but i cant get what exactly
Re: Quality order
Posted: Sat Jan 24, 2026 6:08 pm
by Silari
Haven't worked much with SA stuff since I don't own it, but isn't there also a level field that would probably need to be changed so that mythical is yours + 1?
https://lua-api.factorio.com/latest/pro ... html#level
Game might always expect next quality to be a higher/different level.
Re: Quality order
Posted: Sat Jan 24, 2026 7:38 pm
by lorrein
if ure talkin about multiplyer of quality-

- 01-24-2026, 21-36-15.png (58.58 KiB) Viewed 493 times
it is indeed higher
Alsi ik there is something called "order" in quality parameters but its somewhat higher too (Legendary-plus having "ea" and Mythical having "f")
Re: Quality order
Posted: Sun Jan 25, 2026 4:19 pm
by eugenekay
lorrein wrote: Sat Jan 24, 2026 7:38 pmthere is something called "order" in quality parameters but its somewhat higher too (Legendary-plus having "ea" and Mythical having "f")
The
order property controls Sorting for Recipes/Signals.
Quality uses the
Numerical Level to indicate the “tier” for effect multiplication, as well as an explicit reference to the
next tier for determining upgrade progression. These can be adjusted separately for each Quality, so you can have
non-linear effects.
Good Luck!
Re: Quality order
Posted: Sun Jan 25, 2026 6:15 pm
by lorrein
eugenekay wrote: Sun Jan 25, 2026 4:19 pm
Quality uses the
Numerical Level to indicate the “tier” for effect multiplication, as well as an explicit reference to the
next tier for determining upgrade progression. These can be adjusted separately for each Quality, so you can have
non-linear effects.
Good Luck!
Well exactly your comment didnt helped me, cos i literally cheched what you said exactly before posting this, but after i rechecked it again i noticed that legendary-plus doesnt have next_probability variable in original mod, and thats was a reason why legendary-plus wasnt upgrading to mythical