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_reset_realm_law_variable_effect

coronation_reset_realm_law_variable_effect = yes

game/common/scripted_effects/10_ach_effects.txt, line 41 (22 lines). No parameters.

coronation_reset_realm_law_variable_effect is a scripted effect in Crusader Kings III, in the Coronations files, written at line 41 of its file. It takes no parameters: coronation_reset_realm_law_variable_effect = yes. The game's script calls it in 1 place, among them on_rank_down (on action). 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 (22 lines of game script)
coronation_reset_realm_law_variable_effect = {
	if = {
		limit = {
			NOR = {
				has_realm_law = crowned_emperor
				has_variable = nomad_migration_preserve_coronation
			}
			has_variable = crowned_emperor_var
		}
		remove_variable = crowned_emperor_var
	}
	else_if = {
		limit = {
			NOR = {
				has_realm_law = crowned_king
				has_variable = nomad_migration_preserve_coronation
			}
			has_variable = crowned_king_var
		}
		remove_variable = crowned_king_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_reset_realm_law_variable_effect.

On actions (the game's own hooks) (1)

  • on_rank_down

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?