Alternative Alt Mode


Replaces the standard Alt-Mode by providing more information for more objects. This information is shown only for entities around the player cursor, so the graphics of other objects can be enjoyed without always having an information overlay on top of them.

Utilities
5 months ago
2.0
558

g IconDrawSpecification

3 months ago

Hi!
Please tell me how to add a supported entity correctly so that the icon is smaller?
I understand that you use the "IconDrawSpecification" parameter, but I can't apply it, and the icon does not change.
For example, if you use the entity change code:

data.raw["storage-tank"]["network-tank"].icon_draw_specification = { scale = 0.5, scale_for_many = 0.5, render_layer = "entity-info-icon" }

It doesn't work, what am I specifying incorrectly?

New response