Scripted effect · Coronations files
coronation_ceremony_prestige_effect
coronation_ceremony_prestige_effect = yesgame/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
- If coronation vassals approval at least 3: Gain +750 Prestige
- Else, if coronation vassals approval at least 2: Gain +350 Prestige
- Else, if coronation vassals approval at least 1: Gain +150 Prestige
- Else, if coronation vassals approval at least 0: Gain +75 Prestige
- Else, if coronation vassals approval at least -1: Gain +35 Prestige
- Else, if coronation vassals approval at least -2: Gain -75 Prestige
- Else, if coronation vassals approval at least -3: Gain -150 Prestige
- Else, if coronation vassals approval at least -4: Gain -350 Prestige
- Otherwise: Gain -750 Prestige
If
has_activity_intent = coronation_embrace_supporters
Then
- Prestige improved by the Embrace Supporters Intent
- If combined supporter vassal strength more than combined detractor vassal strength: Prestige improved by Supporters
- If combined detractor vassal strength more than combined supporter vassal strength: Prestige harmed by Detractors
If
One of these
- Any targeting faction:
faction_power >= scope:host.current_military_strengthNOT = { faction_is_type = peasant_faction }
or
Targeting faction (at least 2):NOT = { faction_is_type = peasant_faction }
- Any targeting faction:
Then
- Prestige harmed by Factions in opposition
If
One of these
- Has the Trait: Bastard
or
Has the Trait: Denouncedor
Has the Trait: Wild Oator
Has the Trait: Legitimized Bastardor
Has the Trait: Gallivanteror
Has the Trait: Disinheritedor
Has the Trait: Bastard Founderor
Has the Trait: Disloyal
Then
- Prestige harmed by ignoble Traits
If
One of these
- Has the Trait: August
or
Has the Trait: Family Hierarchor
Has the Trait: Knight-Errantor
or
or
Has the Trait: Violet Poetor
Has the Trait: Diplomator
Has the Trait: Extolled by Houseor
Has the Trait: Augustusor
Has the Trait: Greatest of Khansor
Has the Trait: Gallant
Then
- Prestige improved by noble Traits
- If legitimacy Level is at least 5: Prestige improved by high Legitimacy
• 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_tyrannyAs 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)
- The Kurultai
coronation_events.6121 - The Three Assents
coronation_events.6123
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.