Don't you get sick of all those 'Badly Worn', 'Worn' and 'Average' weapons just lying around in your inventory?
I propose adding a new type of cargo, either called 'Weapons' or 'Swords'. When you pull up the sword/gun in your inventory, a small option saying "Store as Cargo" will be available. Also, each sword must have a weight assigned to it, I would just put it as 1 for each sword/gun. When you press the "Store as Cargo" button, it automatically removes the item from your inventory and adds it into your hold. You can sell the Cargo at the store.
When you pull up the Weapons cargo in the ship's cargo hold, you can press a button saying "View All Stored Weapons", and it will show you the list of swords and guns in the cargo. Then, you can select an option to "Restore to Inventory".
The value of the swords would be added up and used as the sell price of the items.
Just my thinking, I would do it, but my C skills are limited.
I propose adding a new type of cargo, either called 'Weapons' or 'Swords'. When you pull up the sword/gun in your inventory, a small option saying "Store as Cargo" will be available. Also, each sword must have a weight assigned to it, I would just put it as 1 for each sword/gun. When you press the "Store as Cargo" button, it automatically removes the item from your inventory and adds it into your hold. You can sell the Cargo at the store.
When you pull up the Weapons cargo in the ship's cargo hold, you can press a button saying "View All Stored Weapons", and it will show you the list of swords and guns in the cargo. Then, you can select an option to "Restore to Inventory".
The value of the swords would be added up and used as the sell price of the items.
Just my thinking, I would do it, but my C skills are limited.