• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

IrishZoroastrian

Private
3 Badges
Jul 9, 2019
24
2
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II
In a "Gift to an heir" artifact weapon description, I'd like it to bear the inscription:
"From <relativeName> to my <familyRelationType>, <sonName> - a worthy heir to <son's future title's name>"
"From [Root.GetBestName] to my [GetFromRelation], [From.GetBestName] - a worthy heir to [idk yet]

It should look like work in-game:

Father/son, straightforward.
"From Carl the Great to my son, Francois Karling - a worthy heir to Holy Roman Empire".
OR, not so straightforward:
"From Sayiid Muaddid to my kinsman, Bjorn Ulfrsson- a worthy heir to Kingdom of U-Tsang".

As you see, to be effective, the scope should derive from the heir himself, and not the heir's immediate family.
So, is it possible to get the name of primary title someone stands to inherit? In case they are heirs to multiple empires/kingdoms, only the topmost title name is displayed.
 
You already have access to the ruler's scope, why not just get their primary title and maybe save it to an event target?

The kinsman might not be a primary heir to the scoped ruler's title, as outlined in example 2: Sayiid Muaddid's kinsman stands to inherit some far away land outside the realm of Sayiid, but Sayiid still sends a congratulatory gift. In that case, how to scope to the kingdom of U-Tsang, if Sayiid Muaddid is the player character making a diplo decision "Send a token gift to dynast"?
 
Could you make it a third party targeted decision, first targeting the ruler? Only available if his heir is your dynast. Though I am unsure if it would work if your dynast is not even in the realm he is heir to.