# -*- ck2.governments -*-

theocracy_governments = {

	theocracy_government = {
		preferred_holdings = { TEMPLE }
		allowed_holdings = {
			TEMPLE
			CASTLE
			FORT
			HOSPITAL
		}
		allowed_holdings_culture = { # Will not get the wrong government type penalty for tribes of the same culture
			TRIBAL
		}
		free_revoke_on_governments_religion = { # Tribal vassals of other religions can have their titles revoked for free
			tribal_government
		}
		accepts_liege_governments = {
			feudal_government
			bogomilist_government
			muslim_government
			republic_government
			merchant_republic_government
			imperial_government
			muslim_imperial_government
			theocratic_feudal_government
			chinese_imperial_government
			rtp_theocracy_g
		}
		frame_suffix = "_theocracy"
		title_prefix = "temple_"
		potential = {
			NOT = {	religion_group = muslim	}
			holy_order = no
			is_patrician = no
			OR = {
				is_female = no
				religion_allows_female_temple_holders = yes
			}
			OR = {
				is_female = yes
				religion_allows_male_temple_holders = yes
			}
			NOT = { 
				religion = hip_religion # Keep e_hip playable
			}
			NOR = {	
				is_government_potential = rtp_mercenary_g	
				is_government_potential = rtp_baron_mercenary_g	
				is_government_potential = rtp_landless_mercenary_g	
				is_government_potential = order_government	
				is_government_potential = rtp_baron_order_g	
				is_government_potential = rtp_landless_order_g	
			}
		}

		color = { 220 220 220 }

		can_create_kingdoms = no
		have_gender_laws = no
		can_be_granted_kingdoms_and_empires_by_other_government = no

		can_build_tribal = no
		
		ignore_in_vassal_limit_calculation = {
			tribal_government
		}
		capital_move_delay = 600
	}

}
