#New Byzantine titles from VIET
title_kanikleios = {
	dignity = 0.075
	grant_limit = 1
	opinion_effect = 15
	
	monthly_salary = 0.01
	monthly_prestige = 0.005
	is_unique = yes
	
	allowed_to_hold = {
		is_adult = yes
		is_female = no
		NOT = {
			trait = incapable
		}
	}
	allowed_to_grant = {
		is_feudal = yes
		OR = {
			has_landed_title = e_byzantium
			has_landed_title = e_roman_empire
		}
		NOT = { religion_group = muslim }
	}
	
	gain_effect = {
	}
	lose_effect = {
	}

	message = yes
}

title_protospatharios = {
	dignity = 0.05
	grant_limit = 1
	opinion_effect = 10
	
	monthly_salary = 0.005
	monthly_prestige = 0.002
	is_unique = yes
	
	allowed_to_hold = {
		is_adult = yes
		is_female = no
		NOT = {
			trait = incapable
		}
	}
	allowed_to_grant = {
		OR = {
			is_feudal = yes
			is_tribal = yes
		}
		OR = {
			has_landed_title = e_byzantium
			has_landed_title = e_roman_empire
		}
		NOT = { religion_group = muslim }
	}
	
	gain_effect = {
	}
	lose_effect = {
	}

	message = yes
}

title_court_musician = { #Moved from muslim titles - now available to non-muslims
	dignity = 0.06
	realm_in_name = yes
	grant_limit = 1
	opinion_effect = 10
	
	monthly_salary = 0.02
	monthly_prestige = 0.004
	is_unique = yes
	
	allowed_to_hold = {
		is_adult = yes
		is_female = no
		OR = {
			trait = poet
			trait = melodious_voice
			trait = powerful_voice
			AND = {
				diplomacy = 11
				learning = 8
			}
		}
		NOT = {
			trait = incapable
		}
	}
	allowed_to_grant = {
		is_feudal = yes
		NOT = { culture_group = west_african }
		NOT = { culture_group = central_african }
		NOT = { religion = west_african_pagan }
		NOT = { religion = west_african_pagan_reformed }

		OR = {
			any_courtier = {
				is_adult = yes
				is_female = no
				OR = {
					trait = poet
					trait = melodious_voice
					trait = powerful_voice
					AND = {
						diplomacy = 11
						learning = 8
					}
				}
			}
			any_vassal = {
				is_adult = yes
				is_female = no
				OR = {
					trait = poet
					trait = melodious_voice
					trait = powerful_voice
					AND = {
						diplomacy = 11
						learning = 8
					}
				}
			}
		}
	}
	
	gain_effect = {
	}
	lose_effect = {
	}

	message = yes
}

title_lique_mekwas = {
	dignity = 0.04
	grant_limit = 2
	opinion_effect = 5

	monthly_salary = 0.01
	monthly_prestige = 0.008
	
	allowed_to_hold = {
		is_adult = yes
		is_female = no
		NOR = {
			trait = imbecile
			trait = slow
			trait = incapable
		}
	}
	allowed_to_grant = {
		OR = {
			is_feudal = yes
			is_tribal = yes
		}
		primary_title = {
			OR = {
				tier = king
				tier = emperor
			}
		}
		culture_group = east_african
		NOT = { religion_group = muslim }
	}

	gain_effect = {
	}
	lose_effect = {
	}

	message = yes
}

title_belen_tigui = {
	dignity = 0.06
	grant_limit = 1
	realm_in_name = yes
	opinion_effect = 15

	monthly_salary = 0.01
	monthly_prestige = 0.005
	
	allowed_to_hold = {
		is_adult = yes
		is_female = no
		NOR = {
			trait = imbecile
			trait = slow
			trait = incapable
		}
	}
	allowed_to_grant = {
		OR = {
			is_feudal = yes
			is_tribal = yes
		}
		primary_title = {
			OR = {
				tier = king
				tier = emperor
			}
		}
		culture_group = west_african
		NOT = { culture = maghreb_arabic }
	}

	gain_effect = {
	}
	lose_effect = {
	}

	message = yes
}

title_nagid = {
	dignity = 0.01
	realm_in_name = yes
	grant_limit = 1
	opinion_effect = 10
	
	monthly_salary = 0.01
	monthly_prestige = 0.01
	
	allowed_to_hold = {
		is_adult = yes
		is_female = no
		religion_group = jewish_group
		NOR = {
			trait = imbecile
			trait = slow
			trait = incapable
		}
	}
	allowed_to_grant = {
		primary_title = { higher_tier_than = COUNT }
		religion_group = muslim
	}
	
	gain_effect = {
	}
	lose_effect = {
	}

	message = yes
}

title_marcher_lord = {
	dignity = 0.1
	realm_in_name = yes
	grant_limit = 1
	opinion_effect = 20
	
	monthly_salary = 0.01
	monthly_prestige = 0.01
	
	allowed_to_hold = {
		is_adult = yes
		is_female = no
		is_feudal = yes
		is_ruler = yes
		OR = {
			any_realm_province = {
				culture = welsh
			}
			any_realm_province = {
				any_neighbor_province = {
					culture = welsh
				}
			}
		}
		OR = {
			tier = count
			tier = duke
		}
	}
	allowed_to_grant = {
		is_feudal = yes
		OR = {
			culture = norman
			culture = saxon
		}
		OR = {
			has_landed_title = k_england
			has_landed_title = e_britannia
		}
	}
	
	gain_effect = {
	}
	lose_effect = {
	}

	message = yes
}

title_amir_al_umara = {
	dignity = 0.05
	realm_in_name = yes
	grant_limit = 1
	opinion_effect = 12
	
	monthly_salary = 0.01
	monthly_prestige = 0.005
	
	allowed_to_hold = {
		is_adult = yes
		is_female = no
		NOT = {
			trait = incapable
		}
	}
	allowed_to_grant = {
		OR = {
			culture = norman
		}
		has_landed_title = k_sicily			
	}
	
	gain_effect = {
	}
	lose_effect = {
	}

	message = yes
}

#Wafrica
title_court_griot = { #Court Griot
	dignity = 0.25
	realm_in_name = yes
	grant_limit = 1
	opinion_effect = 30
	
	monthly_salary = 0.02
	monthly_prestige = 0.01
	
	allowed_to_hold = {
		is_adult = yes
		is_ruler = no
		is_female = no
		trait = griot
		NOT = {
			trait = incapable
		}
	}
	allowed_to_grant = {
		OR = {
			culture_group = west_african
			culture_group = central_african
			religion = west_african_pagan
			religion = west_african_pagan_reformed
			any_courtier = {
				trait = griot
			}
			any_vassal = {
				trait = griot
			}
		}
	}
	
	gain_effect = {
	}
	lose_effect = {
	}

	message = yes
}


title_farima_soura = {
	dignity = 0.1
	realm_in_name = yes
	grant_limit = 1
	opinion_effect = 15
	
	monthly_salary = 0.05
	monthly_prestige = 0.05
	is_unique = yes
	
	allowed_to_hold = {
		is_adult = yes
		is_female = no
		NOT = { trait = griot }
		martial = 8
		NOT = {
			trait = incapable
		}
	}
	allowed_to_grant = {
		higher_tier_than = DUKE
		OR = {
			is_feudal = yes
			is_tribal = yes
		}
		OR = {
			culture_group = west_african
			religion = west_african_pagan
			religion = west_african_pagan_reformed
		}
	}
	
	gain_effect = {
	}
	lose_effect = {
	}

	message = yes
}

title_sankar_zouma = {
	dignity = 0.1
	realm_in_name = yes
	grant_limit = 1
	opinion_effect = 15
	
	monthly_salary = 0.05
	monthly_prestige = 0.05
	is_unique = yes
	
	allowed_to_hold = {
		is_adult = yes
		is_female = no
		NOR = {
			trait = griot
			trait = incapable
		}
		martial = 8
	}
	allowed_to_grant = {
		higher_tier_than = DUKE
		is_feudal = yes
		OR = {
			culture_group = west_african
			religion = west_african_pagan
			religion = west_african_pagan_reformed
		}
	}
	
	gain_effect = {
	}
	lose_effect = {
	}

	message = yes
}


#Buddhist

title_saintly_monk = {
	dignity = 0.01
	grant_limit = 2
	opinion_effect = 10
	
	monthly_prestige = 0.02
	
	allowed_to_hold = {
		age = 16
		religion = buddhist
		AND = {
			is_theocracy = yes
			is_ruler = yes
		}
	}
	allowed_to_grant = {
		religion = buddhist
		OR = {
			is_feudal = yes
			is_merchant_republic = yes
		}
		primary_title = {
			OR = {
				tier = king
				tier = emperor
			}
		}
	}
	
	gain_effect = {
	}
	lose_effect = {
	}

	message = yes
}


#Celtic

title_knight_of_the_round_table = {
	dignity = 0.1
	grant_limit = 12
	opinion_effect = 15
	
	monthly_prestige = 0.01
	
	allowed_to_hold = {
		age = 16
		martial = 8
		NOT = {
			trait = incapable
		}
	}
	allowed_to_grant = {
		has_landed_title = e_britannia
		has_global_flag = VIET_knights_of_the_round_table_refounded
	}
	
	gain_effect = {
	}
	lose_effect = {
	}

	message = yes
}