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_remove_variable_on_failure_effect

coronation_oath_remove_variable_on_failure_effect = { VAR = … }

game/common/scripted_effects/10_ach_effects.txt, line 844 (13 lines). Parameters: $VAR$.

coronation_oath_remove_variable_on_failure_effect is a scripted effect in Crusader Kings III, in the Coronations files, written at line 844 of its file. A call passes 1 parameter: VAR. The game's script calls it in 1 place, among them Broken Oath: … (event coronation_events.0150). Patch 1.20.1.2, from game/common/scripted_effects/10_ach_effects.txt.

What it does

Every line of it is script with no tooltip text: the script is below.

The script as written (13 lines of game script)
coronation_oath_remove_variable_on_failure_effect = {
	if = {
		limit = {
			has_variable = $VAR$
			NOT = { has_variable = $VAR$_timer }
		}
		save_scope_value_as = {
			name = find_oath
			value = flag:$VAR$
		}
		remove_variable = $VAR$
	}
}

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_remove_variable_on_failure_effect.

Events (1)

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?