CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

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

• 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)

20 more

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.

Spotted a mistake on this page?