[0.18.8] multilayered sprite not working [img=item-group/...]
Posted: Fri Feb 21, 2020 6:36 pm
Hi,
With the recent updates on angels mods, I've added high definition icons on the item groups as shown below: The code for this particular one is shown below and here on github.
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:
I also noticed this happens exactly the same with any other sprite that uses the void overlay, for example the next group icon:
To easily reproduce: download any of angels mods (for example refining and try with that icon)
This was reported to me over discord, where they have a different list of mods, resulting in other items to appear as overlay:
Kind regards
lovely_santa
With the recent updates on angels mods, I've added high definition icons on the item groups as shown below: 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}
}
}
},
lovely_santa