[0.16.51] multilayer icon not showing correctly on surface

Things that has been reported already before.
Post Reply
User avatar
lovely_santa
Filter Inserter
Filter Inserter
Posts: 502
Joined: Sat Feb 18, 2017 9:41 pm
Contact:

[0.16.51] multilayer icon not showing correctly on surface

Post by lovely_santa »

Hi,

When making the icon for an item that is made out of multiple layers its not showing correctly:

Code: Select all

        icons =
        {
          { -- vanilla tree
            icon = data.raw["tree"]["tree-09"].icon,
            icon_size = data.raw["tree"]["tree-09"].icon_size,
          },
          { -- number overlay
            icon = "__angelspetrochem__/graphics/icons/num_" .. recipeIndex .. ".png",
            icon_size = 32,
            tint = {r = 0.2, g = 1, b = 0.2, a = 0.5},
            scale = 0.32,
            shift = {-12, -12},
          },
        }
The image should look like this, as its showing as recipe in a building:
Image

But when they are placed on the surface (aka inserter holding, dropped on the ground, on belts, etc... it is showing up as:
Image

Save file attached, mod list uploaded on wetransfer due to its size: https://we.tl/Trla8XQSAb

Kind regards,
lovely_santa
Attachments
MoreScience003.zip
(2.71 MiB) Downloaded 26 times
You can find all my mods on the mod portal. Also helping on Arch666Angel's mods.
Image

Rseding91
Factorio Staff
Factorio Staff
Posts: 13171
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.16.51] multilayer icon not showing correctly on surface

Post by Rseding91 »

This should be fixed for 0.17 after I fixed this: viewtopic.php?f=218&t=60327
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Duplicates”