I've fixed all that in my local copy. It makes no difference. If I have no trader and just make the weapons tradeable they will appear in the combat trader and work fine but my own traderdef wont work. I might just remove the trader until I get a response from Tynan/someone who knows if custom trading is bugged.
edit - Just had confirmation weapons cannot be sold as resources they can only be mixed in with other weapons currently and sold via traders which have trades weapons set to true. Ill upload a new version shortly with the custom trader removed, itll have to be luck based for now. But after using my mod for 3 hours I have a few stunguns and a couple of flamethrowers so its not too bad.
edit - Just had confirmation weapons cannot be sold as resources they can only be mixed in with other weapons currently and sold via traders which have trades weapons set to true. Ill upload a new version shortly with the custom trader removed, itll have to be luck based for now. But after using my mod for 3 hours I have a few stunguns and a couple of flamethrowers so its not too bad.