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_save_crowning_artifact_effect

coronation_save_crowning_artifact_effect = { HOST = … }

game/common/scripted_effects/10_ach_effects.txt, line 2204 (45 lines). Parameters: $HOST$.

coronation_save_crowning_artifact_effect is a scripted effect in Crusader Kings III, in the Coronations files, written at line 2204 of its file. A call passes 1 parameter: HOST. The game's script calls it in 3 places, among them The Crowning of … (event coronation_events.6100), The Crowning of … (event coronation_events.6101) and The Enthroning of … (event coronation_events.6102). 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 (45 lines of game script)
coronation_save_crowning_artifact_effect = {
	if = {
		limit = {
			coronation_proper_artifact_regalia_trigger = no
		}
		ordered_character_artifact = {
			order_by = artifact_rarity
			limit = {
				artifact_slot_type = helmet
				has_variable = artifact_succession_title
				var:artifact_succession_title = {
					this = $HOST$.primary_title
				}
			}
			alternative_limit = {
				artifact_slot_type = helmet
				NOT = { has_variable = artifact_succession_title }
			}
			alternative_limit = {
				artifact_slot_type = helmet
			}
			save_scope_as = crowning_artifact
		}
	}
	else = {
		ordered_character_artifact = {
			order_by = artifact_rarity
			limit = {
				artifact_slot_type = regalia
				has_variable = artifact_succession_title
				var:artifact_succession_title = {
					this = $HOST$.primary_title
				}
			}
			alternative_limit = {
				artifact_slot_type = regalia
				NOT = { has_variable = artifact_succession_title }
			}
			alternative_limit = {
				artifact_slot_type = regalia
			}
			save_scope_as = crowning_artifact
		}
	}
}

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

Events (3)

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?