I attempted to report bugs via paradoxplaza. Unfortunately forum admin or forum robot did not let me in, presumably because of my IP address geo-location. I therefore report problems here.
I did not intentionally analyze base game scripts. I found some bugs when creating my mods.
- In
would_attempt_to_seduce_married_trigger, honorable person is likely to attempt to seduce a married woman:ai_honor >= low_positive_ai_value. This should be reversed. Dishonorable should start seduce scheme, not honorable:ai_honor < …. Seen in version 1.18.0.2.
courtier_guest_management.3001event version 1.18.0.2 checks same conditions more than once.has_trait = celibateis checked in event itself and inmight_cheat_on_every_partner_trigger, too.this != scope:current_characterin the event is redundant, since it is checked incan_set_relation_lover_trigger.is_attracted_to_gender_ofis redundant for exactly same reason. That is 5 redundant lines.
The event complexity is square in size of court/pool, therefore deleting those lines might result in a noticeable speed-up.
can_become_concubine_of_character_triggertrigger version 1.18.0.2 checksis_imprisoned_bytwice. This could be done just once, by replacingtrigger_ifbytrigger_else_if:
trigger_else_if = { # was trigger_if, now trigger_else_if
limit = {
#is_imprisoned_by = $CHARACTER$ — this line no longer needed
is_married = yes
}
NOT = { is_spouse_of = $CHARACTER$ }
}