A lot of this is suspected equality/enatic misses and suspected polygamy and "spouse" rather than "any_spouse" misses.
- Character 248146 holds c_sinjar 1258-1284. He's scripted as dead from 1282.
- Event 24502/24503/24504 does not check if the father is a eunuch or otherwise unlikely or unable to have children. Seems like a mistake.
- Event 24502 checks whether ROOT has one worse brother, not whether ROOT has no good brothers. Seems wrong, as there could be a much better brother.
- Event 24502 only checks if the brother has < 8 Martial, but checks if ROOT's Martial and Stewardship is >= 8. Seems inconsistent, and might potentially call for attribute_diff.
- Event 24502 checks all of ROOTs brothers and fires an events for ROOT's father, meaning ROOT's half-siblings on the mother's side count, and as the father's spouse does not have to be ROOT's mother that can result in weird things.
- Event 24504 tells you that your wife is pregnant at conception. That's inconsistent with every other pregnancy notification except Unholy Impregnation, so it should perhaps be hidden. Also, it's desc doesn't really fit a Kind character or someone that loves the spouse in question.
- Event 24504 is a guaranteed pregnancy (assuming a valid spouse). Rolling once on unprotected_sex_effect might make more sense.
- Event 24503/24504 only work with a suitable wife, not with a suitable concubine. Might be unintended, as the events predate tOG.
- Event 20 does not hand out opinion_unfaithful_husband_crime under Enatic Clans. It'd presumably be criminal in that case, much like under Equality.
- Duels during feasts are restricted to male vassals. Women that pass female_can_hold_minor_commander_title_trigger = yes or similar should perhaps be eligible.
- Event 30000 can fire with polygamy, and should perhaps use any_spouse and an event target.
- Event 30001 seems like it should work for Fraticelli characters.
- Event 30004 can fire with polygamy, and thus event 30005, 30007, and 30011 should target FROM rather than spouse. The localization would also need updating.
- Event 30020 can fire with polygamy, and should perhaps use any_spouse and an event target.
- Event 30021 can fire with polygamy, and should perhaps use any_spouse and an event target.
- Event 30025 can fire with polygamy, and should perhaps use any_spouse and an event target.
- Event 30039 can fire with polygamy, and should perhaps use any_spouse and an event target.
- Events 30055-30059 can fire with polygamy, and should perhaps use any_spouse and an event target. The localization would also need to be updated.
- Events 30061, 30064, 30067, 30070, and 30073 can fire with polygamy (through alt starts/reformations), but always use the primary spouse. Seems like any_spouse plus an event target would make sense.
- Events 30077, 30078, and 30081 could be triggered under polygamy, but always reference the main spouse.
- Event 30085 can fire with polygamy, and should perhaps use any_spouse and an event target.
- Events 30101 and 30102 can fire with polygamy, but always assumes FROM is the primary spouse.
- Event 73211 requires only_capable = yes, which is not the case in any of the similar events in this file. Seems inconsistent.
- The AI logic for the follow-up events for event 8720 makes very little sense if the liege(s) don't have the same religion as the character wishing to give land to the Teutonic Order; it'd be quite weird to give land to a different religion's holy order, particularly a hostile one.
- Event 78015 makes little sense if ROOT does not have a wife that could get pregnant.
- Given its localization, event 78015 makes little sense if ROOT is not interested in sleeping with his wife (Celibate, Homosexual, hates her).
- Event 78015 can fire with polygamy, and should perhaps use any_spouse and an event target.
- Event 62014 can hand out the Crusader trait regardless of whether the war is a Crusade or the attacker is from a crusading Christian religion, which seems very weird.
- Event 65035 seems like something to perhaps hook into the artefact system; vanilla added artefacts for pre-MNM stuff (e.g. the +2 Axe), and it's conceivable they missed this event as it's not overly common.
- Event 65036 can only trigger for publicly Christian characters, but option B checks for having a Muslim religion as your public religion. Looking at the localization, it'd probably work for all Abrahamic religions.
- Event 65036 option A has a sinful or Chaste character get annoyed with you for your bragging. Seems like it should be Humble rather than Chaste.
- Event 65091/65092 creates a character named Hope... which can result in silly things as there are no cultural restrictions on where the event fires and any descendants might be named after Hope. I'd change the name and localization.
- Event 69020 should probably not target eunuchs; it's public enough knowledge that someone is a eunuch (attraction penalties, inheritance blocking...) that any lack of children realistically shouldn't be blamed on impotence.
- Event 69023 should probably not target eunuchs; it's public enough knowledge that someone is a eunuch (attraction penalties, inheritance blocking...) that any lack of children realistically shouldn't be blamed on impotence.
- Event 69024 should probably not fire for eunuchs; it's public enough knowledge that someone is a eunuch (attraction penalties, inheritance blocking...) that any lack of children realistically shouldn't be blamed on impotence.
- Event 69030 and it's follow-ups assume the adulterer is sleeping with a woman, but does not check if the adulterer (always male) isn't Homosexual. Seems like an oversight.
- Event 69037 and it's follow-ups assume the adulterer is sleeping with a woman, but does not check if the adulterer (always male) isn't Homosexual. Seems like an oversight.
- Event 69038 can only target the primary wife, and doesn't check if the couple has children together. Seems like the trigger could be better and an event target selecting a random spouse could be used.
- Event 69038 makes all sufficiently old children of ROOT angry, not just the children of the upset spouse. This could potentially include bastards ROOT had with the lover the spouse is upset with, which is rather strange.
- Event 69039 refers to a wife and a mistress, but fails to check whether ROOT is male/has a female spouse and whether ROOT has a female lover. Seems like oversights.
- Minor, but event 69040 is -- aside from the localization -- really not something that needs to be limited to male targets, and is a rare enough event that opening it up to female characters might be good.
- Event 69054 is limited to male stewards, but aside from the localization that seems unnecessary.
- Event 69065 is limited to Catholic characters, but probably makes sense for Fraticelli too.
- Event 69066 assumes there is a relevant Caliph (two Muslim denominations don't have one, and Yazidi don't call their rel head a Caliph), that they're male ("Caliph", not "Calipha"), and that they're not ROOT; quite possibly flawed assumptions.
- Event 69070 assumes a male target, but could fire for Enatic or Equal religions. Seems like it could use some adjustments.
- Event 69016 option B should presumably also work for Fraticelli characters.
- Event 69017 can excommunicate a sister that lacks a rel head, has a rel head that can't excommunicate, or has a rel head that'd be fine with incest, none of which make sense.
- Event 3520 does not check if the spouses are compatible, and thus might add incompatible lovers.
- Event 3520 could fire under polygamy in a random start, but always uses the primary spouse.
- Event 3636 option A and the follow-up 3637 can result in duels with a Moorish cannon, regardless of whether there are Moors anywhere at all or whether anyone reasonably has figured out gunpowder anywhere nearby. Might need some sane triggers.
- Event 3020 can only fire for Catholics, but would also make sense for Fraticelli characters.
- Event 3021 can only fire for Catholics, but would also make sense for Fraticelli characters.
- Aside from the localization, event 3140 feels like something that'd make sense for women, particularly with Equal or Enatic Clans.
- Event 3145 has the character be envious of a woman with a "young and healthy son"... but the woman to be envious of is only checked to have any child, living or dead, rather than a young, healthy, and male child. Seems like the conditions need some improvements, and maybe "son" should be "child".
- Event 3145 can only fire for unmarried women, but option C is "Try to look more attractive to my man". What man?
- Event 3145 can fire for Celibate and/or Homosexual women, which might be unintended.
- Aside from the localization, event 3320 feels like something that'd make sense for women, particularly with Equal or Enatic Clans.
- Event 3345 assumes you have male priests, but can fire for any religion. Some localization tweaks, an event target, and removing the is_female = no check would probably be good.
- Event 3375 would, aside from the localization, work quite well for female characters, particularly with Equal or Enatic Clans.
- Event 3555 and the follow-ups can fire with polygamy, but only check for ROOT's primary spouse. Could perhaps use an event target.
- Event 3012 is limited to Temperate characters and potentially removes that trait, but based on the localization it has absolutely nothing to do with temperance, as opposed to justice or charity.
- Event 3570 and follow-ups speak of ROOT having a male friend, but never checks if ROOT has any friends, male or otherwise.
- Event 3610 looks for a male prisoner, but follow-up event 3612 works for either a male or a female prisoner. Seems like an inconsistency, and updating event 3610 and its loc to work for any prisoner feels sensible.
- Event 3635 is restricted to men and looks for a male opponent, but can fire with Equal or Enatic Clans. Seems like an oversight, though the localization currently assumes a male opponent.
- Event 3635's localization speaks of a "local noble", but the local character is not restricted to is_feudal = yes characters. Seems like an oversight.
- Event 3635's localization speaks of a "city", but the location selected for it is not restricted to locations that have cities.
- Some events, such as event 3635, have max_age conditions and/or pre-triggers that perhaps should be practical_age checks; there are places where true age is more sensible, but certainly not all.
- Event 3013 can only target men, but aside from the localization it'd work for women.
- Event 3650 can only select a son, even if ROOT's religion is Enatic or Equal. Additionally, the son selected can be Incapable, which seems unintended.
- Event 3340 speaks of a male friend, but does not check if ROOT has a friend, male or otherwise.
- Event 3370 checks for a same religion group priest, not a same religion priest.
- Event 3370 can only fire for Christian and Muslim rulers, but would work for any religion, making that restriction weird.
- Event 3370 requires a priest that likes you and that you like, but never makes use of them, making said requirement a bit weird.
- Event 3563 can fire under polygamy, but always targets the primary spouse. Might be better with an event target.
- Event 3587 can fire under polygamy, but always targets the primary spouse. Might be better with an event target.
- Event 3005 always targets your primary spouse, but could fire with polygamy in a random world. Might be better with an event target.
- Event 3035 makes little sense if ROOT is homosexual or Celibate.
- Event 3035 always targets your primary spouse, but could fire with polygamy in a random world. Might be better with an event target.
- Event 3105 can fire under polygamy, but always targets the primary spouse. Might be better with an event target.
- Event 3550 can fire under polygamy, but always targets the primary spouse. Might be better with an event target.
- Event 3620 can only fire for men and target men, but would make sense for women under Equal or Enatic Clans.
- Event 3686 can fire under polygamy, but always targets the primary spouse in option B. Might be better with an event target.
- Event 3568 can fire under polygamy, but always targets the primary spouse in option C. Might be better with an event target.
- Event 3593 can fire under polygamy, but always targets the primary spouse in option C. Might be better with an event target.
- Event 6500 can fire for homosexual men, which doesn't make sense based on the DESC, and it also is weird with Celibate.
- CK2.18004 option D always creates a male character, even under Enatic Clans or Equal. Seems like an oversight.
- bear.3.a can only target your primary spouse despite possibly firing with polygamy, and should perhaps use an event target.
- LoR.211 should perhaps have secret Orthodox (or whatever FROM's religion is) characters be rather more likely to convert.
- The "Voice of Jesus" and "Voice of Satan" event chains can fire with random starts, with assorted localization being weird as a result.
- Event 38020 can only fire for Catholics. May or may not make sense for Fraticelli.
- Some events in base_various:_traits_events have max_age = 16, but are intended for children (max_age = 15).
- Event 3260 has only_men = yes, but with Enatic Clans or Equal that might be weird.
- Event 3750 fires for Muslims, but only ever involves your primary spouse. Might be better with an event target.
- Event 73001 can fire with polygamy, but only ever checks your primary spouse. Might be better with an event target.
- Event 73007 can fire with polygamy, but only ever checks your primary spouse. Might be better with an event target.
- Event 65055 has max_age = 16, but requires a guardian.
- Event 10011/10040/10041 creates characters named "Robin" and "Marion" regardless of culture, which could be rather immersion-breaking in places where those names aren't a thing.
- Characters older than 100 years can't event 10100 (Gates of Hell), which is a bit weird.
- Event 261 always creates a male soldier, which might be weird with Equal or Enatic Clans.
- Event 100105 can only fire for men, which is fairly odd as women can be crusading.
- Event 4130 can only fire for men, and I can't really see a reason for it.
- Event 4145 can only fire for men, and I can't really see a reason for it.
- Event 4150 can only fire for men, and I can't really see a reason for it. It also requires ROOT's father to be dead; I suspect that that's due to it being a direct reference to the Queen of Elfland (which I'm largely unfamiliar with), but as the event makes no mention of a dead father it's a bit curious...
- Event 30000 can't fire for characters older than 100, which makes little sense.
- Event 30001 can't fire for characters older than 60, which makes little sense.
- Event 30105 should probably check for practical_age <= 40, not max_age = 40.
- Event 69015 and 69016 have a max_age = 40 for unclear reasons.
- Event 64085 should probably have practical_age rather than max_age.
- Event 64090 should probably have practical_age rather than max_age.
- Event 4015 and follow-ups can fire with polygamy, but don't account for secondary spouses. Feels weird.
- Event 94170 "Berber life" gets pretty weird with a random world or in places where there are no Berbers anywhere close to you.
- Event 94175 is pretty weird if you don't have any deserts in your realm.
- ambition.005, 94010, 94016, 94017 are all Martial increase events, but they're all about stuff that would improve PCS instead. Evidently, the vanilla devs never bothered to update them when PCS became standalone.
- Event 301 (legitimize/acknowledge/denounce bastard) only makes the father's primary spouse upset, as opposed to any_spouse; fairly weird as you've cheated on all of them.
- Event 301 (legitimize/acknowledge/denounce bastard) only makes one consort ("consort") of the mother upset, as opposed to any_consort. As of HF, the assumption that women always are the junior consort party is flawed.
- Event 100000 should check if ROOT's guardian's employer has a spymaster; it's possible they temporarily don't have one, in which case the event makes no sense.
- Event 100019 should probably not select a Homosexual or Celibate character as lustful_courtier, the trait-related OR for lustful_courtier should probably include Master Seducer (it's an odd omission, seeing as the event can fire with WoL), and shy_courtier should presumably neither be Celibate, Homosexual, nor a Master Seducer
- target_courtier in event 100040 should not be Homosexual; event 100041 has the girl in question "kind of flirting with the cute stable boy".
- Event 100050 should not select Homosexual characters or fire for Homosexual characters; the women in question might end up gossiping about "cute"/"handsome" guards in the rest of the event chain.
- Event 100080 doesn't really need a same_sex restriction as best I can tell, but could really use a same religion restriction.
- Event 100200 could probably be opened up to women with Equal/Enatic/high SoW; would require minor localization tweaks to follow-ups.
- Event 100410 seems like something that should be opened up to women with Equal/Enatic/high SoW; would require minor localization tweaks to follow-ups.
- Aside from the localization there's very little reason for heretic_rival in event 100440 to need to be male.
- Both versions of the loc for event 1630 make the event feel nonsensical for a religion with the Cosmopolitan nature, so maybe the event shouldn't fire with it.
- It's rather weird that event 1914 is Catholic only, seeing as it could work for basically any religion.
- Event 1929 should probably be open to women under Equal/Enatic; notably, the follow-up doesn't make any assumptions about FROM's gender.
- Events 1980, 1985, 1990 both have "max_age = 17" and "has_guardian = yes", but if age >= 16 has_guardian is obviously false. Seems like either the has_guardian should go or the max_age should be lowered; the event doesn't in any way mention or involve the guardian, so I'd remove that.
- Event 64000 can only involve your primary spouse and their lovers, never mind that it can fire for vanilla Muslims or anyone else with polygamy. any_spouse and an event target seems quite warranted here.
- Event 64002 option C seems like a PCS option rather than a Martial option; it's a very old event.
- Event 64002 should probably check attribute_diff (intrigue) rather than just ROOT's intrigue, seeing as FROM's intrigue could be a lot higher.
- Event 64015 could use any_spouse, and since the DESC explicitly says "My wife [Root.Spouse.GetFirstName] has grown old" it should presumably have an explicit age check (on top of the OR with a practical_age so that an ill but young wife isn't considered valid.
- Event 64025 can't fire if you've got a lover, but should probably be "If you have any lover that's not a spouse or consort"; some other events allow you to become lovers with your spouse if another spouse/consort is your lover, if memory serves.
- Event 64025 could really use any_spouse, as a compatible secondary spouse should be a valid spouse to fall in love with.
- Event 64025 checks that the spouse doesn't have a lover; should probably be "Any lover that's not a spouse or consort".
- Event 64040 should probably work for any_spouse, not just the primary spouse.
- Event 64040 checks that the spouse doesn't have a lover; should probably be "Any lover that's not a spouse or consort".
- Event 64040 should probably be valid even if you're your spouse's lover, as long as your spouse has another lover they're not married to.
- Event 64090 checks the age of ROOT, but not of the spouse, meaning the relevant spouse could be a woman too old for childbearing or could be young enough that they couldn't reasonably have had a child.
- Event 64090 could really use any_spouse.
- Event 64100 could really use any_spouse.
- Event 64105 does stuff involving the primary spouse. Potentially right, though as it's triggered from a lot of places it's likely safer to use FROM.
- Event 64110 should probably use any_spouse.
- Event 64115 could probably use any_spouse.
- Event 64115 option D is potentially weird if ROOT doesn't actually like their/the relevant spouse, seeing as there are no AI weights and the AI thus could go "Yes, I love that spouse I really hate more than I love you!"...
- Event 64120 could probably use any_spouse.
- Event 64120 sets the adulterous_affair_public on the spouse, and cannot fire if the spouse has this flag. The flag is never cleared, however, meaning that if someone else cheats on this spouse they'll never get to make it public. It should probably be an opinion modifier instead.
- Event 64125 should probably use any_spouse.
- Event 64125 should probably get to fire even if ROOT has a lover, seeing as ROOT having a lover is irrelevant to the spouse's cheating (and ROOT could be faithful under polygamy...).