https://lua-api.factorio.com/latest/Con ... SpritePath
Why here is possible to use icon of item, icon of entity, but not image of entity? Can you please add it too?SpritePath
It is specified by string. It can be either the name of the sprite prototype defined in the data or path in form "type/name". Supported types are.
"item" - for example "item/iron-plate" is the icon sprite of iron plate
"entity" - for example "entity/small-biter" is the icon sprite of the small biter