Make item_draw_specification availible to read at runtime
Make item_draw_specification availible to read at runtime
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.
-
- Inserter
- Posts: 27
- Joined: Mon Feb 11, 2019 12:37 pm
- Contact:
Re: Make item_draw_specification availible to read at runtime
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.
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.
Re: Make item_draw_specification availible to read at runtime
Okay, added LuaEntityPrototype::icons_positioning and icon_draw_specification for 2.0.66.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.