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.
Document allowable equipment types
Document allowable equipment types
My mods: Multiple Unit Train Control, RGB Pipes, Shipping Containers, Rocket Log, Smart Artillery Wagons.
Maintainer of Auto Deconstruct, Cargo Ships, Vehicle Wagon, Honk, Shortwave.
Maintainer of Auto Deconstruct, Cargo Ships, Vehicle Wagon, Honk, Shortwave.
Re: Document allowable equipment types
As far as a i know, this is not a thing that happens with items, entities, or anything else, so adding it to just equipments will be weird.
Re: Document allowable equipment types
Yeah, I know it was mostly my brain being stupid and wondering why "type='toolbelt'" wasn't working. For some reason it didn't click for me that "type" for equipment was in the same flat namespace as the types of all the other entities/items. I was thinking about it like defines.inventory... If I had gone and looked at the toolbelt prototype I would have seen the type listed there.
My mods: Multiple Unit Train Control, RGB Pipes, Shipping Containers, Rocket Log, Smart Artillery Wagons.
Maintainer of Auto Deconstruct, Cargo Ships, Vehicle Wagon, Honk, Shortwave.
Maintainer of Auto Deconstruct, Cargo Ships, Vehicle Wagon, Honk, Shortwave.

