reference to LuaEquipmentGridPrototype from LuaEntityPrototype?

User avatar
mrudat
Fast Inserter
Fast Inserter
Posts: 248
Joined: Fri Feb 16, 2018 5:21 am
Contact:

reference to LuaEquipmentGridPrototype from LuaEntityPrototype?

Post by mrudat »

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.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14631
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: reference to LuaEquipmentGridPrototype from LuaEntityPrototype?

Post by Rseding91 »

Ok.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Implemented mod requests”