Hi!
I've been working on adding copper to the items in the default inventory. When making this mod, I adjusted the same files as done in the livestock mod in the same manner. I made copies of the COAS cmv2 files required as shown in the livestock mod, and added the necessary lines of code, description of copper, and neato icon
and everything that needed to be adjusted as shown in the livestock mod.
My problem seems to be happening when i try to adjust "#define GOODS_QUANTITY 62 // boal" from 62 to 63 and i have added "#define GOOD_COPPER 62" to the bottom of the list. When i do this and load the game, the inventory list in the store shows up as blank. (the same occurs in the cannon purchase list at the shipyard)
I then tried re-organizing the list so that "#define GOOD_COPPER 35" and the following goods afterwards were just cannons numbered 36-62. I had the same results.
Figuring that I screwed up some place, I put the default files back, checked to see if the store inventory showed again (it did) and installed the livestock mod. The above problem came back
(I should mention that tho the store goods list, and shipyard cannon list appear blank, the goods on my ship are still there when i check the inventory onboard. However there are no item icons. When checking the Trade Catelog in the 'F2' menu, my item is not seen in any catelog, but there is a blank space at the bottom of the inventory list)
I have a feeling that there is a missing file somewhere that needs to know of the adjusting inventory size, but after about 3 hours of going through all the files i could think of, Im giving up and asking for help (again)
I figure that once i can get the first item added properly, the rest wont be a problem. Once this is figured out I am planning on adding to the trade goods list:
Hemp
Molasses
Salt
Timber
Dyes
Tools
Fish
Iron
Fashionable Clothing
Furs/pelts
(Along with Tea and Livestock from the mod I have been learning from)
If this is something that I can do, then I would love to be the one to do it. This seems to be fairly simple stuff, and if I could do it, then that would mean more time to do the more difficult task for you accomplished modders.
Thank you for your time and help
FB
(A big thanks to OfficerPuppy for the livestock mod!!!!)
I've been working on adding copper to the items in the default inventory. When making this mod, I adjusted the same files as done in the livestock mod in the same manner. I made copies of the COAS cmv2 files required as shown in the livestock mod, and added the necessary lines of code, description of copper, and neato icon

My problem seems to be happening when i try to adjust "#define GOODS_QUANTITY 62 // boal" from 62 to 63 and i have added "#define GOOD_COPPER 62" to the bottom of the list. When i do this and load the game, the inventory list in the store shows up as blank. (the same occurs in the cannon purchase list at the shipyard)
I then tried re-organizing the list so that "#define GOOD_COPPER 35" and the following goods afterwards were just cannons numbered 36-62. I had the same results.
Figuring that I screwed up some place, I put the default files back, checked to see if the store inventory showed again (it did) and installed the livestock mod. The above problem came back

(I should mention that tho the store goods list, and shipyard cannon list appear blank, the goods on my ship are still there when i check the inventory onboard. However there are no item icons. When checking the Trade Catelog in the 'F2' menu, my item is not seen in any catelog, but there is a blank space at the bottom of the inventory list)
I have a feeling that there is a missing file somewhere that needs to know of the adjusting inventory size, but after about 3 hours of going through all the files i could think of, Im giving up and asking for help (again)
I figure that once i can get the first item added properly, the rest wont be a problem. Once this is figured out I am planning on adding to the trade goods list:
Hemp
Molasses
Salt
Timber
Dyes
Tools
Fish
Iron
Fashionable Clothing
Furs/pelts
(Along with Tea and Livestock from the mod I have been learning from)
If this is something that I can do, then I would love to be the one to do it. This seems to be fairly simple stuff, and if I could do it, then that would mean more time to do the more difficult task for you accomplished modders.
Thank you for your time and help
FB
(A big thanks to OfficerPuppy for the livestock mod!!!!)