The concept worked, but I had to change a few things around.
The traits:
The triggers (added trigger Name_Honjo_2):
The export_vnvs.txt file:
I had to look into the sequence in which events were processed which is:
The EstablishedName trait should be gained at CharacterTurnStart and the NameHonjo trait should be gained at CharacterTurnEnd.
Originally Posted by
bitterhowl
Interesting idea! You should give all other named characters trait EstablishedName in case of ComingToAge and adoption.
Giving the EstablishedName trait in combination with additional events such as adoptions breaks it, presumably because when you recruit a general/general's bodyguard unit the game treats it as an adoption of some sorts? My tests showed that a named character gains the EstablishedName trait once he is adopted as well as when a general's bodyguard unit is recruited.
Coming of age is unnecessary, because it fires at the start of the turn during which the character has already gained the EstablishedName trait. I could add a trigger in combination with coming of age and allowing the trait to be inherited by his sons, so that they also inherit the Honjo surname.
Anyway, thanks for the feedback/input!