﻿# Choose Your Nickname: the character meets the requirements of the nickname right now (and does not have it already)

choose_your_nickname_can_take_nick_the_hammer_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_hammer }
	martial >= 16
	is_at_war = yes
	any_character_war = {
		primary_attacker = {
			this = root
			current_military_strength >= prev.primary_defender.current_military_strength
		}
		attacker_war_score >= 50
	}
	ai_boldness >= 50
}

choose_your_nickname_can_take_nick_the_ironside_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_ironside }
	has_personality_dominant_trigger = yes
	is_at_war = yes
	any_character_war = {
		primary_defender = root
		defender_war_score >= 50
	}
	prestige_level >= 2
}

choose_your_nickname_can_take_nick_the_determined_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_determined }
	has_personality_dominant_trigger = yes
	has_trait = stubborn
	is_at_war = yes
	any_character_war = {
		primary_attacker = root
		OR = {
			using_cb = claimant_faction_war
			using_cb = claim_cb
		}
	}
}

choose_your_nickname_can_take_nick_the_able_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_able }
	has_trait = diligent
	has_trait = ambitious
	is_at_war = no
}

choose_your_nickname_can_take_nick_twistedbeard_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_twistedbeard }
	is_male = yes
	culture = {
		OR = {
			this = culture:breton
			any_parent_culture_or_above = {
				this = culture:breton
			}
		}
	}
	is_at_war = yes
	martial >= 12
}

choose_your_nickname_can_take_nick_the_viking_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_viking }
	has_trait = viking
	martial >= 10
	prowess >= 10
}

choose_your_nickname_can_take_nick_the_crusader_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_crusader }
	religion = religion:christianity_religion
	has_trait = faith_warrior
}

choose_your_nickname_can_take_nick_curtmantle_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_curtmantle }
	culture = {
		OR = {
			this = culture:norman
			any_parent_culture_or_above = { this = culture:norman }
		}
	}
	calc_true_if = {
		amount >= 3
		has_trait = wrathful
		has_trait = ambitious
		has_trait = lifestyle_hunter
		has_trait = education_martial
		has_trait = logistician
	}
}

choose_your_nickname_can_take_nick_the_shield_of_capital_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_shield_of_capital }
	has_education_martial_trigger = yes
	exists = capital_county
	capital_county.county_opinion >= 50
}

choose_your_nickname_can_take_nick_the_fearless_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_fearless }
	ai_boldness >= 100
	has_personality_dominant_trigger = yes
	has_personality_introverted_trigger = yes
}

choose_your_nickname_can_take_nick_the_lion_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_lion }
	is_male = yes
	ai_boldness >= 50
	OR = {
		has_trait = brave
		has_trait = strong
		has_trait = physique_good
	}
	has_education_martial_trigger = yes
}

choose_your_nickname_can_take_nick_the_lionheart_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_lionheart }
	has_trait = brave
	is_in_army = yes
	martial >= 12
	prowess >= 12
	has_trait_submissive_trigger = no
}

choose_your_nickname_can_take_nick_the_wolf_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_wolf }
	martial >= 10
	intrigue >= 10
	OR = {
		has_trait = shrewd
		has_trait = intellect_good
		has_trait = lifestyle_hunter
	}
}

choose_your_nickname_can_take_nick_the_bear_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_bear }
	is_male = yes
	has_personality_dominant_trigger = yes
	has_personality_extroverted_trigger = yes
	prowess >= 12
	martial >= 12
	can_be_combatant_based_on_gender_trigger = { ARMY_OWNER = root }
}

choose_your_nickname_can_take_nick_the_hawk_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_hawk }
	intrigue >= 10
	prowess >= 12
	martial >= 12
	has_education_martial_trigger = yes
}

choose_your_nickname_can_take_nick_the_griffin_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_griffin }
	intrigue >= 10
	prowess >= 12
	martial >= 12
	has_education_martial_trigger = yes
}

choose_your_nickname_can_take_nick_the_boar_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_boar }
	OR = {
		has_trait = strong
		has_trait = physique_good
	}
	OR = {
		has_trait = beauty_bad
		has_trait = hunchbacked
		has_trait = scaly
		has_trait = disfigured
	}
	can_be_combatant_based_on_gender_trigger = { ARMY_OWNER = root }
}

choose_your_nickname_can_take_nick_the_tiger_of_place_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_tiger_of_place }
	capital_province ?= { geographical_region = world_india }
	prestige_level >= 3
	prowess >= 12
	martial >= 12
}

choose_your_nickname_can_take_nick_the_horse_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_horse }
	culture = { has_cultural_tradition = tradition_horse_lords }
	martial >= 10
	prowess >= 10
	number_maa_regiments_of_base_type = {
		type = archer_cavalry
		value > 1
	}
	any_raid_target = {
		always = yes
	}
}

choose_your_nickname_can_take_nick_the_brave_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_brave }
	has_trait = brave
	has_personality_dominant_trigger = yes
	can_be_combatant_based_on_gender_trigger = { ARMY_OWNER = root }
}

choose_your_nickname_can_take_nick_the_berserker_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_berserker }
	has_trait = berserker
	prowess >= 16
	can_be_combatant_based_on_gender_trigger = { ARMY_OWNER = root }
}

choose_your_nickname_can_take_nick_strongarm_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_strongarm }
	has_personality_dominant_trigger = yes
	has_personality_extroverted_trigger = yes
	prowess >= 16
	can_be_combatant_based_on_gender_trigger = { ARMY_OWNER = root }
}

choose_your_nickname_can_take_nick_longsword_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_longsword }
	has_trait = lifestyle_blademaster
	any_equipped_character_artifact = { artifact_type = sword }
	prowess >= 12
}

choose_your_nickname_can_take_nick_greataxe_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_greataxe }
	has_trait = lifestyle_blademaster
	any_equipped_character_artifact = { artifact_type = axe }
	prowess >= 12
}

choose_your_nickname_can_take_nick_the_mace_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_mace }
	has_trait = lifestyle_blademaster
	any_equipped_character_artifact = { artifact_type = mace }
	prowess >= 12
}

choose_your_nickname_can_take_nick_the_spear_of_capital_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_spear_of_capital }
	has_trait = lifestyle_blademaster
	any_equipped_character_artifact = { artifact_type = spear }
	prowess >= 12
}

choose_your_nickname_can_take_nick_the_maul_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_maul }
	has_trait = lifestyle_blademaster
	any_equipped_character_artifact = { artifact_type = hammer }
	prowess >= 12
}

choose_your_nickname_can_take_nick_the_goliath_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_goliath }
	has_trait = giant
	prowess >= 20
}

choose_your_nickname_can_take_nick_longshanks_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_longshanks }
	has_trait = athletic
	prowess >= 12
}

choose_your_nickname_can_take_nick_the_bold_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_bold }
	has_personality_extroverted_trigger = yes
	ai_boldness >= 100
	prestige_level >= 2
}

choose_your_nickname_can_take_nick_the_pious_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_pious }
	piety_level >= 4
	has_personality_submissive_trigger = yes
	num_sinful_traits <= 0
}

choose_your_nickname_can_take_nick_the_humble_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_humble }
	piety_level >= 3
	has_trait = humble
	num_sinful_traits <= 0
	ai_boldness < 0
}

choose_your_nickname_can_take_nick_the_chaste_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_chaste }
	OR = {
		is_married = no
		can_have_children = no
	}
	OR = {
		has_trait = chaste
		has_trait = celibate
	}
}

choose_your_nickname_can_take_nick_the_monk_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_monk }
	is_male = yes
	rite = { rite_has_doctrine = doctrine_theocracy_temporal }
	has_personality_levelheaded_trigger = yes
	has_personality_introverted_trigger = yes
	has_personality_submissive_trigger = yes
	piety_level >= 2
	num_sinful_traits <= 0
}

choose_your_nickname_can_take_nick_the_nun_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_nun }
	is_female = yes
	rite = { rite_has_doctrine = doctrine_theocracy_temporal }
	has_personality_levelheaded_trigger = yes
	has_personality_introverted_trigger = yes
	has_personality_submissive_trigger = yes
	piety_level >= 2
	num_sinful_traits <= 0
}

choose_your_nickname_can_take_nick_the_confessor_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_confessor }
	faith.religion = { is_in_family = rf_abrahamic }
	OR = {
		num_virtuous_traits >= 2
		piety_level >= 4
	}
	has_personality_submissive_trigger = yes
	has_personality_extroverted_trigger = yes
	num_sinful_traits <= 0
}

choose_your_nickname_can_take_nick_the_theologian_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_theologian }
	faith.religion = { is_in_family = rf_abrahamic }
	piety_level >= 3
	has_trait = theologian
	has_trait_extroverted_trigger = no
	num_sinful_traits <= 0
}

choose_your_nickname_can_take_nick_the_pilgrim_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_pilgrim }
	piety_level >= 2
	has_trait_xp = {
		trait = pilgrim
		value >= trait_second_level
	}
}

choose_your_nickname_can_take_nick_the_carpenter_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_carpenter }
	piety_level >= 2
	faith.religion = { is_in_family = rf_abrahamic }
	days_of_continuous_peace >= 700
	ai_has_economical_boom_personality = yes
	any_held_title = {
		count >= 4
		title_tier = county
		title_province = {
			has_ongoing_construction = yes
		}
	}
}

choose_your_nickname_can_take_nick_the_faith_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_faith }
	is_playable_character = yes
	NOR = {
		any_sub_realm_county = {
			faith = root.faith
		}
		AND = {
			top_liege != this
			faith = liege.faith
		}
		government_has_flag = government_is_theocracy
		government_has_flag = government_is_landless_adventurer
	}
}

choose_your_nickname_can_take_nick_the_blessed_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_blessed }
	faith.religion = { is_in_family = rf_abrahamic }
	piety_level >= 4
	has_personality_extroverted_trigger = yes
	num_sinful_traits <= 0
}

choose_your_nickname_can_take_nick_the_holy_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_holy }
	OR = {
		num_virtuous_traits >= 2
		piety_level >= 4
	}
	has_personality_introverted_trigger = yes
	num_sinful_traits <= 0
}

choose_your_nickname_can_take_nick_the_enlightened_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_enlightened }
	religion = { is_in_family = rf_eastern }
	piety_level >= 4
	has_personality_extroverted_trigger = yes
	num_sinful_traits <= 0
}

choose_your_nickname_can_take_nick_the_healer_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_healer }
	has_trait = lifestyle_physician
	has_personality_benevolent_trigger = yes
	piety_level >= 2
}

choose_your_nickname_can_take_nick_the_miracle_worker_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_miracle_worker }
	has_trait = lifestyle_mystic
	has_personality_benevolent_trigger = yes
	piety_level >= 2
}

choose_your_nickname_can_take_nick_the_righteous_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_righteous }
	has_personality_dominant_trigger = yes
	has_personality_benevolent_trigger = yes
	prestige_level >= 2
	piety_level >= 2
}

choose_your_nickname_can_take_nick_the_venerable_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_venerable }
	age >= 75
	piety_level >= 2
}

choose_your_nickname_can_take_nick_the_zealot_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_zealot }
	ai_zeal >= 100
	ai_rationality <= -50
	piety_level >= 2
}

choose_your_nickname_can_take_nick_the_strange_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_strange }
	OR = {
		has_trait = lifestyle_mystic
		has_trait = lunatic
		has_trait = possessed
	}
	has_trait_malicious_trigger = no
}

choose_your_nickname_can_take_nick_the_bearded_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_bearded }
	is_male = yes
	age >= 30
	learning >= 16
	OR = {
		has_trait = lifestyle_mystic
		has_trait = erudite
		has_trait = theologian
	}
	NOR = {
		has_trait = beardless_eunuch
	}
}

choose_your_nickname_can_take_nick_the_wise_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_wise }
	OR = {
		has_trait = intellect_good
		has_trait = shrewd
		has_trait = theologian
		has_trait = erudite
		learning >= 16
	}
	has_personality_introverted_trigger = yes
	has_personality_levelheaded_trigger = yes
	prestige_level >= 1
}

choose_your_nickname_can_take_nick_the_sage_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_sage }
	has_personality_submissive_trigger = yes
	learning >= 16
	num_of_relation_ward >= 2
}

choose_your_nickname_can_take_nick_the_scribe_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_scribe }
	has_education_learning_trigger = yes
	learning >= very_high_skill_rating
	OR = {
		has_trait = erudite
		has_trait = lifestyle_scholar
	}
}

choose_your_nickname_can_take_nick_the_shrewd_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_shrewd }
	diplomacy >= 10
	intrigue >= 10
	learning >= 10
	martial >= 10
	stewardship >= 10
	ai_rationality >= 25
}

choose_your_nickname_can_take_nick_the_navigator_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_navigator }
	culture = { has_cultural_tradition = tradition_seafaring }
	location = { is_sea_province = yes }
}

choose_your_nickname_can_take_nick_the_collector_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_collector }
	any_character_artifact = {
		count >= 6
		is_unique = yes
	}
}

choose_your_nickname_can_take_nick_the_patron_of_arts_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_patron_of_arts }
	ai_greed <= -50
	any_sponsored_inspiration = { }
	prestige_level >= 2
	highest_held_title_tier >= tier_kingdom
}

choose_your_nickname_can_take_nick_the_bard_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_bard }
	has_trait = lifestyle_poet
	has_trait = gregarious
}

choose_your_nickname_can_take_nick_the_troubadour_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_troubadour }
	has_trait = lifestyle_poet
	has_trait = gregarious
}

choose_your_nickname_can_take_nick_the_lover_of_elegance_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_lover_of_elegance }
	diplomacy >= 16
	has_personality_extroverted_trigger = yes
	has_royal_court = yes
	has_dlc_feature = royal_court
	court_grandeur_current_level >= 9
}

choose_your_nickname_can_take_nick_the_silver_tongue_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_silver_tongue }
	intrigue >= 14
	diplomacy >= 14
	has_personality_extroverted_trigger = yes
}

choose_your_nickname_can_take_nick_the_affable_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_affable }
	has_personality_benevolent_trigger = yes
	has_personality_extroverted_trigger = yes
	has_personality_levelheaded_trigger = yes
}

choose_your_nickname_can_take_nick_the_gracious_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_gracious }
	has_personality_benevolent_trigger = yes
	has_personality_emotional_trigger = yes
	prestige_level >= 2
	piety_level >= 2
}

choose_your_nickname_can_take_nick_the_beguiling_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_beguiling }
	num_of_relation_lover >= 3
}

choose_your_nickname_can_take_nick_the_seducer_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_seducer }
	is_male = yes
	any_relation = { type = lover }
	attraction >= 50
	OR = {
		has_trait = seducer
		has_focus = intrigue_temptation_focus
	}
}

choose_your_nickname_can_take_nick_the_seductress_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_seductress }
	is_female = yes
	any_relation = { type = lover }
	attraction >= 50
	OR = {
		has_trait = seducer
		has_focus = intrigue_temptation_focus
	}
}

choose_your_nickname_can_take_nick_the_merry_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_merry }
	has_personality_extroverted_trigger = yes
	OR = {
		loves_food_trigger = yes
		has_trait = lifestyle_reveler
	}
	has_trait_malicious_trigger = no
}

choose_your_nickname_can_take_nick_the_jovial_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_jovial }
	has_personality_extroverted_trigger = yes
	OR = {
		loves_food_trigger = yes
		has_trait = lifestyle_reveler
	}
	diplomacy >= 8
	has_trait_malicious_trigger = no
}

choose_your_nickname_can_take_nick_the_jolly_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_jolly }
	has_personality_extroverted_trigger = yes
	OR = {
		loves_food_trigger = yes
		has_trait = lifestyle_reveler
	}
	ai_rationality < 0
	has_trait_malicious_trigger = no
}

choose_your_nickname_can_take_nick_the_girthy_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_girthy }
	prowess >= 10
	current_weight >= 50
	OR = {
		loves_food_trigger = yes
		has_trait = lifestyle_reveler
	}
}

choose_your_nickname_can_take_nick_the_trickster_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_trickster }
	has_trait = deceitful
	intrigue >= 16
}

choose_your_nickname_can_take_nick_of_a_thousand_faces_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_of_a_thousand_faces }
	has_education_intrigue_trigger = yes
	intrigue >= 16
	has_trait = disfigured
}

choose_your_nickname_can_take_nick_the_universal_spider_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_universal_spider }
	diplomacy >= 16
	intrigue >= 16
	has_personality_levelheaded_trigger = yes
}

choose_your_nickname_can_take_nick_the_executioner_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_executioner }
	has_personality_malicious_trigger = yes
	any_killed_character = {
		count >= 10
		death_reason = death_execution
	}
}

choose_your_nickname_can_take_nick_the_evil_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_evil }
	has_personality_malicious_trigger = yes
	num_sinful_traits >= 1
	OR = {
		has_trait = sadistic
		has_trait = callous
	}
	ai_zeal <= 0
}

choose_your_nickname_can_take_nick_troublemaker_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_troublemaker }
	OR = {
		has_trait = deceitful
		has_trait = fickle
		has_trait = ambitious
		has_trait = greedy
	}
	NOR = {
		has_trait = shy
		has_trait = calm
	}
	ai_boldness >= 75
	ai_honor < -75
}

choose_your_nickname_can_take_nick_the_fox_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_fox }
	intrigue >= 10
	martial >= 10
	ai_boldness >= 25
	ai_rationality >= 50
	ai_honor < 0
}

choose_your_nickname_can_take_nick_the_hunter_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_hunter }
	has_trait_xp = {
		trait = lifestyle_hunter
		track = hunter
		value >= trait_second_level
	}
}

choose_your_nickname_can_take_nick_the_fowler_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_fowler }
	has_trait_xp = {
		trait = lifestyle_hunter
		track = falconer
		value >= trait_second_level
	}
}

choose_your_nickname_can_take_nick_the_proud_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_proud }
	ai_boldness >= 50
	has_personality_extroverted_trigger = yes
	has_personality_dominant_trigger = yes
	prestige_level >= 1
}

choose_your_nickname_can_take_nick_the_builder_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_builder }
	days_of_continuous_peace >= 700
	ai_has_economical_boom_personality = yes
	any_held_title = {
		count >= 4
		title_tier = county
		title_province = {
			has_ongoing_construction = yes
		}
	}
}

choose_your_nickname_can_take_nick_the_castellan_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_castellan }
	days_of_continuous_peace >= 700
	ai_has_economical_boom_personality = yes
	any_held_title = {
		count >= 4
		title_tier = county
		title_province = {
			has_ongoing_construction = yes
		}
	}
}

choose_your_nickname_can_take_nick_the_harvester_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_harvester }
	OR = {
		has_trait = peasant_leader
		has_trait = populist_leader
		has_trait = lifestyle_gardener
	}
	OR = {
		has_trait = diligent
		has_trait = generous
		has_trait = humble
		has_trait = just
		has_trait = compassionate
	}
	stewardship >= average_skill_rating
}

choose_your_nickname_can_take_nick_the_generous_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_generous }
	has_personality_benevolent_trigger = yes
	OR = {
		has_trait = generous
		has_trait = improvident
	}
	tyranny <= 0
	prestige_level >= 2
}

choose_your_nickname_can_take_nick_the_just_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_just }
	ai_greed <= 0
	ai_honor >= 100
	tyranny <= 0
	prestige_level >= 2
}

choose_your_nickname_can_take_nick_the_great_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_great }
	prestige_level >= 5
	piety_level >= 3
	realm_size >= 30
	top_liege = this
}

choose_your_nickname_can_take_nick_the_worthy_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_worthy }
	prestige_level >= 1
	any_powerful_vassal = {
		count >= 5
	}
	any_powerful_vassal = {
		count = all
		opinion = {
			target = root
			value >= 25
		}
	}
}

choose_your_nickname_can_take_nick_the_iron_and_golden_king_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_iron_and_golden_king }
	highest_held_title_tier >= tier_kingdom
	prestige_level >= 3
	has_personality_dominant_trigger = yes
	max_number_maa_soldiers_of_base_type = {
		type = heavy_cavalry
		value >= 500
	}
	any_held_title = {
		title_tier = county
		any_county_province = {
			has_building_with_flag = special_mine
			#OR = {
			#	has_building_or_higher = rammelsberg_mines_01
			#	has_building_or_higher = kutna_hora_mines_01
			#	has_building_or_higher = kremnica_mines_01
			#	has_building_or_higher = falun_mines_01
			#	has_building_or_higher = schwaz_mines_01
			#	has_building_or_higher = argentiera_mines_01
			#	has_building_or_higher = kollur_mines_01
			#	has_building_or_higher = ratnapura_mines_01
			#	has_building_or_higher = siderokausia_mines_01
			#	has_building_or_higher = mali_mines_01
			#	has_building_or_higher = zawar_mines_01
			#	has_building_or_higher = pansjhir_mines_01
			#	has_building_or_higher = takkeda_mines_01
			#	has_building_or_higher = trepca_mines_01
			#	has_building_or_higher = cevennes_mines_01
			#	has_building_or_higher = taghaza_mines_01
			#	has_building_or_higher = allaq_mines_01
			#	has_building_or_higher = phocaea_mines_01
			#	has_building_or_higher = khetri_mines_01
			#	has_building_or_higher = verespatak_mines_01
			#	has_building_or_higher = srebrenica_mines_01
			#	has_building_or_higher = nishapur_mines_01
			#	has_building_or_higher = turda_mines_01
			#	has_building_or_higher = rudnik_mines_01
			#	has_building_or_higher = ijil_mines_01
			#	has_building_or_higher = mogok_mines_01
			#	has_building_or_higher = sar_i_sang_mines_01
			#}
		}
	}
}

choose_your_nickname_can_take_nick_the_peaceful_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_peaceful }
	has_trait_extroverted_trigger = no
	has_trait_levelheaded_trigger = yes
	OR = {
		has_trait = calm
		has_trait = patient
		has_trait = content
		has_trait = compassionate
	}
	days_of_continuous_peace >= 3650
}

choose_your_nickname_can_take_nick_the_lord_of_realm_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_lord_of_realm }
	highest_held_title_tier <= tier_duchy
	realm_size >= 5
	any_vassal = {
		count >= 3
	}
	has_personality_benevolent_trigger = yes
	prestige_level >= 2
	diplomacy >= 12
}

choose_your_nickname_can_take_nick_the_good_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_good }
	has_personality_benevolent_trigger = yes
	prestige_level >= 3
	tyranny <= 0
}

choose_your_nickname_can_take_nick_the_noble_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_noble }
	has_personality_levelheaded_trigger = yes
	ai_honor >= 75
	ai_greed <= 0
}

choose_your_nickname_can_take_nick_the_gentle_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_gentle }
	ai_boldness <= 0
	has_personality_emotional_trigger = yes
	has_personality_benevolent_trigger = yes
}

choose_your_nickname_can_take_nick_the_honest_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_honest }
	has_trait = honest
	has_trait_malicious_trigger = no
}

choose_your_nickname_can_take_nick_the_loyal_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_loyal }
	has_trait = loyal
	untrustworthy_trigger = no
}

choose_your_nickname_can_take_nick_the_honorable_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_honorable }
	ai_honor >= 100
	has_personality_levelheaded_trigger = yes
	has_personality_benevolent_trigger = yes
}

choose_your_nickname_can_take_nick_the_understanding_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_understanding }
	ai_compassion >= 75
	ai_rationality >= 75
	has_personality_benevolent_trigger = yes
}

choose_your_nickname_can_take_nick_the_merciful_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_merciful }
	ai_vengefulness <= -50
	has_personality_benevolent_trigger = yes
	has_personality_levelheaded_trigger = yes
	NOR = {
		any_prisoner = {
			count >= 1
			always = yes
		}
		any_killed_character = {
			count >= 1
			always = yes
		}
	}
}

choose_your_nickname_can_take_nick_the_compassionate_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_compassionate }
	ai_compassion >= 100
	has_personality_benevolent_trigger = yes
	has_personality_emotional_trigger = yes
	NOR = {
		any_prisoner = {
			count >= 1
			always = yes
		}
		any_killed_character = {
			count >= 1
			always = yes
		}
	}
}

choose_your_nickname_can_take_nick_the_kind_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_kind }
	ai_compassion >= 75
	has_personality_benevolent_trigger = yes
	has_personality_extroverted_trigger = yes
}

choose_your_nickname_can_take_nick_the_strong_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_strong }
	OR = {
		has_trait = strong
		has_trait = physique_good
	}
	can_be_combatant_based_on_gender_trigger = { ARMY_OWNER = root }
}

choose_your_nickname_can_take_nick_the_stout_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_stout }
	OR = {
		has_trait = strong
		has_trait = physique_good
	}
	NOR = {
		has_trait = weak
		has_trait = spindly
		has_trait = physique_bad
	}
}

choose_your_nickname_can_take_nick_the_giant_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_giant }
	has_trait = giant
}

choose_your_nickname_can_take_nick_the_handsome_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_handsome }
	is_male = yes
	has_conventionally_attractive_trigger = yes
	NOR = {
		has_trait = disfigured
		has_trait = leper
		has_trait = scaly
		has_trait = beauty_bad
	}
}

choose_your_nickname_can_take_nick_the_fair_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_fair }
	is_female = yes
	has_conventionally_attractive_trigger = yes
	age <= 40
	NOR = {
		has_trait = disfigured
		has_trait = leper
		has_trait = scaly
		has_trait = beauty_bad
	}
}

choose_your_nickname_can_take_nick_the_beautiful_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_beautiful }
	has_trait = beauty_good
	age <= 40
	NOR = {
		has_trait = disfigured
		has_trait = leper
		has_trait = scaly
		has_trait = beauty_bad
	}
}

choose_your_nickname_can_take_nick_swan_neck_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_swan_neck }
	culture = culture:anglo_saxon
	is_female = yes
	has_conventionally_attractive_trigger = yes
	age <= 40
	NOR = {
		has_trait = disfigured
		has_trait = leper
		has_trait = scaly
		has_trait = beauty_bad
	}
}

choose_your_nickname_can_take_nick_the_hairy_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_hairy }
	is_male = yes
	has_trait = lazy
	OR = {
		has_trait = drunkard
		has_trait = hashishiyah
	}
	NOT = {
		prestige_level >= 3
	}
	is_bald_trigger = no
}

choose_your_nickname_can_take_nick_the_stallion_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_stallion }
	is_male = yes
	prowess >= 10
	attraction >= 30
	OR = {
		has_trait = athletic
		has_trait = strong
		has_trait = physique_good
	}
}

choose_your_nickname_can_take_nick_the_desired_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_desired }
	OR = {
		has_conventionally_attractive_trigger = yes
		has_trait = lustful
	}
	NOR = {
		has_trait = disfigured
		has_trait = leper
		has_trait = scaly
		has_trait = beauty_bad
	}
	any_targeting_scheme = {
		OR = {
			scheme_type = seduce
			scheme_type = courting
		}
	}
}

choose_your_nickname_can_take_nick_the_elder_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_elder }
	age >= 75
}

choose_your_nickname_can_take_nick_the_undying_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_undying }
	age >= 60
	health >= good_health
}

choose_your_nickname_can_take_nick_the_persevering_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_persevering }
	calc_true_if = {
		amount >= 2
		has_trait = maimed
		has_trait = one_eyed
		has_trait = one_legged
		has_trait = disfigured
	}
	stress < 100
	health >= medium_health
}

choose_your_nickname_can_take_nick_the_resilient_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_resilient }
	calc_true_if = {
		amount >= 2
		has_trait = maimed
		has_trait = one_eyed
		has_trait = one_legged
		has_trait = disfigured
	}
	stress < 100
	health >= medium_health
}

choose_your_nickname_can_take_nick_the_lucky_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_lucky }
	any_relation = {
		type = friend
		always = yes
	}
	any_relation = {
		type = lover
		always = yes
	}
	is_at_war = no
	gold >= 500
	realm_size >= 5
	has_any_illness = no
	health > poor_health
	stress < 100
}

choose_your_nickname_can_take_nick_the_unlucky_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_unlucky }
	diplomacy < 8
	stewardship < 8
	martial < 8
	intrigue < 8
	learning < 8
	is_at_war_as_defender = yes
}

choose_your_nickname_can_take_nick_the_forgetful_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_forgetful }
	OR = {
		has_trait = infirm
		has_trait = withering_mind
		probably_unintelligent_trigger = yes
	}
}

choose_your_nickname_can_take_nick_the_sleeper_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_sleeper }
	has_trait = incapable
}

choose_your_nickname_can_take_nick_the_stranger_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_stranger }
	NOR = {
		has_trait = crusader_king
		mpo_has_gok_mongol_empire_trigger = yes
	}
	has_personality_extroverted_trigger = yes
	NOT = {
		any_realm_county = {
			culture = root.culture
		}
	}
	NOT = {
		primary_title ?= {
			any_past_holder = {
				has_nickname = nick_the_stranger
			}
		}
	}
	is_landed = yes
}

choose_your_nickname_can_take_nick_aurei_testiculi_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_aurei_testiculi }
	is_male = yes
	culture = culture:anglo_saxon
	any_child = {
		count >= 10
	}
}

choose_your_nickname_can_take_nick_the_fat_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_fat }
	current_weight >= 50
	OR = {
		loves_food_trigger = yes
		has_trait = lifestyle_reveler
	}
}

choose_your_nickname_can_take_nick_the_plump_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_plump }
	current_weight >= 50
	OR = {
		loves_food_trigger = yes
		has_trait = lifestyle_reveler
	}
}

choose_your_nickname_can_take_nick_the_rotund_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_rotund }
	current_weight >= 50
	OR = {
		loves_food_trigger = yes
		has_trait = lifestyle_reveler
	}
}

choose_your_nickname_can_take_nick_the_corpulent_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_corpulent }
	current_weight >= 50
	OR = {
		loves_food_trigger = yes
		has_trait = lifestyle_reveler
	}
}

choose_your_nickname_can_take_nick_chubbycheeks_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_chubbycheeks }
	culture = culture:anglo_saxon
	current_weight >= 50
	OR = {
		loves_food_trigger = yes
		has_trait = lifestyle_reveler
	}
}

choose_your_nickname_can_take_nick_the_slobberer_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_slobberer }
	current_weight >= 50
	OR = {
		loves_food_trigger = yes
		has_trait = lifestyle_reveler
	}
	diplomacy <= 2
}

choose_your_nickname_can_take_nick_foul_fart_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_foul_fart }
	OR = {
		has_trait = comfort_eater
		has_trait = gluttonous
	}
	has_personality_introverted_trigger = no
	faith = faith:norse_pagan
}

choose_your_nickname_can_take_nick_the_drunkard_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_drunkard }
	has_trait = drunkard
	prestige_level <= 2
}

choose_your_nickname_can_take_nick_ale_lover_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_ale_lover }
	has_trait = drunkard
	prestige_level <= 2
	faith = faith:norse_pagan
}

choose_your_nickname_can_take_nick_the_gouty_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_gouty }
	has_trait = gout_ridden
}

choose_your_nickname_can_take_nick_the_frail_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_frail }
	OR = {
		has_trait = fragile_bones
		has_trait = infirm
		has_trait = weak
		has_trait = spindly
		has_trait = physique_bad
		has_trait = bleeder
		has_trait = inbred
	}
	NOT = {
		has_trait = physique_good
	}
}

choose_your_nickname_can_take_nick_the_weak_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_weak }
	prowess < 8
	OR = {
		has_trait = faltering_heart
		has_trait = infirm
		has_trait = spindly
		has_trait = weak
		has_trait = physique_bad
		has_trait = bleeder
		has_trait = inbred
	}
	NOT = {
		has_trait = physique_good
	}
}

choose_your_nickname_can_take_nick_the_feeble_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_feeble }
	OR = {
		has_trait = fragile_bones
		has_trait = infirm
		has_trait = spindly
		has_trait = weak
		has_trait = physique_bad
		has_trait = bleeder
		has_trait = inbred
	}
	NOR = {
		has_trait = strong
		has_trait = physique_good
	}
}

choose_your_nickname_can_take_nick_the_lame_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_lame }
	OR = {
		has_trait = clubfooted
		has_trait = weak
		has_trait = spindly
		has_trait = physique_bad
	}
	NOT = {
		has_trait = physique_good
	}
}

choose_your_nickname_can_take_nick_the_lisp_and_lame_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_lisp_and_lame }
	has_trait = lisping
	has_trait = clubfooted
}

choose_your_nickname_can_take_nick_the_stammerer_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_stammerer }
	has_trait = stuttering
}

choose_your_nickname_can_take_nick_the_sleeping_king_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_sleeping_king }
	has_trait = incapable
}

choose_your_nickname_can_take_nick_the_diseased_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_diseased }
	OR = {
		has_trait = consumption
		has_trait = cancer
		has_trait = pneumonic
		has_trait = typhus
		has_trait = smallpox
		has_trait = measles
		has_trait = dysentery
		has_trait = ergotism
		has_trait = bubonic_plague
	}
	prestige_level <= 1
}

choose_your_nickname_can_take_nick_the_plaguebearer_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_plaguebearer }
	OR = {
		has_trait = consumption
		has_trait = cancer
		has_trait = pneumonic
		has_trait = typhus
		has_trait = smallpox
		has_trait = measles
		has_trait = dysentery
		has_trait = ergotism
		has_trait = bubonic_plague
	}
	prestige_level <= 1
}

choose_your_nickname_can_take_nick_the_leper_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_leper }
	has_trait = leper
}

choose_your_nickname_can_take_nick_the_one_eyed_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_one_eyed }
	has_trait = one_eyed
}

choose_your_nickname_can_take_nick_one_eye_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_one_eye }
	has_trait = one_eyed
}

choose_your_nickname_can_take_nick_one_hand_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_one_hand }
	has_trait = maimed
}

choose_your_nickname_can_take_nick_half_hand_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_half_hand }
	has_trait = maimed
}

choose_your_nickname_can_take_nick_bad_hand_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_bad_hand }
	has_trait = maimed
	AND = {
		has_trait = scarred
		prowess < 8
	}
	can_be_combatant_based_on_gender_trigger = { ARMY_OWNER = root }
}

choose_your_nickname_can_take_nick_the_hunchback_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_hunchback }
	has_trait = hunchbacked
}

choose_your_nickname_can_take_nick_the_faceless_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_faceless }
	has_trait = disfigured
	has_personality_introverted_trigger = yes
}

choose_your_nickname_can_take_nick_the_cyclops_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_cyclops }
	has_trait = giant
	has_trait = one_eyed
}

choose_your_nickname_can_take_nick_the_blind_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_blind }
	has_trait = blind
}

choose_your_nickname_can_take_nick_the_eunuch_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_eunuch }
	is_eunuch_trigger = yes
}

choose_your_nickname_can_take_nick_the_actually_bald_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_actually_bald }
	is_male = yes
	age >= 30
	stress >= 100
	NOR = {
		portrait_shared_clothing_contents_trigger = { # They have a chance to be bald normally; it's not weird or tease-worthy
			CULTURE_SCOPE = culture
			CULTURE_FLAG = african
		}
		is_bald_trigger = yes
	}
}

choose_your_nickname_can_take_nick_the_bald_ironic_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_bald_ironic }
	is_male = yes
	has_trait = stubborn
	has_trait = impatient
	NOR = {
		prestige_level >= 3
		portrait_shared_clothing_contents_trigger = { # They have a chance to be bald normally; it's not weird or tease-worthy
			CULTURE_SCOPE = culture
			CULTURE_FLAG = african
		}
		is_bald_trigger = yes
	}
}

choose_your_nickname_can_take_nick_the_hideous_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_hideous }
	OR = {
		has_trait = beauty_bad
		has_trait = hunchbacked
		has_trait = scaly
		has_trait = disfigured
		has_trait = inbred
		scarred_trait_activation_3 = yes
	}
	NOT = {
		has_trait = beauty_good
	}
}

choose_your_nickname_can_take_nick_the_frog_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_frog }
	OR = {
		has_trait = beauty_bad
		has_trait = hunchbacked
		has_trait = scaly
		has_trait = inbred
	}
	NOT = {
		has_trait = beauty_good
	}
}

choose_your_nickname_can_take_nick_the_repulsive_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_repulsive }
	OR = {
		has_trait = beauty_bad
		has_trait = hunchbacked
		has_trait = scaly
		has_trait = inbred
		scarred_trait_activation_3 = yes
	}
	NOT = {
		has_trait = beauty_good
	}
}

choose_your_nickname_can_take_nick_the_short_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_short }
	has_trait = dwarf
}

choose_your_nickname_can_take_nick_elbow_high_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_elbow_high }
	has_trait = dwarf
}

choose_your_nickname_can_take_nick_the_beanstalk_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_beanstalk }
	has_trait = giant
	OR = {
		has_trait = weak
		has_trait = spindly
		has_trait = physique_bad
	}
}

choose_your_nickname_can_take_nick_the_ladder_legs_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_ladder_legs }
	has_trait = giant
	religion = { is_in_family = rf_pagan }
}

choose_your_nickname_can_take_nick_the_chimera_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_chimera }
	OR = {
		has_trait = physique_good_2
		has_trait = physique_good_3
		has_trait = beauty_good_2
		has_trait = beauty_good_3
	}
	OR = {
		has_trait = physique_bad_2
		has_trait = physique_bad_3
		has_trait = beauty_bad_2
		has_trait = beauty_bad_3
		has_trait = giant
		has_trait = albino
		has_trait = scaly
	}
}

choose_your_nickname_can_take_nick_the_cruel_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_cruel }
	has_personality_malicious_trigger = yes
	OR = {
		any_prisoner = {
			count >= 2
			always = yes
		}
		tyranny > 0
		dread >= 75
	}
}

choose_your_nickname_can_take_nick_the_terrible_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_terrible }
	OR = {
		has_personality_malicious_trigger = yes
		tyranny >= 50
		dread >= 75
	}
	tyranny >= 10
}

choose_your_nickname_can_take_nick_the_tyrant_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_tyrant }
	OR = {
		has_personality_dominant_trigger = yes
		tyranny >= 50
	}
	tyranny >= 10
}

choose_your_nickname_can_take_nick_the_butcher_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_butcher }
	OR = {
		has_trait = sadistic
		has_trait = torturer
		has_trait = murderer
	}
	any_killed_character = {
		count >= 3
		always = yes
	}
}

choose_your_nickname_can_take_nick_the_bloody_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_bloody }
	OR = {
		has_trait = lifestyle_blademaster
		is_knight = yes
		is_in_army = yes
	}
	any_killed_character = {
		count >= 3
		always = yes
	}
}

choose_your_nickname_can_take_nick_the_ruthless_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_ruthless }
	has_personality_malicious_trigger = yes
	has_education_martial_trigger = yes
	ai_boldness >= 50
	any_killed_character = {
		count >= 1
		always = yes
	}
}

choose_your_nickname_can_take_nick_the_brute_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_brute }
	has_personality_dominant_trigger = yes
	has_personality_malicious_trigger = yes
	prowess >= 16
	can_be_combatant_based_on_gender_trigger = { ARMY_OWNER = root }
}

choose_your_nickname_can_take_nick_the_abominable_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_abominable }
	has_personality_malicious_trigger = yes
	OR = {
		has_trait = giant
		has_trait = beauty_bad_2
		has_trait = beauty_bad_3
		has_trait = scaly
	}
	OR = {
		tyranny > 0
		dread >= 75
	}
}

choose_your_nickname_can_take_nick_the_depraved_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_depraved }
	has_personality_malicious_trigger = yes
	has_personality_emotional_trigger = yes
	OR = {
		has_trait = deviant
		has_trait = cannibal
		has_trait = lustful
		has_trait = sadistic
	}
}

choose_your_nickname_can_take_nick_the_mad_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_mad }
	OR = {
		ai_rationality <= -75
		has_trait = lunatic
		has_trait = possessed
		AND = {
			tyranny >= 50
			has_personality_emotional_trigger = yes
			has_personality_malicious_trigger = yes
		}
	}
}

choose_your_nickname_can_take_nick_the_devil_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_devil }
	faith.religion = { is_in_family = rf_abrahamic }
	OR = {
		num_sinful_traits >= 2
		piety_level <= 0
		has_trait = excommunicated
	}
	has_personality_malicious_trigger = yes
}

choose_your_nickname_can_take_nick_the_black_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_black }
	faith.religion = { is_in_family = rf_abrahamic }
	OR = {
		num_sinful_traits >= 2
		piety_level <= 0
		has_trait = excommunicated
	}
	has_personality_dominant_trigger = yes
}

choose_your_nickname_can_take_nick_the_wicked_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_wicked }
	OR = {
		piety_level <= 0
		has_trait = excommunicated
	}
	OR = {
		has_personality_malicious_trigger = yes
		num_sinful_traits >= 1
	}
}

choose_your_nickname_can_take_nick_the_accursed_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_accursed }
	OR = {
		piety_level <= 0
		has_trait = excommunicated
	}
	OR = {
		has_personality_malicious_trigger = yes
		num_sinful_traits >= 1
	}
}

choose_your_nickname_can_take_nick_priest_hater_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_priest_hater }
	exists = cp:councillor_court_chaplain
	opinion = {
		target = cp:councillor_court_chaplain
		value <= -30
	}
	OR = {
		num_sinful_traits >= 1
		piety_level <= 0
	}
}

choose_your_nickname_can_take_nick_the_heathen_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_heathen }
	ai_zeal >= 25
	top_liege != this
	NOR = {
		religion = liege.religion
		rite = { rite_has_doctrine = doctrine_pluralism_pluralistic }
	}
}

choose_your_nickname_can_take_nick_the_witch_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_witch }
	has_trait = witch
	NOT = { rite = { rite_has_parameter = witchcraft_accepted } }
}

choose_your_nickname_can_take_nick_the_bewitched_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_bewitched }
	piety_level <= 0
	ai_rationality <= -50
}

choose_your_nickname_can_take_nick_the_haunted_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_haunted }
	has_trait = possessed
	stress >= 200
}

choose_your_nickname_can_take_nick_the_insane_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_insane }
	OR = {
		ai_rationality <= -75
		has_trait = lunatic
		has_trait = possessed
		AND = {
			tyranny >= 50
			has_personality_emotional_trigger = yes
			has_personality_malicious_trigger = yes
		}
	}
}

choose_your_nickname_can_take_nick_the_lewd_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_lewd }
	has_trait = lustful
	OR = {
		has_trait = lovers_pox
		has_trait = early_great_pox
		has_trait = great_pox
		has_trait = deviant
	}
}

choose_your_nickname_can_take_nick_the_lecher_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_lecher }
	is_male = yes
	any_relation = { type = lover }
	OR = {
		has_trait = lustful
		has_trait = beauty_good
		attraction >= 50
	}
}

choose_your_nickname_can_take_nick_the_temptress_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_temptress }
	is_female = yes
	any_relation = { type = lover }
	OR = {
		has_trait = lustful
		has_trait = beauty_good
		attraction >= 50
	}
}

choose_your_nickname_can_take_nick_the_unchaste_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_unchaste }
	any_relation = { type = lover }
	any_child = {
		OR = {
			has_trait = bastard
			has_trait = legitimized_bastard
		}
	}
	exists = primary_spouse
	exposed_cheating_on_spouse_trigger = { SPOUSE = primary_spouse }
}

choose_your_nickname_can_take_nick_the_unfaithful_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_unfaithful }
	any_relation = { type = lover }
	any_child = {
		OR = {
			has_trait = bastard
			has_trait = legitimized_bastard
		}
	}
	exists = primary_spouse
	exposed_cheating_on_spouse_trigger = { SPOUSE = primary_spouse }
}

choose_your_nickname_can_take_nick_cuckoo_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_cuckoo }
	is_male = yes
	any_child = {
		count >= 5
		mother ?= {
			is_married = yes
			NOT = {
				is_consort_of = root
			}
		}
	}
	any_child = {
		count = all
		mother ?= {
			is_married = yes
			NOT = {
				is_consort_of = root
			}
			add_to_temporary_list = cuckoo
		}
	}
	any_in_list = {
		list = cuckoo
		count >= 5
	}
}

choose_your_nickname_can_take_nick_the_bastard_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_bastard }
	is_male = yes
	OR = {
		has_trait = bastard
		has_trait = legitimized_bastard
		has_trait = bastard_founder
	}
}

choose_your_nickname_can_take_nick_the_foreign_mother_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_foreign_mother }
	exists = liege
	exists = mother
	liege.culture = {
		OR = {
			this = culture:greek
			any_parent_culture_or_above = {
				this = culture:greek
			}
		}
	}
	culture = {
		OR = {
			this = culture:greek
			any_parent_culture_or_above = {
				this = culture:greek
			}
		}
	}
	mother.culture = {
		NOR = {
			this = culture:greek
			any_parent_culture_or_above = {
				this = culture:greek
			}
		}
	}
	NOT = {
		faith = { has_dominant_ruling_gender = dummy_male}
	}
}

choose_your_nickname_can_take_nick_the_foreign_father_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_foreign_father }
	exists = liege
	exists = father
	liege.culture = {
		OR = {
			this = culture:greek
			any_parent_culture_or_above = {
				this = culture:greek
			}
		}
	}
	culture = {
		OR = {
			this = culture:greek
			any_parent_culture_or_above = {
				this = culture:greek
			}
		}
	}
	father.culture = {
		NOR = {
			this = culture:greek
			any_parent_culture_or_above = {
				this = culture:greek
			}
		}
	}
	NOT = {
		faith = { has_dominant_ruling_gender = dummy_female}
	}
}

choose_your_nickname_can_take_nick_the_gambler_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_gambler }
	ai_rationality <= -50
	ai_boldness >= 50
	OR = {
		has_trait = profligate
		has_trait = reckless
	}
}

choose_your_nickname_can_take_nick_the_unready_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_unready }
	is_in_civil_war = yes
	tyranny > 0
	diplomacy <= 8
}

choose_your_nickname_can_take_nick_the_ill_ruler_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_ill_ruler }
	is_in_civil_war = yes
	tyranny > 0
	diplomacy <= 8
}

choose_your_nickname_can_take_nick_the_careless_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_careless }
	is_in_civil_war = yes
	tyranny > 0
	diplomacy <= 8
}

choose_your_nickname_can_take_nick_the_incompetent_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_incompetent }
	probably_unintelligent_trigger = yes
	OR = {
		AND = {
			diplomacy <= 6
			martial <= 6
			stewardship <= 6
			intrigue <= 6
			learning <= 6
		}
		AND = {
			government_has_mechanic = administrative
			governor_efficiency <= 0.7
		}
		prestige_level <= 2
	}
}

choose_your_nickname_can_take_nick_the_disgraceful_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_disgraceful }
	dynasty ?= { dynasty_prestige_level >= 5 }
	prestige_level <= 1
}

choose_your_nickname_can_take_nick_the_unworthy_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_unworthy }
	any_powerful_vassal = {
		count >= 5
	}
	any_powerful_vassal = {
		count = all
		opinion = {
			target = root
			value <= -25
		}
	}
}

choose_your_nickname_can_take_nick_lackland_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_lackland }
	highest_held_title_tier <= tier_duchy
	domain_size <= 2
	any_sibling = {
		highest_held_title_tier >= tier_kingdom
		domain_size >= 4
		prestige_level >= root.prestige_level
	}
}

choose_your_nickname_can_take_nick_the_old_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_old }
	age >= 60
}

choose_your_nickname_can_take_nick_the_young_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_young }
	prestige_level >= 4
	age <= 23
}

choose_your_nickname_can_take_nick_the_silly_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_silly }
	ai_rationality <= -25
	has_personality_emotional_trigger = yes
	has_personality_extroverted_trigger = yes
	prestige_level <= 1
}

choose_your_nickname_can_take_nick_the_idle_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_idle }
	has_trait = lazy
	ai_boldness <= -50
	ai_energy <= -25
	days_of_continuous_peace = 3650
}

choose_your_nickname_can_take_nick_the_sluggard_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_sluggard }
	has_trait = lazy
	ai_boldness >= 25
}

choose_your_nickname_can_take_nick_the_indolent_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_indolent }
	has_trait = lazy
	ai_greed <= -25
	NOT = {
		has_trait = ambitious
	}
	days_of_continuous_peace = 3650
}

choose_your_nickname_can_take_nick_do_nothing_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_do_nothing }
	OR = {
		has_trait = lazy
		AND = {
			has_trait = reclusive
			ai_energy <= -25
		}
	}
	NOT = {
		has_trait = ambitious
	}
	days_of_continuous_peace = 3650
}

choose_your_nickname_can_take_nick_the_timid_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_timid }
	has_personality_submissive_trigger = yes
	has_personality_introverted_trigger = yes
	is_at_war = no
}

choose_your_nickname_can_take_nick_the_trembling_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_trembling }
	has_trait = craven
	prestige_level <= 2
	has_personality_submissive_trigger = yes
}

choose_your_nickname_can_take_nick_the_craven_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_craven }
	has_trait = craven
	prestige_level <= 2
	has_personality_submissive_trigger = yes
}

choose_your_nickname_can_take_nick_the_effeminate_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_effeminate }
	is_male = yes
	prowess <= 4
	martial <= 4
	has_education_learning_trigger = yes
	prestige_level <= 1
	can_be_combatant_based_on_gender_trigger = { ARMY_OWNER = root }
}

choose_your_nickname_can_take_nick_softsword_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_softsword }
	is_male = yes
	culture = culture:anglo_saxon
	prowess <= 4
	fertility <= 0.4
	NOT = {
		any_child = {
			count > 1
		}
	}
}

choose_your_nickname_can_take_nick_the_dull_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_dull }
	probably_unintelligent_trigger = yes
	has_personality_introverted_trigger = yes
	has_personality_levelheaded_trigger = yes
}

choose_your_nickname_can_take_nick_the_shy_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_shy }
	OR = {
		has_trait = shy
		has_trait = reclusive
	}
	has_personality_introverted_trigger = yes
	has_trait_dominant_trigger = no
}

choose_your_nickname_can_take_nick_the_silent_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_silent }
	OR = {
		has_trait = shy
		has_trait = reclusive
		has_trait = content
	}
	has_personality_introverted_trigger = yes
	has_personality_submissive_trigger = yes
}

choose_your_nickname_can_take_nick_the_hermit_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_hermit }
	OR = {
		has_trait = shy
		has_trait = reclusive
	}
	has_personality_introverted_trigger = yes
	has_personality_submissive_trigger = yes
	piety_level >= 1
}

choose_your_nickname_can_take_nick_the_recluse_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_recluse }
	OR = {
		has_trait = shy
		has_trait = reclusive
	}
	has_personality_introverted_trigger = yes
	has_personality_submissive_trigger = yes
}

choose_your_nickname_can_take_nick_the_joyless_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_joyless }
	has_personality_introverted_trigger = yes
	has_personality_dominant_trigger = yes
	has_personality_levelheaded_trigger = yes
}

choose_your_nickname_can_take_nick_the_poet_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_poet }
	has_trait = lifestyle_poet
	diplomacy >= 10
}

choose_your_nickname_can_take_nick_the_peacock_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_peacock }
	has_personality_dominant_trigger = yes
	has_personality_extroverted_trigger = yes
	has_trait = beauty_good
}

choose_your_nickname_can_take_nick_the_vain_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_vain }
	has_personality_dominant_trigger = yes
	has_personality_extroverted_trigger = yes
	has_trait = beauty_good
}

choose_your_nickname_can_take_nick_the_clueless_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_clueless }
	has_trait = fickle
	ai_rationality <= -50
	prestige_level <= 2
}

choose_your_nickname_can_take_nick_the_simple_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_simple }
	probably_unintelligent_trigger = yes
}

choose_your_nickname_can_take_nick_the_wrathful_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_wrathful }
	has_trait = wrathful
	ai_boldness >= 25
	ai_rationality <= -25
	num_of_relation_rival >= 2
}

choose_your_nickname_can_take_nick_the_ill_tempered_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_ill_tempered }
	ai_vengefulness >= 35
	OR = {
		has_trait = wrathful
		has_trait = irritable
	}
}

choose_your_nickname_can_take_nick_the_petulant_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_petulant }
	diplomacy <= 4
	has_personality_emotional_trigger = yes
	has_personality_dominant_trigger = yes
}

choose_your_nickname_can_take_nick_the_quarrelsome_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_quarrelsome }
	has_personality_emotional_trigger = yes
	num_of_relation_rival >= 4
}

choose_your_nickname_can_take_nick_the_quarreller_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_quarreller }
	OR = {
		has_trait = wrathful
		has_trait = irritable
		has_trait = impatient
		has_trait = ambitious
	}
	is_at_war = yes
	any_character_war = {
		primary_attacker = root
	}
	ai_boldness >= 50
}

choose_your_nickname_can_take_nick_the_rash_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_rash }
	OR = {
		has_trait = wrathful
		has_trait = irritable
		has_trait = impatient
	}
	is_at_war = yes
	any_character_war = {
		primary_attacker = root
		attacker_war_score <= -50
	}
}

choose_your_nickname_can_take_nick_the_hotspur_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_hotspur }
	has_trait = arrogant
	OR = {
		has_trait = wrathful
		has_trait = irritable
		has_trait = impatient
	}
	is_at_war_as_attacker = yes
}

choose_your_nickname_can_take_nick_the_obscene_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_obscene }
	diplomacy <= 3
	has_personality_extroverted_trigger = yes
	OR = {
		has_trait = wrathful
		has_trait = drunkard
		has_trait = honest
		has_trait = eccentric
		has_trait = impatient
	}
	prestige_level <= 2
}

choose_your_nickname_can_take_nick_the_bellower_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_bellower }
	dread >= 50
	has_personality_dominant_trigger = yes
	has_personality_extroverted_trigger = yes
}

choose_your_nickname_can_take_nick_the_turbulent_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_turbulent }
	learning >= 20
	has_personality_dominant_trigger = yes
	has_personality_extroverted_trigger = yes
}

choose_your_nickname_can_take_nick_the_greedy_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_greedy }
	OR = {
		has_trait = greedy
		has_trait = avaricious
		has_trait = gluttonous
	}
	ai_greed >= 50
	gold >= 200
}

choose_your_nickname_can_take_nick_pennyfather_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_pennyfather }
	culture = culture:anglo_saxon
	is_male = yes
	OR = {
		has_trait = greedy
		has_trait = avaricious
		has_trait = gluttonous
	}
	ai_greed >= 50
	gold >= 200
}

choose_your_nickname_can_take_nick_the_miser_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_miser }
	has_trait = greedy
	gold > massive_gold_value
	NOT = {
		has_trait = improvident
	}
	OR = {
		has_royal_court = no
		court_grandeur_current_level < court_grandeur_minimum_expected_level
	}
}

choose_your_nickname_can_take_nick_moneybags_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_moneybags }
	gold >= 1000
	ai_greed >= 100
}

choose_your_nickname_can_take_nick_the_corrupt_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_corrupt }
	ai_greed >= 50
	ai_honor <= 50
	gold >= massive_gold_value
}

choose_your_nickname_can_take_nick_of_the_empty_pockets_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_of_the_empty_pockets }
	OR = {
		debt_level >= 1
		treasury_debt_level >= 1
	}
}

choose_your_nickname_can_take_nick_the_unfortunate_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_unfortunate }
	stress_level >= 3
	gold < 0
}

choose_your_nickname_can_take_nick_the_traitor_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_traitor }
	OR = {
		has_trait = deceitful
		has_trait = arbitrary
		has_trait = ambitious
		has_trait = callous
		has_trait = sadistic
		has_trait = disloyal
	}
	any_killed_character = {
		is_close_family_of = root
	}
}

choose_your_nickname_can_take_nick_the_backstabber_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_backstabber }
	has_trait = disloyal
	intrigue >= 15
}

choose_your_nickname_can_take_nick_the_insubordinate_trigger = {
	is_adult = yes
	NOT = { has_nickname = nick_the_insubordinate }
	top_liege != this
	OR = {
		is_a_faction_member = yes
		has_trait = disloyal
	}
	ai_boldness >= 50
}
