﻿# 称号名 / Title Name
#	例: [SNAT_TitleName]王、[SNAT_TitleName]公爵など。宗教指導者を含まず
#	e.g. King of [SNAT_TitleName], Duke of [SNAT_TitleName], etc. Not including Head of Faith
SNAT_TitleName = {
	type = character

	# 称号名なし / No Title Name
	text = {
		trigger = {
			trigger_if = {
				limit = { faith.religious_head = this }
				trigger_if = {
					limit = {
						OR = {
							has_title = title:d_sunni
							has_title = title:d_shiite
						}
					}
					primary_title.tier < tier_kingdom
					faith.religious_head = this
				}
				trigger_else = { faith.religious_head = this }
			}
			trigger_else = {
				is_councillor = no
				no_title_trigger = yes
				not_royal_family_trigger = yes
				father_ruler_family_trigger = no
				mother_ruler_family_trigger = no
				trigger_if = {
					limit = { father_ruler_family_trigger = yes }
					NOT = { faith.religious_head = father }
				}
				trigger_if = {
					limit = { mother_ruler_family_trigger = yes }
					NOT = { faith.religious_head = mother }
				}
			}
		}
		fallback = yes
		localization_key = SNAT_EMPTY
	}

	# キャラクターの称号 / Character Title
	text = {
		trigger = {
			is_ruler = yes
			OR = {
				primary_title.tier >= primary_spouse.primary_title.tier
				NOT = {
					top_liege = primary_spouse
					top_liege = primary_spouse.top_liege
				}
			}
			not_royal_family_trigger = yes
			root.primary_title = { save_temporary_scope_as = test_scope }
		}
		localization_key = SNAT_CHARACTER_TITLE
	}

	# 配偶者称号 / Consort Title
	text = {
		trigger = {
			exists = primary_spouse
			primary_spouse = { is_ruler = yes }
			primary_spouse.primary_title.tier > primary_title.tier
			OR = {
				top_liege = primary_spouse
				top_liege = primary_spouse.top_liege
			}
			not_royal_family_trigger = yes
		}
		localization_key = SNAT_CONSORT_TITLE
	}

	# 王室称号 / Royal family Title
	text = {
		trigger = {
			child_of_king_trigger = yes
			trigger_if = {
				limit = { queen_mother_trigger = yes }
				NOT = { top_liege.primary_title = father.primary_title }
			}
		}
		localization_key = SNAT_CHILD_OF_KING_TITLE
	}
	text = {
		trigger = {
			child_of_queen_trigger = yes
			trigger_if = {
				limit = { queen_mother_trigger = yes }
				NOT = {  }
			}
		}
		localization_key = SNAT_CHILD_OF_QUEEN_TITLE
	}
	text = {
		trigger = {
			queen_mother_trigger = yes
		}
		localization_key = SNAT_QUEEN_MOTHER_TITLE
	}

	# 統治者の家族 / Ruler's family
	text = {
		trigger = {
			father_ruler_family_trigger = yes
			NOT = { faith.religious_head = father }
			not_royal_family_trigger = yes
		}
		localization_key = SNAT_FATHER_RULER_TITLE
	}
	text = {
		trigger = {
			mother_ruler_family_trigger = yes
			NOT = { faith.religious_head = mother }
			not_royal_family_trigger = yes
		}
		localization_key = SNAT_MOTHER_RULER_TITLE
	}

	# 評議員 / Councillor
	text = {
		trigger = {
			exists = liege
			is_councillor = yes
			no_title_trigger = yes
			not_royal_family_trigger = yes
			father_ruler_family_trigger = no
			mother_ruler_family_trigger = no
		}
		localization_key = SNAT_COUNCILLOR_TITLE
	}
}

# 称号または立場 / Title or Position
#	例: イングランド[SNAT_TitleOrPosition]、ヨーク[SNAT_TitleOrPosition]など。非統治者（称号なし）を含む
# 	e.g. [SNAT_TitleOrPosition] of England, [SNAT_TitleOrPosition] of York, etc. Including non-ruler(No Title)
SNAT_TitleOrPosition = {
	type = character

	##############################
	# 宗教指導者 / Head of Faith #
	##############################

	# 全般 / General
	text = {
		trigger = {
			NOT = {
				has_title = title:k_orthodox
				has_title = title:d_sunni
				has_title = title:d_shiite
			}
			faith.religious_head = this
		}
		localization_key = SNAT_HEAD_OF_FAITH
	}

	# 正教会 / Orthodox
	text = {
		trigger = {
			has_title = title:k_orthodox
			faith.religious_head = this
			is_male = yes
		}
		localization_key = SNAT_ECUMENICAL_PATRIARCH
	}
	text = {
		trigger = {
			has_title = title:k_orthodox
			faith.religious_head = this
			is_female = yes
		}
		localization_key = SNAT_ECUMENICAL_MATRIARCH
	}

	# イスラム / Islam
	text = {
		trigger = {
			primary_title.tier < tier_kingdom
			OR = {
				has_title = title:d_sunni
				has_title = title:d_shiite
			}
			faith.religious_head = this
		}
		localization_key = SNAT_CALIPH
	}
	text = {
		trigger = {
			primary_title.tier >= tier_kingdom
			OR = {
				has_title = title:d_sunni
				has_title = title:d_shiite
			}
			faith.religious_head = this
		}
		localization_key = SNAT_CALIPH_EMPIRE
	}

	#############################################
	# 統治者（称号持ち） / Ruler (Title Holder) #
	#############################################

	# キャラクターの称号 / Character Title
	text = {
		trigger = {
			is_ruler = yes
			trigger_if = {
				limit = { exists = primary_spouse }
				primary_title.tier >= primary_spouse.primary_title.tier
			}
			not_royal_family_trigger = yes
		}
		localization_key = SNAT_CHARACTER_TITLE_TIER
	}

	# 配偶者称号 / Consort Title
	text = {
		trigger = {
			exists = primary_spouse
			primary_spouse = { is_ruler = yes }
			primary_spouse.primary_title.tier > primary_title.tier
			not_royal_family_trigger = yes
		}
		localization_key = SNAT_CONSORT_TITLE_TIER
	}

	#################################
	# 王室称号 / Royal family Title #
	#################################

	# 全般 / General
	text = {
		trigger = {
			OR = {
				AND = {
					child_of_king_trigger = yes
					father = {
						primary_title.tier = tier_kingdom
						NOT = {
							culture = { has_name_list = name_list_roman }
							culture = { has_cultural_pillar = heritage_iberian }
							culture = { has_cultural_pillar = heritage_iranian }
							culture = { has_cultural_pillar = heritage_dravidian }
							culture = { has_cultural_pillar = heritage_indo_aryan }
						}
					}
				}
				AND = {
					child_of_queen_trigger = yes
					mother = {
						primary_title.tier = tier_kingdom
						NOT = {
							culture = { has_name_list = name_list_roman }
							culture = { has_cultural_pillar = heritage_iberian }
							culture = { has_cultural_pillar = heritage_iranian }
							culture = { has_cultural_pillar = heritage_dravidian }
							culture = { has_cultural_pillar = heritage_indo_aryan }
						}
					}
				}
			}
			queen_mother_trigger = no
			is_male = yes
		}
		localization_key = SNAT_PRINCE
	}
	text = {
		trigger = {
			OR = {
				AND = {
					child_of_king_trigger = yes
					father = {
						primary_title.tier = tier_kingdom
						NOT = {
							culture = { has_name_list = name_list_roman }
							culture = { has_cultural_pillar = heritage_iberian }
							culture = { has_cultural_pillar = heritage_iranian }
							culture = { has_cultural_pillar = heritage_dravidian }
							culture = { has_cultural_pillar = heritage_indo_aryan }
						}
					}
				}
				AND = {
					child_of_queen_trigger = yes
					mother = {
						primary_title.tier = tier_kingdom
						NOT = {
							culture = { has_name_list = name_list_roman }
							culture = { has_cultural_pillar = heritage_iberian }
							culture = { has_cultural_pillar = heritage_iranian }
							culture = { has_cultural_pillar = heritage_dravidian }
							culture = { has_cultural_pillar = heritage_indo_aryan }
						}
					}
				}
			}
			queen_mother_trigger = no
			is_female = yes
		}
		localization_key = SNAT_PRINCESS
	}
	text = {
		trigger = {
			OR = {
				AND = {
					child_of_king_trigger = yes
					father = {
						primary_title.tier = tier_empire
						NOT = {
							culture = { has_name_list = name_list_roman }
							culture = { has_cultural_pillar = heritage_iberian }
							culture = { has_cultural_pillar = heritage_iranian }
							culture = { has_cultural_pillar = heritage_dravidian }
							culture = { has_cultural_pillar = heritage_indo_aryan }
						}
					}
				}
				AND = {
					child_of_queen_trigger = yes
					mother = {
						primary_title.tier = tier_empire
						NOT = {
							culture = { has_name_list = name_list_roman }
							culture = { has_cultural_pillar = heritage_iberian }
							culture = { has_cultural_pillar = heritage_iranian }
							culture = { has_cultural_pillar = heritage_dravidian }
							culture = { has_cultural_pillar = heritage_indo_aryan }
						}
					}
				}
			}
			queen_mother_trigger = no
			is_male = yes
		}
		localization_key = SNAT_PRINCE_EMPIRE
	}
	text = {
		trigger = {
			OR = {
				AND = {
					child_of_king_trigger = yes
					father = {
						primary_title.tier = tier_empire
						NOT = {
							culture = { has_name_list = name_list_roman }
							culture = { has_cultural_pillar = heritage_iberian }
							culture = { has_cultural_pillar = heritage_iranian }
							culture = { has_cultural_pillar = heritage_dravidian }
							culture = { has_cultural_pillar = heritage_indo_aryan }
						}
					}
				}
				AND = {
					child_of_queen_trigger = yes
					mother = {
						primary_title.tier = tier_empire
						NOT = {
							culture = { has_name_list = name_list_roman }
							culture = { has_cultural_pillar = heritage_iberian }
							culture = { has_cultural_pillar = heritage_iranian }
							culture = { has_cultural_pillar = heritage_dravidian }
							culture = { has_cultural_pillar = heritage_indo_aryan }
						}
					}
				}
			}
			queen_mother_trigger = no
			is_female = yes
		}
		localization_key = SNAT_PRINCESS_EMPIRE
	}

	# ローマ / Roman
	text = {
		trigger = {
			OR = {
				AND = {
					child_of_king_trigger = yes
					father = {
						primary_title.tier = tier_kingdom
						culture = { has_name_list = name_list_roman }
						primary_title.holder = { has_government = feudal_government }
					}
				}
				AND = {
					child_of_queen_trigger = yes
					mother = {
						primary_title.tier = tier_kingdom
						culture = { has_name_list = name_list_roman }
						primary_title.holder = { has_government = feudal_government }
					}
				}
			}
			queen_mother_trigger = no
			is_male = yes
		}
		localization_key = SNAT_PRINCEPS
	}
	text = {
		trigger = {
			OR = {
				AND = {
					child_of_king_trigger = yes
					father = {
						primary_title.tier = tier_kingdom
						culture = { has_name_list = name_list_roman }
						primary_title.holder = { has_government = feudal_government }
					}
				}
				AND = {
					child_of_queen_trigger = yes
					mother = {
						primary_title.tier = tier_kingdom
						culture = { has_name_list = name_list_roman }
						primary_title.holder = { has_government = feudal_government }
					}
				}
			}
			queen_mother_trigger = no
			is_female = yes
		}
		localization_key = SNAT_PRINCIPISSA
	}
	text = {
		trigger = {
			OR = {
				AND = {
					child_of_king_trigger = yes
					father = {
						primary_title.tier = tier_empire
						culture = { has_name_list = name_list_roman }
						primary_title.holder = { has_government = feudal_government }
					}
				}
				AND = {
					child_of_queen_trigger = yes
					mother = {
						primary_title.tier = tier_empire
						culture = { has_name_list = name_list_roman }
						primary_title.holder = { has_government = feudal_government }
					}
				}
			}
			queen_mother_trigger = no
			is_male = yes
		}
		localization_key = SNAT_CAESAR
	}
	text = {
		trigger = {
			OR = {
				AND = {
					child_of_king_trigger = yes
					father = {
						primary_title.tier = tier_empire
						culture = { has_name_list = name_list_roman }
						primary_title.holder = { has_government = feudal_government }
					}
				}
				AND = {
					child_of_queen_trigger = yes
					mother = {
						primary_title.tier = tier_empire
						culture = { has_name_list = name_list_roman }
						primary_title.holder = { has_government = feudal_government }
					}
				}
			}
			queen_mother_trigger = no
			is_female = yes
		}
		localization_key = SNAT_CAESARISSA
	}

	# イベリア / Iberian Feudal
	text = {
		trigger = {
			OR = {
				AND = {
					child_of_king_trigger = yes
					father = {
						primary_title.tier = tier_kingdom
						culture = { has_cultural_pillar = heritage_iberian }
						primary_title.holder = { has_government = feudal_government }
					}
				}
				AND = {
					child_of_queen_trigger = yes
					mother = {
						primary_title.tier = tier_kingdom
						culture = { has_cultural_pillar = heritage_iberian }
						primary_title.holder = { has_government = feudal_government }
					}
				}
			}
			queen_mother_trigger = no
			is_male = yes
		}
		localization_key = SNAT_INFANTE
	}
	text = {
		trigger = {
			OR = {
				AND = {
					child_of_king_trigger = yes
					father = {
						primary_title.tier = tier_kingdom
						culture = { has_cultural_pillar = heritage_iberian }
						primary_title.holder = { has_government = feudal_government }
					}
				}
				AND = {
					child_of_queen_trigger = yes
					mother = {
						primary_title.tier = tier_kingdom
						culture = { has_cultural_pillar = heritage_iberian }
						primary_title.holder = { has_government = feudal_government }
					}
				}
			}
			queen_mother_trigger = no
			is_female = yes
		}
		localization_key = SNAT_INFANTA
	}
	text = {
		trigger = {
			OR = {
				AND = {
					child_of_king_trigger = yes
					father = {
						primary_title.tier = tier_empire
						culture = { has_cultural_pillar = heritage_iberian }
						primary_title.holder = { has_government = feudal_government }
					}
				}
				AND = {
					child_of_queen_trigger = yes
					mother = {
						primary_title.tier = tier_empire
						culture = { has_cultural_pillar = heritage_iberian }
						primary_title.holder = { has_government = feudal_government }
					}
				}
			}
			queen_mother_trigger = no
			is_male = yes
		}
		localization_key = SNAT_INFANTE_EMPIRE
	}
	text = {
		trigger = {
			OR = {
				AND = {
					child_of_king_trigger = yes
					father = {
						primary_title.tier = tier_empire
						culture = { has_cultural_pillar = heritage_iberian }
						primary_title.holder = { has_government = feudal_government }
					}
				}
				AND = {
					child_of_queen_trigger = yes
					mother = {
						primary_title.tier = tier_empire
						culture = { has_cultural_pillar = heritage_iberian }
						primary_title.holder = { has_government = feudal_government }
					}
				}
			}
			queen_mother_trigger = no
			is_female = yes
		}
		localization_key = SNAT_INFANTA_EMPIRE
	}
	
	#Iberian Clan
	text = {
		trigger = {
			OR = {
				AND = {
					child_of_king_trigger = yes
					father = {
						primary_title.tier = tier_kingdom
						culture = { has_cultural_pillar = heritage_iberian }
						primary_title.holder = { has_government = clan_government }
					}
				}
				AND = {
					child_of_queen_trigger = yes
					mother = {
						primary_title.tier = tier_kingdom
						culture = { has_cultural_pillar = heritage_iberian }
						primary_title.holder = { has_government = clan_government }
					}
				}
			}
			queen_mother_trigger = no
			is_male = yes
		}
		localization_key = SNAT_PRINCE
	}
	text = {
		trigger = {
			OR = {
				AND = {
					child_of_king_trigger = yes
					father = {
						primary_title.tier = tier_kingdom
						culture = { has_cultural_pillar = heritage_iberian }
						primary_title.holder = { has_government = clan_government }
					}
				}
				AND = {
					child_of_queen_trigger = yes
					mother = {
						primary_title.tier = tier_kingdom
						culture = { has_cultural_pillar = heritage_iberian }
						primary_title.holder = { has_government = clan_government }
					}
				}
			}
			queen_mother_trigger = no
			is_female = yes
		}
		localization_key = SNAT_PRINCESS
	}
	text = {
		trigger = {
			OR = {
				AND = {
					child_of_king_trigger = yes
					father = {
						primary_title.tier = tier_empire
						culture = { has_cultural_pillar = heritage_iberian }
						primary_title.holder = { has_government = clan_government }
					}
				}
				AND = {
					child_of_queen_trigger = yes
					mother = {
						primary_title.tier = tier_empire
						culture = { has_cultural_pillar = heritage_iberian }
						primary_title.holder = { has_government = clan_government }
					}
				}
			}
			queen_mother_trigger = no
			is_male = yes
		}
		localization_key = SNAT_PRINCE_EMPIRE
	}
	text = {
		trigger = {
			OR = {
				AND = {
					child_of_king_trigger = yes
					father = {
						primary_title.tier = tier_empire
						culture = { has_cultural_pillar = heritage_iberian }
						primary_title.holder = { has_government = clan_government }
					}
				}
				AND = {
					child_of_queen_trigger = yes
					mother = {
						primary_title.tier = tier_empire
						culture = { has_cultural_pillar = heritage_iberian }
						primary_title.holder = { has_government = clan_government }
					}
				}
			}
			queen_mother_trigger = no
			is_female = yes
		}
		localization_key = SNAT_PRINCESS_EMPIRE
	}

	# イラン / Iranian
	text = {
		trigger = {
			OR = {
				AND = {
					child_of_king_trigger = yes
					father = {
						primary_title.tier = tier_kingdom
						culture = { has_cultural_pillar = heritage_iranian }
					}
				}
				AND = {
					child_of_queen_trigger = yes
					mother = {
						primary_title.tier = tier_kingdom
						culture = { has_cultural_pillar = heritage_iranian }
					}
				}
			}
			queen_mother_trigger = no
			is_male = yes
		}
		localization_key = SNAT_SHAHZADA
	}
	text = {
		trigger = {
			OR = {
				AND = {
					child_of_king_trigger = yes
					father = {
						primary_title.tier = tier_kingdom
						culture = { has_cultural_pillar = heritage_iranian }
					}
				}
				AND = {
					child_of_queen_trigger = yes
					mother = {
						primary_title.tier = tier_kingdom
						culture = { has_cultural_pillar = heritage_iranian }
					}
				}
			}
			queen_mother_trigger = no
			is_female = yes
		}
		localization_key = SNAT_SHAHDOKHT
	}
	text = {
		trigger = {
			OR = {
				AND = {
					child_of_king_trigger = yes
					father = {
						primary_title.tier = tier_empire
						culture = { has_cultural_pillar = heritage_iranian }
					}
				}
				AND = {
					child_of_queen_trigger = yes
					mother = {
						primary_title.tier = tier_empire
						culture = { has_cultural_pillar = heritage_iranian }
					}
				}
			}
			queen_mother_trigger = no
			is_male = yes
		}
		localization_key = SNAT_SHAHZADA_EMPIRE
	}
	text = {
		trigger = {
			OR = {
				AND = {
					child_of_king_trigger = yes
					father = {
						primary_title.tier = tier_empire
						culture = { has_cultural_pillar = heritage_iranian }
					}
				}
				AND = {
					child_of_queen_trigger = yes
					mother = {
						primary_title.tier = tier_empire
						culture = { has_cultural_pillar = heritage_iranian }
					}
				}
			}
			queen_mother_trigger = no
			is_female = yes
		}
		localization_key = SNAT_SHAHDOKHT_EMPIRE
	}

	# ドラヴィダ、インド・アーリア / Dravidian, Indo-Aryan
	text = {
		trigger = {
			OR = {
				AND = {
					child_of_king_trigger = yes
					father = {
						primary_title.tier = tier_kingdom
						OR = {
							culture = { has_cultural_pillar = heritage_dravidian }
							culture = { has_cultural_pillar = heritage_indo_aryan }
						}
						NOT = { religion = religion:islam_religion }
					}
				}
				AND = {
					child_of_queen_trigger = yes
					mother = {
						primary_title.tier = tier_kingdom
						OR = {
							culture = { has_cultural_pillar = heritage_dravidian }
							culture = { has_cultural_pillar = heritage_indo_aryan }
						}
						NOT = { religion = religion:islam_religion }
					}
				}
			}
			queen_mother_trigger = no
			is_male = yes
		}
		localization_key = SNAT_RAJKUMAR
	}
	text = {
		trigger = {
			OR = {
				AND = {
					child_of_king_trigger = yes
					father = {
						primary_title.tier = tier_kingdom
						OR = {
							culture = { has_cultural_pillar = heritage_dravidian }
							culture = { has_cultural_pillar = heritage_indo_aryan }
						}
						NOT = { religion = religion:islam_religion }
					}
				}
				AND = {
					child_of_queen_trigger = yes
					mother = {
						primary_title.tier = tier_kingdom
						OR = {
							culture = { has_cultural_pillar = heritage_dravidian }
							culture = { has_cultural_pillar = heritage_indo_aryan }
						}
						NOT = { religion = religion:islam_religion }
					}
				}
			}
			queen_mother_trigger = no
			is_female = yes
		}
		localization_key = SNAT_RAJKUMARI
	}
	text = {
		trigger = {
			OR = {
				AND = {
					child_of_king_trigger = yes
					father = {
						primary_title.tier = tier_empire
						OR = {
							culture = { has_cultural_pillar = heritage_dravidian }
							culture = { has_cultural_pillar = heritage_indo_aryan }
						}
						NOT = { religion = religion:islam_religion }
					}
				}
				AND = {
					child_of_queen_trigger = yes
					mother = {
						primary_title.tier = tier_empire
						OR = {
							culture = { has_cultural_pillar = heritage_dravidian }
							culture = { has_cultural_pillar = heritage_indo_aryan }
						}
						NOT = { religion = religion:islam_religion }
					}
				}
			}
			queen_mother_trigger = no
			is_male = yes
		}
		localization_key = SNAT_RAJKUMAR_EMPIRE
	}
	text = {
		trigger = {
			OR = {
				AND = {
					child_of_king_trigger = yes
					father = {
						primary_title.tier = tier_empire
						OR = {
							culture = { has_cultural_pillar = heritage_dravidian }
							culture = { has_cultural_pillar = heritage_indo_aryan }
						}
						NOT = { religion = religion:islam_religion }
					}
				}
				AND = {
					child_of_queen_trigger = yes
					mother = {
						primary_title.tier = tier_empire
						OR = {
							culture = { has_cultural_pillar = heritage_dravidian }
							culture = { has_cultural_pillar = heritage_indo_aryan }
						}
						NOT = { religion = religion:islam_religion }
					}
				}
			}
			queen_mother_trigger = no
			is_female = yes
		}
		localization_key = SNAT_RAJKUMARI_EMPIRE
	}

	# ドラヴィダ、インド・アーリア（イスラム） / Dravidian, Indo-Aryan (Islam)
	text = {
		trigger = {
			OR = {
				AND = {
					child_of_king_trigger = yes
					father = {
						primary_title.tier = tier_kingdom
						OR = {
							culture = { has_cultural_pillar = heritage_dravidian }
							culture = { has_cultural_pillar = heritage_indo_aryan }
						}
						religion = religion:islam_religion
					}
				}
				AND = {
					child_of_queen_trigger = yes
					mother = {
						primary_title.tier = tier_kingdom
						OR = {
							culture = { has_cultural_pillar = heritage_dravidian }
							culture = { has_cultural_pillar = heritage_indo_aryan }
						}
						religion = religion:islam_religion
					}
				}
			}
			queen_mother_trigger = no
			is_male = yes
		}
		localization_key = SNAT_RAJKUMAR_MUSLIM
	}
	text = {
		trigger = {
			OR = {
				AND = {
					child_of_king_trigger = yes
					father = {
						primary_title.tier = tier_kingdom
						OR = {
							culture = { has_cultural_pillar = heritage_dravidian }
							culture = { has_cultural_pillar = heritage_indo_aryan }
						}
						religion = religion:islam_religion
					}
				}
				AND = {
					child_of_queen_trigger = yes
					mother = {
						primary_title.tier = tier_kingdom
						OR = {
							culture = { has_cultural_pillar = heritage_dravidian }
							culture = { has_cultural_pillar = heritage_indo_aryan }
						}
						religion = religion:islam_religion
					}
				}
			}
			queen_mother_trigger = no
			is_female = yes
		}
		localization_key = SNAT_RAJKUMARI_MUSLIM
	}
	text = {
		trigger = {
			OR = {
				AND = {
					child_of_king_trigger = yes
					father = {
						primary_title.tier = tier_empire
						OR = {
							culture = { has_cultural_pillar = heritage_dravidian }
							culture = { has_cultural_pillar = heritage_indo_aryan }
						}
						religion = religion:islam_religion
					}
				}
				AND = {
					child_of_queen_trigger = yes
					mother = {
						primary_title.tier = tier_empire
						OR = {
							culture = { has_cultural_pillar = heritage_dravidian }
							culture = { has_cultural_pillar = heritage_indo_aryan }
						}
						religion = religion:islam_religion
					}
				}
			}
			queen_mother_trigger = no
			is_male = yes
		}
		localization_key = SNAT_RAJKUMAR_MUSLIM_EMPIRE
	}
	text = {
		trigger = {
			OR = {
				AND = {
					child_of_king_trigger = yes
					father = {
						primary_title.tier = tier_empire
						OR = {
							culture = { has_cultural_pillar = heritage_dravidian }
							culture = { has_cultural_pillar = heritage_indo_aryan }
						}
						religion = religion:islam_religion
					}
				}
				AND = {
					child_of_queen_trigger = yes
					mother = {
						primary_title.tier = tier_empire
						OR = {
							culture = { has_cultural_pillar = heritage_dravidian }
							culture = { has_cultural_pillar = heritage_indo_aryan }
						}
						religion = religion:islam_religion
					}
				}
			}
			queen_mother_trigger = no
			is_female = yes
		}
		localization_key = SNAT_RAJKUMARI_MUSLIM_EMPIRE
	}

	# 王太后 / Queen Mother
	text = {
		trigger = {
			queen_mother_trigger = yes
			top_liege = {
				primary_title.tier = tier_kingdom
				NOT = {
					culture = { has_cultural_pillar = heritage_dravidian }
					culture = { has_cultural_pillar = heritage_indo_aryan }
				}
			}
		}
		localization_key = SNAT_QUEEN_MOTHER
	}
	text = {
		trigger = {
			queen_mother_trigger = yes
			top_liege = {
				primary_title.tier = tier_empire
				NOT = {
					culture = { has_cultural_pillar = heritage_dravidian }
					culture = { has_cultural_pillar = heritage_indo_aryan }
				}
			}
		}
		localization_key = SNAT_EMPRESS_MOTHER
	}
	text = {
		trigger = {
			queen_mother_trigger = yes
			top_liege = {
				primary_title.tier = tier_kingdom
				OR = {
					culture = { has_cultural_pillar = heritage_dravidian }
					culture = { has_cultural_pillar = heritage_indo_aryan }
				}
			}
		}
		localization_key = SNAT_RAJMATA
	}

	#################################
	# 統治者の家族 / Ruler's family #
	#################################
	text = {
		trigger = {
			father_ruler_family_trigger = yes
			not_royal_family_trigger = yes
		}
		localization_key = SNAT_FATHER_RULER_FAMILY
	}
	text = {
		trigger = {
			mother_ruler_family_trigger = yes
			not_royal_family_trigger = yes
		}
		localization_key = SNAT_MOTHER_RULER_FAMILY
	}

	##########################################
	# 廷臣（称号なし） / Courtier (No Title) #
	##########################################

	# 評議員 / Councillor
	text = {
		trigger = {
			no_title_trigger = yes
			not_royal_family_trigger = yes
			father_ruler_family_trigger = no
			mother_ruler_family_trigger = no
			is_courtier = yes
			is_councillor = yes
		}
		localization_key = SNAT_COUNCILLOR
	}

	# 廷臣 / Courtier
	text = {
		trigger = {
			no_title_trigger = yes
			not_royal_family_trigger = yes
			father_ruler_family_trigger = no
			mother_ruler_family_trigger = no
			is_courtier = yes
			is_councillor = no
			is_male = yes
		}
		localization_key = SNAT_COURTIER_MALE
	}
	text = {
		trigger = {
			no_title_trigger = yes
			not_royal_family_trigger = yes
			father_ruler_family_trigger = no
			mother_ruler_family_trigger = no
			is_courtier = yes
			is_councillor = no
			is_female = yes
		}
		localization_key = SNAT_COURTIER_FEMALE
	}

	#######################
	# 主君なし / No Liege #
	#######################

	# 囚人 / Prisoner
	text = {
		trigger = {
			no_title_trigger = yes
			is_courtier = no
			is_imprisoned = yes
			is_male = yes
		}
		localization_key = SNAT_PRISONER_MALE
	}
	text = {
		trigger = {
			no_title_trigger = yes
			is_courtier = no
			is_imprisoned = yes
			is_female = yes
		}
		localization_key = SNAT_PRISONER_FEMALE
	}

	# 放浪者 / Wanderer
	text = {
		trigger = {
			no_title_trigger = yes
			is_courtier = no
			is_imprisoned = no
			is_male = yes
		}
		localization_key = SNAT_WANDERER_MALE
	}
	text = {
		trigger = {
			no_title_trigger = yes
			is_courtier = no
			is_imprisoned = no
			is_female = yes
		}
		localization_key = SNAT_WANDERER_FEMALE
	}
}