Scripted effect
ce3_papal_bull_check_effect
ce3_papal_bull_check_effect = yesgame/common/scripted_effects/00_achievement_effects.txt, line 387 (35 lines). No parameters.
ce3_papal_bull_check_effect is a scripted effect in Crusader Kings III, written at line 387 of its file. It takes no parameters: ce3_papal_bull_check_effect = yes. The game's script calls it in 1 place, among them had_sex_with_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_achievement_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (35 lines of game script)
ce3_papal_bull_check_effect = { # Papal Bull
# had_sex_with_effect runs this, and the pope may be root or scope:had_sex_with_effect_partner
if = {
limit = {
has_title = title:k_papal_state
pam_pope_is_head_of_faith_or_rite_trigger = yes
exists = puppeteer
puppeteer = {
any_spouse = { this = scope:had_sex_with_effect_partner }
}
}
puppeteer = {
add_achievement_global_variable_effect = {
VARIABLE = ce3_12_papal_bull_achievement_unlocked
VALUE = yes
}
}
}
else_if = {
limit = {
scope:had_sex_with_effect_partner ?= {
has_title = title:k_papal_state
pam_pope_is_head_of_faith_or_rite_trigger = yes
exists = puppeteer
puppeteer = { any_spouse = { this = root } }
}
}
scope:had_sex_with_effect_partner.puppeteer = {
add_achievement_global_variable_effect = {
VARIABLE = ce3_12_papal_bull_achievement_unlocked
VALUE = yes
}
}
}
}As written in game/common/scripted_effects/00_achievement_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls ce3_papal_bull_check_effect.
Scripted effects (1)
Source: game/common/scripted_effects/00_achievement_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.