tributary = {
	can_expand = yes
	joins_overlord_wars = no
	calls_overlord_to_war = yes
	can_do_diplomacy = yes
	
	can_switch_to = {
		vassal protectorate
	}
	
	subject_tax_rate = {
		minerals = 0.25
		energy = 0.25
	}
	
	potential = {
		from = { is_country_type = default }
		 #ϣ۹г,ҲΪ
		NOR = {
		   has_authority = auth_xilin_mind
		   from = {  has_authority = auth_xilin_mind  }
		}
	}
	
	effect = {
		if = {
			limit = {
				from = { 	
					is_country_type_with_subjects = no
				}
			}
			set_subject_of = {
				who = none
			}
			break = yes
		}		
		if = {
			limit = {
				from = { 
					has_valid_civic = civic_hive_devouring_swarm
				}
			}
			set_subject_of = {
				who = none
			}
			break = yes
		}			
		if = {
			limit = {
				NOT = { is_same_species = from }
				from = { 
					has_valid_civic = civic_fanatic_purifiers
				}
			}
			set_subject_of = {
				who = none
			}
			break = yes
		}	
		if = {
			limit = {
				from = { 
					is_country_type = awakened_fallen_empire
					has_ethic = ethic_fanatic_materialist
				}
			}
			set_subject_of = {
				who = from
				subject_type = satellite
			}
			break = yes
		}	
		if = {
			limit = {
				from = { 
					is_country_type = awakened_fallen_empire
					has_ethic = ethic_fanatic_spiritualist
				}
			}
			set_subject_of = {
				who = from
				subject_type = dominion
			}
			break = yes
		}
		if = {
			limit = {
				from = { 
					is_country_type = awakened_fallen_empire
					has_ethic = ethic_fanatic_xenophile
				}
			}
			set_subject_of = {
				who = from
				subject_type = signatory
			}
			break = yes
		}
		if = {
			limit = {
				from = { 
					is_country_type = awakened_fallen_empire
					has_ethic = ethic_fanatic_xenophobe
				}
			}
			set_subject_of = {
				who = from
				subject_type = thrall
			}
			break = yes
		}
		#ϣ۹ӹת۹ӹ
		if = {
			limit = {
				from = { 
					NOT = { has_authority = auth_xilin_mind } #ϣ۹
				}
				OR = {
				  has_modifier =  m_xilin_discipline
	   			has_modifier =  m_xilin_servant_vassal
	   			has_modifier =  m_xilin_follower
	   			has_modifier =  m_xilin_blessed
				}
			}
			#Ƴmodifierflag
	    country_event = { id = xilin_diplomacy.5  }
		}
		if = {
			limit = {
				from = { 
					has_authority = auth_xilin_mind #ϣ۹
				}
			}
			set_subject_of = {
				who = none
			}
		}
	}	
}