Trade Weapons with Item count Prototype

Works with weapons (not to cargo). I want to consolidate and then apply
it to other types...