Don't expand the IGC for ship loadouts - Do it via a text file. Everything in a core has a unique identifier (UID), so making a text file for a "default loadout" that could be edited would be nice.
Example: Filename could be something like loadout_(corename).txt - so for CC_05b, you'd have it as loadout_cc_05b.txt - inside, you'd have the ship's loadout items. Items would be done with their own UIDs as well, and would automatically be overridden as normal. In the end, you'd get something like this:
Code: Select all
UID: 410 //IC Basic Scout
Part0: 91 //Nanite 1
Part1: -1 //Scout has no additional weapons
Part2: -1 //Scout has no additional weapons
Part3: -1 //Scout has no additional weapons
Part4: -1 //Scout has no additional weapons
Part5: -1 //Scout has no additional weapons
Part6: -1 //Scout has no additional weapons
Part7: -1 //Scout has no additional weapons
Missile: 153 //MRM Seeker 1
Boost: 188 //Retrobooster
Cloak: -1 //Scout has no cloak
Shield: 21 //Small Shield 1
Pack: 59 //Prox Mine 1
CM: 80 //Countermeasure 1
Cargo0: 59 //Prox Mine 1
Cargo1: 59 //Prox Mine 1
Cargo2: 59 //Prox Mine 1
Cargo3: 59 //Prox Mine 1
Cargo4: 33 //PW Gatt Gun 1
Ships like, say, a cruiser would have more "PartX" stuff because they have more guns (I'm sure you could code it to only look for PartX if the craft only has PartX). Of course, you'd also want to have it ignore any "bad" listings (IE, tech that's not available yet) and replace it with the "Default" loadout - Especially useful for a new core that has no file made up for this.
This would be the easiest way to have a customizable thing that each individual player could do. Of course, you could go a little further, and make something like have a "Name" for each loadout and allow for pre-made loadouts to be loaded and saved in-game.