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_disburse_rewards_effect

coronation_disburse_rewards_effect = yes

game/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

    Else if

    • scope:activity: Activity special type progression at least 75

    Then

    Else if

    • scope:activity: Activity special type progression at least 50

    Then

    Else if

    • scope:activity: Activity special type progression at least 25

    Then

  • 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 = root
          • has_vassal_stance = parochial
        • Opinion: Impressed
      • When has activity intent is Embrace Supporters › Their activity › • Because of your … Intent: Every Glory Hound and Zealot Vassal:
        • Where:
          • is_vassal_of = root
          • One of these

            • has_vassal_stance = glory_hound
            • or

              has_vassal_stance = zealot
        • Opinion: Impressed
      • When has activity intent is Weaken Detractors › Their activity › • Because of your … Intent: Every non-Detractor Belligerent Vassal:
        • Where:
          • is_vassal_of = root
          • has_vassal_stance = belligerent
          • NOT = { is_in_guest_subset = { name = detractor } }
        • Opinion: Impressed
      • When has activity intent is Impress Attendees › Their activity › • Because of your … Intent: Every Courtly and Minority Vassal:
        • Where:
          • is_vassal_of = root
          • One of these

            • has_vassal_stance = courtly
            • or

              has_vassal_stance = minority
        • Opinion: Impressed
  • 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:
  • add_prestige = { … }
  • If has Legitimacy:
    • add_legitimacy = { … }
  • If

    • has_activity_intent = coronation_exalt_crown

    Then

    • Their dynasty: The dynasty gains … Renown
  • If

    Then

• 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)

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?