[0.18.8] multilayered sprite not working [img=item-group/...]

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

[0.18.8] multilayered sprite not working [img=item-group/...]

Post by lovely_santa »

Hi,

With the recent updates on angels mods, I've added high definition icons on the item groups as shown below:
Capture.PNG
Capture.PNG (403.78 KiB) Viewed 1015 times
The code for this particular one is shown below and here on github.

Code: Select all

  {
    type = "item-group",
    name = "bio-processing-nauvis",
    order = "la[angels]-d[bio-processing]-a[nauvis]",
    inventory_order = "la[angels]-d[bio-processing]-a[nauvis]",
    --icon = "__angelsbioprocessing__/graphics/technology/algae-farm-group.png",
    --icon_size = 64,
    icons = {
      {
        icon = "__angelsbioprocessing__/graphics/technology/algae-farm-tech.png",
        icon_size = 128,
        scale = 0.5
      },
      {
        icon = "__angelsrefining__/graphics/icons/void.png",
        icon_size = 32,
        scale = 64 / 32 * 0.35,
        shift = {20, -20}
      }
    }
  },
  
As you can see, I changed icon to icons where I have a base layer icon (the algae farm) and then a second layer (the void), which puts the angel logo in the top right corner. However, when trying to use the sprite ingame (which is the base game generating this), it doesn't show like in the picture below. The first time I've intentionaly left a space to show the code:
Capture1.PNG
Capture1.PNG (266.39 KiB) Viewed 1015 times
I also noticed this happens exactly the same with any other sprite that uses the void overlay, for example the next group icon:
Capture2.PNG
Capture2.PNG (160.93 KiB) Viewed 1015 times
To easily reproduce: download any of angels mods (for example refining and try with that icon)
Capture3.PNG
Capture3.PNG (156.09 KiB) Viewed 1015 times
This was reported to me over discord, where they have a different list of mods, resulting in other items to appear as overlay:
screenshot.png
screenshot.png (20.19 KiB) Viewed 1015 times
Kind regards
lovely_santa
You can find all my mods on the mod portal. Also helping on Arch666Angel's mods.
Image
Bilka
Factorio Staff
Factorio Staff
Posts: 3309
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: [0.18.8] multilayered sprite not working [img=item-group/...]

Post by Bilka »

See also: 76913
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
posila
Factorio Staff
Factorio Staff
Posts: 5341
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.18.8] multilayered sprite not working [img=item-group/...]

Post by posila »

Thanks for the report.
Fixed for 0.18.9
76913
Post Reply

Return to “Duplicates”