Hello. I would like to request an addition to the LuaEntity prototype that allows one to offset the alt info display from the center of the entity. The reason is because I am making a complex multi-part entity, which needs an alt-info display, but the only entity that can display it properly is very off-center from what the player sees:
I would love to be able to move the alt info display back to the center of the visible entity to make it look right.
Thanks!
LuaEntity: alt_info_shift property
LuaEntity: alt_info_shift property
Don't forget, you're here forever.
Re: LuaEntity: alt_info_shift property
Which entity type do you need it for? Crafting machines (assembling-machine, furnace, rocket-silo) and Lab have entity_info_icon_shift
Re: LuaEntity: alt_info_shift property
In this case, it's an infinity container.
Edit: I don't see entity_info_icon_shift anywhere in the prototype definition docs...
Edit: I don't see entity_info_icon_shift anywhere in the prototype definition docs...
Don't forget, you're here forever.
Re: LuaEntity: alt_info_shift property
https://wiki.factorio.com/Prototype/Cra ... icon_shift ? The lab page isn't updated yet, change was on Friday...
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Re: LuaEntity: alt_info_shift property
Don't mind me, just being blind...Bilka wrote: ↑Sun Aug 04, 2019 8:55 pmhttps://wiki.factorio.com/Prototype/Cra ... icon_shift ? The lab page isn't updated yet, change was on Friday...
Don't forget, you're here forever.
Re: LuaEntity: alt_info_shift property
Hey, so it turns out I won't need this after all... I figured out that I can actually just place the chest right in the middle without any issues. It would probably be nice for this to be implemented for all entities, but I personally don't need it anymore (for now). Thanks!
Don't forget, you're here forever.