Scripted effect
bastard_real_father_discovery_on_birth_effect
bastard_real_father_discovery_on_birth_effect = yesgame/common/scripted_effects/00_bastard_effects.txt, line 1177 (36 lines). No parameters.
bastard_real_father_discovery_on_birth_effect is a scripted effect in Crusader Kings III, written at line 1177 of its file. It takes no parameters: bastard_real_father_discovery_on_birth_effect = yes. The game's script calls it in 3 places, among them Fatherless (event birth.1005), My … (event birth.1002) and What's In A Name? (event birth.9002). 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 (36 lines of game script)
bastard_real_father_discovery_on_birth_effect = {
hidden_effect = {
random_secret = {
limit = {
OR = {
secret_type = secret_unmarried_illegitimate_child
secret_type = secret_disputed_heritage
}
secret_target = scope:child
}
save_scope_as = secret
}
scope:child.real_father = {
random = {
chance = real_father_suspicion_base_value
compare_modifier = {
value = intrigue
}
modifier = {
add = 25
has_trait = intellect_good
}
modifier = {
add = -20
has_trait = intellect_bad
}
trigger_event = {
id = birth.1006
days = 5
}
}
}
}
}As written in game/common/scripted_effects/00_bastard_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls bastard_real_father_discovery_on_birth_effect.
Events (3)
- Fatherless
birth.1005 - My …
birth.1002 - What's In A Name?
birth.9002
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.