Ha! Ok, that would do it .Well, as it turns out, there appears to be a bug with it that makes a huge impact. The if statement that checks for all of those conditions does not exclude npc lords, but the method that it calls to apply the trait xp specifically grants it to the player. So every lord with 20+ troops who keeps their party above 90 morale will earn the player 20 generosity xp every 10 days. The player will get 1000+ xp for that trait every 10 days, lol.