AI Builds Aircraft Carriers
All this mod does is change the single line of code that (unintentionally?) prevented the AI to ever build any aircraft carriers, which was a quite a shame for me since they are pretty awesome! They use them well, sending the fighter bombers out on missions and mixing the carriers with the rest of their fleet occasionally. They don’t build them immediately, so it might take a little bit to see them in action.
The line according to the unitrules.xml file itself is a "Legacy value from when units carried other units interchangeably (was capacity of unit to carry other units)." This is set to 12 by default for the carrier, which is interesting since it carries 7 fighter bombers in the final game. Somehow this was preventing computer players from building them. Took quite a long time for me to figure this one out.
Replacing <CARRY>12</CARRY> with <CARRY>0</CARRY> in the aircraft carrier section of unitrules.xml fixes it without changing anything else about the unit in practice as far as I’m aware. This mod is just that fix alone, but if you want this fix along with another mod that modifies unitrules.xml, you can simply change it on that mod if you wish to, though I’m not sure if there’s any issues with multiplayer if you do so.