[solved] Quality order

Place to get help with not working mods / modding interface.
lorrein
Burner Inserter
Burner Inserter
Posts: 6
Joined: Sat Jan 10, 2026 5:41 am
Contact:

[solved] Quality order

Post 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
Last edited by lorrein on Mon Jan 26, 2026 2:52 pm, edited 1 time in total.
User avatar
Silari
Filter Inserter
Filter Inserter
Posts: 611
Joined: Sat Jan 27, 2018 10:04 pm
Contact:

Re: Quality order

Post 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.
lorrein
Burner Inserter
Burner Inserter
Posts: 6
Joined: Sat Jan 10, 2026 5:41 am
Contact:

Re: Quality order

Post by lorrein »

if ure talkin about multiplyer of quality-
01-24-2026, 21-36-15.png
01-24-2026, 21-36-15.png (58.58 KiB) Viewed 333 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")
eugenekay
Filter Inserter
Filter Inserter
Posts: 995
Joined: Tue May 15, 2018 2:14 am
Contact:

Re: Quality order

Post 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!
lorrein
Burner Inserter
Burner Inserter
Posts: 6
Joined: Sat Jan 10, 2026 5:41 am
Contact:

Re: Quality order

Post 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
Post Reply

Return to “Modding help”