Scripted effect
unmarried_mother_pregnancy_effect
unmarried_mother_pregnancy_effect = yesgame/common/scripted_effects/00_pregnancy_effects.txt, line 10 (21 lines). No parameters.
unmarried_mother_pregnancy_effect is a scripted effect in Crusader Kings III, written at line 10 of its file. It takes no parameters: unmarried_mother_pregnancy_effect = yes. The game's script calls it in 1 place, among them Out of Wedlock (event pregnancy.2001). Patch 1.20.1.2, from game/common/scripted_effects/00_pregnancy_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (21 lines of game script)
unmarried_mother_pregnancy_effect = {
add_trait_force_tooltip = pregnant
add_fornicator_trait_or_nothing_effect = yes
hidden_effect = {
set_known_bastard_on_pregnancy = yes #The bastard status is already known since the mother is unmarried.
if = {
limit = {
NOT = {
any_owned_story = {
type = story_peasant_affair
var:peasant_character = scope:mother.pregnancy_real_father
}
}
}
trigger_event = { #This parses whether the mother is planning to confess to a real_father, and checks if there are characters out there who should suspect that they might be the real father
id = adultery.1101
days = 20
}
}
}
}As written in game/common/scripted_effects/00_pregnancy_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls unmarried_mother_pregnancy_effect.
Events (1)
- Out of Wedlock
pregnancy.2001
Source: game/common/scripted_effects/00_pregnancy_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.