I might tell you a foolisheness, it's the hit, my brain is getting slower in summer and all, but I still don't see the big difference between your adopted/recruited getting the trait right at their creation, or at TurnEnd? Especially if this school trait is supposed to be removed when they aren't in a shool settlement, like the 'fathers'?
One thing I can tell:
Code:
;------------------------------------------
Trigger school_father1
WhenToTest CharacterTurnEndInSettlement
Condition AgentType = named character
and Trait IsInSettlementWithSchool > 0
Affects IsInSettlementWithSchool -1 Chance 100 ;this one is to reset the trait every turn, so that if you take the character out of the city,he won't have the trait anymore
This will only work for character inside a settlement with no school. For characters on the outside, you need a other:
Code:
;------------------------------------------
Trigger school_father3
WhenToTest CharacterTurnEnd
Condition AgentType = named character
and not EndedInSettlement
and Trait IsInSettlementWithSchool > 0
Affects IsInSettlementWithSchool -1 Chance 100 ;this one is to reset the trait every turn, so that if you take the character out of the city,he won't have the trait anymore
You might want to add the condition Trait as I did, even if this trait has only one level, it's a good habit so that triggers don't fire for nothing.
No idea if attributing traits to EDB recruits is actually possible at creation, your trials seem to say it's not. And as for adopted, well apparently not when one requirement is a specific building. This kind of things happen to me all the time, having to re-think things from a new angle because one event, condition or whatever doesn't exist or doesn't work as planned.
So, if TurnEnd isn't good enough for the rest of your plans, you might want to think up a other condition which has nothing to do with buildings for adopted/married characters at creation? That's where I would be in your boots I guess, browsing docudemons for inspiration. Other times I move on to other features on work and inspiration come later.