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 = {
			theocracy_government
			caste_government
			pharaoh_government
			parish_government
			holy_pharaoh
		}
		frame_suffix = "_theocracy"
		title_prefix = "temple_"
		potential = {
			NOT = {	religion_group = muslim	}	
			is_patrician = no
			NOR = {
			religion = taoist
			religion = confucianism
			culture_group = chinese_group
			top_liege = { culture_group = chinese_group }
			top_liege = { government = chinese_imperial_government }
			top_liege = { has_landed_title = e_china_west_governor }
			}
		}
		
		color = { 220 220 220 }
		
		can_create_kingdoms = no
		have_gender_laws = no
		can_be_granted_kingdoms_and_empires_by_other_government = no
		can_revoke_without_reason = no

		can_build_tribal = no
#		demesne_size= 3
	}
	
	
	confucian_bureaucracy = {
		preferred_holdings = { CITY }
		allowed_holdings = {
			CITY
			TEMPLE
			CASTLE
			FORT
			HOSPITAL
		}
		accepts_liege_governments = {
			chinese_imperial_government
			chinese_feudal_government
			governor_government
		}
		gets_religion_opinion_penalties = no
#		vassal_government_opinion_penalties = no
		frame_suffix = "_confucian"
		title_prefix = "confucian_"
		potential = {
			OR = {
			religion = confucianism
			has_landed_title = k_confucianism
			has_landed_title = k_han
			culture_group = chinese_group
			}
			NOT = {	has_landed_title = e_china_west_governor }
			NOT = {	has_landed_title = k_dao }
		}
		
		character_modifier = {
	        demesne_size = 5
		}
		
		color = { 94 187 185 }
		
		can_imprison_without_reason = no
		can_revoke_without_reason = no
		
		can_build_tribal = no
		
		have_gender_laws = no
		
		capital_move_delay = 600
		
		aggression = 0 # AI only attacks by script
		can_create_kingdoms = no
		can_create_empires = no
		can_demand_religious_conversion = no
		can_inherit = no
	}
	
	chinese_temple = {

		preferred_holdings = { TEMPLE }
		allowed_holdings = {
			TEMPLE
			CASTLE
			FORT
			HOSPITAL
		}
		accepts_liege_governments = {
			chinese_imperial_government
			chinese_feudal_government
			governor_government
		}
		gets_religion_opinion_penalties = no
#		vassal_government_opinion_penalties = no
		frame_suffix = "_chinesetemple"
#		title_prefix = "chinesetemple_"
		title_prefix = "temple_"
		potential = {
		OR = {
		religion = taoist
		religion = confucianism
		culture_group = chinese_group
		has_landed_title = k_taoist
		has_landed_title = k_dao
		top_liege = { culture_group = chinese_group }
		top_liege = { government = chinese_imperial_government }
		top_liege = { has_landed_title = e_china_west_governor }
		}
		NOT = {	has_landed_title = e_china_west_governor }
		NOT = {	has_landed_title = k_han }
		}
		
		character_modifier = {
			global_revolt_risk = -0.1
		}
		
		color = { 66 208 199 }
		
		can_imprison_without_reason = no
		can_revoke_without_reason = no
		
		can_build_tribal = no
		
		have_gender_laws = no
		
		capital_move_delay = 600
		
		aggression = 0 # AI only attacks by script
		can_create_kingdoms = no
		can_create_empires = no
#		can_demand_religious_conversion = no
		can_inherit = no
	}
	
	
}