feudal_governments = {

	bogomilist_government = {
		preferred_holdings = {
			CASTLE
			TEMPLE
		}
		allowed_holdings = {
			CASTLE
			TEMPLE
			FORT
			HOSPITAL
		}
		allowed_holdings_culture = { # Will not get the wrong government type penalty for tribes of the same culture
			TRIBAL
		}
		accepts_liege_governments = { # Gets the wrong religion modifier instead
			muslim_feudal_government
			feudal_government
			imperial_government
			muslim_imperial_government
			bogomilist_imperial_government
			monastic_feudal_government
			chinese_imperial_government
		}
		vassal_call_to_arms = {
			tribal_government
		}
		free_revoke_on_governments_religion = { # vassals of other religions can have their titles revoked for free
			tribal_government
			theocracy_government
		}
		color = { 121 103 77 }

		potential = {
			plus_bogomilist_government_potential = yes
		}
		allow = {
			plus_bogomilist_government_allow = yes
		}

		barons_need_dynasty = yes
		can_build_tribal = no
		dukes_called_kings = yes

		## Modifiers
		court_size_modifier = 10
	}

	imperial_government = {
		preferred_holdings = {
			CASTLE
		}
		allowed_holdings = {
			CASTLE
			FORT
			HOSPITAL
		}
		allowed_holdings_culture = { # Will not get the wrong government type penalty for tribes of the same culture
			TRIBAL
		}
		accepts_liege_governments = { # Gets the wrong religion modifier instead
			muslim_feudal_government
			bogomilist_government
			feudal_government
			imperial_government
			muslim_imperial_government
			bogomilist_imperial_government
		}
		free_revoke_on_governments_religion = { # Tribal vassals of other religions can have their titles revoked for free
			tribal_government
		}
		ignore_in_vassal_limit_calculation = {
			tribal_government
		}
		free_revoke_on_tiers = {
			DUKE
			KING
		}

		frame_suffix = "_imperial"
		title_prefix = "imperial_"
		color = { 176 52 253 }

		potential = {
			plus_imperial_government_potential = yes
		}

		allow = {
			plus_imperial_government_allow = yes
		}

		can_build_tribal = no
		dukes_called_kings = yes
		barons_need_dynasty = yes

		## Modifiers
		court_size_modifier = 15
	}

	muslim_imperial_government = {
		preferred_holdings = {
			CASTLE
		}
		allowed_holdings = {
			CASTLE
			TEMPLE
			FORT
			HOSPITAL
		}
		allowed_holdings_culture = { # Will not get the wrong government type penalty for tribes of the same culture
			TRIBAL
		}
		accepts_liege_governments = { # Gets the wrong religion modifier instead
			muslim_feudal_government
			bogomilist_government
			feudal_government
			imperial_government
			muslim_imperial_government
			bogomilist_imperial_government
		}
		free_revoke_on_governments_religion = { # Tribal vassals of other religions can have their titles revoked for free
			tribal_government
		}
		ignore_in_vassal_limit_calculation = {
			tribal_government
		}
		free_revoke_on_tiers = {
			DUKE
			KING
		}

		frame_suffix = "_imperial"
		title_prefix = "almulk_"
		color = { 76 152 153 }

		potential = {
			plus_muslim_imperial_government_potential = yes
		}
		allow = {
			plus_muslim_imperial_government_allow = yes
		}

		barons_need_dynasty = yes
		can_build_tribal = no
		dukes_called_kings = yes
		free_levies_in_offensive_war = yes # Took away the hardcoded stuff for muslims where they could raise levies without pissing off vassals if in an offensive war.
		free_retract_vassalage = yes
		have_gender_laws = no
		uses_piety_for_law_change = yes

		## Modifiers
		court_size_modifier = 15
	}

	bogomilist_imperial_government = {
		preferred_holdings = {
			CASTLE
			TEMPLE
		}
		allowed_holdings = {
			CASTLE
			TEMPLE
			FORT
			HOSPITAL
		}
		allowed_holdings_culture = { # Will not get the wrong government type penalty for tribes of the same culture
			TRIBAL
		}
		accepts_liege_governments = { # Gets the wrong religion modifier instead
			muslim_feudal_government
			feudal_government
			imperial_government
			muslim_imperial_government
			bogomilist_imperial_government
			monastic_feudal_government
		}
		free_revoke_on_governments_religion = { # vassals of other religions can have their titles revoked for free
			tribal_government
			theocracy_government
		}
		ignore_in_vassal_limit_calculation = {
			tribal_government
		}
		free_revoke_on_tiers = {
			DUKE
			KING
		}

		frame_suffix = "_imperial"
		title_prefix = "imperial_"
		color = { 151 133 107 }

		potential = {
			plus_imperial_group_potential = yes
			plus_bogomilist_imperial_government_potential = yes
		}
		allow = {
			plus_imperial_group_allow = yes
			plus_bogomilist_imperial_government_allow = yes
		}

		barons_need_dynasty = yes
		can_build_tribal = no
		dukes_called_kings = yes

		## Modifiers
		court_size_modifier = 15
	}
}