reference to LuaEquipmentGridPrototype from LuaEntityPrototype?
Posted: Sat May 30, 2020 10:39 am
Could we please have a link from LuaEntityProtoype that points to the matching LuaEquipmentGridPrototype?
I'm currently scanning every surface for every vehicle or rolling stock, looking for any entities that have equipment grids.
It would be more effective if I could first find all entity prototypes that have an equipment grid, and only search for those particular entities.
At present the fact that an entity has an associated equipment grid is only exposed via LuaEntity, but not LuaEntityPrototype.
I'm currently scanning every surface for every vehicle or rolling stock, looking for any entities that have equipment grids.
It would be more effective if I could first find all entity prototypes that have an equipment grid, and only search for those particular entities.
At present the fact that an entity has an associated equipment grid is only exposed via LuaEntity, but not LuaEntityPrototype.