#ϣ۹modרtriggers

#ӹҪĸ
#scope:ӹ
subject_need_rebuild_gov = {
		#ͨȺ
		has_authority = auth_hive_mind
		NOT = { has_valid_civic = civic_harmonious }
}

#ĿǷҪͽ
#scope:country This:Ŀ
need_xilin_punish = {
    #ͨ
		is_country_type = default 
		#ϣ۹ᱻͽ
		#OR = {
				has_country_flag  = f_insult_xilin  #ϣ
				#has_country_flag  = f_rival_of_xilin #ϣ޵
		#}
		#а賹Ĺ
		NOR =	{
				    has_country_flag  = f_evil_country #а
				    has_valid_civic = civic_fanatic_purifiers #
	      	  has_valid_civic = civic_hive_devouring_swarm #߱ɱȺ
	      	  has_civic = civic_machine_terminator #
		}
}

#ĿʱϣҪĹңΪʹӹ
#scope:country This:Ŀ
can_xilin_subjugation = {
		#ͨ
		is_country_type = default 
		#ϣ۹жԹҽҪ
		OR = {
				has_country_flag  = f_rival_of_xilin #ϣ޵
				has_country_flag  = f_refuse_destroy_claim #ϣ
		}
		#а賹Ĺ,ҲϣĹ
		NOR =	{
						has_country_flag  = f_insult_xilin  #ϣ
				    has_country_flag  = f_evil_country #а
				    has_valid_civic = civic_fanatic_purifiers #
	      	  has_valid_civic = civic_hive_devouring_swarm #߱ɱȺ
	      	  has_civic = civic_machine_terminator #
		}
}

#ĿǷҪϣ
#scope:country
need_xilin_liberate = {
		#ͨ
		is_country_type = default 
		#ϣжԵҿԽŵĹ
		OR = {
						has_country_flag  = f_insult_xilin #ϣ۹
	      		has_country_flag  = f_rival_of_xilin #ϣ޵
	      		has_valid_civic = civic_fanatic_purifiers #	      		
	      		AND = {
	      	  	 has_country_flag  = f_refuse_open_border_to_xilin #ܾϣ鿪ű߾
	      	  	 has_closed_borders = ROOT
	      		}
	      		has_country_flag  = f_refuse_destroy_claim #ϣ 
		}
		#˼򼫶ȨĹ
		OR = {
				has_ethic = ethic_fanatic_xenophobe
				has_ethic = ethic_xenophobe
				has_ethic = ethic_fanatic_authoritarian
		}
}


#Ŀϣĵ
#scope:country ROOT:XILIN_EMPIRE
is_xilin_enemy = {
		OR = {
						has_country_flag  = f_insult_xilin #ϣ۹
	      		has_country_flag  = f_rival_of_xilin #ϣ޵
	      		has_valid_civic = civic_fanatic_purifiers #
	      		has_valid_civic = civic_hive_devouring_swarm #߱ɱȺ
	      		has_civic = civic_machine_terminator #
	      		has_country_flag  = f_evil_country #а
	      		AND = {
	      	  	 has_country_flag  = f_refuse_open_border_to_xilin #ܾϣ鿪ű߾
	      	  	 has_closed_borders = ROOT
	      		}
	      		has_country_flag  = f_refuse_destroy_claim #ϣ 
		}
}