[Request] Equivalent of entity_info_icon_shift for turrets

Post Reply
User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 2528
Joined: Fri Nov 06, 2015 7:41 pm

[Request] Equivalent of entity_info_icon_shift for turrets

Post 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.
Image

Bilka
Factorio Staff
Factorio Staff
Posts: 3128
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: [Request] Equivalent of entity_info_icon_shift for turrets

Post by Bilka »

Okay, added for the next version.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 2528
Joined: Fri Nov 06, 2015 7:41 pm

Re: [Request] Equivalent of entity_info_icon_shift for turrets

Post by Deadlock989 »

Much appreciated.
Image

Post Reply

Return to “Implemented mod requests”