Scripted effect · By God Alone files
pam_the_christian_church_saeculum_obscurum_end_clergy_divorce_effect
pam_the_christian_church_saeculum_obscurum_end_clergy_divorce_effect = yesgame/common/scripted_effects/pam_effects.txt, line 904 (28 lines). No parameters.
pam_the_christian_church_saeculum_obscurum_end_clergy_divorce_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 904 of its file. It takes no parameters: pam_the_christian_church_saeculum_obscurum_end_clergy_divorce_effect = yes. The game's script calls it in 1 place, among them The Christian Church (situation). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.
The comment above it in the file
Saeculum Obscurum ends - time to get divorced
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (28 lines of game script)
pam_the_christian_church_saeculum_obscurum_end_clergy_divorce_effect = {
every_situation_participant = {
limit = {
is_clergy = yes
rite = { rite_has_doctrine = doctrine_clerical_marriage_disallowed }
}
hidden_effect = {
if = {
limit = {
is_married = yes
is_ai = yes
}
every_spouse = {
limit = { is_ai = yes }
save_temporary_scope_as = saeculum_clergy_divorcee
less_verbose_divorce_effect = {
DIVORCER = prev
DIVORCEE = scope:saeculum_clergy_divorcee
}
}
}
if = {
limit = { exists = betrothed }
break_betrothal = betrothed
}
}
}
}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_saeculum_obscurum_end_clergy_divorce_effect.
Situations (1)
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.