I'm trying to make a custom perk that basically retrieves the value of your gauntlet's armor rating and applies it towards your unarmed damage. The problem is, when I looked at the perk that I would base this off of (FistsofSteel), it simply has an entry for each type of heavy armor gauntlet with a manually set value. I want it instead to take into account smithing/light armor gauntlets etc.
Is there any way to make the spell effect that retrieves the gauntlet's value and applies it to unarmed damage, or am I dreaming?