Add visualization_color to LuaFluidPrototype (runtime)

User avatar
asher_sky
Long Handed Inserter
Long Handed Inserter
Posts: 73
Joined: Sun Oct 18, 2020 7:13 pm
Contact:

Add visualization_color to LuaFluidPrototype (runtime)

Post by asher_sky »

It would be handy to have the FluidPrototype visualization_color property readable at runtime from LuaFluidPrototype.
It's not so hard to just calculate it in control, but if a mod defines a custom value it seems there's no way to know what it is.
Bilka
Factorio Staff
Factorio Staff
Posts: 3761
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: Add visualization_color to LuaFluidPrototype (runtime)

Post by Bilka »

Thanks for pointing this out, added for 2.0.77.
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”