CK3 DatabaseCrusader Kings III · 1.20.0.3 “Crozier” · unofficial

Decision · Realm Decisions

Relocate De Jure Capital

It is time to realize the importance of … in our realm. It is my home, and it should be paid proper respect far and wide.

Requirements

The lines the game itself shows for this decision's conditions:

  • … is a De Jure County of …
  • … is not the De Jure Capital of …
  • Current De Jure Capital of … (…) is a part of the Realm
Shown to a character when (is_shown) (34 lines of game script)
highest_held_title_tier >= tier_duchy
any_held_title = {
	tier >= tier_duchy
	NOR = {
		is_landless_type_title = yes
		is_noble_family_title = yes
	}
}
OR = {
	AND = {
		highest_held_title_tier >= tier_duchy
		NOT = {
			root.capital_county = root.capital_county.duchy.title_capital_county
		}
	}
	AND = {
		highest_held_title_tier >= tier_kingdom
		NOT = {
			root.capital_county = root.capital_county.kingdom.title_capital_county
		}
	}
	AND = {
		highest_held_title_tier >= tier_empire
		NOT = {
			root.capital_county = root.capital_county.empire.title_capital_county
		}
	}
	AND = {
		highest_held_title_tier >= tier_hegemony
		NOT = {
			root.capital_county = root.capital_county.hegemony.title_capital_county
		}
	}
}

As written in game/common/decisions/80_major_decisions.txt.

Can be taken when (is_valid) (77 lines of game script)
root.capital_county = {
	save_temporary_scope_as = current_capital
}
trigger_if = {
	limit = {
		OR = {
			AND = {
				highest_held_title_tier = tier_duchy
				scope:set_duchy_capital = yes
			}
			AND = {
				highest_held_title_tier = tier_kingdom
				scope:set_kingdom_capital = yes
			}
			AND = {
				highest_held_title_tier = tier_empire
				scope:set_empire_capital = yes
			}
			AND = {
				highest_held_title_tier = tier_hegemony
				scope:set_hegemony_capital = yes
			}
		}
	}
	root.primary_title = {
		save_temporary_scope_as = current_de_jure
	}
}
trigger_else = {
	switch = {
		trigger = yes
		scope:set_duchy_capital = {
			root.capital_county.duchy = {
				save_temporary_scope_as = current_de_jure
			}
		}
		scope:set_kingdom_capital = {
			root.capital_county.kingdom = {
				save_temporary_scope_as = current_de_jure
			}
		}
		scope:set_empire_capital = {
			root.capital_county.empire = {
				save_temporary_scope_as = current_de_jure
			}
		}
		scope:set_hegemony_capital = {
			root.capital_county.hegemony = {
				save_temporary_scope_as = current_de_jure
			}
		}
	}
}
scope:current_de_jure.title_capital_county = {
	save_temporary_scope_as = title_check
}
has_title = scope:current_de_jure
custom_tooltip = {
	text = set_de_jure_not_de_jure_tooltip
	scope:current_de_jure = {
		is_de_jure_liege_or_above_target = scope:current_capital
	}
}
custom_tooltip = {
	text = set_de_jure_capital_already_done_tooltip
	NOT = {
		scope:title_check = scope:current_capital
	}
}
custom_tooltip = {
	text = set_de_jure_capital_hold_current_capital_tooltip
	any_sub_realm_county = {
		this = scope:title_check
	}
}
is_available_adult = yes
is_at_war = no

As written in game/common/decisions/80_major_decisions.txt.

Effects

  • … will be the new De Jure Capital of … Will destroy current Duchy Building
  • … will be the new De Jure Capital of …
Effect (114 lines of game script)
root.capital_county = {
	save_scope_as = current_capital_scope
}
if = {
	limit = {
		OR = {
			AND = {
				highest_held_title_tier = tier_duchy
				scope:set_duchy_capital = yes
			}
			AND = {
				highest_held_title_tier = tier_kingdom
				scope:set_kingdom_capital = yes
			}
			AND = {
				highest_held_title_tier = tier_empire
				scope:set_empire_capital = yes
			}
			AND = {
				highest_held_title_tier = tier_hegemony
				scope:set_hegemony_capital = yes
			}
		}
	}
	root.primary_title = {
		title_capital_county = {
			save_scope_as = old_capital
		}
		save_scope_as = current_de_jure_scope
	}
}
else = {
	switch = {
		trigger = yes
		scope:set_duchy_capital = {
			root.capital_county.duchy = {
				title_capital_county = {
					save_scope_as = old_capital
				}
				save_scope_as = current_de_jure_scope
			}
		}
		scope:set_kingdom_capital = {
			root.capital_county.kingdom = {
				title_capital_county = {
					save_scope_as = old_capital
				}
				save_scope_as = current_de_jure_scope
			}
		}
		scope:set_empire_capital = {
			root.capital_county.empire = {
				title_capital_county = {
					save_scope_as = old_capital
				}
				save_scope_as = current_de_jure_scope
			}
		}
		scope:set_hegemony_capital = {
			root.capital_county.hegemony = {
				title_capital_county = {
					save_scope_as = old_capital
				}
				save_scope_as = current_de_jure_scope
			}
		}
	}
}
if = {
	limit = {
		scope:set_duchy_capital = yes
	}
	custom_tooltip = {
		text = set_de_jure_capital_warning
	}
}
else = {
	custom_tooltip = {
		text = set_de_jure_capital_effect_tooltip
	}
}
hidden_effect = {
	scope:current_de_jure_scope ?= {
		set_capital_county = root.capital_county
	}
	if = {
		limit = {
			scope:set_duchy_capital = yes
		}
	}
	scope:old_capital ?= {
		duchy = {
			save_scope_as = current_duchy
		}
		title:d_zun_warriors = {
			save_scope_as = placeholder_duchy
		}
		scope:current_duchy = {
			every_de_jure_county = {
				limit = {
					NOT = {
						this = root.capital_county
					}
				}
				set_de_jure_liege_title = scope:placeholder_duchy
				add_to_list = correction_list
			}
		}
		every_in_list = {
			list = correction_list
			set_de_jure_liege_title = scope:current_duchy
		}
	}
}

As written in game/common/decisions/80_major_decisions.txt.

Source: game/common/decisions/80_major_decisions.txt and the English localisation, Crusader Kings III 1.20.0.3. “…” marks words the game fills in at play time (a name, a faith, a title).