Scripted effect · By God Alone files
ecumenical_council_host_rite_adopt_doctrine_effect
ecumenical_council_host_rite_adopt_doctrine_effect = yesgame/common/scripted_effects/pam_ecumenical_council_effects.txt, line 608 (26 lines). No parameters.
ecumenical_council_host_rite_adopt_doctrine_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 608 of its file. It takes no parameters: ecumenical_council_host_rite_adopt_doctrine_effect = yes. The game's script calls it in 1 place, among them ecumenical_council_apply_debate_outcome_effect (scripted effect). Its body carries 1 text of the game's own for the player. Patch 1.21.0, from game/common/scripted_effects/pam_ecumenical_council_effects.txt.
The comment above it in the file
A host who leads a branched rite carries a passed doctrine ruling over to that rite Reads scope:ec_proposal_doctrine Head of faith doctrines are main rite only, so they never carry over
What it does
ecumenical_council_save_host_branched_rite_effect = yesIf
NOT = { scope:ec_proposal_doctrine = doctrine:doctrine_no_head }NOT = { scope:ec_proposal_doctrine = doctrine:doctrine_spiritual_head }NOT = { scope:ec_proposal_doctrine = doctrine:doctrine_temporal_head }scope:ec_host_rite:- Does not have the scope:ec proposal doctrine Doctrine
rite_can_choose_doctrine = scope:ec_proposal_doctrine
Then
- scope:ec_host_rite: … also adopts …
• 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 (26 lines of game script)
ecumenical_council_host_rite_adopt_doctrine_effect = {
ecumenical_council_save_host_branched_rite_effect = yes
if = {
limit = {
exists = scope:ec_host_rite
exists = scope:ec_proposal_doctrine
NOR = {
scope:ec_proposal_doctrine = doctrine:doctrine_no_head
scope:ec_proposal_doctrine = doctrine:doctrine_spiritual_head
scope:ec_proposal_doctrine = doctrine:doctrine_temporal_head
}
scope:ec_host_rite = {
NOT = { rite_has_doctrine = scope:ec_proposal_doctrine }
rite_can_choose_doctrine = scope:ec_proposal_doctrine
}
}
scope:ec_host_rite = {
custom_tooltip = {
text = ecumenical_council_host_rite_adopts_doctrine_tt
hidden_effect = {
change_rite_doctrine = scope:ec_proposal_doctrine
}
}
}
}
}As written in game/common/scripted_effects/pam_ecumenical_council_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls ecumenical_council_host_rite_adopt_doctrine_effect.
Scripted effects (1)
Source: game/common/scripted_effects/pam_ecumenical_council_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.21.0.