Scripted effect
pregnancy_spouse_suspicion_chance_effect
pregnancy_spouse_suspicion_chance_effect = yesgame/common/scripted_effects/00_bastard_effects.txt, line 153 (215 lines). No parameters.
pregnancy_spouse_suspicion_chance_effect is a scripted effect in Crusader Kings III, written at line 153 of its file. It takes no parameters: pregnancy_spouse_suspicion_chance_effect = yes. The game's script calls it in 2 places, among them Pregnancy! (event pregnancy.1001) and married_mother_pregnancy_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_bastard_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (120 lines of game script)
pregnancy_spouse_suspicion_chance_effect = {
hidden_effect = { #Scopes mother and real_father exist
save_scope_as = spouse
random_list = {
0 = { #Father is suspicious
trigger = {
accepts_adultery_without_penalty_trigger = no
}
#Base chance
modifier = {
add = husband_suspicion_base_value
always = yes
}
#Increased chance of suspicion if it actually is a bastard
modifier = {
add = 50
scope:real_father != scope:spouse
}
#Increase significantly if the mother has a known lover
modifier = {
add = 150
scope:mother = {
OR = {
any_secret = { # Trigger for secret relations
type = secret_lover
is_known_by = scope:spouse
trigger_if = {
limit = {
exists = secret_target
}
secret_target != scope:spouse
}
}
any_relation = { # Trigger for public relations
type = lover
this != scope:spouse # No suspicion chance if their lover is us!
NOT = { has_secret_relation_lover = scope:mother } # Not a secret relation (That's checked in the above step).
}
}
}
}
#Increased chance of suspicion if the child is a bastard and the mother is not very smart
modifier = {
add = 10
scope:real_father != scope:spouse
scope:mother = {
has_trait_rank = {
trait = intellect_bad
rank > 0
}
}
}
modifier = {
add = 15
scope:real_father != scope:spouse
scope:mother = {
has_trait_rank = {
trait = intellect_bad
rank > 1
}
}
}
modifier = {
add = 20
scope:real_father != scope:spouse
scope:mother = {
has_trait_rank = {
trait = intellect_bad
rank > 2
}
}
}
#Negative modifier if the mother is smart
modifier = {
add = -5
scope:mother = {
has_trait_rank = {
trait = intellect_good
rank > 0
}
}
}
modifier = {
add = -10
scope:mother = {
has_trait_rank = {
trait = intellect_good
rank > 1
}
}
}
modifier = {
add = -15
scope:mother = {
has_trait_rank = {
trait = intellect_good
rank > 2
}
}
}
#Bonuses for high intelligence if it is a bastard
modifier = {
add = 30
scope:real_father != scope:spouse
has_trait_rank = {
trait = intellect_good
rank > 0
}
}
modifier = {
add = 30
scope:real_father != scope:spouse
has_trait_rank = {
trait = intellect_good
rank > 1
}
}
modifier = {As written in game/common/scripted_effects/00_bastard_effects.txt.
The first 120 of its 215 lines; the rest is in game/common/scripted_effects/00_bastard_effects.txt from line 153.
Where it is used
Every place in common/, events/ and history/ that calls pregnancy_spouse_suspicion_chance_effect.
Events (1)
- Pregnancy!
pregnancy.1001
Scripted effects (1)
Source: game/common/scripted_effects/00_bastard_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.