my_title = {
	type = character

	text = {
		localization_key = empress_lower_case
		trigger = {
			is_female = yes
			highest_held_title_tier >= 5
		}
	}

	text = {
		localization_key = emperor_lower_case
		trigger = {
			is_male = yes
			highest_held_title_tier >= 5
		}
	}

	text = {
		localization_key = queen_lower_case
		trigger = {
			is_female = yes
			highest_held_title_tier >= 4
		}
	}

	text = {
		localization_key = king_lower_case
		trigger = {
			is_male = yes
			highest_held_title_tier >= 4
		}
	}

	text = {
		localization_key = duchess_lower_case
		trigger = {
			is_female = yes
			highest_held_title_tier >= 3
		}
	}

	text = {
		localization_key = duke_lower_case
		trigger = {
			is_male = yes
			highest_held_title_tier >= 3
		}
	}

	text = {
		localization_key = countess_lower_case
		trigger = {
			is_female = yes
			highest_held_title_tier >= 2
		}
	}

	text = {
		localization_key = count_lower_case
		trigger = {
			is_male = yes
			highest_held_title_tier >= 2
		}
	}

	text = {
		localization_key = baroness_lower_case
		trigger = {
			is_female = yes
			highest_held_title_tier >= 1
		}
	}

	text = {
		localization_key = baron_lower_case
		trigger = {
			is_male = yes
			highest_held_title_tier >= 1
		}
	}

	text = {
		localization_key = lady_lower_case
		trigger = {
			is_female = yes
		}
	}

	text = {
		localization_key = sir_lower_case
		trigger = {
			is_male = yes
		}
	}
}


RealmType = {
	type = character

	text = {
		localization_key = kingdom_lower_case
		trigger = {
			highest_held_title_tier >= 4
		}
	}

	text = {
		localization_key = duchy_lower_case
		trigger = {
			highest_held_title_tier >= 3
		}
	}

	text = {
		localization_key = county_lower_case
		trigger = {
			highest_held_title_tier >= 2
		}
	}

	text = {
		localization_key = barony_lower_case
		trigger = {
			highest_held_title_tier >= 1
		}
	}
}


using_my_title = {
	type = character

	text = {
		localization_key = emperor_lower_case
		trigger = {
			highest_held_title_tier >= 5
			scope:second = { is_female = no }
		}
	}

	text = {
		localization_key = empress_lower_case
		trigger = {
			highest_held_title_tier >= 5
			scope:second = { is_female = yes }
		}
	}

	text = {
		localization_key = king_lower_case
		trigger = {
			highest_held_title_tier >= 4
			scope:second = { is_female = no }
		}
	}

	text = {
		localization_key = queen_lower_case
		trigger = {
			highest_held_title_tier >= 4
			scope:second = { is_female = yes }
		}
	}

	text = {
		localization_key = duke_lower_case
		trigger = {
			highest_held_title_tier >= 3
			scope:second = { is_female = no }
		}
	}

	text = {
		localization_key = duchess_lower_case
		trigger = {
			highest_held_title_tier >= 3
			scope:second = { is_female = yes }
		}
	}

	text = {
		localization_key = count_lower_case
		trigger = {
			highest_held_title_tier >= 2
			scope:second = { is_female = no }
		}
	}

	text = {
		localization_key = countess_lower_case
		trigger = {
			highest_held_title_tier >= 2
			scope:second = { is_female = yes }
		}
	}

	text = {
		localization_key = baron_lower_case
		trigger = {
			highest_held_title_tier >= 1
			scope:second = { is_female = no }
		}
	}

	text = {
		localization_key = baroness_lower_case
		trigger = {
			highest_held_title_tier >= 1
			scope:second = { is_female = yes }
		}
	}
}


DuchessDuke = {
	type = character

	text = {
		trigger = { is_female = yes }
		localization_key = duchess_lower_case
	}

	text = {
		trigger = { is_male = yes }
		localization_key = duke_lower_case
	}
}

NunMonk = {
	type = character

	text = {
		trigger = { is_female = yes }
		localization_key = faith_devotee_female
	}

	text = {
		trigger = { is_male = yes }
		localization_key = faith_devotee_male
	}

	text = {
		trigger = { always = yes }
		localization_key = faith_devotee_fallback
	}
}
