Scripted trigger · By God Alone files
pam_papabile_barred_by_clerical_gender_trigger
pam_papabile_barred_by_clerical_gender_trigger = yesgame/common/scripted_triggers/pam_scripted_triggers.txt, line 7029 (9 lines). No parameters.
pam_papabile_barred_by_clerical_gender_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 7029 of its file. It takes no parameters: pam_papabile_barred_by_clerical_gender_trigger = yes (or no). The game's script calls it in 3 places, among them GetPamPapabileOwnScorePious (custom loc), GetPamPapabileOwnScorePopulist (custom loc) and GetPamPapabileOwnScorePowerful (custom loc). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.
What it checks
If
is_female = yes
Then
pam_papal_ruling_rite_has_parameter_trigger = { PARAMETER = clergy_must_be_male }
Otherwise
pam_papal_ruling_rite_has_parameter_trigger = { PARAMETER = clergy_must_be_female }
• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists
“They” is whatever it runs on (the scope it is called in). The scripted triggers and effects it calls link to their own pages; $PARAMETERS$ stay as written: each call fills them in.
The script as written (9 lines of game script)
pam_papabile_barred_by_clerical_gender_trigger = {
trigger_if = {
limit = { is_female = yes }
pam_papal_ruling_rite_has_parameter_trigger = { PARAMETER = clergy_must_be_male }
}
trigger_else = {
pam_papal_ruling_rite_has_parameter_trigger = { PARAMETER = clergy_must_be_female }
}
}As written in game/common/scripted_triggers/pam_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_papabile_barred_by_clerical_gender_trigger.
Customizable localization (3)
- GetPamPapabileOwnScorePious
- GetPamPapabileOwnScorePopulist
- GetPamPapabileOwnScorePowerful
Source: game/common/scripted_triggers/pam_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.