Add visualization_color to LuaFluidPrototype (runtime)

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
User avatar
asher_sky
Long Handed Inserter
Long Handed Inserter
Posts: 68
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.
Post Reply

Return to “Modding interface requests”