﻿#######################################
# Council Position Chancellor
#######################################
CouncilPositionChancellor = {
	type = character
	text = {# Pratihara Chancellor
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_punjabi }
				liege.culture = { has_name_list = name_list_rajput }
				liege.culture = { has_name_list = name_list_malvi }
				liege.culture = { has_name_list = name_list_braj }
				liege.culture = { has_name_list = name_list_awadhi }
			}
		}
		localization_key = councillor_chancellor_pratihara
	}
	text = {# Pala Chancellor
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_bihari }
				liege.culture = { has_name_list = name_list_bengali }
				liege.culture = { has_name_list = name_list_nagpuri }
				liege.culture = { has_name_list = name_list_kamarupi }
			}
		}
		localization_key = councillor_chancellor_pala
	}
	text = {# Rashtrakuta Chancellor
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_kannada }
				liege.culture = { has_name_list = name_list_marathi }
				liege.culture = { has_name_list = name_list_konkani }
			}
		}
		localization_key = councillor_chancellor_deccan
	}
	text = {# Chola Chancellor
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_malayali }
				liege.culture = { has_name_list = name_list_telugu }
				liege.culture = { has_name_list = name_list_tamil }
			}
		}
		localization_key = councillor_chancellor_chola
	}
	text = {# Somavamsi Chancellor
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_oriya }
				liege.culture = { has_name_list = name_list_sambalpuri }
			}
		}
		localization_key = councillor_chancellor_oriya
	}
	text = {# Sinhala Chancellor
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_sinhala }
			}
		}
		localization_key = councillor_chancellor_sinhala
	}
	text = {# Kashmiri Chancellor
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_kashmiri }
			}
		}
		localization_key = councillor_chancellor_kashmiri
	}
	text = {# Nepali Chancellor
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_nepali }
				liege.culture = { has_name_list = name_list_pahari }
			}
		}
		localization_key = councillor_chancellor_nepali
	}
	text = {# Burmese
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_burmese }
			}
		}
		localization_key = councillor_marshal_burmese
	}
	text = {# Mon
		trigger = {
			liege.culture = { has_name_list = name_list_mon }
		}
		localization_key = councillor_marshal_mon
	}

	## Other SEA ##

	text = { # Loloish chancellor
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_yi }
				liege.culture = { has_name_list = name_list_bai }
			}
		}
		localization_key = councillor_chancellor_loloish
	}
	text = { # Burman chancellor
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_burmese }
			}
		}
		localization_key = councillor_chancellor_burman
	}
	text = { # Burman chancellor
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_burmese }
			}
		}
		localization_key = councillor_chancellor_burman
	}
	text = { # Malay chancellor
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_malayic }
			}
		}
		localization_key = councillor_chancellor_malayic
	}
	text = { # Tagalog chancellor
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_tagalog }
			}
		}
		localization_key = councillor_chancellor_tagalog
	}
	text = { # Cham chancellor
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_chamic }
			}
		}
		localization_key = councillor_chancellor_chamic
	}
	text = { # Batak chancellor
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_batak }
			}
		}
		localization_key = councillor_chancellor_batak
	}
	text = { # Ilokano chancellor
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_idaya }
			}
		}
		localization_key = councillor_chancellor_idaya
	}
	text = { # Vietnamese chancellor
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_vietnamese }
			}
		}
		localization_key = councillor_chancellor_vietnamese
	}
	text = { # Imperial Chinese chancellor
		trigger = {
			liege = {
				has_government = chinese_government
				highest_held_title_tier = tier_empire
			}
			OR = {
				liege.culture = { has_name_list = name_list_han }
			}
		}
		localization_key = councillor_chancellor_imperial_chinese
	}
	text = { # Imperial chancellor (non-Chinese)
		trigger = {
			liege = {
				has_government = chinese_government
				highest_held_title_tier = tier_empire
			}
		}
		localization_key = councillor_chancellor_imperial_backup
	}

	text = {# Fall Back
		localization_key = councillor_chancellor
		fallback = yes
	}
}
#######################################
## Council Position Steward
#######################################
CouncilPositionSteward = {
	type = character
	text = {# Pratihara Chancellor
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_punjabi }
				liege.culture = { has_name_list = name_list_rajput }
				liege.culture = { has_name_list = name_list_malvi }
				liege.culture = { has_name_list = name_list_braj }
				liege.culture = { has_name_list = name_list_awadhi }
			}
		}
		localization_key = councillor_steward_pratihara
	}
	text = {# Pala Chancellor
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_bihari }
				liege.culture = { has_name_list = name_list_bengali }
				liege.culture = { has_name_list = name_list_nagpuri }
				liege.culture = { has_name_list = name_list_kamarupi }
			}
		}
		localization_key = councillor_steward_pala
	}
	text = {# Rashtrakuta Chancellor
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_kannada }
				liege.culture = { has_name_list = name_list_marathi }
				liege.culture = { has_name_list = name_list_konkani }
			}
		}
		localization_key = councillor_steward_deccan
	}
	text = {# Chola Chancellor
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_malayali }
				liege.culture = { has_name_list = name_list_telugu }
				liege.culture = { has_name_list = name_list_tamil }
			}
		}
		localization_key = councillor_steward_chola
	}
	text = {# Somavamsi Chancellor
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_oriya }
				liege.culture = { has_name_list = name_list_sambalpuri }
			}
		}
		localization_key = councillor_chancellor_oriya
	}
	text = {# Sinhala Chancellor
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_sinhala }
			}
		}
		localization_key = councillor_steward_sinhala
	}
	text = {# Kashmiri Chancellor - female
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_kashmiri }
			}
		}
		localization_key = councillor_steward_female_kashmiri
	}
	text = {# Kashmiri Chancellor - male
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_kashmiri }
			}
		}
		localization_key = councillor_steward_male_kashmiri
	}
	text = {# Nepali Chancellor
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_nepali }
				liege.culture = { has_name_list = name_list_pahari }
			}
		}
		localization_key = councillor_chancellor_nepali
	}

	## Other SEA ##

	text = { # Loloish steward
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_yi }
				liege.culture = { has_name_list = name_list_bai }
			}
		}
		localization_key = councillor_steward_loloish
	}
	text = { # Burman steward
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_burmese }
			}
		}
		localization_key = councillor_steward_burman
	}
	text = { # Burman steward
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_burmese }
			}
		}
		localization_key = councillor_steward_burman
	}
	text = { # Malay steward
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_malayic }
			}
		}
		localization_key = councillor_steward_malayic
	}
	text = { # Tagalog steward
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_tagalog }
			}
		}
		localization_key = councillor_steward_tagalog
	}
	text = { # Cham steward
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_chamic }
			}
		}
		localization_key = councillor_steward_chamic
	}
	text = { # Batak steward
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_batak }
			}
		}
		localization_key = councillor_steward_batak
	}
	text = { # Ilokano steward
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_idaya }
			}
		}
		localization_key = councillor_steward_idaya
	}
	text = { # Vietnamese steward
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_vietnamese }
			}
		}
		localization_key = councillor_steward_vietnamese
	}
	text = { # Imperial Chinese steward
		trigger = {
			liege = {
				has_government = chinese_government
				highest_held_title_tier = tier_empire
			}
			OR = {
				liege.culture = { has_name_list = name_list_han }
			}
		}
		localization_key = councillor_steward_imperial_chinese
	}
	text = { # Imperial steward (non-Chinese)
		trigger = {
			liege = {
				has_government = chinese_government
				highest_held_title_tier = tier_empire
			}
		}
		localization_key = councillor_steward_imperial_backup
	}

	text = {# Fall Back
		localization_key = councillor_steward
		fallback = yes
	}
}
#######################################
## Council Position Marshal
#######################################
CouncilPositionMarshal = {
	type = character
	text = {# Pratihara Chancellor
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_punjabi }
				liege.culture = { has_name_list = name_list_rajput }
				liege.culture = { has_name_list = name_list_malvi }
				liege.culture = { has_name_list = name_list_braj }
				liege.culture = { has_name_list = name_list_awadhi }
			}
		}
		localization_key = councillor_marshal_pratihara
	}
	text = {# Pala Chancellor
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_bihari }
				liege.culture = { has_name_list = name_list_bengali }
				liege.culture = { has_name_list = name_list_nagpuri }
				liege.culture = { has_name_list = name_list_kamarupi }
			}
		}
		localization_key = councillor_marshal_pala
	}
	text = {# Rashtrakuta Chancellor
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_kannada }
				liege.culture = { has_name_list = name_list_marathi }
				liege.culture = { has_name_list = name_list_konkani }
			}
		}
		localization_key = councillor_marshal_deccan
	}
	text = {# Chola Chancellor
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_malayali }
				liege.culture = { has_name_list = name_list_telugu }
				liege.culture = { has_name_list = name_list_tamil }
			}
		}
		localization_key = councillor_marshal_chola
	}
	text = {# Somavamsi Chancellor
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_oriya }
				liege.culture = { has_name_list = name_list_sambalpuri }
			}
		}
		localization_key = councillor_marshal_oriya
	}
	text = {# Kashmiri Chancellor
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_kashmiri }
			}
		}
		localization_key = councillor_marshal_kashmiri
	}
	text = {# Nepali Chancellor
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_nepali }
				liege.culture = { has_name_list = name_list_pahari }
			}
		}
		localization_key = councillor_marshal_nepali
	}
	text = {# Sinhala Chancellor
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_sinhala }
			}
		}
		localization_key = councillor_marshal_sinhala
	}

	## Other SEA ##

	text = { # Loloish Marshal
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_yi }
				liege.culture = { has_name_list = name_list_bai }
			}
		}
		localization_key = councillor_marshal_loloish
	}
	text = { # Burman Marshal
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_burmese }
			}
		}
		localization_key = councillor_marshal_burman
	}
	text = { # Burman Marshal
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_burmese }
			}
		}
		localization_key = councillor_marshal_burman
	}
	text = { # Malay Marshal
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_malayic }
			}
		}
		localization_key = councillor_marshal_malayic
	}
	text = { # Tagalog Marshal
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_tagalog }
			}
		}
		localization_key = councillor_marshal_tagalog
	}
	text = { # Cham Marshal
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_chamic }
			}
		}
		localization_key = councillor_marshal_chamic
	}
	text = { # Batak Marshal
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_batak }
			}
		}
		localization_key = councillor_marshal_batak
	}
	text = { # Ilokano Marshal
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_idaya }
			}
		}
		localization_key = councillor_marshal_idaya
	}
	text = { # Vietnamese Marshal
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_vietnamese }
			}
		}
		localization_key = councillor_marshal_vietnamese
	}

	text = {# Fall Back
		localization_key = councillor_marshal
		fallback = yes
	}
}
#######################################
## Council Position Spymaster
#######################################
CouncilPositionSpymaster = {
	type = character
	text = {# Pratihara Chancellor
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_punjabi }
				liege.culture = { has_name_list = name_list_rajput }
				liege.culture = { has_name_list = name_list_malvi }
				liege.culture = { has_name_list = name_list_braj }
				liege.culture = { has_name_list = name_list_awadhi }
			}
		}
		localization_key = councillor_spymaster_pratihara
	}
	text = {# Pala Chancellor
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_bihari }
				liege.culture = { has_name_list = name_list_bengali }
				liege.culture = { has_name_list = name_list_nagpuri }
				liege.culture = { has_name_list = name_list_kamarupi }
			}
		}
		localization_key = councillor_spymaster_pala
	}
	text = {# Rashtrakuta Chancellor
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_kannada }
				liege.culture = { has_name_list = name_list_marathi }
				liege.culture = { has_name_list = name_list_konkani }
			}
		}
		localization_key = councillor_spymaster_deccan
	}
	text = {# Chola Chancellor
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_malayali }
				liege.culture = { has_name_list = name_list_telugu }
				liege.culture = { has_name_list = name_list_tamil }
			}
		}
		localization_key = councillor_spymaster_chola
	}
	text = {# Somavamsi Chancellor
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_oriya }
				liege.culture = { has_name_list = name_list_sambalpuri }
			}
		}
		localization_key = councillor_spymaster_oriya
	}
	text = {# Sinhala Chancellor
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_sinhala }
			}
		}
		localization_key = councillor_spymaster_sinhala
	}
	text = {# Kashmiri Chancellor
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_kashmiri }
			}
		}
		localization_key = councillor_spymaster_kashmiri
	}
	text = {# Nepali Chancellor
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_nepali }
				liege.culture = { has_name_list = name_list_pahari }
			}
		}
		localization_key = councillor_spymaster_nepali
	}

	## Other SEA ##

	text = { # Loloish spymaster
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_yi }
				liege.culture = { has_name_list = name_list_bai }
			}
		}
		localization_key = councillor_spymaster_loloish
	}
	text = { # Burman spymaster
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_burmese }
			}
		}
		localization_key = councillor_spymaster_burman
	}
	text = { # Burman spymaster
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_burmese }
			}
		}
		localization_key = councillor_spymaster_burman
	}
	text = { # Malay spymaster
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_malayic }
			}
		}
		localization_key = councillor_spymaster_malayic
	}
	text = { # Tagalog spymaster
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_tagalog }
			}
		}
		localization_key = councillor_spymaster_tagalog
	}
	text = { # Cham spymaster
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_chamic }
			}
		}
		localization_key = councillor_spymaster_chamic
	}
	text = { # Batak spymaster
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_batak }
			}
		}
		localization_key = councillor_spymaster_batak
	}
	text = { # Ilokano spymaster
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_idaya }
			}
		}
		localization_key = councillor_spymaster_idaya
	}
	text = { # Vietnamese spymaster
		trigger = {
			OR = {
				liege.culture = { has_name_list = name_list_vietnamese }
			}
		}
		localization_key = councillor_spymaster_vietnamese
	}

	text = {# Fall Back
		localization_key = councillor_spymaster
		fallback = yes
	}
}
