Still having problems with the dynamic titles.
Been trying to add 'titles' for things such as hermitages, universities, etc. And independent landless dynamic titles (made with
create_title) seem to work quite nicely. Because those can hold courtiers, but don't automatically fill up with generated ones.
...except for ones created with events that don't check for landless titles, such as the goldsmith and the tribal healer. Which can be easily modded.
Here's the code that I'm using:
Code:
event_target:founder_title = { #Sets the location to where this title is located
create_title = {
tier = DUKE
landless = yes
culture = event_target:home_province
name = "UNIVERSITY"
ruler = "PRINCIPAL"
holder = event_target:principal
base_title = THIS
copy_title_laws = event_target:founder_title
}
new_title = {
set_title_flag = university
event_target:principal = { set_defacto_liege = THIS } #Makes the title independent
add_law = succ_open_elective
}
}
The problem is that the only tiers that I can make work are DUKE and above. BARON tier instantly ceases to exist on creation, for no apparent reason... And COUNT tier doesn't quite work either: it gets created, but the holder of the title never moves to the court and instead ends up stuck abroad, in province 0
(which messes up any decision that requires distance calculation). So there's nobody in the 'court', and I can't move anyone in there because the
move_character command only seems to work with characters...?
Any idea how to fix that? I guess I could just keep using the DUKE tier instead, but that's a bit too high for some of the things that I'm trying to model.