CK3 DatabaseCrusader Kings III · 1.20.0.3 “Crozier” · unofficial

Decision · Realm Decisions

Expand Duchy

As my realm grows, it is only natural that the core lands of … grows with it.

Requirements

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

  • … is the De Jure Capital of …
  • … has fewer than … De Jure Counties
Shown to a character when (is_shown) (33 lines of game script)
highest_held_title_tier >= tier_duchy
is_landed_or_landless_administrative = yes
trigger_if = {
	limit = {
		highest_held_title_tier = tier_duchy
	}
	any_held_title = {
		tier = tier_duchy
		NOR = {
			is_landless_type_title = yes
			is_noble_family_title = yes
		}
		save_temporary_scope_as = duchy_title
	}
}
trigger_else = {
	root.capital_county.duchy = {
		save_temporary_scope_as = duchy_title
	}
}
OR = {
	has_game_rule = on_custom_duchies
	AND = {
		is_ai = no
		has_game_rule = on_custom_duchies_player
	}
}
save_temporary_scope_as = root_scope_temporary
scope:duchy_title ?= {
	any_de_jure_county = {
		count < expand_duchy_max_size_value
	}
}

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

Can be taken when (is_valid) (70 lines of game script)
save_temporary_scope_as = root_scope_temporary
is_independent_ruler = yes
trigger_if = {
	limit = {
		highest_held_title_tier = tier_duchy
	}
	primary_title = {
		save_temporary_scope_as = duchy_title
	}
}
trigger_else = {
	root.capital_county.duchy = {
		save_temporary_scope_as = duchy_title
	}
}
trigger_if = {
	limit = {
		OR = {
			has_legitimacy = yes
			exists = scope:barony
		}
	}
	OR = {
		trigger_if = {
			limit = {
				government_has_flag = government_is_mandala
			}
			piety_level >= 3
		}
		trigger_else = {
			prestige_level >= 3
		}
		trigger_if = {
			limit = {
				has_legitimacy = yes
			}
			legitimacy_level >= 4
		}
		trigger_if = {
			limit = {
				exists = scope:barony
			}
			custom_tooltip = {
				text = expand_duchy_capital_tooltip
				scope:barony.county ?= root.primary_title.title_capital_county
			}
		}
	}
}
trigger_else = {
	prestige_level >= 3
}
custom_tooltip = {
	text = expand_duchy_less_than_4
	scope:duchy_title = {
		any_de_jure_county = {
			count < expand_duchy_max_size_value
		}
	}
}
trigger_if = {
	limit = {
		exists = scope:barony
	}
	scope:barony.county ?= {
		title_held_years >= 5
	}
}
is_available_adult = yes
is_at_war = no

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

Effects

The effect has no text of its own in the files; its script is below.

Effect (42 lines of game script)
if = {
	limit = {
		highest_held_title_tier = tier_duchy
	}
	primary_title = {
		save_temporary_scope_as = duchy_title_scope
	}
}
else = {
	root.capital_county.duchy = {
		save_temporary_scope_as = duchy_title_scope
	}
}
hidden_effect = {
	if = {
		limit = {
			scope:barony.duchy.title_capital_county ?= scope:barony.county
			scope:barony.duchy ?= {
				any_de_jure_county = {
					NOT = {
						this = scope:barony.county
					}
				}
			}
		}
		scope:barony.duchy = {
			ordered_de_jure_county = {
				order_by = development_level
				limit = {
					NOT = {
						this = scope:barony.county
					}
				}
				save_scope_as = new_duchy_capital
			}
			set_capital_county = scope:new_duchy_capital
		}
	}
}
scope:barony.county ?= {
	set_de_jure_liege_title = scope:duchy_title_scope
}

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