UAddDevicesToStock
From NexusWiki
uAddDevicesToStock(#device_name, Amount);
Adds device_name to current ship with how many available to any free slots in the ship config menu. Where entry appears is based on numbers in the sets line of the device.
Example:
uAddDevicesToStock(#weap_widebeam_phaser1, 1);
Sets 1 30 100 32 110 ; //will appear in the heavy weapons line(32)