﻿
feudal_government = {
	government_rules = {
		create_cadet_branches = yes
		rulers_should_have_dynasty = yes
		administrative = no
		landless_playable = yes
		noble_families = yes
		dynasty_named_realms = yes
		use_as_base_on_landed = yes
		use_as_base_on_rank_up = yes
		house_aspirations = yes
		legitimacy = yes
	}

	royal_court = any
	
	fallback = 1

	character_modifier = {
		# DOMAIN
		domain_limit_max = 3 # Raised further by manor
	}

	domicile_type = feudal_domicile

	primary_holding = castle_holding
	valid_holdings = { temple_citadel_holding }
	required_county_holdings = { castle_holding city_holding church_holding }

	vassal_contract_group = feudal_vassal

	ai = {
		use_legends = no
	}

	# Use flags instead of has_government for moddability if possible (i.e., wherever not visible to the player).
	flags = {
		may_elevate_co_monarch
		government_is_feudal
		government_has_county_tier_noble_families
		has_special_house_aspirations
		government_is_settled
		government_uses_domicile_but_not_adventurer
		government_uses_crown_authority
		government_uses_domain_limit
		government_has_house_blocs
	}

	mechanic_type = feudal
	is_mechanic_type_default = yes

	color = hsv{ 0.67 1.00 0.78 }
	realm_mask_offset = { 0.0 0.01 }
	realm_mask_scale = { 1 1 }
}