Scripted effect · Coronations files
coronation_disburse_rewards_effect
coronation_disburse_rewards_effect = yesgame/common/scripted_effects/10_ach_effects.txt, line 2527 (386 lines). No parameters.
coronation_disburse_rewards_effect is a scripted effect in Crusader Kings III, in the Coronations files, written at line 2527 of its file. It takes no parameters: coronation_disburse_rewards_effect = yes. The game's script calls it in 2 places, among them Coronation (activity) and coronation_completed_log_entry_effect (scripted effect). 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.
What it does
If
- scope:activity: Activity special type progression at least 100
Then
- Prestige and Legitimacy gain from Oath completion: +160%
- Prestige and Legitimacy gain from Supporter Vassals(…) present at the Coronation: 150%
ach_coronation_ceremony_intent_modifiers_giveaway_effect = yes
Else if
- scope:activity: Activity special type progression at least 75
Then
ach_coronation_ceremony_intent_modifiers_giveaway_effect = yes- Prestige and Legitimacy gain from Oath completion: +120%
- Prestige and Legitimacy gain from Supporter Vassals(…) present at the Coronation: 75%
Else if
- scope:activity: Activity special type progression at least 50
Then
- Prestige and Legitimacy gain from Oath completion: +80%
- Prestige and Legitimacy gain from Supporter Vassals(…) present at the Coronation: 50%
Else if
- scope:activity: Activity special type progression at least 25
Then
- Prestige and Legitimacy gain from Oath completion: +40%
If
root = root.involved_activity.activity_host
Then
- Depending on has activity intent:
- When has activity intent is Exalt the Crown › Their activity › • Because of your … Intent: Every Parochial Vassal:
- Where:
is_vassal_of = roothas_vassal_stance = parochial
- Opinion: Impressed
- Where:
- When has activity intent is Embrace Supporters › Their activity › • Because of your … Intent: Every Glory Hound and Zealot Vassal:
- Where:
is_vassal_of = rootOne of these
has_vassal_stance = glory_houndor
has_vassal_stance = zealot
- Opinion: Impressed
- Where:
- When has activity intent is Weaken Detractors › Their activity › • Because of your … Intent: Every non-Detractor Belligerent Vassal:
- Where:
is_vassal_of = roothas_vassal_stance = belligerentNOT = { is_in_guest_subset = { name = detractor } }
- Opinion: Impressed
- Where:
- When has activity intent is Impress Attendees › Their activity › • Because of your … Intent: Every Courtly and Minority Vassal:
- Where:
is_vassal_of = rootOne of these
has_vassal_stance = courtlyor
has_vassal_stance = minority
- Opinion: Impressed
- Where:
- When has activity intent is Exalt the Crown › Their activity › • Because of your … Intent: Every Parochial Vassal:
- Depending on government has flag:
- When government has flag is Is Administrative:
change_influence = { value = medium_influence_value multiply = scope:coronation_reward_mult }
- When government has flag is Is Celestial:
change_influence = { value = medium_influence_value multiply = scope:coronation_reward_mult }
- When government has flag is Is Meritocratic:
change_influence = { value = medium_influence_value multiply = scope:coronation_reward_mult }
- When government has flag is Is Meritocratic Khanate:
change_influence = { value = medium_influence_value multiply = scope:coronation_reward_mult }
- When government has flag is Is Ritsuryō:
change_influence = { value = medium_influence_value multiply = scope:coronation_reward_mult }
- When government has flag is Is Nomadic: You are given … by Supporters
- When government has flag is Is Clan › scope:activity › One attending character, picked in order:
- Where:
house ?= scope:host.house- Is played by the AI
add_clan_unity_interaction_effect = { … }
- Where:
- When government has flag is Is Administrative:
add_prestige = { … }- If has Legitimacy:
add_legitimacy = { … }
If
- Their primary title:
has_title_law = confederation_elective_succession_law
- Does not have the Modifier: Chosen by Confederation
- Does not have the Modifier: First King of the Confederation
Then
- Gains the modifier “Chosen by Confederation”
- Legitimacy Gain +10%
- Vassal Opinion +10
- Herd Gain +5%
- Defender Advantage +3
- Title Creation Cost +100%
- Their primary title:
• 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_disburse_rewards_effect = {
if = { #Highest Magnificence Rewards
limit = {
scope:activity = { var:activity_special_type_progression >= 100 }
}
#Oath Legitimacy and Prestige upgrade notificiation
custom_tooltip = coronation_oath_upgrade_100
custom_tooltip = coronation_reward_100
save_scope_value_as = {
name = coronation_reward_mult
value = 2.5
}
ach_coronation_ceremony_intent_modifiers_giveaway_effect = yes
save_scope_value_as = {
name = coronation_vassal_opinion_gain
value = 20
}
}
else_if = { #High Magnificence Rewards
limit = {
scope:activity = { var:activity_special_type_progression >= 75 }
}
#Intent rewards
ach_coronation_ceremony_intent_modifiers_giveaway_effect = yes
#Oath Legitimacy and Prestige upgrade notificiation
custom_tooltip = coronation_oath_upgrade_75
custom_tooltip = coronation_reward_75
save_scope_value_as = {
name = coronation_reward_mult
value = 1.75
}
save_scope_value_as = {
name = coronation_vassal_opinion_gain
value = 15
}
}
else_if = { #Medium Magnificence Rewards
limit = {
scope:activity = { var:activity_special_type_progression >= 50 }
}
#Oath Legitimacy and Prestige upgrade notificiation
custom_tooltip = coronation_oath_upgrade_50
custom_tooltip = coronation_reward_50
save_scope_value_as = {
name = coronation_reward_mult
value = 1.5
}
save_scope_value_as = {
name = coronation_vassal_opinion_gain
value = 10
}
}
else_if = { #Low Magnificence Rewards
limit = {
scope:activity = { var:activity_special_type_progression >= 25 }
}
#Oath Legitimacy and Prestige upgrade notificiation
custom_tooltip = coronation_oath_upgrade_25
save_scope_value_as = {
name = coronation_vassal_opinion_gain
value = 5
}
save_scope_value_as = {
name = coronation_reward_mult
value = 1.25
}
}
else = {
save_scope_value_as = {
name = coronation_reward_mult
value = 1
}
}
if = {
limit = { exists = scope:coronation_vassal_opinion_gain root = root.involved_activity.activity_host }
switch = {
trigger = has_activity_intent
coronation_exalt_crown = {
involved_activity = {
every_attending_character = {
limit = {
is_vassal_of = root
has_vassal_stance = parochial
}
custom = exalt_crown_opinion
add_opinion = {
target = root
modifier = impressed_opinion
opinion = scope:coronation_vassal_opinion_gain
}
}
}
}
coronation_embrace_supporters = {
involved_activity = {
every_attending_character = {
limit = {
is_vassal_of = root
OR = {
has_vassal_stance = glory_hound
has_vassal_stance = zealot
}
}
custom = embrace_supporters_opinion
add_opinion = {As written in game/common/scripted_effects/10_ach_effects.txt.
The first 120 of its 386 lines; the rest is in game/common/scripted_effects/10_ach_effects.txt from line 2527.
Where it is used
Every place in common/, events/ and history/ that calls coronation_disburse_rewards_effect.
Activities (1)
Scripted effects (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.