﻿#####################
# 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 = {
				faith = { has_doctrine = doctrine_witchcraft_crime }
				faith = { has_doctrine = doctrine_witchcraft_shunned }
			}
			scope:second = {
				OR = {
					faith = { has_doctrine = doctrine_witchcraft_crime }
					faith = { has_doctrine = doctrine_witchcraft_shunned }
				}
			}
		}
	}
	text = {
		localization_key = doxy
		trigger = {
			is_adult = yes
			is_female = yes
		}
	}
	text = {
		localization_key = churl
		trigger = {
			is_male = yes
		}
	}		
	text = {
		localization_key = knave
		trigger = { is_male = yes }
	}
	text = {
		localization_key = spawn_of_hell
		trigger = {
			faith.religion = { is_in_family = rf_abrahamic }
			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
		}
	}
	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
		}
	}
	text = {
		localization_key = troll_spawn
		trigger = {
			is_adult = no
		}
	}
	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
			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
			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
			culture_has_asian_heritage_pillar_trigger = no
		}
	}
	text = {
		localization_key = strumpet
		trigger = {
			is_female = yes
			is_adult = yes
			OR = {
				has_trait = lustful
				has_trait = seducer
			}
			culture_has_asian_heritage_pillar_trigger = no
		}
	}
	text = {
		localization_key = bedswerver
		trigger = {
			is_adult = yes
			OR = {
				has_trait = lustful
				has_trait = seducer
			}
			is_male = yes
		}
	}
	text = {
		localization_key = bedswerver_female
		trigger = {
			is_adult = yes
			OR = {
				has_trait = lustful
				has_trait = seducer
			}
			is_female = yes
		}
	}
	text = {
		localization_key = hag
		trigger = {
			is_adult = yes
			is_female = yes
		}
	}
	text = {
		localization_key = ogre
		trigger = {
			is_adult = yes
			is_male = yes
		}
	}
	text = {
		localization_key = wench
		trigger = {
			is_adult = yes
			is_female = yes
		}
	}
	text = {
		localization_key = swain
		trigger = {
			is_adult = yes
			is_male = yes
			culture_has_asian_heritage_pillar_trigger = no
		}
	}
	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
			}
		}
	}
	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
			}
		}
	}
	text = {
		localization_key = fopdoodle
		trigger = {
			is_adult = yes
			is_male = yes
			culture_has_asian_heritage_pillar_trigger = no
		}
	}
	text = {
		localization_key = scullion
		trigger = {
			is_adult = yes
		}
	}
	text = {
		localization_key = commoner
		trigger = {
			is_adult = yes
			OR = {
				has_trait = peasant_leader
				has_dynasty = no
			}
		}
	}
	text = {
		localization_key = sycophant
		trigger = {
			is_adult = yes
			#has_trait = loyal
		}
	}
	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
		}
	}
	text = {
		localization_key = pervert
		trigger = {
			is_adult = yes
			has_trait = deviant
		}
	}
	text = {
		localization_key = vixen
		trigger = {
			is_female = yes
			is_adult = 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
		}
	}
	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
		}
	}
	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
				}
			}
		}
	}
}

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 = {
			OR = {
				has_trait = lustful
				has_trait = seducer
			}
			is_male = yes
		}
	}
	text = {
		localization_key = lecherous_female
		trigger = {
			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_male = yes
			has_personality_submissive_trigger = yes
		}
	}
	text = {
		localization_key = impotent_female
		trigger = {
			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
				religion = religion:christianity_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
					}
				}
			}
		}
	}
	#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_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
				religion = religion:christianity_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_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 }
	}
}


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 = {
			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 }
	}
}


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
	}
}

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 = infirm }
		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
			}
		}
		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 = {
		trigger = { always = no }
		fallback = yes
		localization_key = insistent_whining
	}
}


InsultNounSexual = {
	type = character

	random_valid = yes

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

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

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

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

	text = {
		trigger = {
			is_male = yes
			NOT = { has_trait = sodomite }
		}
		localization_key = insultnounsexual_womanizer
	}

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

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

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

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

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

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

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

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

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

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

	text = {
		trigger = { is_male = yes }
		weight_multiplier = {
			base = 0.1
		}
		localization_key = insultnounsexual_roue
	}
	
	# female versions requested for other languages
	text = {
		trigger = { is_female = yes }
		weight_multiplier = {
			base = 0.3
		}
		localization_key = insultnounsexual_voluptuary_female
	}

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

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

	text = {
		trigger = { is_female = yes }
		weight_multiplier = {
			base = 0.1
		}
		localization_key = insultnounsexual_roue_female
	}
	# --
	text = {
		trigger = {
			is_female = yes
		}
		localization_key = whore
	}
	text = {
		trigger = {
			is_female = yes
		}
		localization_key = harlot
	}
	text = {
		weight_multiplier = {
			base = 0.3
		}
		localization_key = bedswerver
	}
	text = {
		trigger = { is_male = yes }
		localization_key = pig
	}
	text = {
		trigger = { is_male = yes }
		localization_key = skirt_chaser
	}
}

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 }

}
