Page 1 of 1

[Request] Equivalent of entity_info_icon_shift for turrets

Posted: Mon Nov 04, 2019 7:48 pm
by Deadlock989
Hi,

Entities in the crafting machine hierarchy have the entity_info_icon_shift parameter, which gives you control over where the alt-mode recipe icons are positioned relative to the selection box for the entity.

Turrets, however, don't have that property. The alt-mode ammo icon is drawn centred on the selection box no matter what. Depending on your sprite design and the direction the turret is facing, it can be drawn over the muzzle and the firing animations.

It would be Nice To Have if we could shift the icon down onto the base of the turrets, so that it doesn't interfere with firing animations.

Re: [Request] Equivalent of entity_info_icon_shift for turrets

Posted: Wed Nov 06, 2019 11:20 am
by Bilka
Okay, added for the next version.

Re: [Request] Equivalent of entity_info_icon_shift for turrets

Posted: Wed Nov 06, 2019 12:10 pm
by Deadlock989
Much appreciated.