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_county_effect

coronation_ceremony_county_effect = yes

game/common/scripted_effects/10_ach_effects.txt, line 1830 (109 lines). No parameters.

coronation_ceremony_county_effect is a scripted effect in Crusader Kings III, in the Coronations files, written at line 1830 of its file. It takes no parameters: coronation_ceremony_county_effect = yes. The game's script calls it in 1 place, among them The Ceremony (event coronation_events.0205). Its body carries 9 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

Only going to do anything in root's realm, during beginning of coronation ceremony

What it does

  • scope:activity:
    • If

      • activity_location.county.holder = { … }

      Then

      • If

        • scope:activity.var:activity_special_type_progression >= 75

        Then

        • activity_location.county = { … }

        Else if

        • scope:activity.var:activity_special_type_progression >= 50

        Then

        • activity_location.county = { … }

        Else if

        • scope:activity.var:activity_special_type_progression >= 25

        Then

        • activity_location.county = { … }

• 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 (109 lines of game script)
coronation_ceremony_county_effect = {
	scope:activity = {
		if = {
			limit = {
				activity_location.county.holder = {
					OR = {
						this = scope:host
						any_liege_or_above = {
							this = scope:host
						}
					}
				}
			}
			if = {
				limit = {
					scope:activity.var:activity_special_type_progression >= 75
				}
				activity_location.county = {
					if = {
						limit = {
							county_control < 100
						}
						change_county_control = major_county_control_gain
					}
					if = {
						limit = { uses_county_fertility = yes }
						add_county_modifier = {
							modifier = major_coronation_approval_unsettled_modifier
							years = 10
							desc = coronation_modifier_removed_on_title_transfer_desc
						}
					}
					else = {
						add_county_modifier = {
							modifier = major_coronation_approval_modifier
							years = 10
							desc = coronation_modifier_removed_on_title_transfer_desc
						}
					}
					custom_tooltip = county_modifier_excellent_magnificence
					custom_tooltip = coronation_modifier_removed_on_title_transfer_tt
					custom_tooltip = coronation_modifier_negative_on_title_transfer_tt
				}
			}
			else_if = {
				limit = {
					scope:activity.var:activity_special_type_progression >= 50
				}
				activity_location.county = {
					if = {
						limit = {
							county_control < 100
						}
						change_county_control = medium_county_control_gain
					}
					if = {
						limit = { uses_county_fertility = yes }
						add_county_modifier = {
							modifier = medium_coronation_approval_unsettled_modifier
							years = 10
							desc = coronation_modifier_removed_on_title_transfer_desc
						}
					}
					else = {
						add_county_modifier = {
							modifier = medium_coronation_approval_modifier
							years = 10
							desc = coronation_modifier_removed_on_title_transfer_desc
						}
					}
					custom_tooltip = county_modifier_good_magnificence
					custom_tooltip = coronation_modifier_removed_on_title_transfer_tt
					custom_tooltip = coronation_modifier_negative_on_title_transfer_tt
				}
			}
			else_if = {
				limit = {
					scope:activity.var:activity_special_type_progression >= 25
				}
				activity_location.county = {
					if = {
						limit = {
							county_control < 100
						}
						change_county_control = minor_county_control_gain
					}
					if = {
						limit = { uses_county_fertility = yes }
						add_county_modifier = {
							modifier = minor_coronation_approval_unsettled_modifier
							years = 10
							desc = coronation_modifier_removed_on_title_transfer_desc
						}
					}
					else = {
						add_county_modifier = {
							modifier = minor_coronation_approval_modifier
							years = 10
							desc = coronation_modifier_removed_on_title_transfer_desc
						}
					}
					custom_tooltip = county_modifier_decent_magnificence
					custom_tooltip = coronation_modifier_removed_on_title_transfer_tt
					custom_tooltip = coronation_modifier_negative_on_title_transfer_tt
				}
			}
		}
	}
}

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

Events (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?