[0.16.30] Electric network screen - tint not applied

Bugs that are actually features.
User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2905
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

[0.16.30] Electric network screen - tint not applied

Post by darkfrei »

Hi all!
Here is a mod where I've found it: https://mods.factorio.com/mod/RITEG
Here is an entity and item with applied tint:
2018-03-18 09_52_57-Factorio 0.16.30.png
2018-03-18 09_52_57-Factorio 0.16.30.png (72.52 KiB) Viewed 672 times
2018-03-18 09_53_18-Factorio 0.16.30.png
2018-03-18 09_53_18-Factorio 0.16.30.png (81.68 KiB) Viewed 672 times
But on the electric network screen you can see that here is no tint at all:
2018-03-18 09_52_41-Factorio 0.16.30.png
2018-03-18 09_52_41-Factorio 0.16.30.png (319.47 KiB) Viewed 672 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 16102
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.16.30] Electric network screen - tint not applied

Post by Rseding91 »

Thanks for the report. That's working correctly - the mod defined the entity icon as the pure grey icon with no tint - which is what that GUI shows.

Code: Select all

icon = "__RITEG__/graphics/icon_32.png",
When it should be:

Code: Select all

icons = 
{
  {
    icon = "__RITEG__/graphics/icon_32.png",
    tint = tint
  }
},
When I fix the prototype it renders correctly:

https://i.imgur.com/uoQdBqa.jpg
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Not a bug”