Just modding base part should do. Anything else is excessive and require programming. Not difficult but certainly complex or rather involving a lot of case checking. The biggest problem is with multi weapon parts.
It would be much better if vanilla has the system...