Page 1 of 1

[0.16.51] multilayer icon not showing correctly on surface

Posted: Thu Jun 21, 2018 5:30 pm
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

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

Posted: Thu Jun 21, 2018 10:52 pm
by Rseding91
This should be fixed for 0.17 after I fixed this: viewtopic.php?f=218&t=60327