When I converted the Borderlands video game guns into D&D, I wound up refluffling the manufacturers into legendary dwarven smiths. Doing that, and wanting to keep gunpowder out of the setting for reasons similar to what @Cap'n Kobold mentioned, made me rework how the guns actually fuction so...