#Europe
DUA = { #Dual Monarchy
	dynamic_country_name = {
		name = dyn_c_united_republic
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			coa_def_republic_flag_trigger = yes
		}
	}
	dynamic_country_name = {
		name = dyn_c_united_popular_republic
		
		is_main_tag_only = yes
		priority = 1
		
		trigger = {
			coa_def_communist_flag_trigger = yes
		}
	}
	dynamic_country_name = {
		name = dyn_c_western_empire_republic
		
		is_main_tag_only = yes
		priority = 1
		
		trigger = {
			coa_def_fascist_flag_trigger = yes
		}
	}
	dynamic_country_name = {
		name = dyn_c_united_archbishopric
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			coa_def_theocracy_flag_trigger = yes
		}
	}
	dynamic_country_name = {
		name = dyn_c_france
		adjective = dyn_c_anglois_adj

		is_main_tag_only = yes
		priority = 150
		
		trigger = {
			scope:actor = { 
				NOT = { exists = c:FRA }
				country_has_primary_culture = cu:french
			}
			coa_def_controls_part_of_france = yes
			coa_def_controls_part_of_england = no
		}
	}
	dynamic_country_name = {
		name = dyn_c_anglois_france
		adjective = dyn_c_anglois_adj

		is_main_tag_only = yes
		priority = 100
		
		trigger = {
			scope:actor = { 
				exists = c:FRA
				OR = {
					NOT = { has_global_variable = dua_global_revolted }
					has_global_variable = dua_global_revolted_won
				}
			}
			coa_def_controls_part_of_france = yes
			coa_def_controls_part_of_england = no
		}
	}
	dynamic_country_name = {
		name = dyn_c_britannie
		adjective = dyn_c_anglois_adj
		is_main_tag_only = yes
		priority = 100
		
		trigger = {
			coa_def_controls_part_of_england = yes
			coa_def_controls_part_of_france = no
		}
	}
}

DON = {
	dynamic_country_name = {
		name = dyn_c_don_absolute_monarchy
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			coa_def_absolute_monarchy_flag_trigger = yes
		}
	}
	dynamic_country_name = {
		name = dyn_c_don_republic
		
		is_main_tag_only = yes
		priority = 1
		
		trigger = {
			coa_def_republic_flag_trigger = yes
		}
	}
}

AKH = {
	dynamic_country_name = {
		name = dyn_c_akh_absolute_monarchy
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			coa_def_absolute_monarchy_flag_trigger = yes
		}
	}
	dynamic_country_name = {
		name = dyn_c_akh_republic
		
		is_main_tag_only = yes
		priority = 1
		
		trigger = {
			coa_def_republic_flag_trigger = yes
		}
	}
}

VOR = {
	dynamic_country_name = {
		name = dyn_c_vor_absolute_monarchy
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			coa_def_absolute_monarchy_flag_trigger = yes
		}
	}
	dynamic_country_name = {
		name = dyn_c_vor_republic
		
		is_main_tag_only = yes
		priority = 1
		
		trigger = {
			coa_def_republic_flag_trigger = yes
		}
	}
}

KHK = {
	dynamic_country_name = {
		name = dyn_c_khk_absolute_monarchy
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			coa_def_absolute_monarchy_flag_trigger = yes
		}
	}
	dynamic_country_name = {
		name = dyn_c_khk_republic
		
		is_main_tag_only = yes
		priority = 1
		
		trigger = {
			coa_def_republic_flag_trigger = yes
		}
	}
}

KIE = {
	dynamic_country_name = {
		name = dyn_c_kie_absolute_monarchy
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			coa_def_absolute_monarchy_flag_trigger = yes
		}
	}
	dynamic_country_name = {
		name = dyn_c_kie_republic
		
		is_main_tag_only = yes
		priority = 1
		
		trigger = {
			coa_def_republic_flag_trigger = yes
		}
	}
}

ZAZ = {
	dynamic_country_name = {
		name = dyn_c_zaz_absolute_monarchy
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			coa_def_absolute_monarchy_flag_trigger = yes
		}
	}
	dynamic_country_name = {
		name = dyn_c_zaz_republic
		
		is_main_tag_only = yes
		priority = 1
		
		trigger = {
			coa_def_republic_flag_trigger = yes
		}
	}
}

CSK = {
	dynamic_country_name = {
		name = dyn_c_csk_republic
		
		is_main_tag_only = yes
		priority = 1
		
		trigger = {
			coa_def_republic_flag_trigger = yes
		}
	}
	dynamic_country_name = {
		name = dyn_c_csk_fascist
		
		is_main_tag_only = yes
		priority = 1
		
		trigger = {
			coa_def_fascist_flag_trigger = yes
		}
	}
	dynamic_country_name = {
		name = dyn_c_csk_communist
		
		is_main_tag_only = yes
		priority = 1
		
		trigger = {
			coa_def_communist_flag_trigger = yes
		}
	}
}

SGF = { #Danubian Confederation
	dynamic_country_name = {
		name = dyn_c_danubian_commune
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			coa_def_communist_flag_trigger = yes
		}
	}
}

BOH = { # Bohemia
	dynamic_country_name = {
		name = dyn_c_elbian_confederation
		adjective = dyn_c_elbian_confederation_adj
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			exists = scope:actor
			scope:actor = {
				country_has_primary_culture = cu:north_german
				any_scope_state = {
					state_region = {
						is_homeland = cu:north_german
					}
				}
			}
		}
	}
}

BLO = {
	dynamic_country_name = {
		name = dyn_c_blo_absolute_monarchy
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			coa_def_absolute_monarchy_flag_trigger = yes
		}
	}
	dynamic_country_name = {
		name = dyn_c_blo_republic
		
		is_main_tag_only = yes
		priority = 1
		
		trigger = {
			coa_def_republic_flag_trigger = yes
		}
	}
}

UGG = {
	dynamic_country_name = {
		name = dyn_c_ugg_absolute_monarchy
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			coa_def_absolute_monarchy_flag_trigger = yes
		}
	}
	dynamic_country_name = {
		name = dyn_c_ugg_republic
		
		is_main_tag_only = yes
		priority = 1
		
		trigger = {
			coa_def_republic_flag_trigger = yes
		}
	}
}

VYA = {
	dynamic_country_name = {
		name = dyn_c_vya_absolute_monarchy
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			coa_def_absolute_monarchy_flag_trigger = yes
		}
	}
	dynamic_country_name = {
		name = dyn_c_vya_republic
		
		is_main_tag_only = yes
		priority = 1
		
		trigger = {
			coa_def_republic_flag_trigger = yes
		}
	}
}

UDM = {
	dynamic_country_name = {
		name = dyn_c_udm_absolute_monarchy
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			coa_def_absolute_monarchy_flag_trigger = yes
		}
	}
	dynamic_country_name = {
		name = dyn_c_udm_republic
		
		is_main_tag_only = yes
		priority = 1
		
		trigger = {
			coa_def_republic_flag_trigger = yes
		}
	}
}

PRM = {
	dynamic_country_name = {
		name = dyn_c_prm_absolute_monarchy
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			coa_def_absolute_monarchy_flag_trigger = yes
		}
	}
	dynamic_country_name = {
		name = dyn_c_prm_republic
		
		is_main_tag_only = yes
		priority = 1
		
		trigger = {
			coa_def_republic_flag_trigger = yes
		}
	}
}

MUS = { #Muscovy
	dynamic_country_name = {
		name = dyn_c_mus_absolute_monarchy
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			coa_def_absolute_monarchy_flag_trigger = yes
		}
	}
	dynamic_country_name = {
		name = dyn_c_mus_communist
		
		is_main_tag_only = yes
		priority = 1
		
		trigger = {
			coa_def_communist_flag_trigger = yes
		}
	}
	dynamic_country_name = {
		name = dyn_c_mus_fascist
		
		is_main_tag_only = yes
		priority = 1
		
		trigger = {
			coa_def_fascist_flag_trigger = yes
		}
	}
}

NOV = {
	dynamic_country_name = {
		name = dyn_c_nov_absolute_monarchy
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			coa_def_absolute_monarchy_flag_trigger = yes
		}
	}
	dynamic_country_name = {
		name = dyn_c_nov_republic
		
		is_main_tag_only = yes
		priority = 1
		
		trigger = {
			coa_def_republic_flag_trigger = yes
		}
	}
	dynamic_country_name = {
		name = dyn_c_nov_lord
		
		is_main_tag_only = yes
		priority = 10
		
		trigger = {
			exists = scope:actor
			scope:actor = { 
				has_law = law_type:law_presidential_republic 
			}
		}
	}
}

#Americas
ARC = { #Arcadia
	dynamic_country_name = {
		name = dyn_c_arcadian_empire
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			coa_def_monarchy_flag_trigger = yes
		}
	}
	dynamic_country_name = {
		name = dyn_c_arcadian_union
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			coa_def_republic_flag_trigger = yes
		}
	}
	dynamic_country_name = {
		name = dyn_c_arcadian_freehold
		
		is_main_tag_only = yes
		priority = 1
		
		trigger = {
			coa_def_fascist_flag_trigger = yes
		}
	}
	dynamic_country_name = {
		name = dyn_c_csra
		
		is_main_tag_only = yes
		priority = 1
		
		trigger = {
			coa_def_communist_flag_trigger = yes
		}
	}
}

AME = { #Ameriga
	dynamic_country_name = {
		name = dyn_c_amerigan_empire
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			coa_def_monarchy_flag_trigger = yes
		}
	}
	dynamic_country_name = {
		name = dyn_c_amerigan_federation
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			coa_def_republic_flag_trigger = yes
		}
	}
	dynamic_country_name = {
		name = dyn_c_amerigan_state
		
		is_main_tag_only = yes
		priority = 1
		
		trigger = {
			coa_def_fascist_flag_trigger = yes
		}
	}
	dynamic_country_name = {
		name = dyn_c_usra
		
		is_main_tag_only = yes
		priority = 1
		
		trigger = {
			coa_def_communist_flag_trigger = yes
		}
	}
}

#East Asia
MCH = { #Manchuria
	dynamic_country_name = {
		name = dyn_c_qing
		adjective = dyn_c_qing_adj
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			coa_def_monarchy_flag_trigger = yes
		}
	}
}

FRS = { #Formosa
	dynamic_country_name = {
		name = dyn_c_tungning
		adjective = dyn_c_tungning_adj
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			coa_def_monarchy_flag_trigger = yes
		}
	}
}

#India
BIK = { #Bikaner
	dynamic_country_name = { #Rajputana
		name = dyn_c_rajputana
		adjective = dyn_c_rajputana_adj
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			exists = scope:actor
			scope:actor = {
				owns_entire_state_region = STATE_RAJPUTANA
			}
		}
	}
}

JAI = { #Jaipur
	dynamic_country_name = { #Rajputana
		name = dyn_c_rajputana
		adjective = dyn_c_rajputana_adj
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			exists = scope:actor
			scope:actor = {
				owns_entire_state_region = STATE_RAJPUTANA
			}
		}
	}
}

JAS = { #Jaisalmer
	dynamic_country_name = { #Rajputana
		name = dyn_c_rajputana
		adjective = dyn_c_rajputana_adj
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			exists = scope:actor
			scope:actor = {
				owns_entire_state_region = STATE_RAJPUTANA
			}
		}
	}
}

JOD = { #Jodhpur
	dynamic_country_name = { #Rajputana
		name = dyn_c_rajputana
		adjective = dyn_c_rajputana_adj
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			exists = scope:actor
			scope:actor = {
				owns_entire_state_region = STATE_RAJPUTANA
			}
		}
	}
}

MEW = { #Mewar
	dynamic_country_name = { #Rajputana
		name = dyn_c_rajputana
		adjective = dyn_c_rajputana_adj
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			exists = scope:actor
			scope:actor = {
				owns_entire_state_region = STATE_RAJPUTANA
			}
		}
	}
}

MUG = { #Hindustan
	dynamic_country_name = {
		name = dyn_c_mughal_empire
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			coa_def_monarchy_flag_trigger = yes
		}
	}
}

SUG = { #Sugbo
	dynamic_country_name = {
		name = dyn_c_christianias
		adjective = dyn_c_christianias_adj
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			exists = scope:actor
			scope:actor = {
				owns_entire_state_region = STATE_LUZON
				owns_entire_state_region = STATE_VISAYAS
				owns_entire_state_region = STATE_MINDANAO
			}
		}
	}
}

BEI = { #Burgundian East Indies
	dynamic_country_name = {
		name = dyn_c_burgundian_east_indies
		adjective = dyn_c_burgundian_east_indies_adj
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			exists = c:BRG
			scope:actor = {
				has_law = law_type:law_presidential_republic 
				is_subject_of = c:BRG
			}
		}
	}
}

CHR = { #Scandinavian East Indies
	dynamic_country_name = {
		name = dyn_c_scandinavian_east_indies
		adjective = dyn_c_scandinavian_east_indies_adj
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			exists = c:SCA
			scope:actor = {
				has_law = law_type:law_presidential_republic 
				is_subject_of = c:SCA
			}
		}
	}
}

PLM = {
	dynamic_country_name = {
		name = dyn_c_plm_agency
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			exists = c:BEI
			scope:actor = {
				is_subject_of = c:BEI
			}
		}
	}
}

CEL = {
	dynamic_country_name = {
		name = dyn_c_cel_agency
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			exists = c:BEI
			scope:actor = {
				is_subject_of = c:BEI
			}
		}
	}
}

BLC = { #Belgian Confederation
	dynamic_country_name = {
		name = dyn_c_new_burgundy
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			coa_def_monarchy_flag_trigger = yes
		}
	}
	dynamic_country_name = {
		name = dyn_c_east_arcadian
		
		is_main_tag_only = yes
		priority = 1
		
		trigger = {
			coa_def_communist_flag_trigger = yes
		}
	}
	dynamic_country_name = {
		name = dyn_c_empire_belgica
		
		is_main_tag_only = yes
		priority = 1
		
		trigger = {
			coa_def_fascist_flag_trigger = yes
		}
	}
}

AZB = { # Azerbaijan
	dynamic_country_name = {
		name = dyn_c_safavid_empire
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			coa_def_monarchy_flag_trigger = yes
		}
	}

	dynamic_country_name = {
		name = dyn_c_baku_commune
		adjective = dyn_c_baku_commune_adj
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			coa_def_independent_trigger = yes
			coa_def_communist_flag_trigger = yes
			owns_entire_state_region = STATE_AZERBAIJAN
		}
	}

	dynamic_country_name = {
		name = dyn_c_centrocaspian_dictatorship
		adjective = dyn_c_centrocaspian_dictatorship_adj
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			coa_def_dictatorship_flag_trigger = yes
			
			coa_def_british_ensign_trigger = yes
		}
	}
}

AFG = {
	dynamic_country_name = {
		name = dyn_c_sadozai
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			coa_def_undemocratic_monarchy_flag_trigger = yes
		}
	}
}

HLR = { #Holy Roman Empire HRE
	dynamic_country_name = {
		name = dyn_c_freistaat_mitteleuropa
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			coa_def_republic_flag_trigger = yes
		}
	}
	dynamic_country_name = {
		name = dyn_c_the_urrm
		
		is_main_tag_only = yes
		priority = 1
		
		trigger = {
			coa_def_communist_flag_trigger = yes
		}
	}
	dynamic_country_name = {
		name = dyn_c_imperial_order
		
		is_main_tag_only = yes
		priority = 1
		
		trigger = {
			coa_def_fascist_flag_trigger = yes
		}
	}
	dynamic_country_name = {
		name = dyn_c_holy_empire_of_christ
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			coa_def_theocracy_flag_trigger = yes
		}
	}
}

GRA = {
	dynamic_country_name = {
		name = dyn_c_viceroyalty_of_new_granada
		
		is_main_tag_only = yes
		priority = 100
		
		trigger = {
			exists = c:SPA
			c:SPA = {
				has_diplomatic_pact = {
					who = c:GRA
					type = puppet
					is_initiator = yes
				}
			}
		}
	}
	dynamic_country_name = {	
		name = dyn_c_free_viceroyalty_of_new_granada
		
		is_main_tag_only = yes
		priority = 100
		
		trigger = {
			exists = c:SPA
			c:SPA = {
				has_diplomatic_pact = {
					who = c:GRA
					type = dominion
					is_initiator = yes
				}
			}
		}
	}
}

QUI = {
	dynamic_country_name = {
		name = dyn_c_viceroyalty_of_caladero
		
		is_main_tag_only = yes
		priority = 100
		
		trigger = {
			exists = c:SPA
			OR = {
				c:SPA = {
					has_diplomatic_pact = {
						who = c:QUI
						type = puppet
						is_initiator = yes
					}
				}
				c:SPA = {
					has_diplomatic_pact = {
						who = c:QUI
						type = dominion
						is_initiator = yes
					}
				}
			}
		}
	}
	dynamic_country_name = {
		name = dyn_c_quito
		
		is_main_tag_only = yes
		priority = 10
		
		trigger = {
			exists = scope:actor
			scope:actor = { 
				has_variable = dvg_quito
			}
		}
	}
	dynamic_country_name = {
		name = dyn_c_granada_toledo
		
		is_main_tag_only = yes
		priority = 10
		
		trigger = {
			exists = scope:actor
			scope:actor = { 
				has_variable = dvg_martin_is_super_glad
			}
		}
	}
	dynamic_country_name = {
		name = dyn_c_puna
		
		is_main_tag_only = yes
		priority = 10
		
		trigger = {
			exists = scope:actor
			scope:actor = { 
				has_variable = dvg_puna
			}
		}
	}
}

GCO = {
	dynamic_country_name = {
		name = dyn_c_viceroyalty_of_new_spain
		
		is_main_tag_only = yes
		priority = 100
		
		trigger = {
			exists = c:SPA
			OR = {
				c:SPA = {
					has_diplomatic_pact = {
						who = c:GCO
						type = puppet
						is_initiator = yes
					}
				}
				c:SPA = {
					has_diplomatic_pact = {
						who = c:GCO
						type = dominion
						is_initiator = yes
					}
				}
			}
		}
	}
}

UCA = {
	dynamic_country_name = {
		name = dyn_c_viceroyalty_of_salvadore
		
		is_main_tag_only = yes
		priority = 100
		
		trigger = {
			exists = c:SPA
			OR = {
				c:SPA = {
					has_diplomatic_pact = {
						who = c:UCA
						type = puppet
						is_initiator = yes
					}
				}
				c:SPA = {
					has_diplomatic_pact = {
						who = c:UCA
						type = dominion
						is_initiator = yes
					}
				}
			}
		}
	}
}

LUS = {
	dynamic_country_name = {
		name = dyn_c_viceroyalty_of_new_portugal
		
		is_main_tag_only = yes
		priority = 100
		
		trigger = {
			exists = c:SPA
			OR = {
				c:SPA = {
					has_diplomatic_pact = {
						who = c:LUS
						type = puppet
						is_initiator = yes
					}
				}
				c:SPA = {
					has_diplomatic_pact = {
						who = c:LUS
						type = dominion
						is_initiator = yes
					}
				}
			}
		}
	}
}

MEX = {
	dynamic_country_name = {
		name = dyn_c_viceroyalty_of_new_spain
		
		is_main_tag_only = yes
		priority = 100
		
		trigger = {
			exists = c:SPA
			OR = {
				c:SPA = {
					has_diplomatic_pact = {
						who = c:MEX
						type = puppet
						is_initiator = yes
					}
				}
				c:SPA = {
					has_diplomatic_pact = {
						who = c:MEX
						type = dominion
						is_initiator = yes
					}
				}
			}
		}
	}
}
	
TWT = {
	dynamic_country_name = {
		name = dyn_c_viceroyalty_of_bolivia
		
		is_main_tag_only = yes
		priority = 100
		
		trigger = {
			exists = c:SPA
			OR = {
				c:SPA = {
					has_diplomatic_pact = {
						who = c:TWT
						type = puppet
						is_initiator = yes
					}
				}
				c:SPA = {
					has_diplomatic_pact = {
						who = c:TWT
						type = dominion
						is_initiator = yes
					}
				}
			}
		}
	}
}

BSG = { #Begluk Bačka
	dynamic_country_name = {
		name = dyn_c_begluk
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			coa_def_monarchy_flag_trigger = yes
		}
	}
}

JAP = {
	dynamic_country_name = {
		name = dyn_c_japanese_empire
		
		is_main_tag_only = yes
		priority = 10
		
		trigger = {
			coa_def_monarchy_flag_trigger = yes
		}
	}
	dynamic_country_name = {
		name = dyn_c_area_eleven
		
		is_main_tag_only = yes
		priority = 10000
		
		trigger = {
			exists = c:HBE
			OR = {
				c:HBE = {
					has_diplomatic_pact = {
						who = c:JAP
						type = puppet
						is_initiator = yes
					}
				}
				c:HBE = {
					has_diplomatic_pact = {
						who = c:JAP
						type = dominion
						is_initiator = yes
					}
				}
				c:HBE = {
					has_diplomatic_pact = {
						who = c:JAP
						type = protectorate
						is_initiator = yes
					}
				}
			}
		}
	}
}

SLV = {
	dynamic_country_name = {
		name = dyn_c_nitra
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			exists = c:HUN
			OR = {
				c:HUN = {
					has_diplomatic_pact = {
						who = c:SLV
						type = puppet
						is_initiator = yes
					}
				}
				c:HUN = {
					has_diplomatic_pact = {
						who = c:SLV
						type = dominion
						is_initiator = yes
					}
				}
			}
		}
	}
}

MOR = {
	dynamic_country_name = {
		name = dyn_c_morocco_dvg
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			exists = c:SPA
			exists = c:MOR
			OR = {
				c:SPA = {
					has_diplomatic_pact = {
						who = c:MOR
						type = puppet
						is_initiator = yes
					}
				}
				c:SPA = {
					has_diplomatic_pact = {
						who = c:MOR
						type = dominion
						is_initiator = yes
					}
				}
			}
		}
	}
}

CCR = {
	dynamic_country_name = {
		name = dyn_c_ccr_company
		
		is_main_tag_only = yes
		priority = 0
		trigger = {
			OR = {
				c:SPA = {
					has_diplomatic_pact = {
						who = c:CCR
						type = puppet
						is_initiator = yes
					}
				}
				c:SPA = {
					has_diplomatic_pact = {
						who = c:CCR
						type = dominion
						is_initiator = yes
					}
				}
			}
		}
	}
}

CC2 = {
	dynamic_country_name = {
		name = dyn_c_cc2_company
		
		is_main_tag_only = yes
		priority = 0
		trigger = {
			OR = {
				c:SPA = {
					has_diplomatic_pact = {
						who = c:CC2
						type = puppet
						is_initiator = yes
					}
				}
				c:SPA = {
					has_diplomatic_pact = {
						who = c:CC2
						type = dominion
						is_initiator = yes
					}
				}
			}
		}
	}
}

BEO = {
	dynamic_country_name = {
		name = dyn_c_viceroyalty_of_new_andalusia
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			exists = c:SPA
			OR = {
				c:SPA = {
					has_diplomatic_pact = {
						who = c:BEO
						type = puppet
						is_initiator = yes
					}
				}
				c:SPA = {
					has_diplomatic_pact = {
						who = c:BEO
						type = dominion
						is_initiator = yes
					}
				}
			}
		}
	}
}

LOT = {
	dynamic_country_name = {
		name = dyn_c_lot_absolute_monarchy
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			coa_def_absolute_monarchy_flag_trigger = yes
		}
	}
	
}

ZSA = {
	dynamic_country_name = {
		name = dyn_c_sultanate_of_zhushan
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			coa_def_monarchy_flag_trigger = yes
		}
	}
}

ZHR = {
	dynamic_country_name = {
		name = dyn_c_sultanate_of_zhourao
		
		is_main_tag_only = yes
		priority = 10
		
		trigger = {
			coa_def_monarchy_flag_trigger = yes
			rel:sunni = {
				is_state_religion = c:ZHR
			}
		}
	}
}

UBT = {
	dynamic_country_name = {
		name = dyn_c_ubt_republic
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			coa_def_republic_flag_trigger = yes
		}
	}
	dynamic_country_name = {
		name = dyn_c_ubt_communist
		
		is_main_tag_only = yes
		priority = 1
		
		trigger = {
			coa_def_communist_flag_trigger = yes
		}
	}
}

MLT = { #Sovereign Military Order of Malta
	dynamic_country_name = {
		name = dyn_c_mlt_order
		
		is_main_tag_only = yes
		priority = 1
		
		trigger = {
			coa_def_theocracy_flag_trigger = yes
		}
	}
	dynamic_country_name = {
		name = dyn_c_mlt_orderii
		
		is_main_tag_only = yes
		priority = 1
		
		trigger = {
			coa_def_monarchy_flag_trigger = yes
		}
	}
}

TRT = { #Prince-Bishopric of Trent
	dynamic_country_name = {
		name = dyn_c_trt
		
		is_main_tag_only = yes
		priority = 1
		
		trigger = {
			coa_def_theocracy_flag_trigger = yes
		}
	}
}

VEN = { #Most Serene Republic of Venice 
	dynamic_country_name = {
		name = dyn_c_serene_venice
		
		is_main_tag_only = yes
		priority = 1
		
		trigger = {
			exists = scope:actor
			scope:actor = { 
				has_law = law_type:law_presidential_republic 
			}
		}
	}
}

GEN = { #Republic of Genoa
	dynamic_country_name = {
		name = dyn_c_genoa_republic
		
		is_main_tag_only = yes
		priority = 1
		
		trigger = {
			exists = scope:actor
			scope:actor = { 
				coa_def_republic_flag_trigger = yes
			}
		}
	}
}

RAG = { #Republic of Ragusa
	dynamic_country_name = {
		name = dyn_c_ragusa_republic
		
		is_main_tag_only = yes
		priority = 1
		
		trigger = {
			exists = scope:actor
			scope:actor = { 
				coa_def_republic_flag_trigger = yes
			}
		}
	}
}

HDJ = { #Sharifate of Mecca
	dynamic_country_name = {
		name = dyn_c_hdj
		
		is_main_tag_only = yes
		priority = 1
		
		trigger = {
			coa_def_theocracy_flag_trigger = yes
		}
	}
	dynamic_country_name = {
		name = dyn_c_hdj
		
		is_main_tag_only = yes
		priority = 1
		
		trigger = {
			coa_def_monarchy_flag_trigger = yes
		}		
	}
}

CFR = { #Rhenish Union
	dynamic_country_name = {
		name = dyn_c_cfr_monarchy
		
		is_main_tag_only = yes
		priority = 1
		
		trigger = {
			coa_def_monarchy_flag_trigger = yes
		}
	}
	dynamic_country_name = {
		name = dyn_c_cfr_republic
		
		is_main_tag_only = yes
		priority = 1
		
		trigger = {
			coa_def_republic_flag_trigger = yes
		}
	}
}

ARI = {
	dynamic_country_name = {
		name = dyn_c_latin_empire
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			coa_def_absolute_monarchy_flag_trigger = yes
		}
	}
}

TRC = {
	dynamic_country_name = {
		name = dyn_c_timurtash
		adjective = dyn_c_timurtash_adj
		
		is_main_tag_only = yes
		priority = 0
		
		trigger = {
			coa_def_monarchy_flag_trigger = yes
		}
	}
}

FRA = { #France
	dynamic_country_name = {
		name = dyn_c_commune_france
		
		is_main_tag_only = no # good name for a communist revolution
		priority = 0
		
		trigger = {
			coa_def_communist_flag_trigger = yes
		}
	}
}
