Page 1 of 1

LuaCustomChartTag.scale

Posted: Sat Aug 14, 2021 8:59 am
by eradicator
For a custom entity I'd like to show a map icon that is exactly the same size as the entity itself on the map. The same as "Recipe Icons" map toggle does for assemblers. It'd be really nice to have a runtime-writable "scale" property where scale = 1 means that the icon will be approximately one tile in size on the map, so that I can precisely control the size of the tag without knowing the size of the icon sprite.
tagscale.png
tagscale.png (65.12 KiB) Viewed 516 times