Make item_draw_specification availible to read at runtime

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Osmo
Fast Inserter
Fast Inserter
Posts: 100
Joined: Wed Oct 23, 2024 12:08 pm
Contact:

Make item_draw_specification availible to read at runtime

Post by Osmo »

Add https://lua-api.factorio.com/latest/pro ... cification to the runtime LuaEntityPrototype. Useful for mods that want to draw their own icons over entites such as https://mods.factorio.com/mod/alt-alt-mode.
LeonSkills
Inserter
Inserter
Posts: 26
Joined: Mon Feb 11, 2019 12:37 pm
Contact:

Re: Make item_draw_specification availible to read at runtime

Post by LeonSkills »

As the author of that mod, support.

Same for EntityPrototype.icons_positioning.

For now I'm gathering the info in a lua file to be read at runtime, but preferably I'd just use LuaEntity.prototype.item_draw_specification so it also works for all modded entities.
Post Reply

Return to “Modding interface requests”