INJECT_OR_CREATE:HAW = { # Hawaii
	dynamic_country_name = {
		name = dyn_c_hawaii_monarchy
		adjective = HAW_ADJ
	
		priority = 10
		is_main_tag_only = yes
	
		trigger = {
			exists = scope:actor
			scope:actor = {
				has_law = law_type:law_monarchy
			}
		}
	}
	dynamic_country_name = {
		name = dyn_c_hawaii_republic
		adjective = HAW_ADJ
	
		priority = 10
		is_main_tag_only = yes
	
		trigger = {
			exists = scope:actor
			scope:actor = {
				OR = {
					has_law = law_type:law_presidential_republic
					has_law = law_type:law_parliamentary_republic
					has_law = law_type:law_corporate_state
				}
			}
		}
	}
	dynamic_country_name = {
		name = dyn_c_hawaii_communist
		adjective = HAW_ADJ
	
		priority = 10
		is_main_tag_only = yes
	
		trigger = {
			exists = scope:actor
			scope:actor = {
				has_law = law_type:law_council_republic
			}
		}
	}
}

INJECT_OR_CREATE:IDN = { # Indonesia
	dynamic_country_name = {
		name = dyn_c_indonesia_communist
		adjective = IDN_ADJ
		
		is_main_tag_only = yes
		priority = 10
		
		trigger = {
			exists = scope:actor
			scope:actor = {
				has_law = law_type:law_council_republic
			}
		}
	}
	dynamic_country_name = {
		name = dyn_c_indonesia_monarchy
		adjective = IDN_ADJ
		
		is_main_tag_only = yes
		priority = 10
		
		trigger = {
			exists = scope:actor
			scope:actor = {
				has_law = law_type:law_monarchy
			}
		}
	}
	dynamic_country_name = {
		name = dyn_c_indonesia_republic
		adjective = IDN_ADJ
		
		is_main_tag_only = yes
		priority = 10
		
		trigger = {
			exists = scope:actor
			scope:actor = {
				OR = {
					has_law = law_type:law_presidential_republic
					has_law = law_type:law_parliamentary_republic
					has_law = law_type:law_corporate_state
				}
			}
		}
	}
	dynamic_country_name = { # Majapahit
		name = dyn_c_cnu_majapahit
		adjective = dyn_c_cnu_majapahit_adj
		
		is_main_tag_only = yes
		priority = 15
		
		trigger = {
			exists = scope:actor
			scope:actor ?= {
				has_law = law_type:law_monarchy
				ruler = {
					has_culture = cu:javan
				}
			}
		}
	}

	dynamic_country_name = { # Srivijaya
		name = dyn_c_cnu_srivijaya 
		adjective = dyn_c_cnu_srivijaya_adj
		
		is_main_tag_only = yes
		priority = 15
		
		trigger = {
			exists = scope:actor
			scope:actor ?= {
				has_law = law_type:law_monarchy
				ruler = {
					OR = {
						has_culture = cu:malay
						has_culture = cu:sumatran
					}
				}
			}
		}
	}
}

INJECT_OR_CREATE:NSW = { # New South Wales
	dynamic_country_name = {
		name = dyn_c_british_new_south_wales
		adjective = NSW_ADJ
		
		is_main_tag_only = yes
		priority = 10
		
		trigger = {
			exists = c:GBR
			c:GBR = {
				has_diplomatic_pact = {
					who = scope:actor
					type = colony
					is_initiator = yes
				}
			}
		}
	}
}

INJECT_OR_CREATE:SAS = { # South Australia
	dynamic_country_name = {
		name = dyn_c_british_south_australia
		adjective = SAS_ADJ
		
		is_main_tag_only = yes
		priority = 10
		
		trigger = {
			exists = c:GBR
			c:GBR = {
				has_diplomatic_pact = {
					who = scope:actor
					type = colony
					is_initiator = yes
				}
			}
		}
	}
}

INJECT_OR_CREATE:TAS = { # Tasmania
	dynamic_country_name = {
		name = dyn_c_british_tasmania
		adjective = TAS_ADJ
		
		is_main_tag_only = yes
		priority = 10
		
		trigger = {
			exists = c:GBR
			c:GBR = {
				has_diplomatic_pact = {
					who = scope:actor
					type = colony
					is_initiator = yes
				}
			}
		}
	}
}

INJECT_OR_CREATE:WAS = { # Western Australia
	dynamic_country_name = {
		name = dyn_c_british_western_australia
		adjective = WAS_ADJ
		
		is_main_tag_only = yes
		priority = 10
		
		trigger = {
			exists = c:GBR
			c:GBR = {
				has_diplomatic_pact = {
					who = scope:actor
					type = colony
					is_initiator = yes
				}
			}
		}
	}
}

INJECT_OR_CREATE:AST = { # Australia
	dynamic_country_name = {
		name = dyn_c_british_australia
		adjective = AST_ADJ
		
		is_main_tag_only = yes
		priority = 10
		
		trigger = {
			c:AST = {
			is_subject_of = c:GBR
			}
		}
	}
}

INJECT_OR_CREATE:NZL = { # New Zealand
	dynamic_country_name = {
		name = dyn_c_british_new_zealand
		adjective = NZL_ADJ
		
		is_main_tag_only = yes
		priority = 10
		
		trigger = {
			exists = c:GBR
			c:GBR = {
				has_diplomatic_pact = {
					who = scope:actor
					type = colony
					is_initiator = yes
				}
			}
		}
	}
	dynamic_country_name = {
		name = dyn_c_british_new_zealand_dominion
		adjective = NZL_ADJ
		
		is_main_tag_only = yes
		priority = 10
		
		trigger = {
			exists = c:GBR
			c:GBR = {
				has_diplomatic_pact = {
					who = scope:actor
					type = dominion
					is_initiator = yes
				}
			}
		}
	}
}

INJECT_OR_CREATE:PLY = { # Tahiti
	dynamic_country_name = {
		name = dyn_c_colonial_polynesia
		adjective = dyn_c_colonial_polynesia_adj
		use_overlord_prefix = yes
		
		is_main_tag_only = yes
		priority = 10
		
		trigger = {
			exists = scope:overlord
			scope:overlord = {
				has_diplomatic_pact = {
					who = scope:actor
					type = puppet
					is_initiator = yes
				}
			}
		}
	}
	dynamic_country_name = {
		name = dyn_c_colonial_polynesia
		adjective = dyn_c_colonial_polynesia_adj
		use_overlord_prefix = yes
		
		is_main_tag_only = yes
		priority = 10
		
		trigger = {
			exists = scope:overlord
			scope:overlord = {
				has_diplomatic_pact = {
					who = scope:actor
					type = dominion
					is_initiator = yes
				}
			}
		}
	}
	dynamic_country_name = {
		name = dyn_c_french_polynesia
		adjective = dyn_c_colonial_polynesia_adj
		
		is_main_tag_only = yes
		priority = 10
		
		trigger = {
			exists = c:FRA
			c:FRA = {
				has_diplomatic_pact = {
					who = scope:actor
					type = protectorate
					is_initiator = yes
				}
			}
		}
	}
}

INJECT_OR_CREATE:UNT = { # United Tribes
	dynamic_country_name = {
		name = dyn_c_united_tribes_monarchy
		adjective = UNT_ADJ
	
		priority = 10
		is_main_tag_only = yes
	
		trigger = {
			exists = scope:actor
			scope:actor = {
				has_law = law_type:law_monarchy
			}
		}
	}
	dynamic_country_name = {
		name = dyn_c_united_tribes_republic
		adjective = UNT_ADJ
	
		priority = 10
		is_main_tag_only = yes
	
		trigger = {
			exists = scope:actor
			scope:actor = {
				OR = {
					has_law = law_type:law_presidential_republic
					has_law = law_type:law_parliamentary_republic
					has_law = law_type:law_corporate_state
				}
			}
		}
	}
	dynamic_country_name = {
		name = dyn_c_united_tribes_theocracy
		adjective = UNT_ADJ
	
		priority = 10
		is_main_tag_only = yes
	
		trigger = {
			exists = scope:actor
			scope:actor = {
				has_law = law_type:law_theocracy
			}
		}
	}
	dynamic_country_name = {
		name = dyn_c_united_tribes_communist
		adjective = UNT_ADJ
	
		priority = 10
		is_main_tag_only = yes
	
		trigger = {
			exists = scope:actor
			scope:actor = {
				has_law = law_type:law_council_republic
			}
		}
	}
}

INJECT_OR_CREATE:ACE = { # Sumatra
	dynamic_country_name = {
		name = dyn_c_cnu_sumatra_monarchy
		adjective = dyn_c_cnu_sumatra_adj
		
		is_main_tag_only = yes
		priority = 8
		
		trigger = {
			exists = scope:actor
			scope:actor = {
				owns_entire_state_region = STATE_ACEH
				owns_entire_state_region = STATE_NORTH_SUMATRA
				owns_entire_state_region = STATE_SOUTH_SUMATRA
			has_law = law_type:law_monarchy
			}
		}
	}
	dynamic_country_name = {
		name = dyn_c_cnu_sumatra_republic
		adjective = dyn_c_cnu_sumatra_adj
		
		is_main_tag_only = yes
		priority = 8
		
		trigger = {
			exists = scope:actor
			scope:actor = {
				owns_entire_state_region = STATE_ACEH
				owns_entire_state_region = STATE_NORTH_SUMATRA
				owns_entire_state_region = STATE_SOUTH_SUMATRA
					OR = {
					has_law = law_type:law_presidential_republic
					has_law = law_type:law_parliamentary_republic
					has_law = law_type:law_corporate_state
				}
			}
		}
	}
	dynamic_country_name = {
		name = dyn_c_cnu_sumatra_theocracy
		adjective = dyn_c_cnu_sumatra_adj
		
		is_main_tag_only = yes
		priority = 8
		
		trigger = {
			exists = scope:actor
			scope:actor = {
				owns_entire_state_region = STATE_ACEH
				owns_entire_state_region = STATE_NORTH_SUMATRA
				owns_entire_state_region = STATE_SOUTH_SUMATRA
			has_law = law_type:law_theocracy
			}
		}
	}
	dynamic_country_name = {
		name = dyn_c_cnu_sumatra_communist
		adjective = dyn_c_cnu_sumatra_adj
		
		is_main_tag_only = yes
		priority = 8
		
		trigger = {
			exists = scope:actor
			scope:actor = {
				owns_entire_state_region = STATE_ACEH
				owns_entire_state_region = STATE_NORTH_SUMATRA
				owns_entire_state_region = STATE_SOUTH_SUMATRA
			has_law = law_type:law_council_republic
			}
		}
	}
}
