[2.0.12] Allow read access to LuaQualityPrototype.color

User avatar
micromario
Fast Inserter
Fast Inserter
Posts: 118
Joined: Thu Apr 05, 2018 11:53 am
Contact:

[2.0.12] Allow read access to LuaQualityPrototype.color

Post by micromario »

Greetings,

The quality prototype defines a color field. This field is used in displaying the color of the (Legendary) tag in the itemname.

Many times I want to render in a GUI some text to show some items. However the text color will now be incorrect as this field is not exposed during control stage.
10-29-2024, 22-20-33.png
10-29-2024, 22-20-33.png (94.08 KiB) Viewed 344 times
Bilka
Factorio Staff
Factorio Staff
Posts: 3647
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: [2.0.12] Allow read access to LuaQualityPrototype.color

Post by Bilka »

This was implemented as LuaQualityPrototype::color.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Post Reply

Return to “Implemented mod requests”