to any NPC in the CurrentCompanionFaction or any NPC that has "Companion" in their editor ID.
The keyword this mod adds to companions, makes it so that companions don't use ammo. But they will still require 1 ammo of the gun you want them to use.
Some other mods that do this, add the keyword by editing NPC values through esp. If you run multiple mods, another one of your mods, like an NPC overhaul mod, might remove the keyword. Since this mod adds the keyword at run time through SPID, you won't have to worry about patching your load order.
Other mods:
I made this mod while being ignorant of existing mods that do the same thing plus more, so check these out, you may like them:
Acknowledgements:
Sometimes I feel like the guys who do a lot of work to make foundational contributions to the modding scene don't get enough acknowledgement so I am listing those that are relevant for this mod here:
F4SE - ianpatt, behippo, and purplelunchbox
Address Library for F4SE Plugins - Fudgyduff
Baka Framework - shad0wshayd3
Spell Perk Item Distributor - powerofthree