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_ceremony_prestige_effect

coronation_ceremony_prestige_effect = yes

game/common/scripted_effects/10_ach_effects.txt, line 1430 (166 lines). No parameters.

coronation_ceremony_prestige_effect is a scripted effect in Crusader Kings III, in the Coronations files, written at line 1430 of its file. It takes no parameters: coronation_ceremony_prestige_effect = yes. The game's script calls it in 2 places, among them The Kurultai (event coronation_events.6121) and The Three Assents (event coronation_events.6123). Its body carries 8 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/10_ach_effects.txt.

The comment above it in the file

For flavor and adjusting prestige in coronation ceremony the vassals' approval event

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 (120 lines of game script)
coronation_ceremony_prestige_effect = {
	if = {
		limit = {
			coronation_vassals_approval_value >= 3
		}
		add_prestige = massive_prestige_gain
	}
	else_if = {
		limit = {
			coronation_vassals_approval_value >= 2
		}
		add_prestige = major_prestige_gain
	}
	else_if = {
		limit = {
			coronation_vassals_approval_value >= 1
		}
		add_prestige = medium_prestige_gain
	}
	else_if = {
		limit = {
			coronation_vassals_approval_value >= 0
		}
		add_prestige = minor_prestige_gain
	}
	else_if = {
		limit = {
			coronation_vassals_approval_value >= -1
		}
		add_prestige = miniscule_prestige_gain
	}
	else_if = {
		limit = {
			coronation_vassals_approval_value >= -2
		}
		add_prestige = minor_prestige_loss
	}
	else_if = {
		limit = {
			coronation_vassals_approval_value >= -3
		}
		add_prestige = medium_prestige_loss
	}
	else_if = {
		limit = {
			coronation_vassals_approval_value >= -4
		}
		add_prestige = major_prestige_loss
	}
	else = {
		add_prestige = massive_prestige_loss
	}
	#Custom tooltip triggers need to match coronation_vassals_approval_value
	#Tooltip major reasons why or why not
	if = {
		limit = {
			has_activity_intent = coronation_embrace_supporters
		}
		custom_tooltip = coronation_prestige_embrace_supporters
	}
	if = {
		limit = {
			combined_supporter_vassal_strength > combined_detractor_vassal_strength
		}
		custom_tooltip = coronation_prestige_improved_by_supporters
	}
	if = {
		limit = {
			combined_detractor_vassal_strength > combined_supporter_vassal_strength
		}
		custom_tooltip = coronation_prestige_harmed_by_detractors
	}
	if = {
		limit = {
			OR = {
				any_targeting_faction = {
					faction_power >= scope:host.current_military_strength
					NOT = {
						faction_is_type = peasant_faction
					}
				}
				any_targeting_faction = {
					count >= 2
					NOT = {
						faction_is_type = peasant_faction
					}
				}
			}
		}
		custom_tooltip = coronation_prestige_harmed_by_factions
	}
	if = {
		limit = {
			OR = {
				has_trait = bastard
				has_trait = denounced
				has_trait = wild_oat
				has_trait = legitimized_bastard
				has_trait = gallivanter
				has_trait = disinherited
				has_trait = bastard_founder
				has_trait = disloyal
			}
		}
		custom_tooltip = coronation_prestige_harmed_by_ignoble_traits
	}
	if = {
		limit = {
			OR = {
				AND = {
					tyranny >= high_tyranny
					dread < high_dread
				}
				AND = {
					tyranny >= medium_tyranny
					dread < medium_dread
				}
			}
		}
		custom_tooltip = coronation_prestige_harmed_by_tyranny

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

The first 120 of its 166 lines; the rest is in game/common/scripted_effects/10_ach_effects.txt from line 1430.

Where it is used

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

Events (2)

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?