Re: Modding ExRM traits and triggers
In the traits file, you can find triggers for when the father has a certain trait, and when the son comes of age, means that the son has a chance of getting related traits as well. Your idea can be based on this.
Create a trait for each gens. The starting family member of that gens will have that trait, as defined in descr_strat.
Create a trigger that checks for that trait when a son comes of age. If the father has that trait, the son gets that trait too, along with a chance of other gens-related traits.
Lastly, fill in the other details.
One problem is that only the branches defined by descr_strat will have these traits. Subsequent branches that marry or are adopted into the family won't have these traits.