Page 1 of 1
Make item_draw_specification availible to read at runtime
Posted: Sat Jan 04, 2025 10:23 am
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.
Re: Make item_draw_specification availible to read at runtime
Posted: Sun Jan 12, 2025 2:13 pm
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.