﻿#####################
# This requires Custom2
# ROOT is always the person being insulted
# scope:second is always the person doing the insulting
#####################

InsultNoun = {
	type = character
	random_valid = yes

	text = {
		localization_key = witch
		trigger = {
			is_female = yes
			OR = {
				rite = { rite_has_doctrine = doctrine_witchcraft_crime }
				rite = { rite_has_doctrine = doctrine_witchcraft_shunned }
			}
			scope:second = {
				OR = {
					rite = { rite_has_doctrine = doctrine_witchcraft_crime }
					rite = { rite_has_doctrine = doctrine_witchcraft_shunned }
				}
			}
		}
	}
	text = {
		localization_key = doxy
		trigger = {
			is_adult = yes
			is_female = yes
			might_cheat_on_every_partner_trigger = yes
		}
	}
	text = {
		localization_key = churl
		trigger = {
			is_male = yes
			highest_held_title_tier <= scope:second.highest_held_title_tier
		}
	}		
	text = {
		localization_key = knave
		trigger = { 
			is_male = yes 
			NOT = {
				has_trait = honest
			}
		}
	}
	text = {
		localization_key = spawn_of_hell
		trigger = {
			OR = {
				has_personality_malicious_trigger = yes
				has_trait = cynical
			}
			scope:second = {
				faith.religion = { is_in_family = rf_abrahamic }
			}
		}
	}
	text = {
		localization_key = fiend
	}
	text = {
		localization_key = buffoon
		trigger = {
			is_male = yes
		}
	}
	text = {
		localization_key = cur
		trigger = {
			is_male = yes
		}
	}
	text = {
		localization_key = bastard
		trigger = {
			is_male = yes
			NOR = {
				mother ?= scope:second
				father ?= scope:second
				AND = {
					scope:second = { exists = mother }
					mother ?= scope:second.mother
				}
				AND = {
					scope:second = { exists = father }
					father ?= scope:second.father
				}
			}
		}
	}
	text = {
		localization_key = coward
		trigger = {
			has_trait = craven
			is_male = yes
		}
	}
	text = {
		localization_key = coward_female
		trigger = {
			has_trait = craven
			is_female = yes
		}
	}
	text = {
		localization_key = boar
		trigger = {
			has_personality_dominant_trigger = yes
			is_male = yes
		}
	}
	text = {
		localization_key = boar_female
		trigger = {
			has_personality_dominant_trigger = yes
			is_female = yes
		}
	}
	text = {
		localization_key = brat
		trigger = {
			is_adult = no
		}
	}
	text = {
		localization_key = rascal
		trigger = {
			is_adult = no
		}
	}
	text = {
		localization_key = ankle_biter
		trigger = {
			age <= 6
		}
	}
	text = {
		localization_key = whelp
		trigger = {
			age <= 8
		}
	}
	text = {
		localization_key = changeling
		trigger = {
			is_adult = no
			scope:second = {
				OR = {
					culture = { has_cultural_pillar = heritage_west_germanic }
					culture = { has_cultural_pillar = heritage_goidelic }
					culture = { has_cultural_pillar = heritage_brythonic }
				}
			}
		}
	}
	text = {
		localization_key = troll_spawn
		trigger = {
			is_adult = no
			scope:second = {
				culture = { has_cultural_pillar = heritage_north_germanic }
			}
		}
	}
	text = {
		localization_key = newt
		trigger = {
			is_adult = no
		}
	}
	text = {
		localization_key = waif
		trigger = {
			is_adult = no
			OR = {
				NOT = { exists = father }
				father = { is_alive = no }
			}
			OR = {
				NOT = { exists = mother }
				mother = { is_alive = no }
			}
		}
	}
	text = {
		localization_key = ragamuffin
		trigger = {
			is_adult = no
			OR = {
				NOT = { exists = father }
				father = { is_alive = no }
			}
			OR = {
				NOT = { exists = mother }
				mother = { is_alive = no }
			}
		}
	}
	text = {
		localization_key = killcrop
		trigger = {
			is_adult = no
			has_trait = gluttonous
			scope:second = { culture_has_asian_heritage_pillar_trigger = no }
		}
	}
	text = {
		localization_key = cox_comb
		trigger = {
			OR = {
				has_trait = arrogant
				AND = {
					NOT = { has_trait = humble }
					OR = {
						has_trait = beauty_good_2
						has_trait = beauty_good_3
					}
				}
			}
			is_male = yes
			scope:second = { culture_has_asian_heritage_pillar_trigger = no }
		}
	}
	text = {
		localization_key = cox_comb_female
		trigger = {
			OR = {
				has_trait = arrogant
				AND = {
					NOT = { has_trait = humble }
					OR = {
						has_trait = beauty_good_2
						has_trait = beauty_good_3
					}
				}
			}
			is_female = yes
			scope:second = { culture_has_asian_heritage_pillar_trigger = no }
		}
	}
	text = {
		localization_key = strumpet
		trigger = {
			is_female = yes
			is_adult = yes
			might_cheat_on_every_partner_trigger = yes
			scope:second = { culture_has_asian_heritage_pillar_trigger = no }
		}
	}
	text = {
		localization_key = bedswerver
		trigger = {
			is_adult = yes
			might_cheat_on_every_partner_trigger = yes
			is_male = yes
		}
	}
	text = {
		localization_key = bedswerver_female
		trigger = {
			is_adult = yes
			might_cheat_on_every_partner_trigger = yes
			is_female = yes
		}
	}
	text = {
		localization_key = hag
		trigger = {
			is_adult = yes
			is_female = yes
			NOR = {
				has_trait = beauty_good_2
				has_trait = beauty_good_3
			}
		}
	}
	text = {
		localization_key = ogre
		trigger = {
			is_adult = yes
			is_male = yes
			NOR = {
				has_trait = beauty_good_2
				has_trait = beauty_good_3
			}
		}
	}
	text = {
		localization_key = wench
		trigger = {
			is_adult = yes
			is_female = yes
			might_cheat_on_every_partner_trigger = yes
		}
	}
	text = {
		localization_key = swain
		trigger = {
			is_adult = yes
			is_male = yes
			culture_has_asian_heritage_pillar_trigger = no
			might_cheat_on_every_partner_trigger = yes
			NOT = {
				has_trait = intellect_good
			}
		}
	}
	text = {
		localization_key = oaf_insult
		trigger = {
			is_adult = yes
			OR = {
				has_trait = strong
				has_trait = physique_good
				has_trait = intellect_bad
				has_trait = dull
				has_trait = athletic
				has_trait = giant
			}
			NOT = {
				has_trait = intellect_good
			}
		}
	}
	text = {
		localization_key = lummox
		trigger = {
			is_adult = yes
			OR = {
				has_trait = strong
				has_trait = physique_good
				has_trait = intellect_bad
				has_trait = dull
				has_trait = athletic
				has_trait = giant
			}
			NOT = {
				has_trait = intellect_good
			}
		}
	}
	text = {
		localization_key = fopdoodle
		trigger = {
			is_adult = yes
			is_male = yes
			culture_has_asian_heritage_pillar_trigger = no
			OR = {
				has_trait = strong
				has_trait = physique_good
				has_trait = intellect_bad
				has_trait = dull
				has_trait = athletic
				has_trait = giant
			}
			NOT = {
				has_trait = intellect_good
			}
		}
	}
	text = {
		localization_key = scullion
		trigger = {
			is_adult = yes
			OR = {
				has_trait = peasant_leader
				has_dynasty = no
				is_lowborn = yes
			}
		}
	}
	text = {
		localization_key = commoner
		trigger = {
			is_adult = yes
			OR = {
				has_trait = peasant_leader
				has_dynasty = no
				is_lowborn = yes
			}
		}
	}
	text = {
		localization_key = sycophant
		trigger = {
			is_adult = yes
			is_independent_ruler = no
			OR = {
				intrigue > 10
				diplomacy > 10
			}
		}
	}
	text = {
		localization_key = banbury_cheese
		trigger = {
			is_adult = yes
			has_trait = spindly
			culture = { has_cultural_pillar = heritage_west_germanic }
		}
	}
	text = {
		localization_key = bampot
		trigger = {
			is_adult = yes
			culture_has_asian_heritage_pillar_trigger = no
			OR = {
				has_trait = fickle
				has_trait = eccentric
				has_trait = lunatic
			}
		}
	}
	text = {
		localization_key = pervert
		trigger = {
			is_adult = yes
			OR = {
				has_trait = deviant
				might_cheat_on_every_partner_trigger = yes
			}
		}
	}
	text = {
		localization_key = vixen
		trigger = {
			is_female = yes
			is_adult = yes
			might_cheat_on_every_partner_trigger = yes
			OR = {
				has_trait = lustful
				has_trait = seducer
			}
		}
	}
	text = {
		localization_key = debaucher
		trigger = {
			is_adult = yes
			OR = {
				has_trait = deviant
				has_trait = rakish
				has_trait = lustful
			}
		}
	}
	#text = {
	#	localization_key = venemous_animal_loc
	#	trigger = {
	#		is_adult = yes
	#		OR = {
	#			#has_trait = disloyal
	#			has_trait = deceitful
	#		}
	#	}
	#}
	text = {
		localization_key = fool
		trigger = {
			is_adult = yes
			NOT = {
				has_trait = intellect_good
			}
		}
	}
	text = {
		localization_key = kumquat
		trigger = {
			is_adult = yes
			culture = {
				OR = {
					culture_overlaps_geographical_region = world_burma
					culture_overlaps_geographical_region = world_india
				}
			}
		}
	}
	text = {
		localization_key = shitling
		trigger = {
			OR = {
				is_adult = no
				has_nickname = nick_the_dung_named
			}
			# Don't wheel it out for children that don't really misbehave.
			NOT = { has_trait = pensive }
		}
	}
	text = {
		localization_key = swine
		trigger = {
			is_adult = yes
			OR = {
				has_trait = gluttonous
				current_weight > 50
			}
		}
	}
	text = {
		localization_key = turtle_daughterson
		trigger = {
			OR = {
				culture = {
					has_cultural_pillar = heritage_chinese
				}
				culture = {
					has_cultural_pillar = heritage_japonic
				}
			}
			OR = {
				has_trait = bastard
				has_trait = legitimized_bastard
				has_trait = disputed_heritage
			}
		}
	}
	text = {
		localization_key = turtle_granddaughterson
		trigger = {
			OR = {
				has_trait = bastard
				has_trait = legitimized_bastard
				has_trait = disputed_heritage
			}
			scope:second = {
				culture = {
					has_cultural_pillar = heritage_chinese
				}
			}
		}
	}
	text = {
		localization_key = mother_selling_thief
		trigger = {
			is_adult = yes
			is_male = yes
			ai_honor <= medium_negative_ai_value
			scope:second = {
				culture = {
					has_cultural_pillar = heritage_chinese
				}
			}
		}
	}
	text = {
		localization_key = laborer
		trigger = {
			is_adult = yes
			is_male = yes
			short_term_gold < minor_gold_value
			scope:second = {
				culture = {
					has_cultural_pillar = heritage_chinese
				}
			}
		}
	}
	text = {
		localization_key = beggar
		trigger = {
			is_adult = yes
			is_male = yes
			short_term_gold < minor_gold_value
			scope:second = {
				culture = {
					has_cultural_pillar = heritage_chinese
				}
			}
		}
	}
	text = {
		localization_key = eunuch
		trigger = {
			is_adult = yes
			is_male = yes
			fertility <= low_fertility
			NOR = {
				has_trait = eunuch
				has_trait = beardless_eunuch
			}
			scope:second = {
				culture = {
					has_cultural_parameter = can_appoint_chief_eunuch
				}
			}
		}
	}
	text = {
		localization_key = recreant
		trigger = {
			can_be_warrior_trigger = { ARMY_OWNER = this }
			is_adult = yes
			is_male = yes
			OR = {
				has_trait = craven
				ai_honor <= medium_negative_ai_value
			}
			scope:second = { culture_has_asian_heritage_pillar_trigger = no }
		}
	}
	text = {
		localization_key = recreant_female
		trigger = {
			can_be_warrior_trigger = { ARMY_OWNER = this }
			is_adult = yes
			is_female = yes
			OR = {
				has_trait = craven
				ai_honor <= medium_negative_ai_value
			}
			scope:second = { culture_has_asian_heritage_pillar_trigger = no }
		}
	}
	text = {
		localization_key = caitiff
		trigger = {
			is_adult = yes
			is_male = yes
			highest_held_title_tier <= scope:second.highest_held_title_tier
			ai_honor <= medium_negative_ai_value
			scope:second = { culture_has_asian_heritage_pillar_trigger = no }
		}
	}
	text = {
		localization_key = miscreant
		trigger = {
			is_adult = yes
			OR = {
				has_personality_malicious_trigger = yes
				num_sinful_traits >= 2
			}
			scope:second = {
				OR = {
					has_trait = zealous
					faith.religion = { is_in_family = rf_abrahamic }
				}
			}
		}
	}
	text = {
		localization_key = nithing
		trigger = {
			can_be_warrior_trigger = { ARMY_OWNER = this }
			is_adult = yes
			OR = {
				has_trait = craven
				ai_honor <= medium_negative_ai_value
			}
			scope:second = {
				culture = { has_cultural_pillar = heritage_north_germanic }
			}
		}
	}
	text = {
		localization_key = dissembler
		trigger = {
			is_adult = yes
			is_male = yes
			OR = {
				has_trait = deceitful
				has_trait = schemer
			}
			scope:second = { culture_has_asian_heritage_pillar_trigger = no }
		}
	}
	text = {
		localization_key = dissembler_female
		trigger = {
			is_adult = yes
			is_female = yes
			OR = {
				has_trait = deceitful
				has_trait = schemer
			}
			scope:second = { culture_has_asian_heritage_pillar_trigger = no }
		}
	}
	text = {
		localization_key = scold
		trigger = {
			is_adult = yes
			is_female = yes
			OR = {
				has_trait = wrathful
				has_trait = irritable
				has_trait = impatient
				has_personality_annoying_trigger = yes
			}
			scope:second = { culture_has_asian_heritage_pillar_trigger = no }
		}
	}
	text = {
		localization_key = lecher
		trigger = {
			is_adult = yes
			is_male = yes
			OR = {
				has_trait = lustful
				has_trait = lifestyle_reveler
				has_trait = rakish
				might_cheat_on_every_partner_trigger = yes
			}
			scope:second = { culture_has_asian_heritage_pillar_trigger = no }
		}
	}
	text = { # CK2 classic
		localization_key = dullard
		trigger = {
			is_adult = yes
			OR = {
				has_trait = intellect_bad
				has_trait = dull
			}
		}
	}
	text = { # CK2 classic
		localization_key = fat_pig
		trigger = {
			is_adult = yes
			is_male = yes
			OR = {
				has_trait = gluttonous
				has_trait = comfort_eater
			}
		}
	}
	text = { # CK2 classic
		localization_key = scatterbrain
		trigger = {
			is_adult = yes
			OR = {
				has_trait = arbitrary
				has_trait = fickle
				has_trait = eccentric
			}
		}
	}
	text = { # CK2 classic
		localization_key = kinslayer_insult
		trigger = {
			is_adult = yes
			has_trait = kinslayer
			NOT = {
				scope:second = { has_trait = kinslayer }
			}
		}
	}
	text = { # CK2 classic
		localization_key = warlock
		trigger = {
			is_adult = yes
			is_male = yes
			OR = {
				has_trait = possessed
				has_trait = lunatic
			}
			scope:second = {
				faith.religion = { is_in_family = rf_abrahamic }
			}
		}
	}
	text = { # CK2 classic
		localization_key = devil_woman
		trigger = {
			is_adult = yes
			is_female = yes
			OR = {
				has_trait = possessed
				has_trait = lunatic
			}
			scope:second = {
				faith.religion = { is_in_family = rf_abrahamic }
			}
		}
	}

	text = { # CK2 classic — INSULT_BRUTE
		localization_key = brute
		trigger = {
			is_adult = yes
			is_male = yes
			OR = {
				has_trait = sadistic
				has_trait = callous
				has_trait = wrathful
			}
		}
	}

	text = { # CK2 classic
		localization_key = torturer
		trigger = {
			is_adult = yes
			OR = {
				has_trait = sadistic
				has_trait = callous
			}
		}
	}
	text = { # CK2 classic
		localization_key = gorgon
		trigger = {
			is_adult = yes
			is_female = yes
			OR = {
				has_trait = beauty_bad
				has_trait = disfigured
			}
			scope:second = { culture_has_asian_heritage_pillar_trigger = no }
		}
	}
	text = { # CK2 classic
		localization_key = weakling
		trigger = {
			is_adult = yes
			OR = {
				has_trait = physique_bad
				has_trait = weak
				has_trait = fragile_bones
			}
		}
	}
	text = { # CK2 classic
		localization_key = occultist
		trigger = {
			is_adult = yes
			OR = {
				rite = { rite_has_doctrine = doctrine_witchcraft_crime }
				rite = { rite_has_doctrine = doctrine_witchcraft_shunned }
				has_trait = witch
				has_trait = lifestyle_mystic
			}
			scope:second = {
				OR = {
					rite = { rite_has_doctrine = doctrine_witchcraft_crime }
					rite = { rite_has_doctrine = doctrine_witchcraft_shunned }
				}
			}
		}
	}
	text = { # CK2 classic
		localization_key = glutton
		trigger = {
			is_adult = yes
			OR = {
				has_trait = gluttonous
				has_trait = comfort_eater
			}
		}
	}
	text = { # Medieval staple — insults mother and son at once
		localization_key = whoreson
		trigger = {
			is_adult = yes
			is_male = yes
			scope:second = { culture_has_asian_heritage_pillar_trigger = no }
			NOR = {
				mother ?= scope:second
				father ?= scope:second
				AND = {
					scope:second = { exists = mother }
					mother ?= scope:second.mother
				}
				AND = {
					scope:second = { exists = father }
					father ?= scope:second.father
				}
			}
		}
	}
	text = { # Medieval — utter coward
		localization_key = poltroon
		trigger = {
			can_be_warrior_trigger = { ARMY_OWNER = this }
			is_adult = yes
			OR = {
				has_trait = craven
				ai_boldness <= medium_negative_ai_value
			}
			scope:second = { culture_has_asian_heritage_pillar_trigger = no }
		}
	}
	text = { # Medieval — fawning sycophant
		localization_key = lickspittle
		trigger = {
			is_adult = yes
			OR = {
				has_trait = craven
				AND = {
					has_trait = deceitful
					has_personality_submissive_trigger = yes
				}
			}
			scope:second = { culture_has_asian_heritage_pillar_trigger = no }
		}
	}
	text = { # Medieval — sneaking coward
		localization_key = dastard
		trigger = {
			is_adult = yes
			is_male = yes
			OR = {
				has_trait = craven
				has_trait = deceitful
				ai_honor <= medium_negative_ai_value
			}
			scope:second = { culture_has_asian_heritage_pillar_trigger = no }
		}
	}
	text = { # Medieval — worthless wretch
		localization_key = losel
		trigger = {
			is_adult = yes
			is_male = yes
			OR = {
				has_trait = lazy
				has_trait = intellect_bad
			}
			scope:second = { culture_has_asian_heritage_pillar_trigger = no }
		}
	}
	text = { # CK2 / period
		localization_key = ruffian
		trigger = {
			is_adult = yes
			is_male = yes
			OR = {
				has_trait = wrathful
				has_trait = sadistic
				has_personality_malicious_trigger = yes
			}
		}
	}
	text = { # CK2 classic — only of social inferiors who climb
		localization_key = upstart
		trigger = {
			is_adult = yes
			highest_held_title_tier < scope:second.highest_held_title_tier
			OR = {
				has_trait = ambitious
				has_trait = arrogant
			}
		}
	}

	text = { # CK2 classic — INSULT_BIGOT
		localization_key = bigot
		trigger = {
			is_adult = yes
			has_trait = zealous
			OR = {
				NOT = { faith = scope:second.faith }
				scope:second = { has_trait = cynical }
			}
		}
	}

	text = { # CK2 / ecclesiastical — heresiarch only within the speaker's religion
		localization_key = heresiarch
		trigger = {
			is_adult = yes
			faith.religion = scope:second.faith.religion
			OR = {
				has_trait = excommunicated
				has_trait = witch
				scope:second.faith = {
					faith_hostility_level = {
						target = root.faith
						value >= faith_hostile_level
					}
				}
			}
			scope:second = {
				OR = {
					has_trait = zealous
					faith.religion = { is_in_family = rf_abrahamic }
				}
			}
		}
	}
	text = { # CK2 classic
		localization_key = abomination
		trigger = {
			is_adult = yes
			OR = {
				has_personality_malicious_trigger = yes
				num_sinful_traits >= 3
				has_trait = cannibal
			}
			scope:second = {
				faith.religion = { is_in_family = rf_abrahamic }
			}
		}
	}
	text = { # CK2 classic — bastardy/low birth insult; never from a shared mother
		localization_key = mongrel
		trigger = {
			is_adult = yes
			OR = {
				has_trait = bastard
				has_trait = legitimized_bastard
				has_trait = wild_oat
			}
			scope:second = { culture_has_asian_heritage_pillar_trigger = no }
			NOR = {
				mother ?= scope:second
				father ?= scope:second
				AND = {
					scope:second = { exists = mother }
					mother ?= scope:second.mother
				}
				AND = {
					scope:second = { exists = father }
					father ?= scope:second.father
				}
			}
		}
	}
	text = { # Medieval female insult
		localization_key = drab
		trigger = {
			is_adult = yes
			is_female = yes
			OR = {
				has_trait = lustful
				has_trait = rakish
				might_cheat_on_every_partner_trigger = yes
			}
			scope:second = { culture_has_asian_heritage_pillar_trigger = no }
		}
	}
	text = { # CK2 classic — decadent reveler
		localization_key = sybarite
		trigger = {
			is_adult = yes
			OR = {
				has_trait = decadent
				has_trait = lifestyle_reveler
				AND = {
					has_trait = gluttonous
					has_trait = greedy
				}
			}
			scope:second = { culture_has_asian_heritage_pillar_trigger = no }
		}
	}
}

InsultNounPlural = {
	type = character
	parent = InsultNoun
	suffix = _plural
}

InsultAdjective = {
	type = character
	random_valid = yes

	text = {
		localization_key = insult_nickname_two_faced
		trigger = {
			has_trait = deceitful
			is_male = yes
		}
	}
	text = {
		localization_key = insult_nickname_two_faced_female
		trigger = {
			has_trait = deceitful
			is_female = yes
		}
	}	
	text = {
		localization_key = cold_hearted
		trigger = {
			OR = {
				has_personality_malicious_trigger = yes
				has_personality_levelheaded_trigger = yes
			}
			is_male = yes
		}
	}
	text = {
		localization_key = cold_hearted_female
		trigger = {
			OR = {
				has_personality_malicious_trigger = yes
				has_personality_levelheaded_trigger = yes
			}
			is_female = yes
		}
	}
	text = {
		localization_key = evil
		trigger = {
			has_personality_malicious_trigger = yes
			is_male = yes
		}
	}
	text = {
		localization_key = evil_female
		trigger = {
			has_personality_malicious_trigger = yes
			is_female = yes
		}
	}
	text = {
		localization_key = obnoxious
		trigger = {
			has_personality_annoying_trigger = yes
			is_male = yes
		}
	}
	text = {
		localization_key = obnoxious_female
		trigger = {
			has_personality_annoying_trigger = yes
			is_female = yes
		}
	}
	text = {
		localization_key = rattling
		trigger = {
			has_personality_extroverted_trigger = yes
			is_male = yes
		}
	}
	text = {
		localization_key = rattling_female
		trigger = {
			has_personality_extroverted_trigger = yes
			is_female = yes
		}
	}
	text = {
		localization_key = blathering
		trigger = {
			has_personality_extroverted_trigger = yes
			is_male = yes
		}
	}
	text = {
		localization_key = blathering_female
		trigger = {
			has_personality_extroverted_trigger = yes
			is_female = yes
		}
	}
	text = {
		localization_key = chattering
		trigger = {
			has_personality_extroverted_trigger = yes
			is_male = yes
		}
	}
	text = {
		localization_key = chattering_female
		trigger = {
			has_personality_extroverted_trigger = yes
			is_female = yes
		}
	}
	text = {
		localization_key = lecherous
		trigger = {
			is_adult = yes
			OR = {
				has_trait = lustful
				has_trait = seducer
			}
			is_male = yes
		}
	}
	text = {
		localization_key = lecherous_female
		trigger = {
			is_adult = yes
			OR = {
				has_trait = lustful
				has_trait = seducer
			}
			is_female = yes
		}
	}
	text = {
		localization_key = hysterical
		trigger = {
			has_personality_emotional_trigger = yes
			is_male = yes
		}
	}
	text = {
		localization_key = hysterical_female
		trigger = {
			has_personality_emotional_trigger = yes
			is_female = yes
		}
	}
	text = {
		localization_key = brooding
		trigger = {
			has_personality_emotional_trigger = yes
			is_male = yes
		}
	}
	text = {
		localization_key = brooding_female
		trigger = {
			has_personality_emotional_trigger = yes
			is_female = yes
		}
	}
	text = {
		localization_key = spineless
		trigger = {
			has_personality_submissive_trigger = yes
			is_male = yes
		}
	}
	text = {
		localization_key = spineless_female
		trigger = {
			has_personality_submissive_trigger = yes
			is_female = yes
		}
	}
	text = {
		localization_key = squeamish
		trigger = {
			has_personality_submissive_trigger = yes
			is_male = yes
		}
	}
	text = {
		localization_key = squeamish_female
		trigger = {
			has_personality_submissive_trigger = yes
			is_female = yes
		}
	}
	text = {
		localization_key = impotent
		trigger = {
			is_adult = yes
			is_male = yes
			has_personality_submissive_trigger = yes
		}
	}
	text = {
		localization_key = impotent_female
		trigger = {
			is_adult = yes
			is_female = yes
			has_personality_submissive_trigger = yes
		}
	}
	text = {
		localization_key = gutless
		trigger = {
			has_trait = craven
			is_male = yes
		}
	}
	text = {
		localization_key = gutless_female
		trigger = {
			has_trait = craven
			is_female = yes
		}
	}
	text = {
		localization_key = cowardly
		trigger = {
			has_trait = craven
			is_male = yes
		}
	}
	text = {
		localization_key = cowardly_female
		trigger = {
			has_trait = craven
			is_female = yes
		}
	}
	text = {
		localization_key = brash
		trigger = {
			has_personality_dominant_trigger = yes
			is_male = yes
		}
	}
	text = {
		localization_key = brash_female
		trigger = {
			has_personality_dominant_trigger = yes
			is_female = yes
		}
	}
	text = {
		localization_key = cocky
		trigger = {
			has_personality_dominant_trigger = yes
			is_male = yes
		}
	}
	text = {
		localization_key = cocky_female
		trigger = {
			has_personality_dominant_trigger = yes
			is_female = yes
		}
	}
	text = {
		localization_key = false
		trigger = {
			has_personality_benevolent_trigger = yes
			is_male = yes
		}
	}
	text = {
		localization_key = false_female
		trigger = {
			has_personality_benevolent_trigger = yes
			is_female = yes
		}
	}
	text = {
		localization_key = beguiling
		trigger = {
			has_personality_benevolent_trigger = yes
			is_male = yes
		}
	}
	text = {
		localization_key = beguiling_female
		trigger = {
			has_personality_benevolent_trigger = yes
			is_female = yes
		}
	}
	text = {
		localization_key = solitary
		trigger = {
			has_personality_introverted_trigger = yes
			is_male = yes
		}
	}
	text = {
		localization_key = solitary_female
		trigger = {
			has_personality_introverted_trigger = yes
			is_female = yes
		}
	}
	text = {
		localization_key = eremetic
		trigger = {
			has_personality_introverted_trigger = yes
			is_male = yes
		}
	}
	text = {
		localization_key = eremetic_female
		trigger = {
			has_personality_introverted_trigger = yes
			is_female = yes
		}
	}
	text = {
		localization_key = reclusive
		trigger = {
			has_personality_introverted_trigger = yes
			is_male = yes
		}
	}
	text = {
		localization_key = reclusive_female
		trigger = {
			has_personality_introverted_trigger = yes
			is_female = yes
		}
	}
	text = {
		localization_key = friendless
		trigger = {
			has_personality_introverted_trigger = yes
			is_male = yes
		}
	}
	text = {
		localization_key = friendless_female
		trigger = {
			has_personality_introverted_trigger = yes
			is_female = yes
		}
	}
	text = {
		localization_key = cloistered
		trigger = {
			has_personality_introverted_trigger = yes
			is_male = yes
		}
	}
	text = {
		localization_key = cloistered_female
		trigger = {
			has_personality_introverted_trigger = yes
			is_female = yes
		}
	}
	text = {
		localization_key = heartless
		trigger = {
			has_personality_levelheaded_trigger = yes
			is_male = yes
		}
	}
	text = {
		localization_key = heartless_female
		trigger = {
			has_personality_levelheaded_trigger = yes
			is_female = yes
		}
	}
	text = {
		localization_key = foppish
		trigger = {
			is_adult = yes
			has_trait = beauty_good
			is_male = yes
		}
	}
	text = {
		localization_key = preening
		trigger = {
			is_adult = yes
			has_trait = beauty_good
			is_female = yes
		}
	}
	text = {
		localization_key = contemptuous
		trigger = {
			OR = {
				has_personality_malicious_trigger = yes
				has_personality_levelheaded_trigger = yes
			}
			is_male = yes
		}
	}
	text = {
		localization_key = contemptuous_female
		trigger = {
			OR = {
				has_personality_malicious_trigger = yes
				has_personality_levelheaded_trigger = yes
			}
			is_female = yes
		}
	}
	text = {
		localization_key = headless
		trigger = {
			OR = {
				has_trait = intellect_bad
				has_trait = dull
				is_eunuch_trigger = yes
			}
			is_male = yes
		}
	}
	text = {
		localization_key = headless_female
		trigger = {
			OR = {
				has_trait = intellect_bad
				has_trait = dull
			}
			is_female = yes
		}
	}
	text = {
		localization_key = lumbering
		trigger = {
			OR = {
				has_trait = strong
				has_trait = physique_good
				has_trait = intellect_bad
				has_trait = dull
				has_trait = athletic
				has_trait = giant
			}
			is_male = yes
		}
	}
	text = {
		localization_key = lumbering_female
		trigger = {
			OR = {
				has_trait = strong
				has_trait = physique_good
				has_trait = intellect_bad
				has_trait = dull
				has_trait = athletic
				has_trait = giant
			}
			is_female = yes
		}
	}
	text = {
		localization_key = goat_shagging_male
		trigger = {
			has_trait = deviant
			is_male = yes
		}
	}
	text = {
		localization_key = goat_shagging_female
		trigger = {
			has_trait = deviant
			is_female = yes
		}
	}
	text = {
		localization_key = telmatobios
		trigger = {
			scope:second = {
				knows_language = language_greek
			}
		}
	}
	text = {
		localization_key = borborophagos
		trigger = {
			scope:second = {
				knows_language = language_greek
			}
		}
	}
	text = {
		localization_key = hellenothreskos
		trigger = {
			scope:second = {
				knows_language = language_greek
				OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion }
			}
		}
	}
	text = {
		localization_key = spondophthoros
		trigger = {
			OR = {
				has_trait = deceitful
				has_trait = disloyal
			}
			scope:second = {
				knows_language = language_greek
			}
		}
	}
	text = {
		localization_key = wolf_hearted
		trigger = {
			OR = {
				has_trait = callous
				has_trait = sadistic
			}
			scope:second = {
				culture = {
					has_cultural_pillar = heritage_chinese
				}
			}
		}
	}
	text = {
		localization_key = dog_livered
		trigger = {
			has_trait = craven
			scope:second = {
				culture = {
					has_cultural_pillar = heritage_chinese
				}
			}
		}
	}
	text = {
		localization_key = unfilial
		trigger = {
			ai_honor <= medium_negative_ai_value
			scope:second = {
				culture = {
					has_cultural_pillar = heritage_chinese
				}
			}
		}
	}
	text = {
		localization_key = disloyal
		trigger = {
			ai_honor <= medium_negative_ai_value
			scope:second = {
				culture = {
					has_cultural_pillar = heritage_chinese
				}
			}
		}
	}
	text = {
		localization_key = shameless
		trigger = {
			ai_honor <= medium_negative_ai_value
			scope:second = {
				culture = {
					has_cultural_pillar = heritage_chinese
				}
			}
		}
	}
	text = {
		localization_key = classless
		trigger = {
			diplomacy <= low_skill_rating
			scope:second = {
				culture = {
					has_cultural_pillar = heritage_chinese
				}
			}
		}
	}
	text = {
		localization_key = ignorant
		trigger = {
			learning <= low_skill_rating
			scope:second = {
				culture = {
					has_cultural_pillar = heritage_chinese
				}
			}
		}
	}
	text = {
		localization_key = uneducated
		trigger = {
			learning <= low_skill_rating
			scope:second = {
				culture = {
					has_cultural_pillar = heritage_chinese
				}
			}
		}
	}
	text = {
		localization_key = unlearned
		trigger = {
			learning <= low_skill_rating
			scope:second = {
				culture = {
					has_cultural_pillar = heritage_chinese
				}
			}
		}
	}
	text = {
		localization_key = unscrupulous
		trigger = {
			ai_honor <= medium_negative_ai_value
			scope:second = {
				culture = {
					has_cultural_pillar = heritage_chinese
				}
			}
		}
	}
	text = {
		localization_key = turtle_spawned
		trigger = {
			OR = {
				has_trait = bastard
				has_trait = legitimized_bastard
				has_trait = disputed_heritage
			}
			scope:second = {
				OR = {
					culture = {
						has_cultural_pillar = heritage_chinese
					}
					culture = {
						has_cultural_pillar = heritage_japonic
					}
				}
			}
		}
	}
	text = {
		localization_key = faithless
		trigger = {
			OR = {
				has_trait = deceitful
				ai_honor <= medium_negative_ai_value
			}
			is_male = yes
			scope:second = { culture_has_asian_heritage_pillar_trigger = no }
		}
	}
	text = {
		localization_key = faithless_female
		trigger = {
			OR = {
				has_trait = deceitful
				ai_honor <= medium_negative_ai_value
			}
			is_female = yes
			scope:second = { culture_has_asian_heritage_pillar_trigger = no }
		}
	}
	text = {
		localization_key = pestilent
		trigger = {
			has_personality_malicious_trigger = yes
			is_male = yes
		}
	}
	text = {
		localization_key = pestilent_female
		trigger = {
			has_personality_malicious_trigger = yes
			is_female = yes
		}
	}
	text = {
		localization_key = overweening
		trigger = {
			OR = {
				has_trait = arrogant
				has_personality_dominant_trigger = yes
			}
			is_male = yes
		}
	}
	text = {
		localization_key = overweening_female
		trigger = {
			OR = {
				has_trait = arrogant
				has_personality_dominant_trigger = yes
			}
			is_female = yes
		}
	}
	text = {
		localization_key = pusillanimous
		trigger = {
			has_trait = craven
			is_male = yes
			scope:second = { culture_has_asian_heritage_pillar_trigger = no }
		}
	}
	text = {
		localization_key = pusillanimous_female
		trigger = {
			has_trait = craven
			is_female = yes
			scope:second = { culture_has_asian_heritage_pillar_trigger = no }
		}
	}
	text = {
		localization_key = accursed
		trigger = {
			OR = {
				has_personality_malicious_trigger = yes
				num_sinful_traits >= 2
			}
			is_male = yes
			scope:second = {
				faith.religion = { is_in_family = rf_abrahamic }
			}
		}
	}
	text = {
		localization_key = accursed_female
		trigger = {
			OR = {
				has_personality_malicious_trigger = yes
				num_sinful_traits >= 2
			}
			is_female = yes
			scope:second = {
				faith.religion = { is_in_family = rf_abrahamic }
			}
		}
	}
	text = { # CK2 classic — the adjective half of "filthy lecher"
		localization_key = filthy
		trigger = {
			is_adult = yes
			OR = {
				has_trait = gluttonous
				has_trait = comfort_eater
				has_trait = lustful
				has_trait = rakish
				has_personality_malicious_trigger = yes
			}
			is_male = yes
		}
	}
	text = {
		localization_key = filthy_female
		trigger = {
			is_adult = yes
			OR = {
				has_trait = gluttonous
				has_trait = comfort_eater
				has_trait = lustful
				has_trait = rakish
				has_personality_malicious_trigger = yes
			}
			is_female = yes
		}
	}
	text = { # CK2 classic
		localization_key = lugubrious
		trigger = {
			has_trait = depressed
			is_male = yes
			scope:second = { culture_has_asian_heritage_pillar_trigger = no }
		}
	}
	text = {
		localization_key = lugubrious_female
		trigger = {
			has_trait = depressed
			is_female = yes
			scope:second = { culture_has_asian_heritage_pillar_trigger = no }
		}
	}
	text = { # CK2 classic
		localization_key = miserly
		trigger = {
			OR = {
				has_trait = greedy
				has_trait = avaricious
			}
			is_male = yes
		}
	}
	text = {
		localization_key = miserly_female
		trigger = {
			OR = {
				has_trait = greedy
				has_trait = avaricious
			}
			is_female = yes
		}
	}
	text = { # CK2 classic
		localization_key = indolent
		trigger = {
			has_trait = lazy
			is_male = yes
		}
	}
	text = {
		localization_key = indolent_female
		trigger = {
			has_trait = lazy
			is_female = yes
		}
	}
	text = { # CK2 classic
		localization_key = venal
		trigger = {
			OR = {
				has_trait = greedy
				has_trait = avaricious
			}
			OR = {
				has_trait = deceitful
				ai_honor <= medium_negative_ai_value
			}
			is_male = yes
		}
	}
	text = {
		localization_key = venal_female
		trigger = {
			OR = {
				has_trait = greedy
				has_trait = avaricious
			}
			OR = {
				has_trait = deceitful
				ai_honor <= medium_negative_ai_value
			}
			is_female = yes
		}
	}
	text = { # CK2 classic
		localization_key = driveling
		trigger = {
			OR = {
				has_trait = intellect_bad
				has_trait = dull
			}
			is_male = yes
		}
	}
	text = {
		localization_key = driveling_female
		trigger = {
			OR = {
				has_trait = intellect_bad
				has_trait = dull
			}
			is_female = yes
		}
	}
	text = { # CK2 classic
		localization_key = scheming
		trigger = {
			OR = {
				has_trait = schemer
				has_trait = deceitful
				AND = {
					has_trait = paranoid
					intrigue >= medium_skill_rating
				}
			}
			is_male = yes
		}
	}
	text = {
		localization_key = scheming_female
		trigger = {
			OR = {
				has_trait = schemer
				has_trait = deceitful
				AND = {
					has_trait = paranoid
					intrigue >= medium_skill_rating
				}
			}
			is_female = yes
		}
	}
	text = { # CK2 classic
		localization_key = bigoted
		trigger = {
			OR = {
				has_trait = zealous
				has_trait = paranoid
			}
			scope:second = {
				NOT = { faith = prev.faith }
			}
			is_male = yes
		}
	}
	text = {
		localization_key = bigoted_female
		trigger = {
			OR = {
				has_trait = zealous
				has_trait = paranoid
			}
			scope:second = {
				NOT = { faith = prev.faith }
			}
			is_female = yes
		}
	}
	text = { # CK2 classic
		localization_key = raging
		trigger = {
			OR = {
				has_trait = wrathful
				has_trait = irritable
				has_trait = impatient
			}
			is_male = yes
		}
	}
	text = {
		localization_key = raging_female
		trigger = {
			OR = {
				has_trait = wrathful
				has_trait = irritable
				has_trait = impatient
			}
			is_female = yes
		}
	}
	text = { # CK2 classic
		localization_key = baseborn
		trigger = {
			OR = {
				has_trait = bastard
				has_trait = legitimized_bastard
				has_trait = wild_oat
			}
			is_male = yes
			NOR = {
				mother ?= scope:second
				father ?= scope:second
				AND = {
					scope:second = { exists = mother }
					mother ?= scope:second.mother
				}
				AND = {
					scope:second = { exists = father }
					father ?= scope:second.father
				}
			}
		}
	}
	text = {
		localization_key = baseborn_female
		trigger = {
			OR = {
				has_trait = bastard
				has_trait = legitimized_bastard
				has_trait = wild_oat
			}
			is_female = yes
			NOR = {
				mother ?= scope:second
				father ?= scope:second
				AND = {
					scope:second = { exists = mother }
					mother ?= scope:second.mother
				}
				AND = {
					scope:second = { exists = father }
					father ?= scope:second.father
				}
			}
		}
	}
	text = { # CK2 classic
		localization_key = pox_ridden
		trigger = {
			is_adult = yes
			OR = {
				has_trait = great_pox
				has_trait = lovers_pox
				has_trait = early_great_pox
				has_trait = rakish
				has_trait = lustful
			}
			is_male = yes
		}
	}
	text = {
		localization_key = pox_ridden_female
		trigger = {
			is_adult = yes
			OR = {
				has_trait = great_pox
				has_trait = lovers_pox
				has_trait = early_great_pox
				has_trait = rakish
				has_trait = lustful
			}
			is_female = yes
		}
	}
	text = { # CK2 classic
		localization_key = besotted
		trigger = {
			is_adult = yes
			OR = {
				has_trait = drunkard
				has_trait = lifestyle_reveler
				has_trait = lustful
				has_trait = rakish
			}
			is_male = yes
		}
	}
	text = {
		localization_key = besotted_female
		trigger = {
			is_adult = yes
			OR = {
				has_trait = drunkard
				has_trait = lifestyle_reveler
				has_trait = lustful
				has_trait = rakish
			}
			is_female = yes
		}
	}
	text = { # CK2 / biblical register
		localization_key = covetous
		trigger = {
			OR = {
				has_trait = greedy
				has_trait = avaricious
				has_trait = ambitious
			}
			is_male = yes
		}
	}
	text = {
		localization_key = covetous_female
		trigger = {
			OR = {
				has_trait = greedy
				has_trait = avaricious
				has_trait = ambitious
			}
			is_female = yes
		}
	}
	text = { # CK2 classic
		localization_key = putrid
		trigger = {
			OR = {
				has_trait = beauty_bad
				has_trait = leper
				has_trait = great_pox
				has_personality_malicious_trigger = yes
			}
			is_male = yes
		}
	}
	text = {
		localization_key = putrid_female
		trigger = {
			OR = {
				has_trait = beauty_bad
				has_trait = leper
				has_trait = great_pox
				has_personality_malicious_trigger = yes
			}
			is_female = yes
		}
	}
	text = { # Period legal/moral register
		localization_key = heinous
		trigger = {
			OR = {
				has_personality_malicious_trigger = yes
				has_trait = sadistic
				has_trait = murderer
				has_trait = kinslayer
			}
			is_male = yes
		}
	}
	text = {
		localization_key = heinous_female
		trigger = {
			OR = {
				has_personality_malicious_trigger = yes
				has_trait = sadistic
				has_trait = murderer
				has_trait = kinslayer
			}
			is_female = yes
		}
	}
	text = { # CK2 classic
		localization_key = rapacious
		trigger = {
			OR = {
				has_trait = greedy
				has_trait = avaricious
				has_trait = ambitious
			}
			is_male = yes
		}
	}
	text = {
		localization_key = rapacious_female
		trigger = {
			OR = {
				has_trait = greedy
				has_trait = avaricious
				has_trait = ambitious
			}
			is_female = yes
		}
	}
	text = { # CK2 classic — abrahamic speaker
		localization_key = godless
		trigger = {
			OR = {
				has_trait = cynical
				has_trait = excommunicated
				num_sinful_traits >= 2
			}
			is_male = yes
			scope:second = {
				faith.religion = { is_in_family = rf_abrahamic }
			}
		}
	}
	text = {
		localization_key = godless_female
		trigger = {
			OR = {
				has_trait = cynical
				has_trait = excommunicated
				num_sinful_traits >= 2
			}
			is_female = yes
			scope:second = {
				faith.religion = { is_in_family = rf_abrahamic }
			}
		}
	}
	text = { # CK2 classic
		localization_key = foul
		trigger = {
			OR = {
				has_personality_malicious_trigger = yes
				has_trait = gluttonous
				has_trait = comfort_eater
			}
			is_male = yes
		}
	}
	text = {
		localization_key = foul_female
		trigger = {
			OR = {
				has_personality_malicious_trigger = yes
				has_trait = gluttonous
				has_trait = comfort_eater
			}
			is_female = yes
		}
	}
	text = { # CK2 classic
		localization_key = grasping
		trigger = {
			OR = {
				has_trait = greedy
				has_trait = avaricious
			}
			is_male = yes
		}
	}
	text = {
		localization_key = grasping_female
		trigger = {
			OR = {
				has_trait = greedy
				has_trait = avaricious
			}
			is_female = yes
		}
	}
	text = { # CK2 classic
		localization_key = bloated
		trigger = {
			OR = {
				has_trait = gluttonous
				has_trait = comfort_eater
			}
			is_male = yes
		}
	}
	text = {
		localization_key = bloated_female
		trigger = {
			OR = {
				has_trait = gluttonous
				has_trait = comfort_eater
			}
			is_female = yes
		}
	}

	text = { # CK2 classic — dull female
		localization_key = vacuous
		trigger = {
			is_female = yes
			OR = {
				has_trait = intellect_bad
				has_trait = dull
			}
		}
	}

	text = { # CK2 classic — arbitrary
		localization_key = erratic
		trigger = {
			OR = {
				has_trait = arbitrary
				has_trait = fickle
				has_trait = eccentric
			}
			is_male = yes
		}
	}
	text = {
		localization_key = erratic_female
		trigger = {
			OR = {
				has_trait = arbitrary
				has_trait = fickle
				has_trait = eccentric
			}
			is_female = yes
		}
	}
	text = { # CK2 classic — infirm/aged
		localization_key = senile
		trigger = {
			is_male = yes
			age >= 60
			OR = {
				has_trait = infirm
				has_trait = withering_mind
				has_trait = intellect_bad
				has_trait = dull
			}
		}
	}
	text = {
		localization_key = senile_female
		trigger = {
			is_female = yes
			age >= 60
			OR = {
				has_trait = infirm
				has_trait = withering_mind
				has_trait = intellect_bad
				has_trait = dull
			}
		}
	}
	text = { # CK2 classic — dull male
		localization_key = dim
		trigger = {
			is_male = yes
			OR = {
				has_trait = intellect_bad
				has_trait = dull
				has_trait = withering_mind
			}
		}
	}
	#Fallbacks
	text = {
		localization_key = loathsome
		trigger = { is_male = yes }
	}
	text = {
		localization_key = abhorrent
		trigger = { is_male = yes }
	}
	text = {
		localization_key = vile
		trigger = { is_male = yes }
	}
	text = {
		localization_key = miserable
		trigger = { is_male = yes }
	}
	text = {
		localization_key = worthless
		trigger = { is_male = yes }
	}
	text = {
		localization_key = loathsome_female
		trigger = { is_female = yes }
	}
	text = {
		localization_key = abhorrent_female
		trigger = { is_female = yes }
	}
	text = {
		localization_key = vile_female
		trigger = { is_female = yes }
	}
	text = {
		localization_key = miserable_female
		trigger = { is_female = yes }
	}
	text = {
		localization_key = worthless_female
		trigger = { is_female = yes }
	}
}


InsultAdjectiveArticle = {
	type = character
	random_valid = yes

	text = {
		localization_key = insult_nickname_two_faced_article
		trigger = {
			is_male = yes
			has_trait = deceitful
		}
	}	
	text = {
		localization_key = cold_hearted_article
		trigger = {
			is_male = yes
			OR = {
				has_personality_malicious_trigger = yes
				has_personality_levelheaded_trigger = yes
			}
		}
	}
	text = {
		localization_key = evil_article
		trigger = {
			is_male = yes
			has_personality_malicious_trigger = yes
		}
	}
	text = {
		localization_key = obnoxious_article
		trigger = {
			is_male = yes
			has_personality_annoying_trigger = yes
		}
	}
	text = {
		localization_key = rattling_article
		trigger = {
			is_male = yes
			has_personality_extroverted_trigger = yes
		}
	}
	text = {
		localization_key = blathering_article
		trigger = {
			is_male = yes
			has_personality_extroverted_trigger = yes
		}
	}
	text = {
		localization_key = chattering_article
		trigger = {
			is_male = yes
			has_personality_extroverted_trigger = yes
		}
	}
	text = {
		localization_key = lecherous_article
		trigger = {
			is_adult = yes
			is_male = yes
			OR = {
				has_trait = lustful
				has_trait = seducer
			}
		}
	}
	text = {
		localization_key = hysterical_article
		trigger = {
			is_male = yes
			has_personality_emotional_trigger = yes
		}
	}
	text = {
		localization_key = brooding_article
		trigger = {
			is_male = yes
			has_personality_emotional_trigger = yes
		}
	}
	text = {
		localization_key = spineless_article
		trigger = {
			is_male = yes
			has_personality_submissive_trigger = yes
		}
	}
	text = {
		localization_key = squeamish_article
		trigger = {
			is_male = yes
			has_personality_submissive_trigger = yes
		}
	}
	text = {
		localization_key = impotent_article
		trigger = {
			is_male = yes
			has_personality_submissive_trigger = yes
		}
	}
	text = {
		localization_key = gutless_article
		trigger = {
			is_male = yes
			has_trait = craven
		}
	}
	text = {
		localization_key = cowardly_article
		trigger = {
			is_male = yes
			has_trait = craven
		}
	}
	text = {
		localization_key = brash_article
		trigger = {
			is_male = yes
			has_personality_dominant_trigger = yes
		}
	}
	text = {
		localization_key = cocky_article
		trigger = {
			is_male = yes
			has_personality_dominant_trigger = yes
		}
	}
	text = {
		localization_key = false_article
		trigger = {
			is_male = yes
			has_personality_benevolent_trigger = yes
		}
	}
	text = {
		localization_key = beguiling_article
		trigger = {
			is_male = yes
			has_personality_benevolent_trigger = yes
		}
	}
	text = {
		localization_key = solitary_article
		trigger = {
			is_male = yes
			has_personality_introverted_trigger = yes
		}
	}
	text = {
		localization_key = eremetic_article
		trigger = {
			is_male = yes
			has_personality_introverted_trigger = yes
		}
	}
	text = {
		localization_key = reclusive_article
		trigger = {
			is_male = yes
			has_personality_introverted_trigger = yes
		}
	}
	text = {
		localization_key = friendless_article
		trigger = {
			is_male = yes
			has_personality_introverted_trigger = yes
		}
	}
	text = {
		localization_key = cloistered_article
		trigger = {
			is_male = yes
			has_personality_introverted_trigger = yes
		}
	}
	text = {
		localization_key = heartless_article
		trigger = {
			is_male = yes
			has_personality_levelheaded_trigger = yes
		}
	}
	text = {
		localization_key = loathsome_article
		trigger = { is_male = yes }
	}
	text = {
		localization_key = abhorrent_article
		trigger = { is_male = yes }
	}
	text = {
		localization_key = vile_article
		trigger = { is_male = yes }
	}
	text = {
		localization_key = telmatobios_article
		trigger = {
			scope:second = {
				knows_language = language_greek
			}
		}
	}
	text = {
		localization_key = borborophagos_article
		trigger = {
			scope:second = {
				knows_language = language_greek
			}
		}
	}
	text = {
		localization_key = hellenothreskos_article
		trigger = {
			scope:second = {
				knows_language = language_greek
				OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion }
			}
		}
	}
	text = {
		localization_key = spondophthoros_article
		trigger = {
			OR = {
				has_trait = deceitful
				has_trait = disloyal
			}
			scope:second = {
				knows_language = language_greek
			}
		}
	}

	# Female versions for other languages
	text = {
		localization_key = insult_nickname_two_faced_article_female
		trigger = {
			is_female = yes
			has_trait = deceitful
		}
	}	
	text = {
		localization_key = cold_hearted_article_female
		trigger = {
			is_female = yes
			OR = {
				has_personality_malicious_trigger = yes
				has_personality_levelheaded_trigger = yes
			}
		}
	}
	text = {
		localization_key = evil_article_female
		trigger = {
			is_female = yes
			has_personality_malicious_trigger = yes
		}
	}
	text = {
		localization_key = obnoxious_article_female
		trigger = {
			is_female = yes
			has_personality_annoying_trigger = yes
		}
	}
	text = {
		localization_key = rattling_article_female
		trigger = {
			is_female = yes
			has_personality_extroverted_trigger = yes
		}
	}
	text = {
		localization_key = blathering_article_female
		trigger = {
			is_female = yes
			has_personality_extroverted_trigger = yes
		}
	}
	text = {
		localization_key = chattering_article_female
		trigger = {
			is_female = yes
			has_personality_extroverted_trigger = yes
		}
	}
	text = {
		localization_key = lecherous_article_female
		trigger = {
			is_adult = yes
			is_female = yes
			OR = {
				has_trait = lustful
				has_trait = seducer
			}
		}
	}
	text = {
		localization_key = hysterical_article_female
		trigger = {
			is_female = yes
			has_personality_emotional_trigger = yes
		}
	}
	text = {
		localization_key = brooding_article_female
		trigger = {
			is_female = yes
			has_personality_emotional_trigger = yes
		}
	}
	text = {
		localization_key = spineless_article_female
		trigger = {
			is_female = yes
			has_personality_submissive_trigger = yes
		}
	}
	text = {
		localization_key = squeamish_article_female
		trigger = {
			is_female = yes
			has_personality_submissive_trigger = yes
		}
	}
	text = {
		localization_key = impotent_article_female
		trigger = {
			is_female = yes
			has_personality_submissive_trigger = yes
		}
	}
	text = {
		localization_key = gutless_article_female
		trigger = {
			is_female = yes
			has_trait = craven
		}
	}
	text = {
		localization_key = cowardly_article_female
		trigger = {
			is_female = yes
			has_trait = craven
		}
	}
	text = {
		localization_key = brash_article_female
		trigger = {
			is_female = yes
			has_personality_dominant_trigger = yes
		}
	}
	text = {
		localization_key = cocky_article_female
		trigger = {
			is_female = yes
			has_personality_dominant_trigger = yes
		}
	}
	text = {
		localization_key = false_article_female
		trigger = {
			is_female = yes
			has_personality_benevolent_trigger = yes
		}
	}
	text = {
		localization_key = beguiling_article_female
		trigger = {
			is_female = yes
			has_personality_benevolent_trigger = yes
		}
	}
	text = {
		localization_key = solitary_article_female
		trigger = {
			is_female = yes
			has_personality_introverted_trigger = yes
		}
	}
	text = {
		localization_key = eremetic_article_female
		trigger = {
			is_female = yes
			has_personality_introverted_trigger = yes
		}
	}
	text = {
		localization_key = reclusive_article_female
		trigger = {
			is_female = yes
			has_personality_introverted_trigger = yes
		}
	}
	text = {
		localization_key = friendless_article_female
		trigger = {
			is_female = yes
			has_personality_introverted_trigger = yes
		}
	}
	text = {
		localization_key = cloistered_article_female
		trigger = {
			is_female = yes
			has_personality_introverted_trigger = yes
		}
	}
	text = {
		localization_key = heartless_article_female
		trigger = {
			is_female = yes
			has_personality_levelheaded_trigger = yes
		}
	}
	text = {
		localization_key = loathsome_article_female
		trigger = { is_female = yes }
	}
	text = {
		localization_key = abhorrent_article_female
		trigger = { is_female = yes }
	}
	text = {
		localization_key = vile_article_female
		trigger = { is_female = yes }
	}
	text = {
		localization_key = faithless_article
		trigger = {
			is_male = yes
			OR = {
				has_trait = deceitful
				ai_honor <= medium_negative_ai_value
			}
			scope:second = { culture_has_asian_heritage_pillar_trigger = no }
		}
	}
	text = {
		localization_key = faithless_article_female
		trigger = {
			is_female = yes
			OR = {
				has_trait = deceitful
				ai_honor <= medium_negative_ai_value
			}
			scope:second = { culture_has_asian_heritage_pillar_trigger = no }
		}
	}
	text = {
		localization_key = pestilent_article
		trigger = {
			is_male = yes
			has_personality_malicious_trigger = yes
		}
	}
	text = {
		localization_key = pestilent_article_female
		trigger = {
			is_female = yes
			has_personality_malicious_trigger = yes
		}
	}
	text = {
		localization_key = overweening_article
		trigger = {
			is_male = yes
			OR = {
				has_trait = arrogant
				has_personality_dominant_trigger = yes
			}
		}
	}
	text = {
		localization_key = overweening_article_female
		trigger = {
			is_female = yes
			OR = {
				has_trait = arrogant
				has_personality_dominant_trigger = yes
			}
		}
	}
	text = {
		localization_key = pusillanimous_article
		trigger = {
			is_male = yes
			has_trait = craven
			scope:second = { culture_has_asian_heritage_pillar_trigger = no }
		}
	}
	text = {
		localization_key = pusillanimous_article_female
		trigger = {
			is_female = yes
			has_trait = craven
			scope:second = { culture_has_asian_heritage_pillar_trigger = no }
		}
	}
	text = {
		localization_key = accursed_article
		trigger = {
			is_male = yes
			OR = {
				has_personality_malicious_trigger = yes
				num_sinful_traits >= 2
			}
			scope:second = {
				faith.religion = { is_in_family = rf_abrahamic }
			}
		}
	}
	text = {
		localization_key = accursed_article_female
		trigger = {
			is_female = yes
			OR = {
				has_personality_malicious_trigger = yes
				num_sinful_traits >= 2
			}
			scope:second = {
				faith.religion = { is_in_family = rf_abrahamic }
			}
		}
	}
	text = {
		localization_key = filthy_article
		trigger = {
			is_adult = yes
			is_male = yes
			OR = {
				has_trait = gluttonous
				has_trait = comfort_eater
				has_trait = lustful
				has_trait = rakish
				has_personality_malicious_trigger = yes
			}
		}
	}
	text = {
		localization_key = filthy_article_female
		trigger = {
			is_adult = yes
			is_female = yes
			OR = {
				has_trait = gluttonous
				has_trait = comfort_eater
				has_trait = lustful
				has_trait = rakish
				has_personality_malicious_trigger = yes
			}
		}
	}
	text = {
		localization_key = lugubrious_article
		trigger = {
			is_male = yes
			has_trait = depressed
			scope:second = { culture_has_asian_heritage_pillar_trigger = no }
		}
	}
	text = {
		localization_key = lugubrious_article_female
		trigger = {
			is_female = yes
			has_trait = depressed
			scope:second = { culture_has_asian_heritage_pillar_trigger = no }
		}
	}
	text = {
		localization_key = miserly_article
		trigger = {
			is_male = yes
			OR = {
				has_trait = greedy
				has_trait = avaricious
			}
		}
	}
	text = {
		localization_key = miserly_article_female
		trigger = {
			is_female = yes
			OR = {
				has_trait = greedy
				has_trait = avaricious
			}
		}
	}
	text = {
		localization_key = indolent_article
		trigger = {
			is_male = yes
			has_trait = lazy
		}
	}
	text = {
		localization_key = indolent_article_female
		trigger = {
			is_female = yes
			has_trait = lazy
		}
	}
	text = {
		localization_key = venal_article
		trigger = {
			is_male = yes
			OR = {
				has_trait = greedy
				has_trait = avaricious
			}
			OR = {
				has_trait = deceitful
				ai_honor <= medium_negative_ai_value
			}
		}
	}
	text = {
		localization_key = venal_article_female
		trigger = {
			is_female = yes
			OR = {
				has_trait = greedy
				has_trait = avaricious
			}
			OR = {
				has_trait = deceitful
				ai_honor <= medium_negative_ai_value
			}
		}
	}
	text = {
		localization_key = driveling_article
		trigger = {
			is_male = yes
			OR = {
				has_trait = intellect_bad
				has_trait = dull
			}
		}
	}
	text = {
		localization_key = driveling_article_female
		trigger = {
			is_female = yes
			OR = {
				has_trait = intellect_bad
				has_trait = dull
			}
		}
	}
	text = {
		localization_key = scheming_article
		trigger = {
			is_male = yes
			OR = {
				has_trait = schemer
				has_trait = deceitful
				AND = {
					has_trait = paranoid
					intrigue >= medium_skill_rating
				}
			}
		}
	}
	text = {
		localization_key = scheming_article_female
		trigger = {
			is_female = yes
			OR = {
				has_trait = schemer
				has_trait = deceitful
				AND = {
					has_trait = paranoid
					intrigue >= medium_skill_rating
				}
			}
		}
	}
	text = {
		localization_key = bigoted_article
		trigger = {
			is_male = yes
			OR = {
				has_trait = zealous
				has_trait = paranoid
			}
			scope:second = {
				NOT = { faith = prev.faith }
			}
		}
	}
	text = {
		localization_key = bigoted_article_female
		trigger = {
			is_female = yes
			OR = {
				has_trait = zealous
				has_trait = paranoid
			}
			scope:second = {
				NOT = { faith = prev.faith }
			}
		}
	}
	text = {
		localization_key = raging_article
		trigger = {
			is_male = yes
			OR = {
				has_trait = wrathful
				has_trait = irritable
				has_trait = impatient
			}
		}
	}
	text = {
		localization_key = raging_article_female
		trigger = {
			is_female = yes
			OR = {
				has_trait = wrathful
				has_trait = irritable
				has_trait = impatient
			}
		}
	}
	text = {
		localization_key = besotted_article
		trigger = {
			is_adult = yes
			is_male = yes
			OR = {
				has_trait = drunkard
				has_trait = lifestyle_reveler
				has_trait = lustful
				has_trait = rakish
			}
		}
	}
	text = {
		localization_key = besotted_article_female
		trigger = {
			is_adult = yes
			is_female = yes
			OR = {
				has_trait = drunkard
				has_trait = lifestyle_reveler
				has_trait = lustful
				has_trait = rakish
			}
		}
	}
	text = {
		localization_key = covetous_article
		trigger = {
			is_male = yes
			OR = {
				has_trait = greedy
				has_trait = avaricious
				has_trait = ambitious
			}
		}
	}
	text = {
		localization_key = covetous_article_female
		trigger = {
			is_female = yes
			OR = {
				has_trait = greedy
				has_trait = avaricious
				has_trait = ambitious
			}
		}
	}
	text = {
		localization_key = putrid_article
		trigger = {
			is_male = yes
			OR = {
				has_trait = beauty_bad
				has_trait = leper
				has_trait = great_pox
				has_personality_malicious_trigger = yes
			}
		}
	}
	text = {
		localization_key = putrid_article_female
		trigger = {
			is_female = yes
			OR = {
				has_trait = beauty_bad
				has_trait = leper
				has_trait = great_pox
				has_personality_malicious_trigger = yes
			}
		}
	}
	text = {
		localization_key = heinous_article
		trigger = {
			is_male = yes
			OR = {
				has_personality_malicious_trigger = yes
				has_trait = sadistic
				has_trait = murderer
				has_trait = kinslayer
			}
		}
	}
	text = {
		localization_key = heinous_article_female
		trigger = {
			is_female = yes
			OR = {
				has_personality_malicious_trigger = yes
				has_trait = sadistic
				has_trait = murderer
				has_trait = kinslayer
			}
		}
	}
	text = {
		localization_key = rapacious_article
		trigger = {
			is_male = yes
			OR = {
				has_trait = greedy
				has_trait = avaricious
				has_trait = ambitious
			}
		}
	}
	text = {
		localization_key = rapacious_article_female
		trigger = {
			is_female = yes
			OR = {
				has_trait = greedy
				has_trait = avaricious
				has_trait = ambitious
			}
		}
	}
	text = {
		localization_key = godless_article
		trigger = {
			is_male = yes
			OR = {
				has_trait = cynical
				has_trait = excommunicated
				num_sinful_traits >= 2
			}
			scope:second = {
				faith.religion = { is_in_family = rf_abrahamic }
			}
		}
	}
	text = {
		localization_key = godless_article_female
		trigger = {
			is_female = yes
			OR = {
				has_trait = cynical
				has_trait = excommunicated
				num_sinful_traits >= 2
			}
			scope:second = {
				faith.religion = { is_in_family = rf_abrahamic }
			}
		}
	}
	text = {
		localization_key = foul_article
		trigger = {
			is_male = yes
			OR = {
				has_personality_malicious_trigger = yes
				has_trait = gluttonous
				has_trait = comfort_eater
			}
		}
	}
	text = {
		localization_key = foul_article_female
		trigger = {
			is_female = yes
			OR = {
				has_personality_malicious_trigger = yes
				has_trait = gluttonous
				has_trait = comfort_eater
			}
		}
	}
	text = {
		localization_key = grasping_article
		trigger = {
			is_male = yes
			OR = {
				has_trait = greedy
				has_trait = avaricious
			}
		}
	}
	text = {
		localization_key = grasping_article_female
		trigger = {
			is_female = yes
			OR = {
				has_trait = greedy
				has_trait = avaricious
			}
		}
	}
	text = {
		localization_key = bloated_article
		trigger = {
			is_male = yes
			OR = {
				has_trait = gluttonous
				has_trait = comfort_eater
			}
		}
	}
	text = {
		localization_key = bloated_article_female
		trigger = {
			is_female = yes
			OR = {
				has_trait = gluttonous
				has_trait = comfort_eater
			}
		}
	}
	text = {
		localization_key = baseborn_article
		trigger = {
			is_male = yes
			OR = {
				has_trait = bastard
				has_trait = legitimized_bastard
				has_trait = wild_oat
			}
			NOR = {
				mother ?= scope:second
				father ?= scope:second
				AND = {
					scope:second = { exists = mother }
					mother ?= scope:second.mother
				}
				AND = {
					scope:second = { exists = father }
					father ?= scope:second.father
				}
			}
		}
	}
	text = {
		localization_key = baseborn_article_female
		trigger = {
			is_female = yes
			OR = {
				has_trait = bastard
				has_trait = legitimized_bastard
				has_trait = wild_oat
			}
			NOR = {
				mother ?= scope:second
				father ?= scope:second
				AND = {
					scope:second = { exists = mother }
					mother ?= scope:second.mother
				}
				AND = {
					scope:second = { exists = father }
					father ?= scope:second.father
				}
			}
		}
	}
	text = {
		localization_key = pox_ridden_article
		trigger = {
			is_adult = yes
			is_male = yes
			OR = {
				has_trait = great_pox
				has_trait = lovers_pox
				has_trait = early_great_pox
				has_trait = rakish
				has_trait = lustful
			}
		}
	}
	text = {
		localization_key = pox_ridden_article_female
		trigger = {
			is_adult = yes
			is_female = yes
			OR = {
				has_trait = great_pox
				has_trait = lovers_pox
				has_trait = early_great_pox
				has_trait = rakish
				has_trait = lustful
			}
		}
	}
	text = {
		localization_key = vacuous_article
		trigger = {
			is_female = yes
			OR = {
				has_trait = intellect_bad
				has_trait = dull
			}
		}
	}
	text = {
		localization_key = erratic_article
		trigger = {
			is_male = yes
			OR = {
				has_trait = arbitrary
				has_trait = fickle
				has_trait = eccentric
			}
		}
	}
	text = {
		localization_key = erratic_article_female
		trigger = {
			is_female = yes
			OR = {
				has_trait = arbitrary
				has_trait = fickle
				has_trait = eccentric
			}
		}
	}
	text = {
		localization_key = senile_article
		trigger = {
			is_male = yes
			age >= 60
			OR = {
				has_trait = infirm
				has_trait = withering_mind
				has_trait = intellect_bad
				has_trait = dull
			}
		}
	}
	text = {
		localization_key = senile_article_female
		trigger = {
			is_female = yes
			age >= 60
			OR = {
				has_trait = infirm
				has_trait = withering_mind
				has_trait = intellect_bad
				has_trait = dull
			}
		}
	}
	text = {
		localization_key = dim_article
		trigger = {
			is_male = yes
			OR = {
				has_trait = intellect_bad
				has_trait = dull
				has_trait = withering_mind
			}
		}
	}
}


InsultBehavior = {
	type = character
	random_valid = yes

	text = {
		localization_key = cold_hearted_behavior
		trigger = {
			OR = {
				has_personality_malicious_trigger = yes
				has_personality_levelheaded_trigger = yes
			}
		}
	}
	text = {
		localization_key = evil_behavior
		fallback = yes
		trigger = { has_personality_malicious_trigger = yes }
	}
	text = {
		localization_key = blathering_behavior
		trigger = { has_personality_extroverted_trigger = yes }
	}
	text = {
		localization_key = lecherous_behavior
		trigger = {
			is_adult = yes
			OR = {
				has_trait = lustful
				has_trait = seducer
			}
		}
	}
	text = {
		localization_key = hysterical_behavior
		trigger = { has_personality_emotional_trigger = yes }
	}
	text = {
		localization_key = brooding_behavior
		trigger = { has_personality_emotional_trigger = yes }
	}
	text = {
		localization_key = spineless_behavior
		trigger = { has_personality_submissive_trigger = yes }
	}
	text = {
		localization_key = squeamish_behavior
		trigger = { has_personality_submissive_trigger = yes }
	}
	text = {
		localization_key = gutless_behavior
		trigger = { has_trait = craven }
	}
	text = {
		localization_key = cowardly_behavior
		trigger = { has_trait = craven }
	}
	text = {
		localization_key = brash_behavior
		trigger = { has_personality_dominant_trigger = yes }
	}
	text = {
		localization_key = cocky_behavior
		trigger = { has_personality_dominant_trigger = yes }
	}
	text = {
		localization_key = reclusive_behavior
		trigger = { has_personality_introverted_trigger = yes }
	}
	text = {
		localization_key = heartless_behavior
		trigger = { has_personality_levelheaded_trigger = yes }
	}
	text = { # CK2 classic adjective — noun form for house-head letters
		localization_key = scheming_behavior
		trigger = {
			OR = {
				has_trait = schemer
				has_trait = deceitful
				AND = {
					has_trait = paranoid
					intrigue >= medium_skill_rating
				}
			}
		}
	}
	text = {
		localization_key = miserly_behavior
		trigger = {
			OR = {
				has_trait = greedy
				has_trait = avaricious
			}
		}
	}
	text = {
		localization_key = indolent_behavior
		trigger = { has_trait = lazy }
	}
	text = {
		localization_key = faithless_behavior
		trigger = {
			OR = {
				has_trait = deceitful
				ai_honor <= medium_negative_ai_value
			}
		}
	}
	text = {
		localization_key = filthy_behavior
		trigger = {
			is_adult = yes
			OR = {
				has_trait = gluttonous
				has_trait = comfort_eater
				has_trait = lustful
				has_trait = rakish
				has_personality_malicious_trigger = yes
			}
		}
	}
	text = {
		localization_key = venal_behavior
		trigger = {
			OR = {
				has_trait = greedy
				has_trait = avaricious
			}
			OR = {
				has_trait = deceitful
				ai_honor <= medium_negative_ai_value
			}
		}
	}
	text = {
		localization_key = recreant_behavior
		trigger = {
			can_be_warrior_trigger = { ARMY_OWNER = this }
			OR = {
				has_trait = craven
				has_trait = disloyal
				ai_honor <= medium_negative_ai_value
			}
		}
	}
	text = {
		localization_key = gluttonous_behavior
		trigger = {
			OR = {
				has_trait = gluttonous
				has_trait = comfort_eater
				has_trait = decadent
			}
		}
	}
	text = {
		localization_key = envious_behavior
		trigger = {
			OR = {
				has_trait = ambitious
				has_trait = avaricious
			}
		}
	}
	text = {
		localization_key = vacuous_behavior
		trigger = {
			OR = {
				has_trait = intellect_bad
				has_trait = dull
				has_trait = withering_mind
			}
		}
	}

}


InsultSentence = {
	type = character

	random_valid = yes

	text = {
		localization_key = insult_sentence_arrogant
		trigger = { has_trait = arrogant }
	}

	text = {
		localization_key = insult_sentence_lustful
		trigger = { has_trait = lustful }
	}

	text = {
		localization_key = insult_sentence_subtle
		trigger = { has_trait = lustful }
	}

	text = {
		localization_key = insult_sentence_highgod
		trigger = {
			OR = {
				has_trait = scaly
				has_trait = albino
				has_trait = giant
				has_trait = dwarf
				has_trait = beauty_bad
			}
		}
	}

	text = {
		localization_key = insult_sentence_beauty_bad
		trigger = {
			OR = {
				has_trait = scaly
				has_trait = albino
				has_trait = giant
				has_trait = dwarf
				has_trait = beauty_bad
				has_trait = lifestyle_hunter
			}
		}
	}

	text = {
		localization_key = insult_sentence_shiver
	}

	text = {
		localization_key = insult_sentence_evening
	}

	text = { # From NegativeSupplimentaryGreeting — camel curse (speaker's faith)
		trigger = {
			scope:second = {
				faith = {
					religion_tag = islam_religion
				}
			}
		}
		weight_multiplier = { base = 3 }
		localization_key = insult_sentence_dead_camel
	}

	text = {
		trigger = {
			scope:second = {
				faith = {
					religion_tag = islam_religion
				}
			}
		}
		weight_multiplier = { base = 2 }
		localization_key = insult_sentence_seventh_grandfather
	}

	text = {
		trigger = {
			scope:second = {
				faith = {
					religion_tag = islam_religion
				}
			}
		}
		weight_multiplier = { base = 2 }
		localization_key = insult_sentence_mangy_dog
	}

	text = {
		weight_multiplier = { base = 1.5 }
		localization_key = insult_sentence_humors_rot
	}

	text = {
		trigger = {
			scope:second = {
				location = {
					OR = {
						geographical_region = world_europe_east
						geographical_region = world_europe_south
						geographical_region = world_asia_minor
						geographical_region = world_middle_east_jerusalem
						geographical_region = world_africa_north
					}
				}
			}
		}
		weight_multiplier = { base = 2 }
		localization_key = insult_sentence_greek_plays
	}

	text = {
		trigger = {
			scope:second = {
				faith = {
					OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion religion_tag = oriental_orthodox_religion }
				}
				rite = {
					OR = {
						rite_has_tenet = tenet_dulia
						rite_has_tenet = tenet_hyperdulia
					}
				}
			}
		}
		weight_multiplier = { base = 2 }
		localization_key = insult_sentence_saints_forsake
	}

	text = {
		trigger = {
			scope:second = {
				culture = { has_cultural_pillar = heritage_north_germanic }
				rite = { rite_has_doctrine = doctrine_polytheist }
			}
		}
		weight_multiplier = { base = 2 }
		localization_key = insult_sentence_ravens_feast
	}

	text = {
		trigger = {
			scope:second = {
				culture = { has_cultural_pillar = heritage_byzantine }
			}
		}
		weight_multiplier = { base = 2 }
		localization_key = insult_sentence_rats_constantinople
	}

	text = {
		trigger = {
			OR = {
				has_trait = deceitful
				ai_honor <= medium_negative_ai_value
				has_trait = craven
			}
		}
		weight_multiplier = { base = 2 }
		localization_key = insult_sentence_unreliable_swine
	}
	text = {
		localization_key = insult_sentence_wiser_sheep
		trigger = {
			OR = {
				has_trait = intellect_bad
				has_trait = dull
				has_trait = withering_mind
			}
		}
		weight_multiplier = { base = 2 }
	}

	text = {
		localization_key = insult_sentence_courage_fled
		trigger = {
			OR = {
				has_trait = craven
				ai_boldness <= medium_negative_ai_value
			}
		}
		weight_multiplier = { base = 2 }
	}

	text = {
		localization_key = insult_sentence_beggars_breath
		trigger = {
			OR = {
				has_trait = deceitful
				ai_honor <= medium_negative_ai_value
			}
		}
		weight_multiplier = { base = 2 }
	}

	text = {
		localization_key = insult_sentence_blot_house
		trigger = {
			OR = {
				has_trait = kinslayer
				has_trait = excommunicated
				has_trait = adulterer
				has_trait = fornicator
				AND = {
					OR = {
						has_trait = bastard
						has_trait = legitimized_bastard
						has_trait = wild_oat
					}
					NOR = {
						mother ?= scope:second
						father ?= scope:second
						AND = {
							scope:second = { exists = mother }
							mother ?= scope:second.mother
						}
						AND = {
							scope:second = { exists = father }
							father ?= scope:second.father
						}
					}
				}
			}
		}
		weight_multiplier = { base = 2.5 }
	}

	text = {
		localization_key = insult_sentence_noise_for_wit
		trigger = {
			OR = {
				has_trait = arrogant
				AND = {
					has_personality_extroverted_trigger = yes
					has_trait = intellect_bad
				}
			}
		}
		weight_multiplier = { base = 1.5 }
	}

	text = {
		localization_key = insult_sentence_fox_hens
		trigger = {
			OR = {
				has_trait = deceitful
				has_trait = schemer
			}
		}
		weight_multiplier = { base = 2 }
	}

	text = {
		localization_key = insult_sentence_pox_house
		trigger = {
			scope:second = {
				faith.religion = { is_in_family = rf_abrahamic }
			}
		}
		weight_multiplier = { base = 1.5 }
	}

	text = {
		localization_key = insult_sentence_feast_belly
		trigger = {
			OR = {
				has_trait = gluttonous
				has_trait = comfort_eater
				has_trait = decadent
			}
		}
		weight_multiplier = { base = 2 }
	}

}

PointOfRidicule = {
	type = character

	random_valid = yes

	text = {
		weight_multiplier = { base = 0.5 }
		trigger = { ai_rationality <= low_negative_rationality }
		localization_key = foolishness
	}

	text = {
		weight_multiplier = { base = 0.5 }
		trigger = { ai_compassion >= low_positive_compassion }
		localization_key = sensitive_soul
	}

	text = {
		weight_multiplier = { base = 0.5 }
		trigger = { has_personality_emotional_trigger = yes }
		localization_key = unrestrained_emotions
	}

	text = {
		weight_multiplier = { base = 0.5 }
		trigger = { has_personality_annoying_trigger = yes }
		localization_key = bothersome_nature
	}

	text = {
		trigger = { has_trait = leper }
		localization_key = lesion_ridden_face
	}

	text = {
		trigger = {
			has_trait = maimed
		}
		localization_key = disfigurement
	}

	text = {
		trigger = { has_trait_with_flag = age_related_ailment }
		localization_key = infirmity
	}

	text = {
		trigger = { is_eunuch_trigger = yes }
		localization_key = lack_of_certain_parts
	}

	text = {
		trigger = { has_trait = blind }
		localization_key = blindness
	}

	text = {
		trigger = {
			has_trait = beauty_bad
		}
		localization_key = ghastly_visage
	}

	text = {
		trigger = {
			OR = {
				has_trait = physique_bad
				has_trait = weak
				has_trait = fragile_bones
				has_trait = faltering_heart
			}
		}
		localization_key = frailty
	}

	text = {
		trigger = { has_trait = clubfooted }
		localization_key = grotesque_limp
	}

	text = {
		trigger = { has_trait = hunchbacked }
		localization_key = grotesque_hump
	}

	text = {
		trigger = { has_trait = lisping }
		localization_key = ludicrous_lisp
	}

	text = {
		trigger = { has_trait = dwarf }
		localization_key = stature
	}

	text = {
		trigger = { has_trait = giant }
		localization_key = grotesque_size
	}

	text = {
		trigger = { has_trait = spindly }
		localization_key = spindly_frame
	}

	text = {
		trigger = { has_trait = scaly }
		localization_key = snake_scales
	}

	text = {
		trigger = { has_trait = albino }
		localization_key = ghostly_pallor
	}

	text = {
		trigger = { has_trait = wheezing }
		localization_key = disgusting_wheezing
	}

	text = { # CK2-flavored ridicule — drunkard
		trigger = {
			OR = {
				has_trait = drunkard
				has_trait = lifestyle_reveler
			}
		}
		localization_key = drunkenness
	}

	text = { # CK2-flavored ridicule — greed
		trigger = {
			OR = {
				has_trait = greedy
				has_trait = avaricious
			}
		}
		localization_key = greed
	}

	text = { # Empty boasts — arrogant windbags
		trigger = {
			OR = {
				has_trait = arrogant
				has_personality_extroverted_trigger = yes
			}
		}
		localization_key = empty_boasts
	}

	text = { # Cowardice
		trigger = {
			OR = {
				has_trait = craven
				ai_boldness <= medium_negative_ai_value
			}
		}
		localization_key = cowardice
	}

	text = { # Lechery
		trigger = {
			is_adult = yes
			OR = {
				has_trait = lustful
				has_trait = rakish
				has_trait = seducer
				might_cheat_on_every_partner_trigger = yes
			}
		}
		localization_key = lechery
	}

	text = { # Gluttony
		trigger = {
			OR = {
				has_trait = gluttonous
				has_trait = comfort_eater
			}
		}
		localization_key = gluttony
	}

	text = { # Prideful bearing
		trigger = {
			OR = {
				has_trait = arrogant
				has_trait = ambitious
			}
		}
		localization_key = prideful_bearing
	}

	text = { # Idle witlessness
		trigger = {
			OR = {
				has_trait = lazy
				has_trait = intellect_bad
			}
		}
		localization_key = idle_witlessness
	}
	text = {
		trigger = {
			OR = {
				has_trait = deceitful
				has_trait = disloyal
				ai_honor <= medium_negative_ai_value
			}
		}
		localization_key = treachery
	}

	text = {
		trigger = {
			OR = {
				has_trait = excommunicated
				has_trait = witch
			}
			scope:second = {
				OR = {
					has_trait = zealous
					faith.religion = { is_in_family = rf_abrahamic }
				}
			}
		}
		localization_key = heresy
	}

	text = {
		trigger = {
			OR = {
				has_trait = ambitious
				has_trait = avaricious
			}
		}
		localization_key = envy
	}


	text = {
		fallback = yes
		localization_key = insistent_whining
	}
}


InsultNounSexual = {
	type = character

	random_valid = yes

	text = {
		trigger = {
			is_adult = yes
			is_male = yes
		}
		localization_key = insultnounsexual_lecher
	}

	text = {
		trigger = {
			is_adult = yes
			is_male = yes
		}
		localization_key = insultnounsexual_debaucher
	}

	text = {
		trigger = {
			is_adult = yes
			is_male = yes
		}
		localization_key = insultnounsexual_fornicator
	}

	text = {
		trigger = {
			is_adult = yes
			is_male = yes
		}
		localization_key = insultnounsexual_philanderer
	}

	text = {
		trigger = {
			is_adult = yes
			is_male = yes
			has_sexuality = heterosexual
		}
		localization_key = insultnounsexual_womanizer
	}

	text = {
		trigger = {
			is_adult = yes
			is_female = yes
		}
		localization_key = insultnounsexual_amorosa
	}

	text = {
		trigger = {
			is_adult = yes
			is_female = yes
		}
		localization_key = insultnounsexual_jezebel
	}

	text = {
		trigger = {
			is_adult = yes
			is_female = yes
		}
		localization_key = insultnounsexual_quean
	}

	text = {
		trigger = {
			is_adult = yes
			is_female = yes
		}
		localization_key = insultnounsexual_delilah
	}

	text = {
		trigger = {
			is_adult = yes
			is_female = yes
		}
		localization_key = insultnounsexual_strumpet
	}

	text = {
		trigger = {
			is_adult = yes
			is_female = yes
		}
		localization_key = insultnounsexual_trollop
	}

	text = {
		trigger = {
			is_adult = yes
			is_female = yes
		}
		localization_key = insultnounsexual_hussy
	}

	text = {
		trigger = {
			is_adult = yes
			is_male = yes
		}
		weight_multiplier = {
			base = 0.3
		}
		localization_key = insultnounsexual_voluptuary
	}

	text = {
		trigger = {
			is_adult = yes
			is_male = yes
		}
		weight_multiplier = {
			base = 0.3
		}
		localization_key = insultnounsexual_copulator
	}

	text = {
		trigger = {
			is_adult = yes
			is_male = yes
		}
		weight_multiplier = {
			base = 0.3
		}
		localization_key = insultnounsexual_libidinist
	}

	text = {
		trigger = {
			is_adult = yes
			is_male = yes
		}
		weight_multiplier = {
			base = 0.1
		}
		localization_key = insultnounsexual_roue
	}

	text = { # CK2 classic — male seducer
		trigger = {
			is_adult = yes
			is_male = yes
			OR = {
				has_trait = lustful
				has_trait = rakish
				has_trait = seducer
				might_cheat_on_every_partner_trigger = yes
			}
		}
		localization_key = insultnounsexual_whoremonger
	}

	text = { # Medieval — man who keeps or frequents whores
		trigger = {
			is_adult = yes
			is_male = yes
			OR = {
				has_trait = lustful
				has_trait = rakish
				has_trait = seducer
				has_trait = lifestyle_reveler
			}
			scope:second = { culture_has_asian_heritage_pillar_trigger = no }
		}
		localization_key = insultnounsexual_whoremaster
	}

	text = { # CK2 classic — female lustful
		trigger = {
			is_adult = yes
			is_female = yes
			OR = {
				has_trait = lustful
				has_trait = rakish
				might_cheat_on_every_partner_trigger = yes
			}
		}
		localization_key = insultnounsexual_wanton
	}

	text = { # CK2 classic — female seducer
		trigger = {
			is_adult = yes
			is_female = yes
			OR = {
				has_trait = lustful
				has_trait = rakish
				has_trait = seducer
				might_cheat_on_every_partner_trigger = yes
			}
		}
		localization_key = insultnounsexual_temptress
	}

	text = { # Medieval — worn or wanton woman
		trigger = {
			is_adult = yes
			is_female = yes
			OR = {
				has_trait = lustful
				has_trait = rakish
				might_cheat_on_every_partner_trigger = yes
			}
			scope:second = { culture_has_asian_heritage_pillar_trigger = no }
		}
		localization_key = insultnounsexual_jade
	}
	
	# female versions requested for other languages
	text = {
		trigger = {
			is_adult = yes
			is_female = yes
		}
		weight_multiplier = {
			base = 0.3
		}
		localization_key = insultnounsexual_voluptuary_female
	}

	text = {
		trigger = {
			is_adult = yes
			is_female = yes
		}
		weight_multiplier = {
			base = 0.3
		}
		localization_key = insultnounsexual_copulator_female
	}

	text = {
		trigger = {
			is_adult = yes
			is_female = yes
		}
		weight_multiplier = {
			base = 0.3
		}
		localization_key = insultnounsexual_libidinist_female
	}

	text = {
		trigger = {
			is_adult = yes
			is_female = yes
		}
		weight_multiplier = {
			base = 0.1
		}
		localization_key = insultnounsexual_roue_female
	}
	# --
	text = {
		trigger = {
			is_adult = yes
			is_female = yes
		}
		localization_key = whore
	}
	text = {
		trigger = {
			is_adult = yes
			is_female = yes
		}
		localization_key = harlot
	}
	text = {
		trigger = {
			is_adult = yes
		}
		weight_multiplier = {
			base = 0.3
		}
		localization_key = bedswerver
	}
	text = {
		trigger = {
			is_adult = yes
			is_male = yes
		}
		localization_key = pig
	}
	text = {
		trigger = {
			is_adult = yes 
			is_male = yes 
			has_sexuality = heterosexual
		}
		localization_key = skirt_chaser
	}
	# Every other entry requires is_adult, so a child target would otherwise render nothing at all.
	text = {
		trigger = { is_adult = no }
		localization_key = brat
	}
}

InsultNounClumsy = {
	type = character
	random_valid = yes

	#Oaf
	text = { localization_key = insult_noun_clumsy_oaf }
	#Buffoon
	text = { localization_key = insult_noun_clumsy_buffoon }
	#Dimwit
	text = { localization_key = insult_noun_clumsy_dimwit }
	#Nimrod
	text = { localization_key = insult_noun_clumsy_nimrod }
}

InsultAdjectiveClumsy = {
	type = character
	random_valid = yes

	#Clumsy
	text = { localization_key = insult_adjective_clumsy_clumsy }
	#Stumbling
	text = { localization_key = insult_adjective_clumsy_stumbling }
	#Blundering
	text = { localization_key = insult_adjective_clumsy_blundering }
	#Fumbling
	text = { localization_key = insult_adjective_clumsy_fumbling }
}

CriminalAdjective = {
	type = character
	random_valid = yes

	#Horrendous
	text = { localization_key = criminal_adjective_horrendous }
	#Villainous
	text = { localization_key = criminal_adjective_villainous }
	#Terrible
	text = { localization_key = criminal_adjective_terrible }
	#Loathsome
	text = { localization_key = criminal_adjective_loathsome }
	#Vile
	text = { localization_key = criminal_adjective_vile }
	#Heinous
	text = { localization_key = criminal_adjective_heinous }
	#Murderous Marauder trigger
	text = {
		trigger = {
			has_trait = gallowsbait
			has_trait_xp = {
				trait = gallowsbait
				track = marauder
				value >= 50
			}
		}
		localization_key = criminal_adjective_murderous
	}
	#Conniving Trickster trigger
	text = {
		trigger = {
			has_trait = gallowsbait
			has_trait_xp = {
				trait = gallowsbait
				track = trickster
				value >= 50
			}
		}
		localization_key = criminal_adjective_conniving
	}
	#Violent Marauder
	text = {
		trigger = {
			has_trait = gallowsbait
			has_trait_xp = {
				trait = gallowsbait
				track = marauder
				value >= 50
			}
		}
		localization_key = criminal_adjective_violent
	}
	#Barbaric Bandit trigger
	text = {
		trigger = {
			has_trait = gallowsbait
			has_trait_xp = {
				trait = gallowsbait
				track = bandit
				value >= 50
			}
		}
		localization_key = criminal_adjective_barbaric
	}

}

CriminalCrierInsult = {
	type = character
	random_valid = yes

	#Big-nosed
	text = { localization_key = criminal_crier_insult_big_nosed }
	#Snub-nosed
	text = { localization_key = criminal_crier_insult_snub_nosed }
	#Weak-chinned
	text = { localization_key = criminal_crier_insult_weak_chinned }
	#Small-headed
	text = { localization_key = criminal_crier_insult_small_headed }
	#Buck-toothed
	text = { localization_key = criminal_crier_insult_buck_toothed }
	#Three-fingered
	text = { localization_key = criminal_crier_insult_three_fingered }
	#Cross-eyed
	text = { localization_key = criminal_crier_insult_cross_eyed }

}
