Scripted trigger
secret_unmarried_illegitimate_child_is_valid_trigger
secret_unmarried_illegitimate_child_is_valid_trigger = { TARGET = … }game/common/scripted_triggers/00_bastard_triggers.txt, line 53 (16 lines). Parameters: $TARGET$.
secret_unmarried_illegitimate_child_is_valid_trigger is a scripted trigger in Crusader Kings III, written at line 53 of its file. A call passes 1 parameter: TARGET. The game's script calls it in 2 places, among them pregnancy_maintainance_effect (scripted effect) and Child's Heritage (secret types). Patch 1.20.1.2, from game/common/scripted_triggers/00_bastard_triggers.txt.
What it checks
Every line of it is script with no tooltip text: the script is below.
The script as written (16 lines of game script)
secret_unmarried_illegitimate_child_is_valid_trigger = {
$TARGET$ = {
is_alive = yes
exists = real_father
exists = mother
NOT = { has_trait = child_of_concubine }
save_temporary_scope_as = temp_child
trigger_if = {
limit = {
exists = father
exists = scope:temp_child.real_father
}
father != scope:temp_child.real_father
}
}
}As written in game/common/scripted_triggers/00_bastard_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls secret_unmarried_illegitimate_child_is_valid_trigger.
Scripted effects (1)
Secret types (1)
- Child's Heritage
Source: game/common/scripted_triggers/00_bastard_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.