LuaEntityPrototype.recipe_tintable :: dictionary[string → Color] [R]

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
User avatar
lovely_santa
Filter Inserter
Filter Inserter
Posts: 502
Joined: Sat Feb 18, 2017 9:41 pm
Contact:

LuaEntityPrototype.recipe_tintable :: dictionary[string → Color] [R]

Post by lovely_santa »

Currently it is not possible to derive if a machine supports recipe tints or not. It would be great if we could read this from the LuaEntityPrototype for debugging purposes to find inconsistencies in our mods.

I suggest adding a property:

Code: Select all

recipe_tintable :: dictionary[string → Color] [Read-only]
    The recipe tints used by this CraftingMachine or nil.
Possible keys in the dictionary are: "primary", "secondary", "tertiary" and "quaternary". Each of these keys have a corresponding value nil if the tint layer is unused. Otherwise the value could be set to the default tint color.

Thanks for considering.
lovely_santa
You can find all my mods on the mod portal. Also helping on Arch666Angel's mods.
Image

Post Reply

Return to “Modding interface requests”