
Re: Can you edit the properties of a mag inside an HDFirearm?
Yes. You can find a few examples in vanilla scripts.
Disarmer ( Base.rte/Devices/Disarmer/Disarmer.lua - line 42 )
Constructor ( Base.rte/Devices/Constructor/Constructor.lua - line 186 )
Grapple Gun ( Base.rte/Devices/Grapple Gun/Grapple.lua - line 58, 276)
And probably a few of other guns.
If I recall correctly, just about all physical properties can be changed on magazines. Just make sure you do a check if the magazine exists before trying to modify it.