Why would the following code create a character with a random dynasty rather than dynasty # 2 in the dynasty file (Orsini)?
Code:create_random_diplomat = { random_traits = yes dynasty = 2 #Orsini culture = italian religion = catholic age = 16 attributes = { martial = 6 diplomacy = 6 stewardship = 6 intrigue = 6 learning = 6 } health = 7 fertility = 1.0 }
On closer investigation, NONE of my characters spawned in my mod are getting the dynasties they're supposed to-- all are getting random dynasties.
Even if I disable all mods and fire one of the vanilla events (like spawning Roland), the new characters still get a random dynasty. Is this a Paradox bug?
I've only used similar code to spawn low born so far so I can't speak for specifying dynasties. Setting it on creation seems to work for lowborn at least
If you're using multiple character creations, however, I used give nickname and set character flag to help with trouble shooting.
Sometimes the speculated script might be different from the one actually taking action
It certainly helped me figure out the specific decision that was leading to my religious heads had 7 lovers and rfather of 30 children!
Edit: okay, wait, why are you using create_random_diplomat? I don't see that command supporting all those specifications on the wiki.
Shouldn't you be using create_character?
Last edited: