﻿#######################################
# Pratihara Realms
# For the cultures of pratihara Empire
#######################################
PrincePratihara = {
	type = character
	text = {
		trigger = {
			any_parent = {
				is_independent_ruler = yes
				faith = {
					has_doctrine = tenet_struggle_submission
				}
			}
		}
		localization_key = sultan_prince_male_pratihara
	}
	text = {
		fallback = yes
		localization_key =  prince_default_male_pratihara
	}
}
PrincessPratihara = {
	type = character
	text = {
		trigger = {
			any_parent = {
				is_independent_ruler = yes
				faith = {
					has_doctrine = tenet_struggle_submission
				}
			}
		}
		localization_key = sultan_prince_female_pratihara
	}
	text = {
		fallback = yes
		localization_key =  prince_default_female_pratihara
	}
}
QueenMPratihara = {
	type = character
	text = {
		trigger = {
			faith = {
				has_doctrine = tenet_struggle_submission
			}
		}
		localization_key = sultan_female_pratihara
	}
	text = {
		fallback = yes
		localization_key =  queen_mother_default_pratihara
	}
}
PratiharaIndepCounty = {
	type = character
	text = {
		trigger = {
			highest_held_title_tier >= tier_duchy
		}
		localization_key = county_pratihara
	}
	text = {
		fallback = yes
		localization_key = independent_county_pratihara
	}
}
DukeMalePratihara = {
	type = character
	text = {
		trigger = {
			OR = {
				vassal_contract_has_flag = has_march_contract
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						vassal_contract_has_flag = has_march_contract
					}
				}
			}
		}
		localization_key = marquess_pratihara
	}
	text = {
		trigger = {
			OR = {
				vassal_contract_has_flag = has_palatinate_contract
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						vassal_contract_has_flag = has_palatinate_contract
					}
				}
			}
		}
		localization_key = palatine_pratihara
	}
	text = {
		localization_key = duke_default_male_pratihara
		fallback = yes
	}
}
DukeFemalePratihara = {
	type = character
	text = {
		trigger = {
			OR = {
				vassal_contract_has_flag = has_march_contract
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						vassal_contract_has_flag = has_march_contract
					}
				}
			}
		}
		localization_key = marquess_pratihara
	}
	text = {
		trigger = {
			OR = {
				vassal_contract_has_flag = has_palatinate_contract
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						vassal_contract_has_flag = has_palatinate_contract
					}
				}
			}
		}
		localization_key = palatine_pratihara
	}
	text = {
		localization_key = duke_default_female_pratihara
		fallback = yes
	}
}
DuchyPratihara = {
	type = character
	text = {
		trigger = {
			vassal_contract_has_flag = has_march_contract
		}
		localization_key = march_pratihara
	}
	text = {
		localization_key = duchy_default_pratihara
		fallback = yes
	}
}
PratiharaIndepDuchy = {
	type = character
	text = {
		trigger = {
			highest_held_title_tier >= tier_kingdom
		}
		localization_key = duchy_default_pratihara
	}
	text = {
		fallback = yes
		localization_key = independent_duchy_pratihara
	}
}
KingMalePratihara = {
	type = character
	text = {
		trigger = {
			OR = {
				AND = {
					is_independent_ruler = yes
					root.faith = {
						has_doctrine = tenet_struggle_submission
					}
				}
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						is_independent_ruler = yes
						faith = {
							has_doctrine = tenet_struggle_submission
						}
					}
				}
			}
		}
		localization_key = sultan_male_pratihara
	}
	text = {
		fallback = yes
		localization_key = king_default_male_pratihara
	}
}
KingFemalePratihara = {
	type = character
	text = {
		trigger = {
			OR = {
				AND = {
					is_independent_ruler = yes
					root.faith = {
						has_doctrine = tenet_struggle_submission
					}
				}
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						is_independent_ruler = yes
						faith = {
							has_doctrine = tenet_struggle_submission
						}
					}
				}
			}
		}
		localization_key = sultan_female_pratihara
	}
	text = {
		fallback = yes
		localization_key = king_default_female_pratihara
	}
}
KingFemaleHolderPratihara = {
	type = character
	text = {
		trigger = {
			OR = {
				AND = {
					is_independent_ruler = yes
					root.faith = {
						has_doctrine = tenet_struggle_submission
					}
				}
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						is_independent_ruler = yes
						faith = {
							has_doctrine = tenet_struggle_submission
						}
					}
				}
			}
		}
		localization_key = sultan_female_pratihara
	}
	text = {
		fallback = yes
		localization_key = king_default_female_holder_pratihara
	}
}
KingdomPratihara = {
	type = character
	text = {
		trigger = {
			is_independent_ruler = yes
			root.faith = {
				has_doctrine = tenet_struggle_submission
			}
		}
		localization_key = sultanate_pratihara
	}
	text = {
		fallback = yes
		localization_key = kingdom_default_pratihara
	}
}
#######################################
# Pala Realms
# For the pala and Bihari cultures
#######################################
PrincePala = {
	type = character
	text = {
		trigger = {
			any_parent = {
				is_independent_ruler = yes
				faith = {
					has_doctrine = tenet_struggle_submission
				}
			}
		}
		localization_key = sultan_prince_male_pala
	}
	text = {
		fallback = yes
		localization_key =  prince_default_male_pala
	}
}
PrincessPala = {
	type = character
	text = {
		trigger = {
			any_parent = {
				is_independent_ruler = yes
				faith = {
					has_doctrine = tenet_struggle_submission
				}
			}
		}
		localization_key = sultan_prince_female_pala
	}
	text = {
		fallback = yes
		localization_key =  prince_default_female_pala
	}
}
QueenMPala = {
	type = character
	text = {
		trigger = {
			faith = {
				has_doctrine = tenet_struggle_submission
			}
		}
		localization_key = sultan_female_pala
	}
	text = {
		fallback = yes
		localization_key =  queen_mother_default_pala
	}
}
PalaIndepCounty = {
	type = character
	text = {
		trigger = {
			highest_held_title_tier >= tier_duchy
		}
		localization_key = county_pala
	}
	text = {
		fallback = yes
		localization_key = independent_county_pala
	}
}
DukeMalePala = {
	type = character
	text = {
		trigger = {
			OR = {
				vassal_contract_has_flag = has_march_contract
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						vassal_contract_has_flag = has_march_contract
					}
				}
			}
		}
		localization_key = marquess_pala
	}
	text = {
		trigger = {
			OR = {
				vassal_contract_has_flag = has_palatinate_contract
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						vassal_contract_has_flag = has_palatinate_contract
					}
				}
			}
		}
		localization_key = palatine_pala
	}
	text = {
		localization_key = duke_default_male_pala
		fallback = yes
	}
}
DukeFemalePala = {
	type = character
	text = {
		trigger = {
			OR = {
				vassal_contract_has_flag = has_march_contract
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						vassal_contract_has_flag = has_march_contract
					}
				}
			}
		}
		localization_key = marquess_pala
	}
	text = {
		trigger = {
			OR = {
				vassal_contract_has_flag = has_palatinate_contract
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						vassal_contract_has_flag = has_palatinate_contract
					}
				}
			}
		}
		localization_key = palatine_pala
	}
	text = {
		localization_key = duke_default_female_pala
		fallback = yes
	}
}
DuchyPala = {
	type = character
	text = {
		trigger = {
			vassal_contract_has_flag = has_march_contract
		}
		localization_key = march_pala
	}
	text = {
		localization_key = duchy_default_pala
		fallback = yes
	}
}
PalaIndepDuchy = {
	type = character
	text = {
		trigger = {
			highest_held_title_tier >= tier_kingdom
		}
		localization_key = duchy_default_pala
	}
	text = {
		fallback = yes
		localization_key = independent_duchy_pala
	}
}
KingMalePala = {
	type = character
	text = {
		trigger = {
			OR = {
				AND = {
					is_independent_ruler = yes
					root.faith = {
						has_doctrine = tenet_struggle_submission
					}
				}
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						is_independent_ruler = yes
						faith = {
							has_doctrine = tenet_struggle_submission
						}
					}
				}
			}
		}
		localization_key = sultan_male_pala
	}
	text = {
		fallback = yes
		localization_key = king_default_male_pala
	}
}
KingMaleHolderPala = {
	type = character
	text = {
		trigger = {
			OR = {
				AND = {
					is_independent_ruler = yes
					root.faith = {
						has_doctrine = tenet_struggle_submission
					}
				}
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						is_independent_ruler = yes
						faith = {
							has_doctrine = tenet_struggle_submission
						}
					}
				}
			}
		}
		localization_key = sultan_male_pala
	}
	text = {
		fallback = yes
		localization_key = king_default_male_holder_pala
	}
}
KingFemalePala = {
	type = character
	text = {
		trigger = {
			OR = {
				AND = {
					is_independent_ruler = yes
					root.faith = {
						has_doctrine = tenet_struggle_submission
					}
				}
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						is_independent_ruler = yes
						faith = {
							has_doctrine = tenet_struggle_submission
						}
					}
				}
			}
		}
		localization_key = sultan_female_pala
	}
	text = {
		fallback = yes
		localization_key = king_default_female_pala
	}
}
KingFemaleHolderPala = {
	type = character
	text = {
		trigger = {
			OR = {
				AND = {
					is_independent_ruler = yes
					root.faith = {
						has_doctrine = tenet_struggle_submission
					}
				}
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						is_independent_ruler = yes
						faith = {
							has_doctrine = tenet_struggle_submission
						}
					}
				}
			}
		}
		localization_key = sultan_female_pala
	}
	text = {
		fallback = yes
		localization_key = king_default_female_holder_pala
	}
}
KingdomPala = {
	type = character
	text = {
		trigger = {
			is_independent_ruler = yes
			root.faith = {
				has_doctrine = tenet_struggle_submission
			}
		}
		localization_key = sultanate_pala
	}
	text = {
		fallback = yes
		localization_key = kingdom_default_pala
	}
}
#######################################
# Rashtrakuta Realms
# For Deccan Cultures
#######################################
PrinceDeccan = {
	type = character
	text = {
		trigger = {
			any_parent = {
				is_independent_ruler = yes
				faith = {
					has_doctrine = tenet_struggle_submission
				}
			}
		}
		localization_key = sultan_prince_male_deccan
	}
	text = {
		fallback = yes
		localization_key =  prince_default_male_deccan
	}
}
PrincessDeccan = {
	type = character
	text = {
		trigger = {
			any_parent = {
				is_independent_ruler = yes
				faith = {
					has_doctrine = tenet_struggle_submission
				}
			}
		}
		localization_key = sultan_prince_female_deccan
	}
	text = {
		fallback = yes
		localization_key =  prince_default_female_deccan
	}
}
QueenMDeccan = {
	type = character
	text = {
		trigger = {
			faith = {
				has_doctrine = tenet_struggle_submission
			}
		}
		localization_key = sultan_female_deccan
	}
	text = {
		fallback = yes
		localization_key =  king_default_female_deccan
	}
}
DeccanIndepDuchy = {
	type = character
	text = {
		trigger = {
			highest_held_title_tier >= tier_kingdom
		}
		localization_key = duchy_deccan
	}
	text = {
		fallback = yes
		localization_key = independent_duchy_deccan
	}
}
DukeMaleDeccan = {
	type = character
	text = {
		trigger = {
			OR = {
				vassal_contract_has_flag = has_march_contract
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						vassal_contract_has_flag = has_march_contract
					}
				}
			}
		}
		localization_key = marquess_male_deccan
	}
	text = {
		localization_key = duke_default_male_deccan
		fallback = yes
	}
}
DukeFemaleDeccan = {
	type = character
	text = {
		trigger = {
			OR = {
				vassal_contract_has_flag = has_march_contract
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						vassal_contract_has_flag = has_march_contract
					}
				}
			}
		}
		localization_key = marquess_female_deccan
	}
	text = {
		localization_key = duke_default_female_deccan
		fallback = yes
	}
}
DuchyDeccan = {
	type = character
	text = {
		trigger = {
			vassal_contract_has_flag = has_march_contract
		}
		localization_key = march_deccan
	}
	text = {
		localization_key = duchy_default_deccan
		fallback = yes
	}
}
deccanIndepCounty = {
	type = character
	text = {
		trigger = {
			highest_held_title_tier >= tier_duchy
		}
		localization_key = county_deccan
	}
	text = {
		fallback = yes
		localization_key = independent_county_deccan
	}
}
KingMaleDeccan = {
	type = character
	text = {
		trigger = {
			OR = {
				AND = {
					is_independent_ruler = yes
					root.faith = {
						has_doctrine = tenet_struggle_submission
					}
				}
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						is_independent_ruler = yes
						root.faith = {
							has_doctrine = tenet_struggle_submission
						}
					}
				}
			}
		}
		localization_key = sultan_male_deccan
	}
	text = {
		fallback = yes
		localization_key = king_default_male_deccan
	}
}
KingFemaleDeccan = {
	type = character
	text = {
		trigger = {
			OR = {
				AND = {
					is_independent_ruler = yes
					root.faith = {
						has_doctrine = tenet_struggle_submission
					}
				}
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						is_independent_ruler = yes
						root.faith = {
							has_doctrine = tenet_struggle_submission
						}
					}
				}
			}
		}
		localization_key = sultan_female_deccan
	}
	text = {
		fallback = yes
		localization_key = king_default_female_deccan
	}
}
KingFemaleHolderDeccan = {
	type = character
	text = {
		trigger = {
			OR = {
				AND = {
					is_independent_ruler = yes
					root.faith = {
						has_doctrine = tenet_struggle_submission
					}
				}
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						is_independent_ruler = yes
						root.faith = {
							has_doctrine = tenet_struggle_submission
						}
					}
				}
			}
		}
		localization_key = sultan_female_deccan
	}
	text = {
		fallback = yes
		localization_key = king_default_female_holder_deccan
	}
}
KingdomDeccan = {
	type = character
	text = {
		trigger = {
			is_independent_ruler = yes
			root.faith = {
				has_doctrine = tenet_struggle_submission
			}
		}
		localization_key = sultanate_deccan
	}
	text = {
		fallback = yes
		localization_key = kingdom_default_deccan
	}
}
#######################################
# Chola Realms
# For Dravidian Cultures
#######################################
PrinceChola = {
	type = character
	text = {
		trigger = {
			any_parent = {
				is_independent_ruler = yes
				faith = {
					has_doctrine = tenet_struggle_submission
				}
			}
		}
		localization_key = sultan_prince_male_chola
	}
	text = {
		fallback = yes
		localization_key =  prince_default_male_chola
	}
}
PrincessChola = {
	type = character
	text = {
		trigger = {
			any_parent = {
				is_independent_ruler = yes
				faith = {
					has_doctrine = tenet_struggle_submission
				}
			}
		}
		localization_key = sultan_prince_female_chola
	}
	text = {
		fallback = yes
		localization_key =  prince_default_female_chola
	}
}
QueenMChola = {
	type = character
	text = {
		trigger = {
			faith = {
				has_doctrine = tenet_struggle_submission
			}
		}
		localization_key = sultan_female_chola
	}
	text = {
		fallback = yes
		localization_key =  king_default_female_chola
	}
}
CholaIndepCounty = {
	type = character
	text = {
		trigger = {
			highest_held_title_tier >= tier_duchy
		}
		localization_key = county_chola
	}
	text = {
		fallback = yes
		localization_key = independent_county_chola
	}
}
CholaIndepDuchy = {
	type = character
	text = {
		trigger = {
			highest_held_title_tier >= tier_kingdom
		}
		localization_key = duchy_chola
	}
	text = {
		fallback = yes
		localization_key = independent_duchy_chola
	}
}
KingMaleChola = {
	type = character
	text = {
		trigger = {
			OR = {
				AND = {
					is_independent_ruler = yes
					root.faith = {
						has_doctrine = tenet_struggle_submission
					}
				}
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						is_independent_ruler = yes
						faith = {
							has_doctrine = tenet_struggle_submission
						}
					}
				}
			}
		}
		localization_key = sultan_male_chola
	}
	text = {
		fallback = yes
		localization_key = king_default_male_chola
	}
}
KingFemaleChola = {
	type = character
	text = {
		trigger = {
			OR = {
				AND = {
					is_independent_ruler = yes
					root.faith = {
						has_doctrine = tenet_struggle_submission
					}
				}
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						is_independent_ruler = yes
						faith = {
							has_doctrine = tenet_struggle_submission
						}
					}
				}
			}
		}
		localization_key = sultan_female_chola
	}
	text = {
		fallback = yes
		localization_key = king_default_female_chola
	}
}
KingFemaleHolderChola = {
	type = character
	text = {
		trigger = {
			OR = {
				AND = {
					is_independent_ruler = yes
					root.faith = {
						has_doctrine = tenet_struggle_submission
					}
				}
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						is_independent_ruler = yes
						faith = {
							has_doctrine = tenet_struggle_submission
						}
					}
				}
			}
		}
		localization_key = sultan_female_chola
	}
	text = {
		fallback = yes
		localization_key = king_default_female_holder_chola
	}
}
KingdomChola = {
	type = character
	text = {
		trigger = {
			is_independent_ruler = yes
			root.faith = {
				has_doctrine = tenet_struggle_submission
			}
		}
		localization_key = sultanate_chola
	}
	text = {
		fallback = yes
		localization_key = kingdom_default_chola
	}
}
#######################################
# Somavamsi Realms
# For Odia
#######################################
PrinceOriya = {
	type = character
	text = {
		trigger = {
			any_parent = {
				is_independent_ruler = yes
				faith = {
					has_doctrine = tenet_struggle_submission
				}
			}
		}
		localization_key = sultan_prince_male_oriya
	}
	text = {
		fallback = yes
		localization_key =  prince_default_male_oriya
	}
}
PrincessOriya = {
	type = character
	text = {
		trigger = {
			any_parent = {
				is_independent_ruler = yes
				faith = {
					has_doctrine = tenet_struggle_submission
				}
			}
		}
		localization_key = sultan_prince_female_oriya
	}
	text = {
		fallback = yes
		localization_key =  prince_default_female_oriya
	}
}
QueenMOriya = {
	type = character
	text = {
		trigger = {
			faith = {
				has_doctrine = tenet_struggle_submission
			}
		}
		localization_key = sultan_female_oriya
	}
	text = {
		fallback = yes
		localization_key =  queen_mother_default_oriya
	}
}
OriyaIndepCounty = {
	type = character
	text = {
		trigger = {
			highest_held_title_tier >= tier_duchy
		}
		localization_key = county_oriya
	}
	text = {
		fallback = yes
		localization_key = independent_county_oriya
	}
}
DukeMaleOriya = {
	type = character
	text = {
		trigger = {
			OR = {
				vassal_contract_has_flag = has_march_contract
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						vassal_contract_has_flag = has_march_contract
					}
				}
			}
		}
		localization_key = marquess_oriya
	}
	text = {
		trigger = {
			OR = {
				vassal_contract_has_flag = has_palatinate_contract
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						vassal_contract_has_flag = has_palatinate_contract
					}
				}
			}
		}
		localization_key = palatine_oriya
	}
	text = {
		localization_key = duke_default_male_oriya
		fallback = yes
	}
}
DukeFemaleOriya = {
	type = character
	text = {
		trigger = {
			OR = {
				vassal_contract_has_flag = has_march_contract
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						vassal_contract_has_flag = has_march_contract
					}
				}
			}
		}
		localization_key = marquess_oriya
	}
	text = {
		trigger = {
			OR = {
				vassal_contract_has_flag = has_palatinate_contract
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						vassal_contract_has_flag = has_palatinate_contract
					}
				}
			}
		}
		localization_key = palatine_oriya
	}
	text = {
		localization_key = duke_default_female_oriya
		fallback = yes
	}
}
DuchyOriya = {
	type = character
	text = {
		trigger = {
			vassal_contract_has_flag = has_march_contract
		}
		localization_key = march_oriya
	}
	text = {
		localization_key = duchy_default_oriya
		fallback = yes
	}
}
OriyaIndepDuchy = {
	type = character
	text = {
		trigger = {
			highest_held_title_tier >= tier_kingdom
		}
		localization_key = duchy_default_oriya
	}
	text = {
		fallback = yes
		localization_key = independent_duchy_oriya
	}
}
KingMaleOriya = {
	type = character
	text = {
		trigger = {
			OR = {
				AND = {
					is_independent_ruler = yes
					root.faith = {
						has_doctrine = tenet_struggle_submission
					}
				}
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						is_independent_ruler = yes
						faith = {
							has_doctrine = tenet_struggle_submission
						}
					}
				}
			}
		}
		localization_key = sultan_male_oriya
	}
	text = {
		fallback = yes
		localization_key = king_default_male_oriya
	}
}
KingFemaleOriya = {
	type = character
	text = {
		trigger = {
			OR = {
				AND = {
					is_independent_ruler = yes
					root.faith = {
						has_doctrine = tenet_struggle_submission
					}
				}
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						is_independent_ruler = yes
						faith = {
							has_doctrine = tenet_struggle_submission
						}
					}
				}
			}
		}
		localization_key = sultan_female_oriya
	}
	text = {
		fallback = yes
		localization_key = king_default_female_oriya
	}
}
KingFemaleHolderOriya = {
	type = character
	text = {
		trigger = {
			OR = {
				AND = {
					is_independent_ruler = yes
					root.faith = {
						has_doctrine = tenet_struggle_submission
					}
				}
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						is_independent_ruler = yes
						faith = {
							has_doctrine = tenet_struggle_submission
						}
					}
				}
			}
		}
		localization_key = sultan_female_oriya
	}
	text = {
		fallback = yes
		localization_key = king_default_female_holder_oriya
	}
}
KingdomOriya = {
	type = character
	text = {
		trigger = {
			is_independent_ruler = yes
			root.faith = {
				has_doctrine = tenet_struggle_submission
			}
		}
		localization_key = sultanate_oriya
	}
	text = {
		fallback = yes
		localization_key = kingdom_default_oriya
	}
}
#######################################
# Sindhi Realms
# For Sindhi
#######################################
QueenMSindhi = {
	type = character
	text = {
		trigger = {
			faith = {
				has_doctrine = tenet_struggle_submission
			}
		}
		localization_key = sultan_female_sindhi
	}
	text = {
		fallback = yes
		localization_key =  queen_mother_default_sindhi
	}
}
SindhiIndepCounty = {
	type = character
	text = {
		trigger = {
			highest_held_title_tier >= tier_duchy
		}
		localization_key = county_sindhi
	}
	text = {
		fallback = yes
		localization_key = independent_county_sindhi
	}
}
DukeMaleSindhi = {
	type = character
	text = {
		trigger = {
			OR = {
				vassal_contract_has_flag = has_march_contract
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						vassal_contract_has_flag = has_march_contract
					}
				}
			}
		}
		localization_key = marquess_sindhi
	}
	text = {
		trigger = {
			OR = {
				vassal_contract_has_flag = has_palatinate_contract
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						vassal_contract_has_flag = has_palatinate_contract
					}
				}
			}
		}
		localization_key = palatine_sindhi
	}
	text = {
		localization_key = duke_default_male_sindhi
		fallback = yes
	}
}
DukeFemaleSindhi = {
	type = character
	text = {
		trigger = {
			OR = {
				vassal_contract_has_flag = has_march_contract
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						vassal_contract_has_flag = has_march_contract
					}
				}
			}
		}
		localization_key = marquess_sindhi
	}
	text = {
		trigger = {
			OR = {
				vassal_contract_has_flag = has_palatinate_contract
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						vassal_contract_has_flag = has_palatinate_contract
					}
				}
			}
		}
		localization_key = palatine_sindhi
	}
	text = {
		localization_key = duke_default_female_sindhi
		fallback = yes
	}
}
DuchySindhi = {
	type = character
	text = {
		trigger = {
			vassal_contract_has_flag = has_march_contract
		}
		localization_key = march_sindhi
	}
	text = {
		localization_key = duchy_default_sindhi
		fallback = yes
	}
}
SindhiIndepDuchy = {
	type = character
	text = {
		trigger = {
			highest_held_title_tier >= tier_kingdom
		}
		localization_key = duchy_default_sindhi
	}
	text = {
		fallback = yes
		localization_key = independent_duchy_sindhi
	}
}
KingMaleSindhi = {
	type = character
	text = {
		trigger = {
			OR = {
				AND = {
					is_independent_ruler = yes
					root.faith = {
						has_doctrine = tenet_struggle_submission
					}
				}
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						is_independent_ruler = yes
						faith = {
							has_doctrine = tenet_struggle_submission
						}
					}
				}
			}
		}
		localization_key = sultan_male_sindhi
	}
	text = {
		fallback = yes
		localization_key = king_default_male_sindhi
	}
}
KingFemaleSindhi = {
	type = character
	text = {
		trigger = {
			OR = {
				AND = {
					is_independent_ruler = yes
					root.faith = {
						has_doctrine = tenet_struggle_submission
					}
				}
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						is_independent_ruler = yes
						faith = {
							has_doctrine = tenet_struggle_submission
						}
					}
				}
			}
		}
		localization_key = sultan_female_sindhi
	}
	text = {
		fallback = yes
		localization_key = king_default_female_sindhi
	}
}
KingdomSindhi = {
	type = character
	text = {
		trigger = {
			is_independent_ruler = yes
			root.faith = {
				has_doctrine = tenet_struggle_submission
			}
		}
		localization_key = sultanate_sindhi
	}
	text = {
		fallback = yes
		localization_key = kingdom_default_sindhi
	}
}
#######################################
# Kashmiri Realms
# For Kashmiri
#######################################
PrinceKashmiri = {
	type = character
	text = {
		trigger = {
			any_parent = {
				is_independent_ruler = yes
				faith = {
					has_doctrine = tenet_struggle_submission
				}
			}
		}
		localization_key = sultan_prince_male_kashmiri
	}
	text = {
		fallback = yes
		localization_key =  prince_default_male_kashmiri
	}
}
PrincessKashmiri = {
	type = character
	text = {
		trigger = {
			any_parent = {
				is_independent_ruler = yes
				faith = {
					has_doctrine = tenet_struggle_submission
				}
			}
		}
		localization_key = sultan_prince_female_kashmiri
	}
	text = {
		fallback = yes
		localization_key =  prince_default_female_kashmiri
	}
}
QueenMKashmiri = {
	type = character
	text = {
		trigger = {
			faith = {
				has_doctrine = tenet_struggle_submission
			}
		}
		localization_key = sultan_female_kashmiri
	}
	text = {
		fallback = yes
		localization_key =  queen_mother_default_kashmiri
	}
}
KashmiriIndepCounty = {
	type = character
	text = {
		trigger = {
			highest_held_title_tier >= tier_duchy
		}
		localization_key = county_kashmiri
	}
	text = {
		fallback = yes
		localization_key = independent_county_kashmiri
	}
}
DukeMaleKashmiri = {
	type = character
	text = {
		trigger = {
			OR = {
				vassal_contract_has_flag = has_march_contract
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						vassal_contract_has_flag = has_march_contract
					}
				}
			}
		}
		localization_key = marquess_kashmiri
	}
	text = {
		trigger = {
			OR = {
				vassal_contract_has_flag = has_palatinate_contract
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						vassal_contract_has_flag = has_palatinate_contract
					}
				}
			}
		}
		localization_key = palatine_kashmiri
	}
	text = {
		localization_key = duke_default_male_kashmiri
		fallback = yes
	}
}
DukeFemaleKashmiri = {
	type = character
	text = {
		trigger = {
			OR = {
				vassal_contract_has_flag = has_march_contract
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						vassal_contract_has_flag = has_march_contract
					}
				}
			}
		}
		localization_key = marquess_kashmiri
	}
	text = {
		trigger = {
			OR = {
				vassal_contract_has_flag = has_palatinate_contract
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						vassal_contract_has_flag = has_palatinate_contract
					}
				}
			}
		}
		localization_key = palatine_kashmiri
	}
	text = {
		localization_key = duke_default_female_kashmiri
		fallback = yes
	}
}
DuchyKashmiri = {
	type = character
	text = {
		trigger = {
			vassal_contract_has_flag = has_march_contract
		}
		localization_key = march_kashmiri
	}
	text = {
		localization_key = duchy_default_kashmiri
		fallback = yes
	}
}
KashmiriIndepDuchy = {
	type = character
	text = {
		trigger = {
			highest_held_title_tier >= tier_kingdom
		}
		localization_key = duchy_default_kashmiri
	}
	text = {
		fallback = yes
		localization_key = independent_duchy_kashmiri
	}
}
KingMaleKashmiri = {
	type = character
	text = {
		trigger = {
			OR = {
				AND = {
					is_independent_ruler = yes
					root.faith = {
						has_doctrine = tenet_struggle_submission
					}
				}
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						is_independent_ruler = yes
						faith = {
							has_doctrine = tenet_struggle_submission
						}
					}
				}
			}
		}
		localization_key = sultan_male_kashmiri
	}
	text = {
		fallback = yes
		localization_key = king_default_male_kashmiri
	}
}
KingFemaleKashmiri = {
	type = character
	text = {
		trigger = {
			OR = {
				AND = {
					is_independent_ruler = yes
					root.faith = {
						has_doctrine = tenet_struggle_submission
					}
				}
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						is_independent_ruler = yes
						faith = {
							has_doctrine = tenet_struggle_submission
						}
					}
				}
			}
		}
		localization_key = sultan_female_kashmiri
	}
	text = {
		fallback = yes
		localization_key = king_default_female_kashmiri
	}
}
KingFemaleHolderKashmiri = {
	type = character
	text = {
		trigger = {
			OR = {
				AND = {
					is_independent_ruler = yes
					root.faith = {
						has_doctrine = tenet_struggle_submission
					}
				}
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						is_independent_ruler = yes
						faith = {
							has_doctrine = tenet_struggle_submission
						}
					}
				}
			}
		}
		localization_key = sultan_female_kashmiri
	}
	text = {
		fallback = yes
		localization_key = king_default_female_holder_kashmiri
	}
}
KingdomKashmiri = {
	type = character
	text = {
		trigger = {
			is_independent_ruler = yes
			root.faith = {
				has_doctrine = tenet_struggle_submission
			}
		}
		localization_key = sultanate_kashmiri
	}
	text = {
		fallback = yes
		localization_key = kingdom_default_kashmiri
	}
}
#######################################
# Nepali Realms
# For Nepali and indo-aryan himalayan cultures
#######################################
PrinceNepali = {
	type = character
	text = {
		trigger = {
			any_parent = {
				is_independent_ruler = yes
				faith = {
					has_doctrine = tenet_struggle_submission
				}
			}
		}
		localization_key = sultan_prince_male_nepali
	}
	text = {
		fallback = yes
		localization_key =  prince_default_male_nepali
	}
}
PrincessNepali = {
	type = character
	text = {
		trigger = {
			any_parent = {
				is_independent_ruler = yes
				faith = {
					has_doctrine = tenet_struggle_submission
				}
			}
		}
		localization_key = sultan_prince_female_nepali
	}
	text = {
		fallback = yes
		localization_key =  prince_default_female_nepali
	}
}
QueenMNepali = {
	type = character
	text = {
		trigger = {
			faith = {
				has_doctrine = tenet_struggle_submission
			}
		}
		localization_key = sultan_female_nepali
	}
	text = {
		fallback = yes
		localization_key =  queen_mother_default_nepali
	}
}
NepaliIndepCounty = {
	type = character
	text = {
		trigger = {
			highest_held_title_tier >= tier_duchy
		}
		localization_key = county_nepali
	}
	text = {
		fallback = yes
		localization_key = independent_county_nepali
	}
}
DukeMaleNepali = {
	type = character
	text = {
		trigger = {
			OR = {
				vassal_contract_has_flag = has_march_contract
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						vassal_contract_has_flag = has_march_contract
					}
				}
			}
		}
		localization_key = marquess_nepali
	}
	text = {
		trigger = {
			OR = {
				vassal_contract_has_flag = has_palatinate_contract
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						vassal_contract_has_flag = has_palatinate_contract
					}
				}
			}
		}
		localization_key = palatine_nepali
	}
	text = {
		localization_key = duke_default_male_nepali
		fallback = yes
	}
}
DukeFemaleNepali = {
	type = character
	text = {
		trigger = {
			OR = {
				vassal_contract_has_flag = has_march_contract
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						vassal_contract_has_flag = has_march_contract
					}
				}
			}
		}
		localization_key = marquess_nepali
	}
	text = {
		trigger = {
			OR = {
				vassal_contract_has_flag = has_palatinate_contract
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						vassal_contract_has_flag = has_palatinate_contract
					}
				}
			}
		}
		localization_key = palatine_nepali
	}
	text = {
		localization_key = duke_default_female_nepali
		fallback = yes
	}
}
DuchyNepali = {
	type = character
	text = {
		trigger = {
			vassal_contract_has_flag = has_march_contract
		}
		localization_key = march_nepali
	}
	text = {
		localization_key = duchy_default_nepali
		fallback = yes
	}
}
NepaliIndepDuchy = {
	type = character
	text = {
		trigger = {
			highest_held_title_tier >= tier_kingdom
		}
		localization_key = duchy_default_nepali
	}
	text = {
		fallback = yes
		localization_key = independent_duchy_nepali
	}
}
KingMaleNepali = {
	type = character
	text = {
		trigger = {
			OR = {
				AND = {
					is_independent_ruler = yes
					root.faith = {
						has_doctrine = tenet_struggle_submission
					}
				}
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						is_independent_ruler = yes
						faith = {
							has_doctrine = tenet_struggle_submission
						}
					}
				}
			}
		}
		localization_key = sultan_male_nepali
	}
	text = {
		fallback = yes
		localization_key = king_default_male_nepali
	}
}
KingFemaleNepali = {
	type = character
	text = {
		trigger = {
			OR = {
				AND = {
					is_independent_ruler = yes
					root.faith = {
						has_doctrine = tenet_struggle_submission
					}
				}
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						is_independent_ruler = yes
						faith = {
							has_doctrine = tenet_struggle_submission
						}
					}
				}
			}
		}
		localization_key = sultan_female_nepali
	}
	text = {
		fallback = yes
		localization_key = king_default_female_nepali
	}
}
KingFemaleHolderNepali = {
	type = character
	text = {
		trigger = {
			OR = {
				AND = {
					is_independent_ruler = yes
					root.faith = {
						has_doctrine = tenet_struggle_submission
					}
				}
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						is_independent_ruler = yes
						faith = {
							has_doctrine = tenet_struggle_submission
						}
					}
				}
			}
		}
		localization_key = sultan_female_nepali
	}
	text = {
		fallback = yes
		localization_key = king_default_female_holder_nepali
	}
}
KingdomNepali = {
	type = character
	text = {
		trigger = {
			is_independent_ruler = yes
			root.faith = {
				has_doctrine = tenet_struggle_submission
			}
		}
		localization_key = sultanate_nepali
	}
	text = {
		fallback = yes
		localization_key = kingdom_default_nepali
	}
}
#######################################
# Sinhala Realms
# For Sinhala
#######################################
PrinceSinhala = {
	type = character
	text = {
		trigger = {
			any_parent = {
				is_independent_ruler = yes
				faith = {
					has_doctrine = tenet_struggle_submission
				}
			}
		}
		localization_key = sultan_prince_male_sinhala
	}
	text = {
		fallback = yes
		localization_key =  prince_default_male_sinhala
	}
}
PrincessSinhala = {
	type = character
	text = {
		trigger = {
			any_parent = {
				is_independent_ruler = yes
				faith = {
					has_doctrine = tenet_struggle_submission
				}
			}
		}
		localization_key = sultan_prince_female_sinhala
	}
	text = {
		fallback = yes
		localization_key =  prince_default_female_sinhala
	}
}
QueenMSinhala = {
	type = character
	text = {
		trigger = {
			faith = {
				has_doctrine = tenet_struggle_submission
			}
		}
		localization_key = sultan_female_sinhala
	}
	text = {
		fallback = yes
		localization_key =  empress_mother_sinhala
	}
}
SinhalaIndepCounty = {
	type = character
	text = {
		trigger = {
			highest_held_title_tier >= tier_duchy
		}
		localization_key = county_sinhala
	}
	text = {
		fallback = yes
		localization_key = independent_county_sinhala
	}
}
DukeMaleSinhala = {
	type = character
	text = {
		trigger = {
			OR = {
				vassal_contract_has_flag = has_march_contract
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						vassal_contract_has_flag = has_march_contract
					}
				}
			}
		}
		localization_key = marquess_sinhala
	}
	text = {
		trigger = {
			OR = {
				vassal_contract_has_flag = has_palatinate_contract
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						vassal_contract_has_flag = has_palatinate_contract
					}
				}
			}
		}
		localization_key = palatine_sinhala
	}
	text = {
		localization_key = duke_default_male_sinhala
		fallback = yes
	}
}
DukeFemaleSinhala = {
	type = character
	text = {
		trigger = {
			OR = {
				vassal_contract_has_flag = has_march_contract
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						vassal_contract_has_flag = has_march_contract
					}
				}
			}
		}
		localization_key = marquess_sinhala
	}
	text = {
		trigger = {
			OR = {
				vassal_contract_has_flag = has_palatinate_contract
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						vassal_contract_has_flag = has_palatinate_contract
					}
				}
			}
		}
		localization_key = palatine_sinhala
	}
	text = {
		localization_key = duke_default_female_sinhala
		fallback = yes
	}
}
DuchySinhala = {
	type = character
	text = {
		trigger = {
			vassal_contract_has_flag = has_march_contract
		}
		localization_key = march_sinhala
	}
	text = {
		localization_key = duchy_default_sinhala
		fallback = yes
	}
}
SinhalaIndepDuchy = {
	type = character
	text = {
		trigger = {
			highest_held_title_tier >= tier_kingdom
		}
		localization_key = duchy_default_sinhala
	}
	text = {
		fallback = yes
		localization_key = independent_duchy_sinhala
	}
}
KingMaleSinhala = {
	type = character
	text = {
		trigger = {
			OR = {
				AND = {
					is_independent_ruler = yes
					root.faith = {
						has_doctrine = tenet_struggle_submission
					}
				}
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						is_independent_ruler = yes
						faith = {
							has_doctrine = tenet_struggle_submission
						}
					}
				}
			}
		}
		localization_key = sultan_male_sinhala
	}
	text = {
		fallback = yes
		localization_key = king_default_male_sinhala
	}
}
KingFemaleSinhala = {
	type = character
	text = {
		trigger = {
			OR = {
				AND = {
					is_independent_ruler = yes
					root.faith = {
						has_doctrine = tenet_struggle_submission
					}
				}
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						is_independent_ruler = yes
						faith = {
							has_doctrine = tenet_struggle_submission
						}
					}
				}
			}
		}
		localization_key = sultan_female_sinhala
	}
	text = {
		fallback = yes
		localization_key = king_default_female_sinhala
	}
}
KingFemaleHolderSinhala = {
	type = character
	text = {
		trigger = {
			OR = {
				AND = {
					is_independent_ruler = yes
					root.faith = {
						has_doctrine = tenet_struggle_submission
					}
				}
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						is_independent_ruler = yes
						faith = {
							has_doctrine = tenet_struggle_submission
						}
					}
				}
			}
		}
		localization_key = sultan_female_sinhala
	}
	text = {
		fallback = yes
		localization_key = king_default_female_holder_sinhala
	}
}
KingdomSinhala = {
	type = character
	text = {
		trigger = {
			is_independent_ruler = yes
			root.faith = {
				has_doctrine = tenet_struggle_submission
			}
		}
		localization_key = sultanate_sinhala
	}
	text = {
		fallback = yes
		localization_key = kingdom_default_sinhala
	}
}
#######################################
# Tibetan Adminstration
# For Tibetan
#######################################
DukeBodpa = {
	type = character
	text = {
		trigger = {
			OR = {
				vassal_contract_has_flag = has_march_contract
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						vassal_contract_has_flag = has_march_contract
					}
				}
			}
		}
		localization_key = marquess_bodpa
	}
	text = {
		localization_key = duke_default_bodpa
		fallback = yes
	}
}
BodpaIndepKingdom = {
	type = character
	text = {
		trigger = {
			highest_held_title_tier = tier_empire
		}
		localization_key = kingdom_bodpa
	}
	text = {
		fallback = yes
		localization_key = indep_kingdom_bodpa
	}
}
BodpaIndepDuchy = {
	type = character
	text = {
		trigger = {
			highest_held_title_tier >= tier_kingdom
		}
		localization_key = duchy_bodpa
	}
	text = {
		fallback = yes
		localization_key = kingdom_bodpa
	}
}
#######################################
# Burmese Realms
# For Burmes and Rahkine
#######################################
DukeMaleBurmese = {
	type = character
	text = {
		trigger = {
			OR = {
				vassal_contract_has_flag = has_march_contract
				AND = {
					exists = primary_spouse
					root.primary_spouse = {
						vassal_contract_has_flag = has_march_contract
					}
				}
			}
		}
		localization_key = marquess_burmese
	}
	text = {
		localization_key = duke_default_male_burmese
		fallback = yes
	}
}
DuchyBurmese = {
	type = character
	text = {
		trigger = {
			vassal_contract_has_flag = has_march_contract
		}
		localization_key = march_burmese
	}
	text = {
		localization_key = duchy_default_burmese
		fallback = yes
	}
}
BurmeseIndepDuchy = {
	type = character
	text = {
		trigger = {
			highest_held_title_tier >= tier_kingdom
		}
		localization_key = duchy_default_burmese
	}
	text = {
		fallback = yes
		localization_key = kingdom_burmese
    }
}
PrinceBurman = {
	type = character
	text = {
		trigger = {
			OR = {
				AND = {
					exists = father.primary_heir
					root.father.primary_heir = root
				}
				AND = {
					exists = mother.primary_heir
					root.mother.primary_heir = root
				}
			}
		}
		localization_key = burman_primary_heir
	}
	text = {
		fallback = yes
		localization_key =  prince_default_male_burman
	}
}
#######################################
# Mon Realms
# For Mon
#######################################


