Page 1 of 1

Varying Quality Localisation

Posted: Sun Dec 08, 2024 3:35 am
by ArchEzekiel
I have a modding API suggestion for item and building dynamic quality naming schemes. As of now the name of a quality is defined by the QualityPrototype's localised name, and there is no way to have it vary between different items. I know it has been previously suggested that there is a way to have varying quality names for different items, and I think the way that would make sense is to introduce a new field for item and building prototypes that is named and used like

Code: Select all

localised_quality = {{[quality_level], [localised_text]}, {2, "example.heavy_plated"}}
and if an item doesnt have this field, then it defaults to the localised name of that quality (ie. 2 is rare)

I hope you consider this suggestion and thank you for your time.

Re: Varying Quality Localisation

Posted: Sun Dec 08, 2024 9:00 am
by curiosity
If you knew that it has been suggested already, why did you make a second thread?

Re: Varying Quality Localisation

Posted: Sun Dec 08, 2024 1:41 pm
by ArchEzekiel
Because I searched for it, couldn't find it, and only knew it had been suggested by word of mouth, which meant I wasn't sure if it was on the forums or not

Re: Varying Quality Localisation

Posted: Mon Dec 09, 2024 9:13 pm
by protocol_1903
+1