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

Scripted effect · Coronations files

coronation_oath_success_effect

coronation_oath_success_effect = { OATH = … }

game/common/scripted_effects/10_ach_effects.txt, line 832 (11 lines). Parameters: $OATH$.

coronation_oath_success_effect is a scripted effect in Crusader Kings III, in the Coronations files, written at line 832 of its file. A call passes 1 parameter: OATH. The game's script calls it in 17 places, among them Consolidate the … (decision), End the Iranian Intermezzo (decision) and Ensure Peace (decision). Patch 1.20.1.2, from game/common/scripted_effects/10_ach_effects.txt.

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 (11 lines of game script)
coronation_oath_success_effect = {
	save_scope_value_as = {
		name = find_oath
		value = flag:$OATH$
	}
	show_as_tooltip = {
		coronation_oath_reward_effect = { VARIABLE = $OATH$ }
	}

	trigger_event = coronation_events.0175
}

As written in game/common/scripted_effects/10_ach_effects.txt.

Where it is used

Every place in common/, events/ and history/ that calls coronation_oath_success_effect.

Source: game/common/scripted_effects/10_ach_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?