country_power = {
	type = country
	random_valid = no

	text = {
		trigger = {
			country_rank >= rank_value:great_power
		}
		localization_key = custom_loc_great_power
	}

	text = {
		trigger = {
			country_rank = rank_value:major_power
		}
		localization_key = custom_loc_major_power
	}

	text = {
		trigger = {
			country_rank = rank_value:minor_power
		}
		localization_key = custom_loc_minor_power
	}
	
	text = {
		trigger = {
			country_rank = rank_value:insignificant_power
		}
		localization_key = custom_loc_insignificant_power
	}
}