Page 1 of 1

Document allowable equipment types

Posted: Sat Jul 04, 2026 3:59 pm
by robot256
I could be missing it, but it seems like the fastest way to tell what values LuaEquipment::type or LuaEquipmentPrototype::type can take is to go to [EquipmentPrototype](https://lua-api.factorio.com/latest/pro ... otype.html) and expand the list of children prototypes. I was trying to use LuaPrototypes::find_equipment_filtered() with the 'type' filter and it took me way too long to find that what I was looking for was "inventory-bonus-equipment".

It would be really nice to have a direct reference to that list in LuaPrototypes::find_equipment_filtered(), LuaEquipment::type and LuaEquipmentPrototype::type.