Would this event work? I'm not exactly brilliant at scripting events.
The event is supposed to make a child the same dynasty as their mother as long as the mother is from one of the great houses and the child isn't considered the dynasty of another great house. In this manner the major noble families continue their House even through female members, just as long as they are not married to a House of equal prestige.
Of course this could screw over lesser houses if they have no other children to inherit.
An if liege is a major dynasty trigger could be added so it doesn't fire if that house is already in control of a title, it'd mean one event for each house. It's been a year since I coded so I don't know about the triggers, the code looks great except you used to always need a mean time to happen of at least a few years to avoid bugs, not sure if its the same now.
I still favor traits for each major house as then you could have the occasional trigger for example if someone had no sons, bastards being found, or characters appearing from the books, that sort of thing. Lesser houses that are from the books could have a longer mean time to fire so if there were two choices for a dead dynasty, the non canon house would be picked, we could add different houses having a higher mean time.
Last edited: