Scripted effect · By God Alone files
pam_the_christian_church_clergy_has_child_catalyst_effect
pam_the_christian_church_clergy_has_child_catalyst_effect = { CHARACTER = … }game/common/scripted_effects/pam_effects.txt, line 5031 (34 lines). Parameters: $CHARACTER$.
pam_the_christian_church_clergy_has_child_catalyst_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 5031 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 2 places, among them Child's Heritage (secret types) and Disputed Heritage (secret types). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.
The comment above it in the file
Clergy has a child
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (34 lines of game script)
pam_the_christian_church_clergy_has_child_catalyst_effect = {
$CHARACTER$ = {
if = {
limit = {
has_pam_dlc_trigger = yes
is_clergy = yes
rite = { rite_has_doctrine = doctrine_clerical_marriage_disallowed }
any_character_situation = {
situation_type = the_christian_church
situation_top_has_catalyst = catalyst_clergy_has_child
}
}
if = {
limit = {
any_held_title = { is_head_of_faith = yes }
}
situation:the_christian_church = {
trigger_situation_catalyst = {
catalyst = catalyst_the_christian_church_head_of_faith_has_child
character = $CHARACTER$
}
}
}
else = {
situation:the_christian_church = {
trigger_situation_catalyst = {
catalyst = catalyst_clergy_has_child
character = $CHARACTER$
}
}
}
}
}
}As written in game/common/scripted_effects/pam_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_the_christian_church_clergy_has_child_catalyst_effect.
Secret types (2)
- Child's Heritage
- Disputed Heritage
Source: game/common/scripted_effects/pam_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.