﻿regula_government = {
	government_rules = {
		create_cadet_branches = yes
		rulers_should_have_dynasty = yes
		dynasty_named_realms = yes
		administrative = yes
		landless_playable = yes
		legitimacy = yes
		state_faith = yes
		use_as_base_on_landed = yes
		use_as_base_on_rank_up = yes
		inherit_from_dynastic_government = no
		sticky_government = yes
		house_aspirations = yes
		noble_families = yes
		admin_allows_holding_multiple_primary_tier_titles = yes
		treasury = yes
		replace_gold_cost_by_treasury = yes
	}

	royal_court = top_liege

	domicile_type = estate
	main_administrative_tier = duchy
	min_appointment_tier = duchy
	minimum_provincial_maa_tier = duchy

	fallback = 3

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

	vassal_contract_group = admin_vassal

	character_modifier = {
		levy_size = -0.5
		feudal_government_tax_contribution_mult = -0.5
		feudal_government_levy_contribution_mult = -0.5
		clan_government_tax_contribution_mult = -0.5
		clan_government_levy_contribution_mult = -0.5
		men_at_arms_cap = -2
		men_at_arms_limit = -2
		knight_limit = -5
		vassal_limit = 100
		active_accolades = -1
		title_creation_cost_mult = -0.5
		mercenary_hire_cost_mult = 2
		men_at_arms_maintenance = 0.5

		# Vassals get Treasury income that is this percentage less than their taxes to their liege
		monthly_treasury_from_liege_mult = -0.15
	}

	top_liege_character_modifier = {
		# 85% of vassal income goes to the treasury
		monthly_treasury_from_vassals = 0.85
		men_at_arms_maintenance = 1.5
		men_at_arms_recruitment_cost = 1
	}

	# Use flags instead of has_government for moddability if possible (i.e., wherever not visible to the player).
	flags = {
		government_is_administrative

		# These flags only exist for loc and in-game descriptions
		government_has_influence
		government_has_treasury
		government_has_title_men_at_arms
		government_has_powerful_families
		government_is_settled
		government_uses_domicile_but_not_adventurer
		government_uses_domain_limit
		government_uses_admin_province_obligations
	}

	mechanic_type = administrative
	is_mechanic_type_default = yes

	color = { 159 43 104 }
	realm_mask_offset = { 0.0 0.01 }
	realm_mask_scale = { 1 1 }
}