Scripted effect · By God Alone files
pam_seed_867_college_effect
pam_seed_867_college_effect = yesgame/common/scripted_effects/11_dlc_pam_scripted_effects.txt, line 587 (36 lines). No parameters.
pam_seed_867_college_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 587 of its file. It takes no parameters: pam_seed_867_college_effect = yes. The game's script calls it in 1 place, among them on_game_start (on action). Patch 1.20.1.2, from game/common/scripted_effects/11_dlc_pam_scripted_effects.txt.
What it does
If
Then
- Every in global list:
- Where › Their holder:
add_clerical_elector = scope:pam_867_pope.faith- Their holder › The Christian Church:
add_manual_participant = prev
- Ostia:
- Porto:
- Velletri:
- Frascati:
- Albano:
- Palestrina:
- Sabina:
- Every in global list:
• 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 (36 lines of game script)
pam_seed_867_college_effect = {
if = {
limit = {
has_pam_dlc_trigger = yes
title:k_papal_state.holder ?= {
faith ?= { has_doctrine_parameter = has_clerical_electors }
}
}
title:k_papal_state.holder = { save_scope_as = pam_867_pope }
every_in_global_list = {
variable = roma_cardinalates
limit = {
exists = holder
holder = {
this != scope:pam_867_pope
pam_can_hold_cardinalate_trigger = yes
pam_pope_is_head_of_faith_or_rite_trigger = yes
}
}
add_clerical_elector = scope:pam_867_pope.faith
holder = {
add_character_flag = cardinal_flag
situation:the_christian_church ?= {
add_manual_participant = prev
}
}
}
title:d_cd_ostia = { pam_seed_867_suburbicarian_see_effect = yes }
title:d_cd_porto = { pam_seed_867_suburbicarian_see_effect = yes }
title:d_cd_velletri = { pam_seed_867_suburbicarian_see_effect = yes }
title:d_cd_frascati = { pam_seed_867_suburbicarian_see_effect = yes }
title:d_cd_albano = { pam_seed_867_suburbicarian_see_effect = yes }
title:d_cd_palestrina = { pam_seed_867_suburbicarian_see_effect = yes }
title:d_cd_sabina = { pam_seed_867_suburbicarian_see_effect = yes }
}
}As written in game/common/scripted_effects/11_dlc_pam_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_seed_867_college_effect.
On actions (the game's own hooks) (1)
- on_game_start
Source: game/common/scripted_effects/11_dlc_pam_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.