There is at least one mod out there that implements something like this:
Code: Select all
icon = "__base__/graphics/icons/foo.png",
icons = {
{
icon = "__base__/graphics/icons/foo2.png",
icon_size = 32
},
{
icon = "__base__/graphics/icons/foo3.png",
icon_size = 32
tint = { a = 0.75, b = 0, g = 0, r = 0 }
},
{
icon = "__base__/graphics/icons/foo4.png",
icon_size = 32
tint = { a = 0.75, b = 0.5, g = 0.5, r = 0.5 }
}
}
Mods should use 1 IconSpecification option or another, not all of one and part of another. It appears that the game base code recognises the IconSpecification Option 1, and 'forgives' the bad implementation of Option 2.
I would like the base game to reject mod code like the above that does not conform to specification
[EDIT]. Sorry my example code is wrong. It was missing the icon_size completely!