Scripted effect · By God Alone files
ecumenical_council_make_core_preview_effect
ecumenical_council_make_core_preview_effect = { DEMOTED = … PROMOTED = … }game/common/scripted_effects/pam_ecumenical_council_effects.txt, line 485 (19 lines). Parameters: $DEMOTED$, $PROMOTED$.
ecumenical_council_make_core_preview_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 485 of its file. A call passes 2 parameters: DEMOTED and PROMOTED. The game's script calls it in 2 places, among them Debate … (event ecumenical_council_events.0020) and Our Stance on … (event ecumenical_council_events.0010). Its body carries 2 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/pam_ecumenical_council_effects.txt.
What it does
Otherwise
- At the end of the debate phase, if there are more than 50% Innovators:
• 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 (19 lines of game script)
ecumenical_council_make_core_preview_effect = {
$PROMOTED$ = {
save_temporary_scope_as = ec_promoted_tenet
}
if = {
limit = {
faith = {
pam_faith_is_at_core_tenet_cap_trigger = yes
}
}
$DEMOTED$ = {
save_temporary_scope_as = ec_demoted_tenet
}
custom_tooltip = ecumenical_council_outcome_preview_make_core_tt
}
else = {
custom_tooltip = ecumenical_council_outcome_preview_adopt_core_tt
}
}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_make_core_preview_effect.
Events (2)
- Debate …
ecumenical_council_events.0020 - Our Stance on …
ecumenical_council_events.0010
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.20.1.2.