Quality order

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

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
User avatar
Silari
Filter Inserter
Filter Inserter
Posts: 610
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: 5
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 32 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")
Post Reply

Return to “Modding help”