﻿### Almoravid Character Templates [history ID]
# timestamp: 1050
# root: 273081

##### Lamptuna dynasty
# Talakakin (718 - 764, 46) [273081]
	# Tîklân (738 - 768, 30) [273095]
		# Tîlutân (757 - 837, 80) [273070]
		# Bâtin (769 - 835, 66) [273071]
			# al-Athîr (830 - 893, 63) [273072] (alive in 867)
				# Tamim (862 - 918, 56) [273073] (alive in 867)
					# Addu (895 - 953, 58) [273123]
						# Talakakin (932 - 999, 67) [273124]
							# Tifawt (950 - 1003, 53) [273077]
								# Turgurt (973 - 1015, 42) [155077]

### Lamptuna

addu_lamptuna_character_template = {
	name = addu_lamptuna_character_template_name
	age = 155
	gender = male

	faith = faith:ashari
	culture = culture:butr

	random_traits = yes
	after_creation = {
		set_interesting_traits_and_modifiers_effect = yes
		death = natural
	}
}

talakakin_ii_lamptuna_character_template = {
	name = talakakin_ii_lamptuna_character_template_name
	age = 118
	gender = male

	faith = faith:ashari
	culture = culture:butr

	random_traits = yes
	after_creation = {
		set_interesting_traits_and_modifiers_effect = yes
		death = natural
	}
}

tifawt_lamptuna_character_template = {
	name = tifawt_lamptuna_character_template_name
	age = 100
	gender = male

	faith = faith:ashari
	culture = culture:butr

	random_traits = yes
	after_creation = { # dies in script after the cadet branch is created
		set_interesting_traits_and_modifiers_effect = yes
		#death = natural
	}
}

### Almoravid

# Yahya INVADER (? - 1056) [3853]
# GEN D
yahya_almoravid_character_template = {
	name = yahya_almoravid_character_template_name
	age = { 18 24 }
	gender = male

	faith = faith:ashari
	culture = culture:butr

	diplomacy = { 12 17 }
	martial = { 14 18 }
	stewardship = { 8 12 }
	intrigue = { 6 9 }
	learning = { 15 18 }

	trait = zealous
	trait = education_martial_4

	trait = holy_warrior
	trait = open_terrain_expert

	trait = pilgrim

	random_traits = yes
	after_creation = {
		add_perk = stalwart_leader_perk
		set_interesting_traits_and_modifiers_effect = yes
	}
}

### GEN A

# Turgurt (973 - 1015, 42) [155077]
turgurt_almoravid_a_character_template = {
	name = turgurt_almoravid_a_character_template_name
	age = { 80 85 }
	gender = male
	dynasty = generate

	faith = faith:ashari
	culture = culture:butr
	trait = ill
	random_traits = yes
	after_creation = {
		set_interesting_traits_and_modifiers_effect = yes
	}
}

### GEN B

# aka Ibrahim
talagagin_almoravid_b_character_template = {
	name = talagagin_almoravid_b_character_template_name
	age = { 60 65 }
	gender = male

	faith = faith:ashari
	culture = culture:butr
	random_traits = yes
	after_creation = {
		set_interesting_traits_and_modifiers_effect = yes
	}
}

muhammad_almoravid_b_character_template = {
	name = muhammad_almoravid_b_character_template_name
	age = { 60 65 }
	gender = male

	faith = faith:ashari
	culture = culture:butr
	random_traits = yes
	after_creation = {
		set_interesting_traits_and_modifiers_effect = yes
	}
}

hamid_almoravid_b_character_template = {
	name = hamid_almoravid_b_character_template_name
	age = { 60 65 }
	gender = male

	faith = faith:ashari
	culture = culture:butr
	random_traits = yes
	after_creation = {
		set_interesting_traits_and_modifiers_effect = yes
	}
}

### GEN C

tashfin_almoravid_c_character_template = {
	name = tashfin_almoravid_c_character_template_name
	age = { 40 45 }
	gender = male
	
	faith = faith:ashari
	culture = culture:butr
	random_traits = yes
	after_creation = {
		set_interesting_traits_and_modifiers_effect = yes
	}
}

ali_almoravid_c_character_template = {
	name = ali_almoravid_c_character_template_name
	age = { 40 45 }
	gender = male
	
	faith = faith:ashari
	culture = culture:butr
	random_traits = yes
	after_creation = {
		set_interesting_traits_and_modifiers_effect = yes
	}
}

umar_almoravid_c_character_template = {
	name = umar_almoravid_c_character_template_name
	age = { 40 45 }
	gender = male
	
	faith = faith:ashari
	culture = culture:butr
	random_traits = yes
	after_creation = {
		set_interesting_traits_and_modifiers_effect = yes
	}
}

al-hajj_almoravid_c_character_template = {
	name = al-hajj_almoravid_c_character_template_name
	age = { 40 45 }
	gender = male
	
	faith = faith:ashari
	culture = culture:butr
	random_traits = yes
	after_creation = {
		set_interesting_traits_and_modifiers_effect = yes
	}
}

tilankan_almoravid_c_character_template = {
	name = tilankan_almoravid_c_character_template_name
	age = { 40 45 }
	gender = male
	
	faith = faith:ashari
	culture = culture:butr
	random_traits = yes
	after_creation = {
		set_interesting_traits_and_modifiers_effect = yes
	}
}

### GEN D

yusuf_almoravid_d_character_template = {
	name = yusuf_almoravid_d_character_template_name
	age = { 20 25 }
	gender = male
	
	faith = faith:ashari
	culture = culture:butr
	random_traits = yes
	after_creation = {
		set_interesting_traits_and_modifiers_effect = yes
	}
}

ibrahim_almoravid_d_character_template = {
	name = ibrahim_almoravid_d_character_template_name
	age = { 20 25 }
	gender = male
	
	faith = faith:ashari
	culture = culture:butr
	random_traits = yes
	after_creation = {
		set_interesting_traits_and_modifiers_effect = yes
	}
}

abu_bakr_tashfin_almoravid_d_character_template = {
	name = abu_bakr_tashfin_almoravid_d_character_template_name
	age = { 20 25 }
	gender = male
	
	faith = faith:ashari
	culture = culture:butr
	random_traits = yes
	after_creation = {
		set_interesting_traits_and_modifiers_effect = yes
	}
}

abu_bakr_umar_almoravid_d_character_template = {
	name = abu_bakr_umar_almoravid_d_character_template_name
	age = { 20 25 }
	gender = male
	
	faith = faith:ashari
	culture = culture:butr
	random_traits = yes
	after_creation = {
		set_interesting_traits_and_modifiers_effect = yes
	}
}

ali_almoravid_d_character_template = {
	name = ali_almoravid_d_character_template_name
	age = { 20 25 }
	gender = male
	
	faith = faith:ashari
	culture = culture:butr
	random_traits = yes
	after_creation = {
		set_interesting_traits_and_modifiers_effect = yes
	}
}

muhammad_almoravid_d_character_template = {
	name = muhammad_almoravid_d_character_template_name
	age = { 20 25 }
	gender = male
	
	faith = faith:ashari
	culture = culture:butr
	random_traits = yes
	after_creation = {
		set_interesting_traits_and_modifiers_effect = yes
	}
}

mazdali_almoravid_d_character_template = {
	name = mazdali_almoravid_d_character_template_name
	age = { 20 25 }
	gender = male
	
	faith = faith:ashari
	culture = culture:butr
	random_traits = yes
	after_creation = {
		set_interesting_traits_and_modifiers_effect = yes
	}
}