I'm working on traits and I've come across a curious thing. The aim of the traits that I'm creating is to give an epithet to faction leaders and heirs. For example, normally you'd get a faction leader or heir named "King/Prince William" without a surname, while his full name in-game might actually be William Smith. I created the epithet in order to get the surname "Smith" displayed as well when the character is a king or prince.
The problem: I can't get one trait to work for one particular character when I enter it in descr_strat.txt.
It's this character:
Code:
character Yoshishige Otomo, named character, male, heir, age 18, x 90, y 93
traits Otomo 1
army
Without the trait, the name would simply show up in-game as "Prince Yoshishige", with the trait this should become "Prince Yoshishige Otomo" as the trait adds the epithet "Otomo" to the name. However when I start the game the epithet doesn't show up; it remains "Prince Yoshishige". What's even stranger is that the same trait and epithet does work for the faction leader in-game:
Code:
character Yoshiaki Otomo, named character, male, leader, age 46, x 93, y 98
traits Otomo 1
army
In-game it correctly shows as "Lord Yoshiaki Otomo".
When I use the give_trait command and give the Otomo 1 trait to Prince Yoshishige in-game using the console, the trait does get added and the name changes to "Prince Yoshishige Otomo".
So, how come M2TW doesn't seem to register the trait for Yoshishige Otomo in descr_strat.txt, while it does register the same trait for Yoshiaki Otomo?
Perhaps I'm missing something?