So I've been trying to add new patrician families to new merchant republics at game start. Making the titles, dynasties and characters is straightforward but I've run into two problems that I can't figure out how to solve.
First, the patrician characters' courts start empty and do not automatically fill up like those in the vanilla merchant republics, but remain empty like default baronies. I'm looking for a file where I can tell the game to generate new characters for these courts, if one exists.
Second, the merchant republics in vanilla have a variety of individual colors in the family trade post map mode. However, the patrician families I've modded in are all represented by a default white color. I want to change this and get a range of colors per merchant republic, but I can't for the life of me find any file that controls this. Is there such a file, or is it hard-coded?
EDIT: A secondary (tertiary?) question regards how patrician families are replaced when they die out. Is there some file where it's possible to list specific dynasties to replace the original families when they die out, or is the game hard-coded to generate new dynasties from barony names in the province (e.g. de Venice, de Genoa, etc.)?
EDIT 2: Scratch the last edit, it seems that the game actually just picks a dynasty of the appropriate culture from 00_dynasties.txt, moving down the list from top to bottom, when it needs to replace a family. Seems hard-coded.