Page 1 of 1
[2.x] Rich Text img=class.name to support quality flag
Posted: Thu Oct 24, 2024 10:27 pm
by billbo99
Using rich text gives me a single icon
Trying to add quality to the string does not work
Code: Select all
[img=item.iron-plate,quality=epic]`
I know I can use, but I am just after the single icon which I get with the first example
Re: [2.x] Rich Text img=class.name to support quality flag
Posted: Wed Nov 13, 2024 6:40 pm
by PennyJim
Ditto!
My mod Better Chatting that turns rich text tags for items and such into img tags so you don't have the ugly descriptor next to it when you want to treat it like an emoji in chat, currently doesn't support quality for this very reason.
Re: [2.x] Rich Text img=class.name to support quality flag
Posted: Wed Nov 13, 2024 8:07 pm
by EvilPLa
My problem is in the same context, I want to get a quality sprite onto a sprite button. Something like that but with a quality overlay.

- 11-13-2024, 21-06-13.png (16.02 KiB) Viewed 577 times
Re: [2.x] Rich Text img=class.name to support quality flag
Posted: Wed Nov 13, 2024 9:10 pm
by cogito123
+1, this rich text parameter would be very useful in biter battles scenario
Re: [2.x] Rich Text img=class.name to support quality flag
Posted: Fri May 16, 2025 2:40 pm
by Pi-C
I really could need this for rendering
Shortwave radio channel names on vehicles in
Autodrive! Since the channel names can be comprised of comma-separated signal strings (each as "name.quality.count"), rendering the text directly is impractical (too long, not localized, not human-friendly). Translating the signal names to a combination of rich text (name + quality) and string (count) could still result in quite long renderings:

- very_long_name.png (564.46 KiB) Viewed 113 times
So adding the quality flag to "img=class.name" would be very useful for my mod. Could we get this, please?
