[2.x] Rich Text img=class.name to support quality flag

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
billbo99
Fast Inserter
Fast Inserter
Posts: 137
Joined: Fri Nov 02, 2018 9:19 am
Contact:

[2.x] Rich Text img=class.name to support quality flag

Post by billbo99 »

Using rich text gives me a single icon

Code: Select all

[img=item.iron-plate]
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

Code: Select all

[item=iron-plate,quality=epic]
User avatar
PennyJim
Long Handed Inserter
Long Handed Inserter
Posts: 87
Joined: Wed Jan 18, 2023 3:49 am
Contact:

Re: [2.x] Rich Text img=class.name to support quality flag

Post 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.
User avatar
EvilPLa
Inserter
Inserter
Posts: 23
Joined: Sat Nov 14, 2020 7:26 am
Contact:

Re: [2.x] Rich Text img=class.name to support quality flag

Post 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
11-13-2024, 21-06-13.png (16.02 KiB) Viewed 275 times
I havent lost my mind, it's backed up on tape somewhere.
cogito123
Inserter
Inserter
Posts: 36
Joined: Thu Feb 28, 2019 7:05 pm
Contact:

Re: [2.x] Rich Text img=class.name to support quality flag

Post by cogito123 »

+1, this rich text parameter would be very useful in biter battles scenario
Post Reply

Return to “Modding interface requests”