CleanSlate issues:
- The allowed_to_hold block for Commanders appears to prevent Kshatriyas from being Commanders if they're Hindu (if I'm reading it correctly), which seems wrong.
- Despite all of the title tag renaming, there are some leftovers that don't match the base name of the title, e.g. d_castilla, d_sevilla, d_toscana.
- The become_saoshyant decision only adds saoshyant_descendant to ROOT's children, then propagantes to their children by event... meaning grandchildren/etc. of dead children don't get the trait. Seems unintended.
- TOG.6001 checks any_close_relative; according to the wiki that only covers living characters, meaning the saoshyant_descendant trait won't pass on to children of dead fathers or grandchildren/etc. through a dead child/etc. of the Saoshyant.
- restore_pope_in_rome checks only_independent = yes and has independent = yes in the potential, which feels redundant.
Vanilla oddities:
Localization:
- The allowed_to_hold block for Commanders appears to prevent Kshatriyas from being Commanders if they're Hindu (if I'm reading it correctly), which seems wrong.
- Despite all of the title tag renaming, there are some leftovers that don't match the base name of the title, e.g. d_castilla, d_sevilla, d_toscana.
- The become_saoshyant decision only adds saoshyant_descendant to ROOT's children, then propagantes to their children by event... meaning grandchildren/etc. of dead children don't get the trait. Seems unintended.
- TOG.6001 checks any_close_relative; according to the wiki that only covers living characters, meaning the saoshyant_descendant trait won't pass on to children of dead fathers or grandchildren/etc. through a dead child/etc. of the Saoshyant.
- restore_pope_in_rome checks only_independent = yes and has independent = yes in the potential, which feels redundant.
Vanilla oddities:
- Event LoR.800 should probably have is_feudal = yes.
- Event LoR.901 should probably potentially involve women if they can fight.
- The Roman borders used for Imperial Reconquest and the "The Imperial Borders Are Restored" event don't match the historical borders particularly well, both to the detriment and the advantage of Rome in different areas. Assuming Trajan's borders, the following (in 1066) would be quite a bit closer than vanilla's setup (though possibly not perfect):
- Roman province borders also don't match well; for example, c_trent and c_bolzano should be part of the province of Italia (despite not being in de jure e_italia).
- Thanks to randomness, the Ramandan event chain can potentially result in a different amount of Decadence depending on the order in which events fire if you're at or close to 0 or 100. For example, if you have 0 Decadence, refuse to release all of your prisoners (+1 Decadence), and then give money to charity (-1 Decadence), you'll be back at 0 Decadence, but if the order is reversed you'll be at 1 Decadence. Maybe the individual gains should be tooltips and you should get/lose a lump sum at the end of the event chain.
- While it's been that way since SoI's release, the rewards/costs/penalties for several Ramadan events are weirdly balanced; for example "Release every single prisoner for +15 piety and -1 Decadence" vs. "-15 piety and +1 Decadence" is -- assuming any prisoners you don't care to release -- not much of a choice, since the piety is inconsequential and chances are you'd be willing to eat +1 Decadence even though that mechanic is horrible.
- While consistent with vanilla, there's no AI logic for any of the Ramadan stuff except "Do you want to come to the Eid celebration?", meaning e.g. a Greedy AI is as willing to give to charity as a Charitable one. Probably outside the scope of CleanSlate, but silly.
- Event 91204 makes no sense for Celibate characters.
- Event 91204 is blocked for Homosexual characters, which makes sense under the assumption that ROOT is male, but the event isn't restricted to men. Presumably, it should check if ROOT is attracted to women regardless of ROOT's gender. Alternatively, the localization should be reworked.
- I find it notable that the AI can't get any of the Decadence flavour events. It's of course quite bad at handling that horrible mechanic, which probably explains it, but it effectively means that the player randomly gets rewards and penalties the AI doesn't.
- Event 91220 requires you to be both a Scholar and a Muslim. As currently implemented, the Scholar trait is unavailable for all Muslims; as I mentioned in a previous bug report, making that trait available for Muslims would solve several issues.
- Event 91300 -- the event that hands out the Decadent trait -- can only fire for men. Considering that there both are playable historical female Muslims and that the SoW laws (and certain other approaches) cna result in the player playing as a female Muslim, that's a flawed implementation; I suggest OR = { is_female = no is_landed = yes gender_equality_trigger = yes }.
- Event 91360 can result in both Qarmatians and random religion worshippers (should any use Decadence; I don't think they do with the vanilla implementation) going on the Hajj, which is unavailable for either normally.
- Event 91365 option E has ROOT seduce FROM's primary spouse. Regardless of whether it should be the primary spouse (as opposed to any spouse), this poses several problems; the event doesn't check for compatibility, it doesn't check for the parties being rivals, already being lovers, or the spouse being in love with FROM, or incapacity, or celibacy.
- Events 88270 and 88450 have only_men = yes, which might break down with gender equality.
- Event 88294 increases Decadence when the Furusiyya is prematurely ended due to war. This is a problem if you had less than five Decadence when you started it, as it means you get more Decadence than you lost for hosting it. I suggest moving the Decadence loss to the normal end and cutting the Decadence gain on a premature end.
- The "Interesting Muslims" events spawn characters with a dynasty... and can spawn them more than once, likely resulting in disconnected dynasties. Perhaps they should only trigger once, globally.
- Event 105151's second option doesn't set a killer for FROM's execution; ROOT is the killer.
- Event 105251's second option doesn't set a killer for FROM's execution; ROOT is the killer.
- Event 105005 targets spouse, but the character instigating the whole thing (FROMFROM) is not necessarily the primary spouse.
- Event 105034 should probably use random_spouse.
- TOG.6001 affects Sunni and Shiite MA. It potentially fires for a lot of characters, so the MA effects should probably be in TOG.6000 instead.
- The Zoroastrian holy pets events should probably not fire with random religions, or the localization should be majorly overhauled.
- Event TOG.4001 should probably not fire if the top liege isn't Norse, seeing as a hostile holy order setting up shop is generalyl not conductive to your realm's health.
- Event TOG.1200 only allows for female adventurers under gender equality, not under Enatic Clans; should probably be changed to check if ROOT has the proper gender to be a commander. Ditto for TOG.1210.
- The Holmgang events assume only men can fight. They really should account for Equal/Enatic.
- TOG.5016 doesn't check pratical_age for the fellow vassal, unlike TOG.5015 for the liege.
- TOG.5017 doesn't check pratical_age for your vassal, unlike TOG.5015 for the liege.
- The Holmgang events can fire even if you reform (or random into) Pacifist, which is fairly weird.
- TOG.644 can set up event TOG.658 to fire for Celibate or Homosexual men, which doesn't make much sense based on said event's desc.
- TOG.644 can set up event TOG.664 to fire for Celibate characters, which doesn't make much sense.
- TOG.664 can pick a celibate character, which makes little sense.
- TOG.164 checks for India and Persia in one condition, but only India in the other. Seems inconsistent.
- TOG.172 can set up event TOG.208 to fire for Celibate or Homosexual men, which doesn't make much sense based on said event's desc.
- TOG.172 can set up event TOG.214 to fire for Celibate characters, which doesn't make much sense.
- TOG.214 can pick a celibate character, which makes little sense.
- TOG.158 creates a male soldier at all times. Should probably not be the case under Enatic or Equal.
- TOG.100 only invites men, regardless of Equal/Enatic. Seems rather weird.
- TOG.709, TOG.759, TOG.809 have similar celibacy/homosexuality issues as TOH 172 and TOG.644.
- TOG.734, TOG.784, TOG.834 should probably not select celibate characters.
- SoA.4000 has a lower chance of heresies popping up in Thrake. Presumably, that's meant to be Constantinople, since that's one province ID off in vanilla.
- SoA.4100 can fire for any religion with a religion head, but the following events are largely written under the assumption that the involved rel head is Christian.
- The Demon Spawn murder target logic in SoA.3019 assumes male-preference succession and a preference towards the oldest child, seeing as the DS will seek to murder older male siblings (with some BitP logic attached). It should probably instead check for either parent's heir being the DS's sibling and then seek to murder said sibling regardless of gender or birth order.
- SoA.3053 should probably check pratical_age.
- SoA.5062 doesn't result in ROOT no longer being Celibate even if ROOT is sleeping with someone. Seems wrong.
- SoA.5018 and SoA.5019 assume certain Catholic sites (the western ones) get cathedrals on schedule regardless of when you start. Considering how alt history CK2 can become, this could be quite weird, so maybe it should check for global flags set in title history.
- The "Holy order near holy site" events during a pilgrimage don't really make sense if the pilgrimage isn't in friendly hands, seeing as that should make the locals frown on said holy order's presence.
- SoA.5242 has ROOT sleep around, but SoA.5243 impregnates her with her husband's bioligical child. Regardless of what the husband believes, it's not his.
- The Cluny (SoA.5340, SoA.5341, SoA.5342) and Mount Athos (SoA.5344, SoA.5345, SoA.5346) events don't make much sense with random religions.
- SoA.5357 option D potentially removes Celibate from Jeanne and sets ROOT as her lover. However, ROOT remains Celibate if ROOT is Celibate (and isn't blocked from the event), and there's no tumbling, neither of which makes sense if Jeanne stops being Celibate.
- Plenty of events in soa_misc_religious_events.txt involve the finger_of_st_john, which doesn't make sense if religions are random.
- SoA.5208 is limited to Catholics. Fraticelli probably makes sense, at the very least.
- SoA.5240 makes no sense with random religions.
- SoA.5241 makes no sense with random religions.
- SoA.5243, and therefore SoA.5242, makes no sense with random religions.
- Based on the localization, SoA.5301 and SoA.5302 make little sense with random religions. Other Wicked Priest versions might also get weird.
- SoA.5306 (the Cadaver Synod) should probably not fire with random religions.
- SoA.5353 (Jeanne d'Arc) can fire with random religions. This gets pretty werid with Equal or Enatic, seeing as a woman fighting isn't so weird then.
- As written, SoA.5400 is not sensible with random religions.
- SoA.5410-5414 get weird with random religions due to the explicit localization.
- RoI.1007 doesn't check orientation properly.
- RoI.1144 involves ROOT sleeping with a random singer, but lets ROOT remain Celibate if ROOT is Celibate. This makes no sense.
- RoI.1141 involves ROOT sleeping with a random dancer, but lets ROOT remain Celibate if ROOT is Celibate. This makes no sense.
- RoI.215 does not check for compatible orientation.
- Hindu and Jain ascetics can come to visit Buddhist characters anywhere on the map. This is pretty nonsensical for Buddhists in many parts of the map, considering neither of the other two religions spread far outside India (on the vanilla map) historically, unlike Buddhism.
- CM.15001 can potentially make rel heads convert to the (host's version of the) Zunist religion, which feels unintended.
- CM.2000's desc refers to the created character as male, but the created character has no set gender (and presumably should match gender triggers).
- CM.2020 requires ROOT to not be incapable or imprisoned... which really should have absolutely no bearing on how well the hero knight educates ROOT's child.
- CM.1192 doesn't check the orientation of the mother or the spouse.
- CM.1192 can send the mother and spouse to a convent and adds monk/nun... but doesn't properly check that the mother or spouse are Christian everywhere.
- CM.6124 doesn't check religion, and can thus "add" Scholar to Muslims that instantly lose it on religious grounds.
- WoL.7060 should probably not fire for rel heads.
- WoL.3010 does not check the orientation of either party.
- WoL.5065 really should come with a pregnancy risk where relevant, so maybe the character created in WoL.5066 should be created there and unprotected_sex_effect_event_target should be used.
- WoL.5231 requires ROOT to neither be imprisoned nor incapable... which really should have no bearing on ROOT's dog's ability to hurt someone.
- The hunter in WoL.5040 should probably have their gender depend on your view of gender, as opposed to always being male.
- WoL.10102 option A sets a flag for the trade route being overland if ROOT's capital is in the steppes or Persia. Considering these areas aren't fully landlocked and that other capitals could be, this check is rather odd.
- The localization in WoL.10114 option A is religion group-locked, potentially resulting in very weird cases where e.g. a Buddhist far from India offers an elephant or a Muslim far from any desert offers a camel.
- The regions checked to determine if the trade route is naval in WoL.10130 don't match the regions checked in WoL.10102.
- Several wol_lover_events use spouse but could really use random_spouse and an event target.
- Spear throwing contests only affect male courtier opinion, which doesn't make sense if women can fight.
- Spear throwing contests only pick male opponents if you lose, which doesn't make sense if women can fight.
- War Focus sparring partners can only be male, which doesn't make sense if women get to fight.
- WoL.60 and WoL.61 have separate treatment for Christian priests/ascetics but fails to consider random religions.
- WoL.500 might not make sense with random religions.
- WoL.520 assumes male guards are a thing, so it gets weird with Enatic Clans.
- WoL.580 should really not fire for Homosexual women.
- WoL.580 makes little sense with Enatic Clans, seeing as the guards presumably are female in that case.
- WoL.580 is restricted to women, but follow-up WoL.585 needlessly checks if ROOT is female.
- WoL.55 checks for gender_equality_trigger when deciding if opinion_unfaithful_husband_crime is to be handed out. Enatic Clans is not gender_equality_trigger = yes, but presumably should still make it criminal for men to cheat.
- HL.7000 does not account for Equal/Enatic.
- HL.6020 can select a spouse that shouldn't realistically be at much risk of drowning, e.g. a Strong non-maimed spouse with high PCS. This is pretty weird.
- HL.6020 is guaranteed to kill the spouse in option B, making it a free and no-risk divorce.
- HL.6020 has no AI logic, meaning the AI might opt to save a rival spouse or opt to let a spouse that's a lover/friend die. Quite odd.
- HL.6021 does not check orientation properly for ROOT or the spouse.
- HL.6010 could potentially fire multiple times for the same child if their guardian changes. I suggest a character flag for the child.
- HL.6010 could potentially select an incapable child, which would be weird.
- HL.6520 assumes ROOT's spouse is female in the desc, but isn't limited to men.
- HL.6520 could probably use an event target spouse.
- HL.6990 could probably use an event target spouse.
- Minor clan revolters and their children are always male, which gets weird if they follow an Equal or Enatic religion.
- HLF.9000/HLF.9001 is restricted to men and male opponents, which gets weird with Equal/Enatic.
- Lovers in HLF.9003/HLF.9004 don't actually tumble, despite the description in the former event making it clear that tumbling happens.
- Raiding Adventurers can only be men, unlike regular Adventurers. Seems inconsistent.
- HL.10400 checks the merc's primary title's capital's religion. Shouldn't that be the mercenary_employer's capital?
- HL.10500 checks the merc's primary capital. Shouldn't that be the mercenary_employer's capital?
- HL.10510 checks the merc's primary capital. Shouldn't that be the mercenary_employer's capital?
- HL.10510 can only result in a duel between the merc and their band's employer's son. Under Equal/Enatic, maybe daughters should get to duel.
- HL.10510 only potentially results in a rivalry with the father of the son being fought. The employer could be female, and the mother could be angered in general.
- It feels rather weird that the events applying the mercenary_traditions modifier don't make use of a bloodline, seeing as a generic mercenary_traditions bloodline would work better than character modifiers.
- hl_mercenary_events assume a male merc in some places in the loc ("You always knew him as a coward", etc.) and in a few places (inheriting mercenary_traditions from father, only male children doing this), but the merc could be female based on the decision's conditions.
- The HL merc decision only permits women under Enatic Clans or Full SoW. It should probably allow women under Equal too (SoW is Conclave only, Equal isn't).
- Event LoR.901 should probably potentially involve women if they can fight.
- The Roman borders used for Imperial Reconquest and the "The Imperial Borders Are Restored" event don't match the historical borders particularly well, both to the detriment and the advantage of Rome in different areas. Assuming Trajan's borders, the following (in 1066) would be quite a bit closer than vanilla's setup (though possibly not perfect):
- Britannia: d_northumberland minus c_lindisfarne, d_cumbria, d_york, d_lancaster, d_gwynedd, d_powys, d_deheubarth, d_gwent, d_mercia, d_east_anglia, d_essex, d_hwicce, d_kent, d_wessex, d_cornwall.
- Francia: All, i.e. d_flanders, d_picardie, d_normandy, d_upper_brittany, d_penthievre, d_brittany, d_anjou, d_blois, d_paris, d_champagne, d_burgundy, d_berry, d_poitou, d_aquitaine, d_gascogne, d_tolouse, d_auvergne, d_bourbon, d_dauphine, d_provence, d_savoie, d_franche_comte, d_transjurania.
- Hispania: All, i.e. d_galicia, d_portucale, d_lisboa, d_beja, d_algarve, d_sevilla, d_badajoz, d_leon, d_asturias, d_castilla, d_navarra, d_aragon, d_toledo, d_cordoba, d_granada, d_murcia, d_valencia, d_barcelona, d_mallorca.
- Germania/HRE: c_zeeland, d_brabant, d_lower_lorraine, c_koln, d_upper_lorraine, d_alsace, d_trier, d_rhine, d_baden, d_swabia, d_thurgau, d_raetia, d_tyrol, c_freising, c_regensburg, d_salzburg, d_austria minus c_freistadt and c_krems, d_styria, d_carithia, d_carniola, d_friuli.
- Italia: All, i.e. d_venice, d_verona, d_milano, d_susa, d_genoa, d_modena, d_ferrara, d_toscana, d_ancona, d_spoleto, d_pisa, d_latium, d_corsica, d_sardinia.
- Carpathia: c_sopron, d_balaton, d_slavonia, d_croatia, d_hum, d_bosnia, d_styrmia, c_temes, c_bihar, c_feher, d_oltenia. If client states count, c_pest, c_csanad, d_temes, d_muntenia.
- ERE: All, i.e. d_abruzzo, d_benevento, d_capua, d_amalfi, d_apulia, d_salerno, d_calabria, d_sicily, d_ragusa, d_dioclea, d_rashka, d_vidin, d_moesia, d_karvuna, d_thrace, d_adrianopolis, d_strymon, d_ohrid, d_dyrrachion, d_thessalonika, d_hellas, d_epirus, d_cephalonia, d_achaia, d_aegean_islands, d_krete, d_cyprus, d_abydos, d_samos, d_cibyrrhaeot, d_thracesia, d_opsikion, d_optomatoi, d_bokellarian, d_anatolia, d_cilicia, d_cappadocia, d_charsianon, d_paphlagonia, d_armenaicon, d_trebizond, d_coloneia, d_edessa, d_mesopotamia, d_armenia, d_tao, d_abkhazia, d_kartli, d_kakheti.
- Pontic Steppe: If client states count, d_cherson.
- Persia: d_azerbaijan, d_jazira, d_mosul, d_mudar, d_baghdad, d_basra, d_samarra, possibly c_sus, possibly c_khozistan.
- Arabian Empire: d_palmyra, d_aleppo, d_antioch, d_tripoli, d_damascus, d_galilee, d_jerusalem, d_ascalon, d_oultrejourdain, d_arabia, d_sinai, d_damietta, d_cairo, d_aswan, d_asyut, d_faiyum, d_alexandria, d_paraetonium, d_cyrenaica minus c_senoussi.
- Maghreb: d_syrte minus c_tadjrift, d_tripolitania minus c_nafusa and c_nalut, d_jerid minus c_suf, d_tunis, d_kabylia minus c_biskra, d_alger, c_tahert, c_yalala, d_tlemcen minus c_tendrara, d_tangier, d_fes minus c_muluja
- Francia: All, i.e. d_flanders, d_picardie, d_normandy, d_upper_brittany, d_penthievre, d_brittany, d_anjou, d_blois, d_paris, d_champagne, d_burgundy, d_berry, d_poitou, d_aquitaine, d_gascogne, d_tolouse, d_auvergne, d_bourbon, d_dauphine, d_provence, d_savoie, d_franche_comte, d_transjurania.
- Hispania: All, i.e. d_galicia, d_portucale, d_lisboa, d_beja, d_algarve, d_sevilla, d_badajoz, d_leon, d_asturias, d_castilla, d_navarra, d_aragon, d_toledo, d_cordoba, d_granada, d_murcia, d_valencia, d_barcelona, d_mallorca.
- Germania/HRE: c_zeeland, d_brabant, d_lower_lorraine, c_koln, d_upper_lorraine, d_alsace, d_trier, d_rhine, d_baden, d_swabia, d_thurgau, d_raetia, d_tyrol, c_freising, c_regensburg, d_salzburg, d_austria minus c_freistadt and c_krems, d_styria, d_carithia, d_carniola, d_friuli.
- Italia: All, i.e. d_venice, d_verona, d_milano, d_susa, d_genoa, d_modena, d_ferrara, d_toscana, d_ancona, d_spoleto, d_pisa, d_latium, d_corsica, d_sardinia.
- Carpathia: c_sopron, d_balaton, d_slavonia, d_croatia, d_hum, d_bosnia, d_styrmia, c_temes, c_bihar, c_feher, d_oltenia. If client states count, c_pest, c_csanad, d_temes, d_muntenia.
- ERE: All, i.e. d_abruzzo, d_benevento, d_capua, d_amalfi, d_apulia, d_salerno, d_calabria, d_sicily, d_ragusa, d_dioclea, d_rashka, d_vidin, d_moesia, d_karvuna, d_thrace, d_adrianopolis, d_strymon, d_ohrid, d_dyrrachion, d_thessalonika, d_hellas, d_epirus, d_cephalonia, d_achaia, d_aegean_islands, d_krete, d_cyprus, d_abydos, d_samos, d_cibyrrhaeot, d_thracesia, d_opsikion, d_optomatoi, d_bokellarian, d_anatolia, d_cilicia, d_cappadocia, d_charsianon, d_paphlagonia, d_armenaicon, d_trebizond, d_coloneia, d_edessa, d_mesopotamia, d_armenia, d_tao, d_abkhazia, d_kartli, d_kakheti.
- Pontic Steppe: If client states count, d_cherson.
- Persia: d_azerbaijan, d_jazira, d_mosul, d_mudar, d_baghdad, d_basra, d_samarra, possibly c_sus, possibly c_khozistan.
- Arabian Empire: d_palmyra, d_aleppo, d_antioch, d_tripoli, d_damascus, d_galilee, d_jerusalem, d_ascalon, d_oultrejourdain, d_arabia, d_sinai, d_damietta, d_cairo, d_aswan, d_asyut, d_faiyum, d_alexandria, d_paraetonium, d_cyrenaica minus c_senoussi.
- Maghreb: d_syrte minus c_tadjrift, d_tripolitania minus c_nafusa and c_nalut, d_jerid minus c_suf, d_tunis, d_kabylia minus c_biskra, d_alger, c_tahert, c_yalala, d_tlemcen minus c_tendrara, d_tangier, d_fes minus c_muluja
- Roman province borders also don't match well; for example, c_trent and c_bolzano should be part of the province of Italia (despite not being in de jure e_italia).
- Thanks to randomness, the Ramandan event chain can potentially result in a different amount of Decadence depending on the order in which events fire if you're at or close to 0 or 100. For example, if you have 0 Decadence, refuse to release all of your prisoners (+1 Decadence), and then give money to charity (-1 Decadence), you'll be back at 0 Decadence, but if the order is reversed you'll be at 1 Decadence. Maybe the individual gains should be tooltips and you should get/lose a lump sum at the end of the event chain.
- While it's been that way since SoI's release, the rewards/costs/penalties for several Ramadan events are weirdly balanced; for example "Release every single prisoner for +15 piety and -1 Decadence" vs. "-15 piety and +1 Decadence" is -- assuming any prisoners you don't care to release -- not much of a choice, since the piety is inconsequential and chances are you'd be willing to eat +1 Decadence even though that mechanic is horrible.
- While consistent with vanilla, there's no AI logic for any of the Ramadan stuff except "Do you want to come to the Eid celebration?", meaning e.g. a Greedy AI is as willing to give to charity as a Charitable one. Probably outside the scope of CleanSlate, but silly.
- Event 91204 makes no sense for Celibate characters.
- Event 91204 is blocked for Homosexual characters, which makes sense under the assumption that ROOT is male, but the event isn't restricted to men. Presumably, it should check if ROOT is attracted to women regardless of ROOT's gender. Alternatively, the localization should be reworked.
- I find it notable that the AI can't get any of the Decadence flavour events. It's of course quite bad at handling that horrible mechanic, which probably explains it, but it effectively means that the player randomly gets rewards and penalties the AI doesn't.
- Event 91220 requires you to be both a Scholar and a Muslim. As currently implemented, the Scholar trait is unavailable for all Muslims; as I mentioned in a previous bug report, making that trait available for Muslims would solve several issues.
- Event 91300 -- the event that hands out the Decadent trait -- can only fire for men. Considering that there both are playable historical female Muslims and that the SoW laws (and certain other approaches) cna result in the player playing as a female Muslim, that's a flawed implementation; I suggest OR = { is_female = no is_landed = yes gender_equality_trigger = yes }.
- Event 91360 can result in both Qarmatians and random religion worshippers (should any use Decadence; I don't think they do with the vanilla implementation) going on the Hajj, which is unavailable for either normally.
- Event 91365 option E has ROOT seduce FROM's primary spouse. Regardless of whether it should be the primary spouse (as opposed to any spouse), this poses several problems; the event doesn't check for compatibility, it doesn't check for the parties being rivals, already being lovers, or the spouse being in love with FROM, or incapacity, or celibacy.
- Events 88270 and 88450 have only_men = yes, which might break down with gender equality.
- Event 88294 increases Decadence when the Furusiyya is prematurely ended due to war. This is a problem if you had less than five Decadence when you started it, as it means you get more Decadence than you lost for hosting it. I suggest moving the Decadence loss to the normal end and cutting the Decadence gain on a premature end.
- The "Interesting Muslims" events spawn characters with a dynasty... and can spawn them more than once, likely resulting in disconnected dynasties. Perhaps they should only trigger once, globally.
- Event 105151's second option doesn't set a killer for FROM's execution; ROOT is the killer.
- Event 105251's second option doesn't set a killer for FROM's execution; ROOT is the killer.
- Event 105005 targets spouse, but the character instigating the whole thing (FROMFROM) is not necessarily the primary spouse.
- Event 105034 should probably use random_spouse.
- TOG.6001 affects Sunni and Shiite MA. It potentially fires for a lot of characters, so the MA effects should probably be in TOG.6000 instead.
- The Zoroastrian holy pets events should probably not fire with random religions, or the localization should be majorly overhauled.
- Event TOG.4001 should probably not fire if the top liege isn't Norse, seeing as a hostile holy order setting up shop is generalyl not conductive to your realm's health.
- Event TOG.1200 only allows for female adventurers under gender equality, not under Enatic Clans; should probably be changed to check if ROOT has the proper gender to be a commander. Ditto for TOG.1210.
- The Holmgang events assume only men can fight. They really should account for Equal/Enatic.
- TOG.5016 doesn't check pratical_age for the fellow vassal, unlike TOG.5015 for the liege.
- TOG.5017 doesn't check pratical_age for your vassal, unlike TOG.5015 for the liege.
- The Holmgang events can fire even if you reform (or random into) Pacifist, which is fairly weird.
- TOG.644 can set up event TOG.658 to fire for Celibate or Homosexual men, which doesn't make much sense based on said event's desc.
- TOG.644 can set up event TOG.664 to fire for Celibate characters, which doesn't make much sense.
- TOG.664 can pick a celibate character, which makes little sense.
- TOG.164 checks for India and Persia in one condition, but only India in the other. Seems inconsistent.
- TOG.172 can set up event TOG.208 to fire for Celibate or Homosexual men, which doesn't make much sense based on said event's desc.
- TOG.172 can set up event TOG.214 to fire for Celibate characters, which doesn't make much sense.
- TOG.214 can pick a celibate character, which makes little sense.
- TOG.158 creates a male soldier at all times. Should probably not be the case under Enatic or Equal.
- TOG.100 only invites men, regardless of Equal/Enatic. Seems rather weird.
- TOG.709, TOG.759, TOG.809 have similar celibacy/homosexuality issues as TOH 172 and TOG.644.
- TOG.734, TOG.784, TOG.834 should probably not select celibate characters.
- SoA.4000 has a lower chance of heresies popping up in Thrake. Presumably, that's meant to be Constantinople, since that's one province ID off in vanilla.
- SoA.4100 can fire for any religion with a religion head, but the following events are largely written under the assumption that the involved rel head is Christian.
- The Demon Spawn murder target logic in SoA.3019 assumes male-preference succession and a preference towards the oldest child, seeing as the DS will seek to murder older male siblings (with some BitP logic attached). It should probably instead check for either parent's heir being the DS's sibling and then seek to murder said sibling regardless of gender or birth order.
- SoA.3053 should probably check pratical_age.
- SoA.5062 doesn't result in ROOT no longer being Celibate even if ROOT is sleeping with someone. Seems wrong.
- SoA.5018 and SoA.5019 assume certain Catholic sites (the western ones) get cathedrals on schedule regardless of when you start. Considering how alt history CK2 can become, this could be quite weird, so maybe it should check for global flags set in title history.
- The "Holy order near holy site" events during a pilgrimage don't really make sense if the pilgrimage isn't in friendly hands, seeing as that should make the locals frown on said holy order's presence.
- SoA.5242 has ROOT sleep around, but SoA.5243 impregnates her with her husband's bioligical child. Regardless of what the husband believes, it's not his.
- The Cluny (SoA.5340, SoA.5341, SoA.5342) and Mount Athos (SoA.5344, SoA.5345, SoA.5346) events don't make much sense with random religions.
- SoA.5357 option D potentially removes Celibate from Jeanne and sets ROOT as her lover. However, ROOT remains Celibate if ROOT is Celibate (and isn't blocked from the event), and there's no tumbling, neither of which makes sense if Jeanne stops being Celibate.
- Plenty of events in soa_misc_religious_events.txt involve the finger_of_st_john, which doesn't make sense if religions are random.
- SoA.5208 is limited to Catholics. Fraticelli probably makes sense, at the very least.
- SoA.5240 makes no sense with random religions.
- SoA.5241 makes no sense with random religions.
- SoA.5243, and therefore SoA.5242, makes no sense with random religions.
- Based on the localization, SoA.5301 and SoA.5302 make little sense with random religions. Other Wicked Priest versions might also get weird.
- SoA.5306 (the Cadaver Synod) should probably not fire with random religions.
- SoA.5353 (Jeanne d'Arc) can fire with random religions. This gets pretty werid with Equal or Enatic, seeing as a woman fighting isn't so weird then.
- As written, SoA.5400 is not sensible with random religions.
- SoA.5410-5414 get weird with random religions due to the explicit localization.
- RoI.1007 doesn't check orientation properly.
- RoI.1144 involves ROOT sleeping with a random singer, but lets ROOT remain Celibate if ROOT is Celibate. This makes no sense.
- RoI.1141 involves ROOT sleeping with a random dancer, but lets ROOT remain Celibate if ROOT is Celibate. This makes no sense.
- RoI.215 does not check for compatible orientation.
- Hindu and Jain ascetics can come to visit Buddhist characters anywhere on the map. This is pretty nonsensical for Buddhists in many parts of the map, considering neither of the other two religions spread far outside India (on the vanilla map) historically, unlike Buddhism.
- CM.15001 can potentially make rel heads convert to the (host's version of the) Zunist religion, which feels unintended.
- CM.2000's desc refers to the created character as male, but the created character has no set gender (and presumably should match gender triggers).
- CM.2020 requires ROOT to not be incapable or imprisoned... which really should have absolutely no bearing on how well the hero knight educates ROOT's child.
- CM.1192 doesn't check the orientation of the mother or the spouse.
- CM.1192 can send the mother and spouse to a convent and adds monk/nun... but doesn't properly check that the mother or spouse are Christian everywhere.
- CM.6124 doesn't check religion, and can thus "add" Scholar to Muslims that instantly lose it on religious grounds.
- WoL.7060 should probably not fire for rel heads.
- WoL.3010 does not check the orientation of either party.
- WoL.5065 really should come with a pregnancy risk where relevant, so maybe the character created in WoL.5066 should be created there and unprotected_sex_effect_event_target should be used.
- WoL.5231 requires ROOT to neither be imprisoned nor incapable... which really should have no bearing on ROOT's dog's ability to hurt someone.
- The hunter in WoL.5040 should probably have their gender depend on your view of gender, as opposed to always being male.
- WoL.10102 option A sets a flag for the trade route being overland if ROOT's capital is in the steppes or Persia. Considering these areas aren't fully landlocked and that other capitals could be, this check is rather odd.
- The localization in WoL.10114 option A is religion group-locked, potentially resulting in very weird cases where e.g. a Buddhist far from India offers an elephant or a Muslim far from any desert offers a camel.
- The regions checked to determine if the trade route is naval in WoL.10130 don't match the regions checked in WoL.10102.
- Several wol_lover_events use spouse but could really use random_spouse and an event target.
- Spear throwing contests only affect male courtier opinion, which doesn't make sense if women can fight.
- Spear throwing contests only pick male opponents if you lose, which doesn't make sense if women can fight.
- War Focus sparring partners can only be male, which doesn't make sense if women get to fight.
- WoL.60 and WoL.61 have separate treatment for Christian priests/ascetics but fails to consider random religions.
- WoL.500 might not make sense with random religions.
- WoL.520 assumes male guards are a thing, so it gets weird with Enatic Clans.
- WoL.580 should really not fire for Homosexual women.
- WoL.580 makes little sense with Enatic Clans, seeing as the guards presumably are female in that case.
- WoL.580 is restricted to women, but follow-up WoL.585 needlessly checks if ROOT is female.
- WoL.55 checks for gender_equality_trigger when deciding if opinion_unfaithful_husband_crime is to be handed out. Enatic Clans is not gender_equality_trigger = yes, but presumably should still make it criminal for men to cheat.
- HL.7000 does not account for Equal/Enatic.
- HL.6020 can select a spouse that shouldn't realistically be at much risk of drowning, e.g. a Strong non-maimed spouse with high PCS. This is pretty weird.
- HL.6020 is guaranteed to kill the spouse in option B, making it a free and no-risk divorce.
- HL.6020 has no AI logic, meaning the AI might opt to save a rival spouse or opt to let a spouse that's a lover/friend die. Quite odd.
- HL.6021 does not check orientation properly for ROOT or the spouse.
- HL.6010 could potentially fire multiple times for the same child if their guardian changes. I suggest a character flag for the child.
- HL.6010 could potentially select an incapable child, which would be weird.
- HL.6520 assumes ROOT's spouse is female in the desc, but isn't limited to men.
- HL.6520 could probably use an event target spouse.
- HL.6990 could probably use an event target spouse.
- Minor clan revolters and their children are always male, which gets weird if they follow an Equal or Enatic religion.
- HLF.9000/HLF.9001 is restricted to men and male opponents, which gets weird with Equal/Enatic.
- Lovers in HLF.9003/HLF.9004 don't actually tumble, despite the description in the former event making it clear that tumbling happens.
- Raiding Adventurers can only be men, unlike regular Adventurers. Seems inconsistent.
- HL.10400 checks the merc's primary title's capital's religion. Shouldn't that be the mercenary_employer's capital?
- HL.10500 checks the merc's primary capital. Shouldn't that be the mercenary_employer's capital?
- HL.10510 checks the merc's primary capital. Shouldn't that be the mercenary_employer's capital?
- HL.10510 can only result in a duel between the merc and their band's employer's son. Under Equal/Enatic, maybe daughters should get to duel.
- HL.10510 only potentially results in a rivalry with the father of the son being fought. The employer could be female, and the mother could be angered in general.
- It feels rather weird that the events applying the mercenary_traditions modifier don't make use of a bloodline, seeing as a generic mercenary_traditions bloodline would work better than character modifiers.
- hl_mercenary_events assume a male merc in some places in the loc ("You always knew him as a coward", etc.) and in a few places (inheriting mercenary_traditions from father, only male children doing this), but the merc could be female based on the decision's conditions.
- The HL merc decision only permits women under Enatic Clans or Full SoW. It should probably allow women under Equal too (SoW is Conclave only, Equal isn't).
Localization:
- The Fatwa event localization references Allah, and the line "(glorified and exalted be He)" makes Root.Religion.GetHighGodName break down since "HighGod is singular and male". Causes problems for Yazidis and random religions.
- The Ramadan event localization explicitly references Allah, the Qur'an and the like. The decision is unavailable with random religions, but Yazidis still have some issues thanks to vanilla's setup for them.
- The Decadence event localization references Islam, Muslims, etc. by name. It also has "Quran" and "Koran", inconsistent with "Qur'an" found elsewhere.
- EVTDESC91211 assumes ROOT is male, as does EVTDESC91230, EVTDESC91224.
- EVTDESC91369 assumes FROM is male, as does EVTDESC_91377.
- EVTOPTC91360 refers to the Hashashin (named as such), but actually involves the Feyadeen.
- EVTTOOLTIP91351 assumes THIS is male.
- EVTDESC88277 and EVTDESC88278 refers to "bedouins"; cneeds a capital "B", breaks with random cultures, and this and "desert" gets nonsensical if the Furusiyya is being held far away from where there are deserts or Bedouins.
- The Muslim honorary titles event localization have strings such as "Muslim", "Quranic".
- Golden Qur'ans are named as such even with random religions and even for Yazidis.
- The Jomsviking founding events refer to Thor, Odin, and the Norse gods as such. Random religions would make this weird.
- The Holmgang events speak of Valhalla, which gets weird with random religions.
- Assorted SOA41XY localization is written assuming a male rel head and a baseline Christian religion.
- EVTDESC_SoA_5050 mentions "the tomb of the martyr Thomas Becket", which is nonsensical if you start before said turbulent priest's murder.
- EVTDESC_WoL_7080_MUSLIM speaks of the Prophet; weird for Yazidis and with random religions.
- While strange things happening when the Necronomicon is involved is somewhat reasonable, the WoL Scholarship stuff involving said book mentions an Arab, which perhaps is weird with random religions.
- WOL_6170_OPINION_EFFECT "priests".
- The localization for WoL.12010 references pigs, making it rather weird for Muslims.
- EVTDESC_WoL_5230 and EVTOPTA_WoL_5290 assume you live in a castle.
- EVTOPTA_WOL_11304 "Hell"; weird for many religions.
- EVTOPTD_WOL_11304_MUSLIM doesn't work with random religions (or Yazidis...).
- The War Focus Wargame events assume a male opponent in some places.
- EVTDESC_WOL_11140_WIN6 speaks of "side flanks" and "center flank". Flanks are of course on the side, but the centre is not a flank.
- EVTDESC_WOL_2300, EVTDESC_WOL_2302, and EVTDESC_WOL_2304 have "spymaster" rather than [Root.GetSpymasterName].
- EVTDESC_WOL_2110 to EVTDESC_WOL_2117 refer to a male soldier/guard/armsman of the plot target; potentially not sensible if the plot target has a Matriarchal realm.
- EVTOPTD_HL_9004 is a pretty odd way of saying "Let's tumble!"/"Let's become lovers!", which is what that event option involves.
- The Ramadan event localization explicitly references Allah, the Qur'an and the like. The decision is unavailable with random religions, but Yazidis still have some issues thanks to vanilla's setup for them.
- The Decadence event localization references Islam, Muslims, etc. by name. It also has "Quran" and "Koran", inconsistent with "Qur'an" found elsewhere.
- EVTDESC91211 assumes ROOT is male, as does EVTDESC91230, EVTDESC91224.
- EVTDESC91369 assumes FROM is male, as does EVTDESC_91377.
- EVTOPTC91360 refers to the Hashashin (named as such), but actually involves the Feyadeen.
- EVTTOOLTIP91351 assumes THIS is male.
- EVTDESC88277 and EVTDESC88278 refers to "bedouins"; cneeds a capital "B", breaks with random cultures, and this and "desert" gets nonsensical if the Furusiyya is being held far away from where there are deserts or Bedouins.
- The Muslim honorary titles event localization have strings such as "Muslim", "Quranic".
- Golden Qur'ans are named as such even with random religions and even for Yazidis.
- The Jomsviking founding events refer to Thor, Odin, and the Norse gods as such. Random religions would make this weird.
- The Holmgang events speak of Valhalla, which gets weird with random religions.
- Assorted SOA41XY localization is written assuming a male rel head and a baseline Christian religion.
- EVTDESC_SoA_5050 mentions "the tomb of the martyr Thomas Becket", which is nonsensical if you start before said turbulent priest's murder.
- EVTDESC_WoL_7080_MUSLIM speaks of the Prophet; weird for Yazidis and with random religions.
- While strange things happening when the Necronomicon is involved is somewhat reasonable, the WoL Scholarship stuff involving said book mentions an Arab, which perhaps is weird with random religions.
- WOL_6170_OPINION_EFFECT "priests".
- The localization for WoL.12010 references pigs, making it rather weird for Muslims.
- EVTDESC_WoL_5230 and EVTOPTA_WoL_5290 assume you live in a castle.
- EVTOPTA_WOL_11304 "Hell"; weird for many religions.
- EVTOPTD_WOL_11304_MUSLIM doesn't work with random religions (or Yazidis...).
- The War Focus Wargame events assume a male opponent in some places.
- EVTDESC_WOL_11140_WIN6 speaks of "side flanks" and "center flank". Flanks are of course on the side, but the centre is not a flank.
- EVTDESC_WOL_2300, EVTDESC_WOL_2302, and EVTDESC_WOL_2304 have "spymaster" rather than [Root.GetSpymasterName].
- EVTDESC_WOL_2110 to EVTDESC_WOL_2117 refer to a male soldier/guard/armsman of the plot target; potentially not sensible if the plot target has a Matriarchal realm.
- EVTOPTD_HL_9004 is a pretty odd way of saying "Let's tumble!"/"Let's become lovers!", which is what that event option involves.