Scripted effect · By God Alone files
ecumenical_council_set_proposal_effect
ecumenical_council_set_proposal_effect = { PROPOSAL = … }game/common/scripted_effects/pam_ecumenical_council_effects.txt, line 378 (52 lines). Parameters: $PROPOSAL$.
ecumenical_council_set_proposal_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 378 of its file. A call passes 1 parameter: PROPOSAL. The game's script calls it in 26 places, among them Debate … (event ecumenical_council_events.0020), Our Stance on … (event ecumenical_council_events.0010) and The … Question (event ecumenical_council_events.0050). Patch 1.20.1.2, from game/common/scripted_effects/pam_ecumenical_council_effects.txt.
The comment above it in the file
PROPOSAL = tenet status flag (first/second debate) or doctrine scope (third debate)
What it does
- scope:activity › Activity log entry:
• 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 (52 lines of game script)
ecumenical_council_set_proposal_effect = {
scope:activity = {
add_activity_log_entry = {
key = ecumenical_council_proposal_set_log
score = 0
tags = { completed }
character = scope:host
location = scope:host.location
if = {
limit = {
has_current_phase = ecumenical_council_phase_first_debate
}
set_variable = {
name = current_debate_proposal
value = $PROPOSAL$
}
set_variable = {
name = first_debate_proposal
value = $PROPOSAL$
}
}
else_if = {
limit = {
has_current_phase = ecumenical_council_phase_second_debate
}
set_variable = {
name = current_debate_proposal
value = $PROPOSAL$
}
set_variable = {
name = second_debate_proposal
value = $PROPOSAL$
}
}
else = {
# Keep current_debate_proposal a flag: tenet-status compares are type-unsafe vs a doctrine
set_variable = {
name = current_debate_proposal
value = flag:doctrine_change
}
set_variable = {
name = third_debate_proposal
value = $PROPOSAL$
}
}
# Preview the proposed change (tenet status or doctrine) in the entry tooltip without applying it.
show_as_tooltip = {
ecumenical_council_apply_debate_outcome_effect = yes
}
}
}
}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_set_proposal_effect.
Events (26)
- Debate …
ecumenical_council_events.0020 - Our Stance on …
ecumenical_council_events.0010 - The … Question
ecumenical_council_events.0050 - The … Question
ecumenical_council_events.0051 - The … Question
ecumenical_council_events.0052 - The … Question
ecumenical_council_events.0053
20 more
- The … Question
ecumenical_council_events.0054 - The … Question
ecumenical_council_events.0055 - The … Question
ecumenical_council_events.0056 - The … Question
ecumenical_council_events.0057 - The … Question
ecumenical_council_events.0058 - The … Question
ecumenical_council_events.0059 - The … Question
ecumenical_council_events.0060 - The … Question
ecumenical_council_events.0061 - The … Question
ecumenical_council_events.0062 - The … Question
ecumenical_council_events.0063 - The … Question
ecumenical_council_events.0064 - The … Question
ecumenical_council_events.0065 - The … Question
ecumenical_council_events.0066 - The … Question
ecumenical_council_events.0067 - The … Question
ecumenical_council_events.0068 - The … Question
ecumenical_council_events.0069 - The … Question
ecumenical_council_events.0070 - The … Question
ecumenical_council_events.0071 - The … Question
ecumenical_council_events.0072 - The … Question
ecumenical_council_events.0073
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.