I took a really quick look at the save file. Heirs isn't something I've been looking at since it's of no interest to my current project, but couldSo I was planning to get heirs to titles worked out next. But to my dismay, it seems that data is not directly stored anywhere. I guess it's all derived data, which means I'll have to derive it. This is going to be a mess…
be of use? Looking at setup.log it doesn't seem like it. I guess you'll have a fun time trying to derive that. Looking at my own kingdom of Sicily, I get:title = "title_prince"
I don't know what level of government you're working on here -- if you're working on kingdoms, it shouldn't be too har... actually... Yeah. Parse each kingdom/duchy/county/empire for their succession laws, identify holder, identify holder offspring. Not entirely sure how elective works, but I suspect that you'll find those entries in each vote holder's personal data... Sooo... for kingdoms I guess elective voters would be counts and dukes (I always switch to primogeniture so I wouldn't know, but I think it works like that). For Seniority you just have to find the oldest member of the dynasty. And for gavelkind you just have to find offspring and divide titles among them.k_sicily=
{
holder=639477
succession=primogeniture
gender=cognatic
law="succ_primogeniture"
law="feudal_contract_2"
law="city_contract_1"
law="temple_contract_1"
law="temple_tax_1"
law="cognatic_succession"
law="feudal_tax_1"
law="investiture_law_1"
law="centralization_3"
law="city_tax_2"
Actually, that looks really hard. I think I'll go back to my own parser and re-write the data collection methods instead.