I modified common/landed_titles to reorganize Italy/HRE. I also changed the localisation of d_modena to "Piedmont", d_ancona to "Roma", d_lombardia to "Milan" along with adjectives, etc.. I reorganized de jure counties between Duchies and Kingdoms within the HRE accordingly.
Everything is completely WAD as far as de jure liege relationships go. However, 2 interesting things happened.
1. My new Duchies of Piedmont and Roma (still using the "d_modena/d_ancona" code, I changed only the localisation and what counties are de jure) seemingly magically have new "correct" flags/CoAs: Piedmont has the Savoyard white cross on a red field but with the little blue line across the top; Roma has a red field with a yellow cross in the upper left corner and the letters SPQR runningly diagonally to the bottom right. The new Duchy of Milan is different, see 2.
2. Many other counties and duchies in Italy and the HRE itself have gotten their flags/CoAs all rearranged: the Duchy of Milan now has Brescia's CoA, and Brescia has the Milan/Lombardia snake, but in black and white. Other counties and duchies have swapped CoAs (county of Modena has duchy of Toscana's CoA, etc), and the HRE appears to have the von Habsburg dynasty's lion. All other realms outside the HRE appear to be normal, and duchies and kingdoms within the HRE that I did not touch do not appear to be affected either.
How does this happen; are CK2's CoAs not linked to the code (i.e. "d_modena" etc) like in EU3? How do they work? (I have not touched /gfx folder)
Thanks in advance to any who can help