# The Baghatur of the Wolf
accolade_the_knight_of_the_animal = {
	key = "accolade_the_knight_of_the_animal"

	num_options = 1

	option = {
		random_valid = {
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = champion
							type_has_accolade_category = militant
							type_has_accolade_category = ethical
							type_has_accolade_category = subtle
							type_has_accolade_category = aggressive
						}
					}
					exists = liege
					liege.capital_county.title_province ?= {
						NOR = {
							geographical_region = world_steppe_west
							geographical_region = world_europe_north
						}
					}
					NOR = {
						has_trait = giant
						has_trait = dull
						has_trait = intellect_bad
					}
				}
				desc = accolade_panther
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = champion
							type_has_accolade_category = militant
							type_has_accolade_category = aggressive
							type_has_accolade_category = leader
						}
					}
					exists = liege
					liege.capital_county.title_province ?= {
						OR = {
							geographical_region = world_india
							geographical_region = world_middle_east
							geographical_region = world_burma
							geographical_region = world_tibet
							geographical_region = world_asia_china
							geographical_region = world_asia_japan
							geographical_region = world_asia_korea
							geographical_region = world_asia_southeast
						}
					}
					NOT = {
						has_trait = clubfooted
					}
				}
				desc = accolade_tiger
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = leader
							type_has_accolade_category = aggressive
							type_has_accolade_category = militant
							type_has_accolade_category = amoral
						}
					}
					exists = liege
					liege.capital_county.title_province ?= {
						NOR = {
							geographical_region = world_africa
							geographical_region = world_burma
							geographical_region = world_steppe
						}
					}
				}
				desc = accolade_wolf
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = aggressive
							type_has_accolade_category = militant
							type_has_accolade_category = amoral
						}
					}
					exists = liege
					liege.capital_county.title_province ?= {
						OR = {
							geographical_region = world_africa_north
							geographical_region = world_africa_east
							geographical_region = world_asia_minor
							geographical_region = world_middle_east
							geographical_region = world_india
							geographical_region = world_burma
							geographical_region = world_europe_south_east
						}
					}
					NOR = {
						has_trait = giant
						has_trait = strong
					}
				}
				desc = accolade_jackal
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = aggressive
							type_has_accolade_category = militant
							type_has_accolade_category = forceful
							type_has_accolade_category = champion
						}
					}
					exists = liege
					liege.capital_county.title_province ?= {
						OR = {
							geographical_region = world_europe_north
							geographical_region = world_steppe_east
							geographical_region = world_steppe_west
						}
					}
					NOR = {
						has_trait = compassionate
						has_trait = calm
					}
				}
				desc = accolade_wolverine
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = aggressive
							type_has_accolade_category = militant
							type_has_accolade_category = amoral
						}
					}
					exists = liege
					liege.capital_county.title_province ?= {
						OR = {
							geographical_region = world_africa
							geographical_region = world_middle_east
							geographical_region = world_india
						}
					}
					NOT = {
						has_trait = beauty_good
					}
				}
				desc = accolade_hyena
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = militant
							type_has_accolade_category = aggressive
							type_has_accolade_category = forceful
							type_has_accolade_category = champion
							type_has_accolade_category = defensive
						}
					}
					exists = liege
					liege.capital_county.title_province ?= {
						OR = {
							geographical_region = hunt_animal_bear_region
						}
					}
					OR = {
						has_trait = giant
						has_trait = gluttonous
						has_trait = physique_good
						has_trait = strong
						has_trait = wrathful
					}
				}
				desc = accolade_bear
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = militant
							type_has_accolade_category = aggressive
							type_has_accolade_category = forceful
							type_has_accolade_category = champion
							type_has_accolade_category = leader
						}
					}
					exists = liege
					liege.capital_county.title_province ?= {
						OR = {
							geographical_region = world_africa
							geographical_region = world_middle_east
							geographical_region = world_europe
							geographical_region = world_asia_minor
						}
					}
					NOT = {
						has_trait = craven
					}
				}
				desc = accolade_lion
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = courtly
					}
				}
				desc = accolade_lark
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = forceful
							type_has_accolade_category = aggressive
							type_has_accolade_category = champion
						}
					}
					OR = {
						has_trait = giant
						has_trait = gluttonous
						has_trait = physique_good
						has_trait = strong
						has_trait = wrathful
					}
				}
				desc = accolade_bull
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = subtle
							type_has_accolade_category = amoral
							type_has_accolade_category = courtly
						}
					}
					exists = liege
					liege.capital_county.title_province ?= {
						NOT = {
							geographical_region = world_africa_west
						}
					}
					NOR = {
						has_trait = giant
						has_trait = dull
						has_trait = honest
					}
				}
				desc = accolade_fox
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = aggressive
							type_has_accolade_category = champion
							type_has_accolade_category = forceful
							type_has_accolade_category = defensive
						}
					}
					NOT = {
						has_trait = beauty_good
					}
				}
				desc = accolade_boar
			}
			triggered_desc = {
				trigger = {
					liege.capital_county.title_province ?= {
						NOR = {
							geographical_region = world_steppe_west
							geographical_region = world_europe_north
							geographical_region = world_steppe_east
						}
					}
					has_trait = beauty_good
				}
				desc = accolade_peacock
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = defensive
							type_has_accolade_category = courtly
							type_has_accolade_category = champion
							type_has_accolade_category = ethical
							type_has_accolade_category = equestrian
						}
					}
					is_female = no
					exists = liege
					liege.capital_county.title_province ?= {
						geographical_region = hunt_animal_deer_region
					}
				}
				desc = accolade_stag
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = defensive
							type_has_accolade_category = courtly
							type_has_accolade_category = ethical
							type_has_accolade_category = subtle
							type_has_accolade_category = equestrian
						}
					}
					is_female = yes
					exists = liege
					liege.capital_county.title_province ?= {
						geographical_region = hunt_animal_deer_region
					}
					NOR = {
						has_trait = giant
						has_trait = gluttonous
					}
				}
				desc = accolade_hind
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = defensive
							type_has_accolade_category = courtly
							type_has_accolade_category = ethical
							type_has_accolade_category = subtle
							type_has_accolade_category = equestrian
						}
					}
					exists = liege
					liege.capital_county.title_province ?= {
						geographical_region = hunt_animal_antelope_region
					}
					NOR = {
						has_trait = giant
						has_trait = gluttonous
					}
				}
				desc = accolade_antelope
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = forceful
							type_has_accolade_category = aggressive
							type_has_accolade_category = militant
							type_has_accolade_category = champion
						}
					}
					exists = liege
					liege.capital_county.title_province ?= {
						geographical_region = world_africa_east
					}
					OR = {
						has_trait = giant
						has_trait = gluttonous
						has_trait = physique_good
						has_trait = strong
						has_trait = wrathful
					}
				}
				desc = accolade_rhinoceros
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = ethical
							type_has_accolade_category = courtly
							type_has_accolade_category = defensive
						}
					}
				}
				desc = accolade_hound
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = amoral
							type_has_accolade_category = subtle
						}
					}
				}
				desc = accolade_serpent
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = leader
							type_has_accolade_category = militant
							type_has_accolade_category = champion
						}
					}
				}
				desc = accolade_dragon
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = equestrian
							type_has_accolade_category = ethical
							type_has_accolade_category = champion
						}
					}
					is_female = no
				}
				desc = accolade_stallion
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = equestrian
							type_has_accolade_category = ethical
							type_has_accolade_category = courtly
						}
					}
					is_female = yes
				}
				desc = accolade_mare
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = amoral
							type_has_accolade_category = militant
							type_has_accolade_category = defensive
							type_has_accolade_category = subtle
						}
					}
					exists = liege
					liege.capital_county.title_province ?= {
						OR = {
							geographical_region = world_africa_east
							geographical_region = world_africa_north_east
							geographical_region = world_africa_west
							geographical_region = world_india
							geographical_region = world_burma
							geographical_region = world_asia_southeast
						}
					}
				}
				desc = accolade_crocodile
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = amoral
							type_has_accolade_category = aggressive
						}
					}
					exists = liege
					liege.capital_county.title_province ?= {
						OR = {
							geographical_region = world_africa
							geographical_region = world_middle_east
							geographical_region = world_india
							geographical_region = world_burma
							geographical_region = world_asia_minor
							geographical_region = world_steppe_tarim
							geographical_region = world_tibet
							geographical_region = world_asia_southeast
						}
					}
				}
				desc = accolade_scorpion
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = leader
							type_has_accolade_category = champion
							type_has_accolade_category = ethical
							type_has_accolade_category = militant
						}
					}
				}
				desc = accolade_eagle
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = leader
							type_has_accolade_category = ethical
							type_has_accolade_category = defensive
						}
					}
					liege.capital_county.title_province ?= {
						OR = {
							geographical_region = world_europe_west
							geographical_region = world_europe_south
							geographical_region = world_europe_east
							geographical_region = world_asia_minor
							geographical_region = world_middle_east
							geographical_region = world_africa_north
						}
					}
				}
				desc = accolade_gryphon
			}
		}
	}

	potential = {
		liege ?= {
			is_playable_character = yes
		}
		scope:accolade_type = {
			OR = {
				type_has_accolade_category = champion
				type_has_accolade_category = leader
				type_has_accolade_category = militant
				type_has_accolade_category = courtly
				type_has_accolade_category = forceful
				type_has_accolade_category = subtle
				type_has_accolade_category = aggressive
				type_has_accolade_category = defensive
				type_has_accolade_category = ethical
				type_has_accolade_category = equestrian
				type_has_accolade_category = amoral
			}
		}
	}
}

# The Lion of Cairo
accolade_the_animal_of_capital = {
	key = "accolade_the_animal_of_capital"

	num_options = 2

	option = {
		random_valid = {
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = champion
							type_has_accolade_category = militant
							type_has_accolade_category = ethical
							type_has_accolade_category = subtle
							type_has_accolade_category = aggressive
						}
					}
					exists = liege
					liege.capital_county.title_province ?= {
						NOR = {
							geographical_region = world_steppe_west
							geographical_region = world_europe_north
						}
					}
					NOR = {
						has_trait = giant
						has_trait = dull
						has_trait = intellect_bad
					}
				}
				desc = accolade_panther
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = champion
							type_has_accolade_category = militant
							type_has_accolade_category = aggressive
							type_has_accolade_category = leader
						}
					}
					exists = liege
					liege.capital_county.title_province ?= {
						OR = {
							geographical_region = world_india
							geographical_region = world_middle_east
							geographical_region = world_burma
							geographical_region = world_tibet
							geographical_region = world_asia_china
							geographical_region = world_asia_japan
							geographical_region = world_asia_korea
							geographical_region = world_asia_southeast
						}
					}
					NOT = {
						has_trait = clubfooted
					}
				}
				desc = accolade_tiger
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = leader
							type_has_accolade_category = aggressive
							type_has_accolade_category = militant
							type_has_accolade_category = amoral
						}
					}
					exists = liege
					liege.capital_county.title_province ?= {
						NOR = {
							geographical_region = world_africa
							geographical_region = world_burma
							geographical_region = world_steppe
						}
					}
				}
				desc = accolade_wolf
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = aggressive
							type_has_accolade_category = militant
							type_has_accolade_category = amoral
						}
					}
					exists = liege
					liege.capital_county.title_province ?= {
						OR = {
							geographical_region = world_africa_north
							geographical_region = world_africa_east
							geographical_region = world_asia_minor
							geographical_region = world_middle_east
							geographical_region = world_india
							geographical_region = world_burma
							geographical_region = world_europe_south_east
						}
					}
					NOR = {
						has_trait = giant
						has_trait = strong
					}
				}
				desc = accolade_jackal
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = aggressive
							type_has_accolade_category = militant
							type_has_accolade_category = forceful
							type_has_accolade_category = champion
						}
					}
					exists = liege
					liege.capital_county.title_province ?= {
						OR = {
							geographical_region = world_europe_north
							geographical_region = world_steppe_east
							geographical_region = world_steppe_west
						}
					}
					NOR = {
						has_trait = compassionate
						has_trait = calm
					}
				}
				desc = accolade_wolverine
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = aggressive
							type_has_accolade_category = militant
							type_has_accolade_category = amoral
						}
					}
					exists = liege
					liege.capital_county.title_province ?= {
						OR = {
							geographical_region = world_africa
							geographical_region = world_middle_east
							geographical_region = world_india
						}
					}
					NOT = {
						has_trait = beauty_good
					}
				}
				desc = accolade_hyena
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = militant
							type_has_accolade_category = aggressive
							type_has_accolade_category = forceful
							type_has_accolade_category = champion
							type_has_accolade_category = defensive
						}
					}
					exists = liege
					liege.capital_county.title_province ?= {
						OR = {
							geographical_region = hunt_animal_bear_region
						}
					}
					OR = {
						has_trait = giant
						has_trait = gluttonous
						has_trait = physique_good
						has_trait = strong
						has_trait = wrathful
					}
				}
				desc = accolade_bear
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = militant
							type_has_accolade_category = aggressive
							type_has_accolade_category = forceful
							type_has_accolade_category = champion
							type_has_accolade_category = leader
						}
					}
					exists = liege
					liege.capital_county.title_province ?= {
						OR = {
							geographical_region = world_africa
							geographical_region = world_middle_east
							geographical_region = world_europe
							geographical_region = world_asia_minor
						}
					}
					NOT = {
						has_trait = craven
					}
				}
				desc = accolade_lion
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = courtly
					}
				}
				desc = accolade_lark
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = forceful
							type_has_accolade_category = aggressive
							type_has_accolade_category = champion
						}
					}
					OR = {
						has_trait = giant
						has_trait = gluttonous
						has_trait = physique_good
						has_trait = strong
						has_trait = wrathful
					}
				}
				desc = accolade_bull
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = subtle
							type_has_accolade_category = amoral
							type_has_accolade_category = courtly
						}
					}
					exists = liege
					liege.capital_county.title_province ?= {
						NOT = {
							geographical_region = world_africa_west
						}
					}
					NOR = {
						has_trait = giant
						has_trait = dull
						has_trait = honest
					}
				}
				desc = accolade_fox
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = aggressive
							type_has_accolade_category = champion
							type_has_accolade_category = forceful
							type_has_accolade_category = defensive
						}
					}
					NOT = {
						has_trait = beauty_good
					}
				}
				desc = accolade_boar
			}

			triggered_desc = {
				trigger = {
					liege.capital_county.title_province ?= {
						NOR = {
							geographical_region = world_steppe_west
							geographical_region = world_europe_north
							geographical_region = world_steppe_east
						}
					}
					has_trait = beauty_good
				}
				desc = accolade_peacock
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = defensive
							type_has_accolade_category = courtly
							type_has_accolade_category = champion
							type_has_accolade_category = ethical
							type_has_accolade_category = equestrian
						}
					}
					is_female = no
					exists = liege
					liege.capital_county.title_province ?= {
						geographical_region = hunt_animal_deer_region
					}
				}
				desc = accolade_stag
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = defensive
							type_has_accolade_category = courtly
							type_has_accolade_category = ethical
							type_has_accolade_category = subtle
							type_has_accolade_category = equestrian
						}
					}
					is_female = yes
					exists = liege
					liege.capital_county.title_province ?= {
						geographical_region = hunt_animal_deer_region
					}
					NOR = {
						has_trait = giant
						has_trait = gluttonous
					}
				}
				desc = accolade_hind
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = defensive
							type_has_accolade_category = courtly
							type_has_accolade_category = ethical
							type_has_accolade_category = subtle
							type_has_accolade_category = equestrian
						}
					}
					exists = liege
					liege.capital_county.title_province ?= {
						geographical_region = hunt_animal_antelope_region
					}
					NOR = {
						has_trait = giant
						has_trait = gluttonous
					}
				}
				desc = accolade_antelope
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = forceful
							type_has_accolade_category = aggressive
							type_has_accolade_category = militant
							type_has_accolade_category = champion
						}
					}
					exists = liege
					liege.capital_county.title_province ?= {
						geographical_region = world_africa_east
					}
					OR = {
						has_trait = giant
						has_trait = gluttonous
						has_trait = physique_good
						has_trait = strong
						has_trait = wrathful
					}
				}
				desc = accolade_rhinoceros
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = ethical
							type_has_accolade_category = courtly
							type_has_accolade_category = defensive
						}
					}
				}
				desc = accolade_hound
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = amoral
							type_has_accolade_category = subtle
						}
					}
				}
				desc = accolade_serpent
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = leader
							type_has_accolade_category = militant
							type_has_accolade_category = champion
						}
					}
				}
				desc = accolade_dragon
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = equestrian
							type_has_accolade_category = ethical
							type_has_accolade_category = champion
						}
					}
					is_female = no
				}
				desc = accolade_stallion
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = equestrian
							type_has_accolade_category = ethical
							type_has_accolade_category = courtly
						}
					}
					is_female = yes
				}
				desc = accolade_mare
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = amoral
							type_has_accolade_category = aggressive
						}
					}
				}
				desc = accolade_beast
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						NOR = {
							type_has_accolade_category = amoral
							type_has_accolade_category = aggressive
						}
					}
				}
				desc = accolade_hero
			}

			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = amoral
							type_has_accolade_category = militant
							type_has_accolade_category = defensive
							type_has_accolade_category = subtle
						}
					}
					exists = liege
					liege.capital_county.title_province ?= {
						OR = {
							geographical_region = world_africa_east
							geographical_region = world_africa_north_east
							geographical_region = world_africa_west
							geographical_region = world_india
							geographical_region = world_burma
							geographical_region = world_asia_southeast
						}
					}
				}
				desc = accolade_crocodile
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = amoral
							type_has_accolade_category = aggressive
						}
					}
					exists = liege
					liege.capital_county.title_province ?= {
						OR = {
							geographical_region = world_africa
							geographical_region = world_middle_east
							geographical_region = world_india
							geographical_region = world_burma
							geographical_region = world_asia_minor
							geographical_region = world_steppe_tarim
							geographical_region = world_tibet
							geographical_region = world_asia_southeast
						}
					}
				}
				desc = accolade_scorpion
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = leader
							type_has_accolade_category = champion
							type_has_accolade_category = ethical
							type_has_accolade_category = militant
						}
					}
				}
				desc = accolade_eagle
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = leader
							type_has_accolade_category = ethical
							type_has_accolade_category = defensive
						}
					}
					liege.capital_county.title_province ?= {
						OR = {
							geographical_region = world_europe_west
							geographical_region = world_europe_south
							geographical_region = world_europe_east
							geographical_region = world_asia_minor
							geographical_region = world_middle_east
							geographical_region = world_africa_north
						}
					}
				}
				desc = accolade_gryphon
			}
		}
	}

	option = {
		random_valid = {
			triggered_desc = {
				trigger = {
					is_playable_character = no
					exists = liege
				}
				desc = accolade_lieges_capital
			}
			triggered_desc = {
				trigger = {
					is_playable_character = yes
				}
				desc = accolade_knights_capital
			}
		}
	}

	potential = {
		OR = {
			liege ?= {
				is_playable_character = yes
			}
			is_playable_character = yes
		}
	}
}

# The knight of the rose
accolade_the_knight_of_the_flower = {
	key = "accolade_the_knight_of_the_flower"

	num_options = 1

	option = {
		desc = accolade_flower
	}

	potential = {
		scope:accolade_type = {
			OR = {
				type_has_accolade_category = courtly
				type_has_accolade_category = subtle
			}
		}
	}
}

# Head Knight of the French Elite
accolade_leader_of_the_culture_maa = {
	key = "accolade_leader_of_the_culture_maa"

	num_options = 2

	option = {
		random_valid = {
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = champion
					}
				}
				desc = accolade_most_skilled
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = leader
					}
				}
				desc = accolade_most_expert
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = forceful
							type_has_accolade_category = militant
						}
					}
				}
				desc = accolade_horn_blower
			}
			triggered_desc = {
				trigger = {
					culture = {
						NOT = {
							has_cultural_era_or_later = culture_era_early_medieval
						}
					}
				}
				desc = accolade_war_leader
			}
			triggered_desc = {
				trigger = {
					culture = {
						has_cultural_era_or_later = culture_era_high_medieval
					}
				}
				desc = accolade_captain
			}
			triggered_desc = {
				trigger = {
					culture = {
						has_cultural_era_or_later = culture_era_high_medieval
					}
				}
				desc = accolade_officer
			}
			triggered_desc = {
				trigger = {
					NOT = {
						culture = {
							has_cultural_era_or_later = culture_era_early_medieval
						}
					}
					NOT = {
						liege ?= {
							highest_held_title_tier <= tier_duchy
						}
					}
				}
				desc = accolade_chief
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = cavalry
					}
				}
				desc = accolade_first_rider
			}
			desc = accolade_leader
			desc = accolade_master
		}
	}
	option = {
		random_valid = {
			triggered_desc = {
				trigger = {
					NOT = {
						culture = {
							has_cultural_era_or_later = culture_era_early_medieval
						}
					}
					scope:accolade_type = {
						
						OR = {
							this = accolade_type:archer_attribute
							this = accolade_type:huntsmaster_attribute
						}
					}
				}
				desc = accolade_hunters
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							this = accolade_type:archer_attribute
							this = accolade_type:horse_archer_attribute
							this = accolade_type:huntsmaster_attribute
						}
					}
				}	
				desc = accolade_bows
			}
			triggered_desc = {
				trigger = {
					culture = {
						has_cultural_era_or_later = culture_era_early_medieval
					}
					scope:accolade_type = {
						this = accolade_type:archer_attribute
					}
				}	
				desc = accolade_archers
			}
			triggered_desc = {
				trigger = {
					NOT = {
						culture = {
							has_cultural_era_or_later = culture_era_early_medieval
						}
					}
					scope:accolade_type = {
							type_has_accolade_category = light_fighter
					}
					age <= 35
				}
				desc = accolade_youths
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = light_fighter
					}
				}
				desc = accolade_harriers
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						this = accolade_type:skirmisher_attribute
					}
				}
				desc = accolade_skirmishers
			}
			triggered_desc = {
				trigger = {
					NOT = {
						culture = {
							has_cultural_era_or_later = culture_era_high_medieval
						}
					}
					scope:accolade_type = {
						this = accolade_type:pike_attribute
					}
				}
				desc = accolade_spears
			}
			triggered_desc = {
				trigger = {
					culture = {
						has_cultural_era_or_later = culture_era_high_medieval
					}
					scope:accolade_type = {
						this = accolade_type:pike_attribute
					}
				}
				desc = accolade_pikes
			}
			triggered_desc = {
				trigger = {
					NOT = {
						culture = {
							has_cultural_era_or_later = culture_era_late_medieval
						}
					}
					scope:accolade_type = {
						type_has_accolade_category = cavalry
					}
				}
				desc = accolade_riders
			}
			triggered_desc = {
				trigger = {
					NOT = {
						culture = {
							has_cultural_era_or_later = culture_era_late_medieval
						}
					}
					scope:accolade_type = {
						type_has_accolade_category = cavalry
						type_has_accolade_category = heavy_fighter
					}
				}
				desc = accolade_noble_riders
			}
			triggered_desc = {
				trigger = {
					culture = {
						has_cultural_era_or_later = culture_era_high_medieval
					}
					scope:accolade_type = {
						type_has_accolade_category = cavalry
					}
				}
				desc = accolade_cavalry
			}
			triggered_desc = {
				trigger = {
					culture = {
						has_cultural_era_or_later = culture_era_high_medieval
					}
					scope:accolade_type = {
						type_has_accolade_category = cavalry
						type_has_accolade_category = heavy_fighter
					}
				}
				desc = accolade_noble_cavalry
			}
			triggered_desc = {
				trigger = {
					culture = {
						NOT = { has_cultural_era_or_later = culture_era_early_medieval }
					}
					scope:accolade_type = {
						type_has_accolade_category = infantry
					}
				}
				desc = accolade_warriors
			}
			triggered_desc = {
				trigger = {
					culture = {
						NOT = { has_cultural_era_or_later = culture_era_early_medieval }
					}
					scope:accolade_type = {
						type_has_accolade_category = infantry
						type_has_accolade_category = heavy_fighter
					}
				}
				desc = accolade_noble_warriors
			}
			triggered_desc = {
				trigger = {
					culture = {
						has_cultural_era_or_later = culture_era_high_medieval
					}
					scope:accolade_type = {
						type_has_accolade_category = infantry
					}
				}
				desc = accolade_infantry
			}
			triggered_desc = {
				trigger = {
					culture = {
						has_cultural_era_or_later = culture_era_high_medieval
					}
					scope:accolade_type = {
						type_has_accolade_category = infantry
						type_has_accolade_category = heavy_fighter
					}
				}
				desc = accolade_heavy_infantry
			}
			triggered_desc = {
				trigger = {
					culture = {
						has_cultural_era_or_later = culture_era_early_medieval
					}
					scope:accolade_type = {
						type_has_accolade_category = infantry
					}
				}
				desc = accolade_footmen
			}
			triggered_desc = {
				trigger = {
					culture = {
						has_cultural_era_or_later = culture_era_early_medieval
					}
					scope:accolade_type = {
						type_has_accolade_category = infantry
						type_has_accolade_category = heavy_fighter
					}
				}
				desc = accolade_heavy_footmen
			}
			triggered_desc = {
				trigger = {
					culture = {
						has_cultural_era_or_later = culture_era_late_medieval
					}
					scope:accolade_type = {
						NOR = {
							AND = {
								type_has_accolade_category = cavalry
								type_has_accolade_category = heavy_fighter
							}
							type_has_accolade_category = siege
						}
					}
				}
				desc = accolade_soldiery
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						AND = {
							type_has_accolade_category = cavalry
							type_has_accolade_category = heavy_fighter
						}
						NOT = {
							this = accolade_type:elephantry_attribute
						}
					}
				}
				desc = accolade_lances
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						this = accolade_type:crossbowmen_attribute
					}
				}
				desc = accolade_crossbows
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						this = accolade_type:crossbowmen_attribute
					}
				}
				desc = accolade_crossbowmen
			}
			triggered_desc = {
				trigger = {
					culture = {
						NOT = { has_cultural_era_or_later = culture_era_early_medieval }
					}
					scope:accolade_type = {
						type_has_accolade_category = siege
					}
				}
				desc = accolade_burners
			}
			triggered_desc = {
				trigger = {
					culture = {
						has_cultural_era_or_later = culture_era_early_medieval
					}
					scope:accolade_type = {
						type_has_accolade_category = siege
					}
				}
				desc = accolade_engineers
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						this = accolade_type:camelry_attribute
					}
				}
				desc = accolade_camels
			}
			triggered_desc = {
				trigger = {
					culture = {
						has_cultural_era_or_later = culture_era_high_medieval
					}
					scope:accolade_type = {
						this = accolade_type:camelry_attribute
					}
				}
				desc = accolade_cameliers
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						this = accolade_type:elephantry_attribute
					}
				}
				desc = accolade_elephants
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = infantry
							type_has_accolade_category = ranged_fighter
						}
						NOT = {
							type_has_accolade_category = siege
						}
					}
				}
				desc = accolade_milites
			}
			
			#fallback
			desc = accolade_elite
		}
	}

	potential = {
		liege ?= {
			is_playable_character = yes
		}
		culture != liege.culture
		scope:accolade_type = {
			type_has_accolade_category = men_at_arms
		}
	}
}

# Master of the Shah's Bows
accolade_leader_of_the_lieges_maa = {
	key = "accolade_leader_of_the_lieges_maa"

	num_options = 2

	option = {
		random_valid = {
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = champion
					}
				}
				desc = accolade_most_skilled
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = leader
					}
				}
				desc = accolade_most_expert
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = forceful
							type_has_accolade_category = militant
						}
					}
				}
				desc = accolade_horn_blower
			}
			triggered_desc = {
				trigger = {
					is_female = yes
					exists = liege
					liege.culture = {
						has_cultural_era_or_later = culture_era_high_medieval
					}
					NOT = {
						culture = {
							has_cultural_parameter = has_access_to_shieldmaidens
						}
					}
				}
				desc = accolade_dame
			}
			triggered_desc = {
				trigger = {
					culture = {
						NOT = {
							has_cultural_era_or_later = culture_era_early_medieval
						}
					}
				}
				desc = accolade_war_leader
			}
			triggered_desc = {
				trigger = {
					culture = {
						has_cultural_era_or_later = culture_era_high_medieval
					}
				}
				desc = accolade_captain
			}
			triggered_desc = {
				trigger = {
					culture = {
						has_cultural_era_or_later = culture_era_high_medieval
					}
				}
				desc = accolade_officer
			}
			triggered_desc = {
				trigger = {
					NOT = {
						culture = {
							has_cultural_era_or_later = culture_era_early_medieval
						}
					}
				}
				desc = accolade_chief
			}
			desc = accolade_leader
			desc = accolade_master
		}
	}
	option = {
		random_valid = {
			triggered_desc = {
				trigger = {
					NOT = {
						culture = {
							has_cultural_era_or_later = culture_era_early_medieval
						}
					}
					scope:accolade_type = {
						OR = {
							this = accolade_type:archer_attribute
							this = accolade_type:huntsmaster_attribute
						}
					}
				}
				desc = accolade_hunters
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							this = accolade_type:archer_attribute
							this = accolade_type:horse_archer_attribute
							this = accolade_type:huntsmaster_attribute
						}
					}
				}	
				desc = accolade_bows
			}
			triggered_desc = {
				trigger = {
					culture = {
						has_cultural_era_or_later = culture_era_early_medieval
					}
					scope:accolade_type = {
						this = accolade_type:archer_attribute
					}
				}	
				desc = accolade_archers
			}
			triggered_desc = {
				trigger = {
					NOT = {
						culture = {
							has_cultural_era_or_later = culture_era_early_medieval
						}
					}
					scope:accolade_type = {
						type_has_accolade_category = light_fighter
					}
					age <= 35
				}
				desc = accolade_youths
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = light_fighter
					}
				}
				desc = accolade_harriers
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						this = accolade_type:skirmisher_attribute
					}
				}
				desc = accolade_skirmishers
			}
			triggered_desc = {
				trigger = {
					NOT = {
						culture = {
							has_cultural_era_or_later = culture_era_high_medieval
						}
					}
					scope:accolade_type = {
						this = accolade_type:pike_attribute
					}
				}
				desc = accolade_spears
			}
			triggered_desc = {
				trigger = {
					culture = {
						has_cultural_era_or_later = culture_era_high_medieval
					}
					scope:accolade_type = {
						this = accolade_type:pike_attribute
					}
				}
				desc = accolade_pikes
			}
			triggered_desc = {
				trigger = {
					NOT = {
						culture = {
							has_cultural_era_or_later = culture_era_late_medieval
						}
					}
					scope:accolade_type = {
						type_has_accolade_category = cavalry
					}
				}
				desc = accolade_riders
			}
			triggered_desc = {
				trigger = {
					NOT = {
						culture = {
							has_cultural_era_or_later = culture_era_late_medieval
						}
					}
					scope:accolade_type = {
						type_has_accolade_category = cavalry
						type_has_accolade_category = heavy_fighter
					}
				}
				desc = accolade_noble_riders
			}
			triggered_desc = {
				trigger = {
					culture = {
						has_cultural_era_or_later = culture_era_high_medieval
					}
					scope:accolade_type = {
						type_has_accolade_category = cavalry
					}
				}
				desc = accolade_cavalry
			}
			triggered_desc = {
				trigger = {
					culture = {
						has_cultural_era_or_later = culture_era_high_medieval
					}
					scope:accolade_type = {
						type_has_accolade_category = cavalry
						type_has_accolade_category = heavy_fighter
					}
				}
				desc = accolade_noble_cavalry
			}
			triggered_desc = {
				trigger = {
					culture = {
						NOT = { has_cultural_era_or_later = culture_era_early_medieval }
					}
					scope:accolade_type = {
						type_has_accolade_category = infantry
					}
				}
				desc = accolade_warriors
			}
			triggered_desc = {
				trigger = {
					culture = {
						NOT = { has_cultural_era_or_later = culture_era_early_medieval }
					}
					scope:accolade_type = {
						type_has_accolade_category = infantry
						type_has_accolade_category = heavy_fighter
					}
				}
				desc = accolade_noble_warriors
			}
			triggered_desc = {
				trigger = {
					culture = {
						has_cultural_era_or_later = culture_era_high_medieval
					}
					scope:accolade_type = {
						type_has_accolade_category = infantry
					}
				}
				desc = accolade_infantry
			}
			triggered_desc = {
				trigger = {
					culture = {
						has_cultural_era_or_later = culture_era_high_medieval
					}
					scope:accolade_type = {
						type_has_accolade_category = infantry
						type_has_accolade_category = heavy_fighter
					}
				}
				desc = accolade_heavy_infantry
			}
			triggered_desc = {
				trigger = {
					culture = {
						has_cultural_era_or_later = culture_era_early_medieval
					}
					scope:accolade_type = {
						type_has_accolade_category = infantry
					}
				}
				desc = accolade_footmen
			}
			triggered_desc = {
				trigger = {
					culture = {
						has_cultural_era_or_later = culture_era_early_medieval
					}
					scope:accolade_type = {
						type_has_accolade_category = infantry
						type_has_accolade_category = heavy_fighter
					}
				}
				desc = accolade_heavy_footmen
			}
			triggered_desc = {
				trigger = {
					culture = {
						has_cultural_era_or_later = culture_era_late_medieval
					}
					scope:accolade_type = {
						NOR = {
							AND = {
								type_has_accolade_category = cavalry
								type_has_accolade_category = heavy_fighter
							}
							type_has_accolade_category = siege
						}
					}
				}
				desc = accolade_soldiery
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						AND = {
							type_has_accolade_category = cavalry
							type_has_accolade_category = heavy_fighter
						}
						NOT = {
							this = accolade_type:elephantry_attribute
						}
					}
				}
				desc = accolade_lances
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						this = accolade_type:crossbowmen_attribute
					}
				}
				desc = accolade_crossbows
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						this = accolade_type:crossbowmen_attribute
					}
				}
				desc = accolade_crossbowmen
			}
			triggered_desc = {
				trigger = {
					culture = {
						NOT = { has_cultural_era_or_later = culture_era_early_medieval }
					}
					scope:accolade_type = {
						type_has_accolade_category = siege
					}
				}
				desc = accolade_burners
			}
			triggered_desc = {
				trigger = {
					OR = {
						culture = {
							has_cultural_era_or_later = culture_era_early_medieval
						}
						culture = {
							has_cultural_parameter = unlock_maa_ballistrai
						}
					}
					scope:accolade_type = {
						type_has_accolade_category = siege
					}
				}
				desc = accolade_engineers
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						this = accolade_type:camelry_attribute
					}
				}
				desc = accolade_camels
			}
			triggered_desc = {
				trigger = {
					culture = {
						has_cultural_era_or_later = culture_era_high_medieval
					}
					scope:accolade_type = {
						this = accolade_type:camelry_attribute
					}
				}
				desc = accolade_cameliers
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						this = accolade_type:elephantry_attribute
					}
				}
				desc = accolade_elephants
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = infantry
							type_has_accolade_category = ranged_fighter
						}
						NOT = {
							type_has_accolade_category = siege
						}
					}
				}
				desc = accolade_milites
			}
			triggered_desc = {
				trigger = {
					NOT = {
						culture = {
							has_cultural_era_or_later = culture_era_early_medieval
						}
					}
				}
				desc = accolade_war_party
			}
			triggered_desc = {
				trigger = {
					OR = {
						AND = {
							scope:accolade_type = {
								this = accolade_type:archer_attribute
							}
							culture = {
								OR = {
									has_cultural_parameter = unlock_maa_archers_of_the_nile
									has_cultural_parameter = unlock_maa_bush_hunter
									has_cultural_parameter = unlock_maa_metsanvartija
									has_cultural_parameter = unlock_maa_maturkan_warriors
									has_cultural_parameter = unlock_maa_longbowmen
									has_innovation = innovation_bamboo_bows
								}
							}
						}
						AND = {
							scope:accolade_type = {
								this = accolade_type:crossbowmen_attribute
							}
							culture = {
								has_innovation = innovation_repeating_crossbow
							}
						}
					}
				}
				desc = accolade_cultural_archers
			}
			triggered_desc = {
				trigger = {
					OR = {
						AND = {
							scope:accolade_type = {
								this = accolade_type:vanguard_attribute
							}
							culture = {
								OR = {
									has_cultural_parameter = unlock_maa_ayyar
									has_cultural_parameter = unlock_maa_mubarizun
									has_cultural_parameter = unlock_maa_druzhina
									has_cultural_parameter = unlock_maa_khandayat
									has_cultural_parameter = unlock_maa_garudas
									has_cultural_parameter = unlock_maa_palace_guards
									has_cultural_parameter = unlock_maa_huscarls
									has_cultural_parameter = unlock_maa_mountaineer
									has_cultural_parameter = unlock_maa_zbrojnosh
									has_innovation = innovation_sarawit
									has_innovation = innovation_legionnaires
									has_cultural_parameter = unlock_maa_skoutatoi
								}
							}
						}
						AND = {
							scope:accolade_type = {
								this = accolade_type:pike_attribute
							}
							culture = {
								OR = {
									has_innovation = innovation_rectilinear_schiltron
									has_innovation = innovation_pike_columns
									has_innovation = innovation_zweihanders
								}
							}
						}
					}
				}
				desc = accolade_cultural_infantry
			}
			triggered_desc = {
				trigger = {
					OR = {
						AND = {
							scope:accolade_type = {
								this = accolade_type:lancer_attribute
							}
							culture = {
								OR = {
									has_cultural_parameter = unlock_maa_cataphract
									has_cultural_parameter = unlock_maa_monaspa
									has_innovation = innovation_valets
									has_cultural_parameter = unlock_maa_conrois
									
								}
							}
						}
						AND = {
							scope:accolade_type = {
								this = accolade_type:outrider_attribute
							}
							culture = {
								OR = {
									has_cultural_parameter = unlock_maa_mulaththamun
									has_cultural_parameter = unlock_maa_hussar
									has_innovation = innovation_desert_tactics
									has_innovation = innovation_caballeros
									has_innovation = innovation_hobbies
									has_innovation = innovation_sahel_horsemen
									has_cultural_parameter = unlock_maa_ayrudzi
								}
							}
						}
					}
				}
				desc = accolade_cultural_cavalry
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						this = accolade_type:skirmisher_attribute
					}
					culture = {
						OR = {
							has_cultural_parameter = unlock_maa_horn_warrior
							has_cultural_parameter = unlock_maa_shomer
							has_cultural_parameter = unlock_maa_abudrar
							has_cultural_parameter = unlock_maa_guinea_warrior
							has_innovation = innovation_adaptive_militia
							has_cultural_parameter = unlock_maa_akritai
						}
					}
				}
				desc = accolade_cultural_skirmishers
			}
			
			#fallback
			desc = accolade_elite
			desc = accolade_retinue
		}
	}

	potential = {
		exists = liege
		culture = liege.culture
		scope:accolade_type = {
			type_has_accolade_category = men_at_arms
		}
	}
}

# First of the French Knights
# accolade_leader_of_the_culture_unit
accolade_leader_of_the_culture_unit = {
	key = "accolade_leader_of_the_culture_unit"

	num_options = 2

	option = {
		random_valid = {
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = defensive
					}
				}
				desc = accolade_stalwart
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = ethical
					}
					exists = liege
					liege.culture = {
						has_cultural_era_or_later = culture_era_early_medieval
					}
				}
				desc = accolade_paragon
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = champion
					}
				}
				desc = accolade_most_skilled
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = leader
					}
				}
				desc = accolade_most_expert
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = forceful
							type_has_accolade_category = militant
						}
					}
				}
				desc = accolade_horn_blower
			}
			triggered_desc = {
				trigger = {
					exists = liege
					liege ?= {
						opinion = {
							target = root
							value >= 50
						}
					}
				}
				desc = accolade_favorite
			}
			triggered_desc = {
				trigger = {
					age >= 35
				}
				desc = accolade_senior
			}
			triggered_desc = {
				trigger = {
					is_female = yes
					exists = liege
					liege.culture = {
						has_cultural_era_or_later = culture_era_high_medieval
					}
					NOT = {
						culture = {
							has_cultural_parameter = has_access_to_shieldmaidens
						}
					}
				}
				desc = accolade_dame
			}
			triggered_desc = {
				trigger = {
					exists = liege
					liege.culture = {
						has_cultural_era_or_later = culture_era_high_medieval
					}
				}
				desc = accolade_officer
			}
			triggered_desc = {
				trigger = {
					exists = liege
					liege.culture = {
						has_cultural_era_or_later = culture_era_high_medieval
					}
					scope:accolade_type = {
						NOT = { type_has_accolade_category = militant }
					}
				}
				desc = accolade_official
			}
			triggered_desc = {
				trigger = {
					exists = liege
					liege.culture = {
						has_cultural_era_or_later = culture_era_early_medieval
					}
					scope:accolade_type = {
						NOT = { type_has_accolade_category = militant }
					}
				}
				desc = accolade_office_bearer
			}
			desc = accolade_finest
			desc = accolade_first
			desc = accolade_leader
			desc = accolade_head_knight
		}
	}

	option = {
		random_valid = {
			triggered_desc = {
				trigger = {
					culture = {
						has_cultural_parameter = has_access_to_shieldmaidens
					}
					is_female = yes
				}
				desc = accolade_shieldmaidens
			}
			triggered_desc = {
				trigger = {
					age < 25
				}
				desc = accolade_young_knights
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = courtly
							type_has_accolade_category = champion
							type_has_accolade_category = ethical
							type_has_accolade_category = defensive
							type_has_accolade_category = subtle
						}
					}
				}
				desc = accolade_companions
			}
			triggered_desc = {
				trigger = {
					exists = liege
					liege.culture = {
						NOT = {
							has_cultural_era_or_later = culture_era_early_medieval
						}
					}
				}
				desc = accolade_chosen
			}
			triggered_desc = {
				trigger = {
					exists = liege
					liege.culture = {
						has_cultural_era_or_later = culture_era_high_medieval
					}
					liege = {
						highest_held_title_tier >= tier_duchy
					}
				}
				desc = accolade_gentry
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = defensive
							type_has_accolade_category = militant
							type_has_accolade_category = ethical
							type_has_accolade_category = forceful
							type_has_accolade_category = leader
						}
					}
				}
				desc = accolade_guard
			}
			triggered_desc = {
				trigger = {
					culture = {
						has_cultural_era_or_later = culture_era_early_medieval
					}
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = ethical
							type_has_accolade_category = courtly
							type_has_accolade_category = champion
						}
					}
				}
				desc = accolade_gallants
			}
			triggered_desc = {
				trigger = {
					exists = liege
					liege ?= {
						government_has_flag = government_is_feudal
					}
				}
				desc = accolade_banners
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = aggressive
							type_has_accolade_category = amoral
						}
					}
					NOT = {
						liege.culture ?= {
							has_cultural_era_or_later = culture_era_high_medieval
						}
					}
				}
				desc = accolade_slayers
			}
			triggered_desc = {
				trigger = {
					NOR = {
						culture = {
							has_cultural_era_or_later = culture_era_high_medieval
						}
						liege ?= {
							highest_held_title_tier >= tier_kingdom
						}
					}
				}
				desc = accolade_band
			}
			triggered_desc = {
				trigger = {
					liege ?= {
						government_has_flag = government_is_tribal
					}
					scope:accolade_type = {
						type_has_accolade_category = militant
					}
				}
				desc = accolade_warband
			}
			triggered_desc = {
				trigger = {
					NOR = {
						liege.culture ?= {
							OR = {
								has_cultural_era_or_later = culture_era_high_medieval
								has_cultural_tradition = tradition_byzantine_succession
								has_cultural_tradition = tradition_ep3_roman_ceremonies
								has_cultural_tradition = tradition_republican_legacy
							}
						}
						is_female = yes
					}
				}
				desc = accolade_bondsmen
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = aggressive
					}
					liege ?= {
						government_has_flag = government_is_tribal
					}
				}
				desc = accolade_raiders
			}
			desc = accolade_nobles
			desc = accolade_knights
			desc = accolade_retainers
		}
	}

	potential = {
		exists = liege
		culture != liege.culture
		# No men-at-arms, unless they're noble heavy troops
		scope:accolade_type = {
			OR = {
				AND = {
					type_has_accolade_category = men_at_arms
					type_has_accolade_category = heavy_fighter
				}
				NOT = {
					type_has_accolade_category = men_at_arms 
				}
			}
		}
	}
}

# Head Knight of the King's Retinue
accolade_leader_of_the_lieges_unit = {
	key = "accolade_leader_of_the_lieges_unit"

	num_options = 2

	option = {
		random_valid = {
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = defensive
					}
				}
				desc = accolade_stalwart
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = ethical
					}
					exists = liege
					liege.culture = {
						has_cultural_era_or_later = culture_era_early_medieval
					}
				}
				desc = accolade_paragon
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = champion
					}
				}
				desc = accolade_most_skilled
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = leader
					}
				}
				desc = accolade_most_expert
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = forceful
							type_has_accolade_category = militant
						}
					}
				}
				desc = accolade_horn_blower
			}
			triggered_desc = {
				trigger = {
					is_female = yes
					exists = liege
					liege.culture = {
						has_cultural_era_or_later = culture_era_high_medieval
					}
					NOT = {
						culture = {
							has_cultural_parameter = has_access_to_shieldmaidens
						}
					}
				}
				desc = accolade_dame
			}
			triggered_desc = {
				trigger = {
					liege ?= {
						opinion = {
							target = root
							value >= 50
						}
					}
				}
				desc = accolade_favorite
			}
			triggered_desc = {
				trigger = {
					age >= 35
				}
				desc = accolade_senior
			}
			triggered_desc = {
				trigger = {
					exists = liege
					liege.culture = {
						has_cultural_era_or_later = culture_era_high_medieval
					}
				}
				desc = accolade_officer
			}
			triggered_desc = {
				trigger = {
					exists = liege
					liege.culture = {
						has_cultural_era_or_later = culture_era_high_medieval
					}
					scope:accolade_type = {
						NOT = { type_has_accolade_category = militant }
					}
				}
				desc = accolade_official
			}
			triggered_desc = {
				trigger = {
					exists = liege
					liege.culture = {
						has_cultural_era_or_later = culture_era_early_medieval
					}
					scope:accolade_type = {
						NOT = { type_has_accolade_category = militant }
					}
				}
				desc = accolade_office_bearer
			}
			desc = accolade_finest
			desc = accolade_first
			desc = accolade_leader
			desc = accolade_head_knight
		}
	}

	option = {
		random_valid = {
			triggered_desc = {
				trigger = {
					culture = {
						has_cultural_parameter = has_access_to_shieldmaidens
					}
					is_female = yes
				}
				desc = accolade_shieldmaidens
			}
			triggered_desc = {
				trigger = {
					age >= 40
				}
				desc = accolade_veterans
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = militant
					}
				}
				desc = accolade_battle_line
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = courtly
							type_has_accolade_category = champion
							type_has_accolade_category = ethical
							type_has_accolade_category = defensive
							type_has_accolade_category = subtle
						}
					}
				}
				desc = accolade_companions
			}
			triggered_desc = {
				trigger = {
					exists = liege
					liege.culture = {
						NOT = {
							has_cultural_era_or_later = culture_era_early_medieval
						}
					}
				}
				desc = accolade_chosen
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = defensive
							type_has_accolade_category = militant
							type_has_accolade_category = ethical
							type_has_accolade_category = forceful
							type_has_accolade_category = leader
						}
					}
				}
				desc = accolade_guard
			}
			triggered_desc = {
				trigger = {
					culture = {
						has_cultural_era_or_later = culture_era_early_medieval
					}
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = ethical
							type_has_accolade_category = courtly
							type_has_accolade_category = champion
						}
					}
				}
				desc = accolade_gallants
			}
			triggered_desc = {
				trigger = {
					exists = liege
					liege = {
						government_has_flag = government_is_feudal
					}
				}
				desc = accolade_banners
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = aggressive
							type_has_accolade_category = amoral
						}
					}
				}
				desc = accolade_slayers
			}
			triggered_desc = {
				trigger = {
					NOR = {
						culture = {
							has_cultural_era_or_later = culture_era_high_medieval
						}
						liege ?= {
							highest_held_title_tier >= tier_kingdom
						}
					}
				}
				desc = accolade_band
			}
			triggered_desc = {
				trigger = {
					liege ?= {
						government_has_flag = government_is_tribal
					}
					scope:accolade_type = {
						type_has_accolade_category = militant
					}
				}
				desc = accolade_warband
			}
			triggered_desc = {
				trigger = {
					NOR = {
						culture = {
							has_cultural_era_or_later = culture_era_high_medieval
						}
						is_female = yes
					}
				}
				desc = accolade_bondsmen
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = aggressive
					}
					liege ?= {
						government_has_flag = government_is_tribal
					}
				}
				desc = accolade_raiders
			}
			desc = accolade_knights
			desc = accolade_retainers
			desc = accolade_retinue
		}
	}

	potential = {
		exists = liege
		culture = liege.culture
		# No men-at-arms, unless they're noble heavy troops
		scope:accolade_type = {
			OR = {
				AND = {
					type_has_accolade_category = men_at_arms
					type_has_accolade_category = heavy_fighter
				}
				NOT = {
					type_has_accolade_category = men_at_arms 
				}
			}
		}
	}
}

# The Knight of St. George
accolade_knight_of_god = {
	key = "accolade_knight_of_god"

	num_options = 2

	option = {
		random_valid = {
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = ethical
					}
					exists = liege
					liege.culture = {
						has_cultural_era_or_later = culture_era_early_medieval
					}
				}
				desc = accolade_paragon
			}
			triggered_desc = {
				trigger = {
					is_female = yes
					exists = liege
					NOT = {
						liege.culture = {
							has_cultural_era_or_later = culture_era_late_medieval
						}
					}
				}
				desc = accolade_sword_maiden
			}
			triggered_desc = {
				trigger = {
					is_female = yes
				}
				desc = accolade_maiden
			}
			triggered_desc = {
				trigger = {
					culture = {
						has_cultural_parameter = has_access_to_shieldmaidens
					}
					is_female = yes
				}
				desc = accolade_shieldmaiden
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = champion
							type_has_accolade_category = equestrian
							type_has_accolade_category = forceful
							type_has_accolade_category = militant
						}
					}
				}
				desc = accolade_champion
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = champion
							type_has_accolade_category = militant
							type_has_accolade_category = forceful
							type_has_accolade_category = aggressive
						}
					}
				}
				desc = accolade_sword
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = subtle
							type_has_accolade_category = courtly
							type_has_accolade_category = leader
						}
					}
				}
				desc = accolade_voice
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = aggressive
							type_has_accolade_category = forceful
							type_has_accolade_category = champion
						}
					}
				}
				desc = accolade_fire
			}
			triggered_desc = {
				trigger = {
					culture = {
						has_cultural_era_or_later = culture_era_early_medieval
					}
				}
				desc = accolade_banner
			}
			desc = accolade_defender
		}
	}

	option = {
		random_valid = {
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = militant
							type_has_accolade_category = aggressive
						}
					}
				}
				desc = accolade_war_god
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = stewardship
					}
				}
				desc = accolade_wealth_god
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = learning
					}
				}
				desc = accolade_knowledge_god
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = amoral
					}
				}
				desc = accolade_trickster_god
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = defensive
					}
					NOT = {
						faith.religion = religion:west_african_roog_religion
					}
				}
				desc = accolade_health_god
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = amoral
					}
				}
				desc = accolade_death_god
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = subtle
					}
				}
				desc = accolade_night_god
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = courtly
					}
				}
				desc = accolade_household_god
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = social
					}
				}
				desc = accolade_fertility_god
			}
			triggered_desc = {
				trigger = {
					NOR = {
						faith.religion = religion:finno_ugric_religion
						faith.religion = religion:north_african_religion
						faith.religion = religion:paganism_religion
						faith.religion = religion:west_african_religion
						faith.religion = religion:west_african_roog_religion
					}
				}
				desc = accolade_good_god
			}
			desc = accolade_high_god
		}
	}

	potential = {
		exists = liege
		religion = liege.religion
		NOT = { faith.religion = religion:west_african_bori_religion }
	}
}

# Bearer of the King's Sword
accolade_bearer_of_the_lieges_item = {
	key = "accolade_bearer_of_the_lieges_item"

	num_options = 1

	option = {
		random_valid = {
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = champion
					}
				}
				desc = accolade_sword
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = leader
					}
				}
				desc = accolade_mandate
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = militant
					}
				}
				desc = accolade_standard
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = courtly
					}
				}
				desc = accolade_seal
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = forceful
					}
				}
				desc = accolade_helm
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = subtle
					}
				}
				desc = accolade_raiment
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = aggressive
					}
				}
				desc = accolade_mace
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = defensive
					}
				}
				desc = accolade_shield
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = ethical
					}
				}
				desc = accolade_trust
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = amoral
					}
				}
				desc = accolade_warrants
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = equestrian
					}
				}
				desc = accolade_spurs
			}
		}
	}

	potential = {
		culture = {
			has_cultural_era_or_later = culture_era_early_medieval
		}
		liege ?= {
			highest_held_title_tier > tier_county
		}
		scope:accolade_type = {
			OR = {
				type_has_accolade_category = champion
				type_has_accolade_category = leader
				type_has_accolade_category = militant
				type_has_accolade_category = courtly
				type_has_accolade_category = forceful
				type_has_accolade_category = subtle
				type_has_accolade_category = aggressive
				type_has_accolade_category = defensive
				type_has_accolade_category = ethical
				type_has_accolade_category = amoral
				type_has_accolade_category = equestrian
			}
		}
	}
}

# First of the Pursuit
accolade_first_of_the_field = {
	key = "accolade_first_of_the_field"

	num_options = 1

	option = {
		random_valid = {
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = champion
					}
					liege ?= {
						NOT = { government_has_flag = government_is_tribal }
					}
				}
				desc = accolade_among_the_guard
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = champion
					}
					liege ?= {
						government_has_flag = government_is_tribal
					}
				}
				desc = accolade_in_feats_of_war
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = leader
					}
					liege ?= {
						NOT = { government_has_flag = government_is_tribal }
					}
				}
				desc = accolade_among_office_bearers
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = leader
					}
					liege ?= {
						government_has_flag = government_is_tribal
					}
					age >= 35
				}
				desc = accolade_of_elders
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = leader
					}
					liege ?= {
						government_has_flag = government_is_tribal
					}
					age < 35
				}
				desc = accolade_among_aspirants
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = militant
					}
					liege ?= {
						NOT = { government_has_flag = government_is_tribal }
					}
				}
				desc = accolade_of_the_column
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = militant
					}
					liege ?= {
						government_has_flag = government_is_tribal
					}
				}
				desc = accolade_among_oathswearers
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = courtly
					}
					liege ?= {
						NOT = { government_has_flag = government_is_tribal }
					}
				}
				desc = accolade_of_the_chamber
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = courtly
					}
					liege ?= {
						government_has_flag = government_is_tribal
					}
				}
				desc = accolade_among_hearth_companions
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = forceful
					}
				}
				desc = accolade_of_the_battle_line
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = subtle
					}
				}
				desc = accolade_among_advisors
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = aggressive
					}
					liege ?= {
						NOT = { government_has_flag = government_is_tribal }
					}
				}
				desc = accolade_of_the_van
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = aggressive
					}
					liege ?= {
						government_has_flag = government_is_tribal
					}
				}
				desc = accolade_among_raiders
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = defensive
					}
					liege ?= {
						NOT = { government_has_flag = government_is_tribal }
					}
				}
				desc = accolade_of_the_rearguard
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = defensive
					}
					liege ?= {
						government_has_flag = government_is_tribal
					}
				}
				desc = accolade_among_hall_guardians
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = ethical
					}
				}
				desc = accolade_of_noble_virtue
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = equestrian
					}
				}
				desc = accolade_of_the_pursuit
			}
		}
	}

	potential = {
		exists = liege
		scope:accolade_type = {
			OR = {
				type_has_accolade_category = champion
				type_has_accolade_category = leader
				type_has_accolade_category = militant
				type_has_accolade_category = courtly
				type_has_accolade_category = forceful
				type_has_accolade_category = subtle
				type_has_accolade_category = aggressive
				type_has_accolade_category = defensive
				type_has_accolade_category = ethical
				type_has_accolade_category = equestrian
			}
		}
	}
}

# The Terror in the Hills
accolade_the_warrior_in_the_terrain = {
	key = "accolade_the_warrior_in_the_terrain"

	num_options = 2

	option = {
		random_valid = {
			triggered_desc = {
				trigger = {
					OR = {
						scope:accolade_type = {
							type_has_accolade_category = defensive
						}
						has_trait = loyal
					}
				}
				desc = accolade_stalwart
			}
			triggered_desc = {
				trigger = {
					OR = {
						scope:accolade_type = {
							type_has_accolade_category = amoral
						}
						has_trait = disloyal
					}
				}
				desc = accolade_scoundrel
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = champion
					}
				}
				desc = accolade_most_skilled
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = leader
					}
				}
				desc = accolade_most_expert
			}
			triggered_desc = {
				trigger = {
					is_female = yes
					exists = liege
					NOT = {
						liege.culture = {
							has_cultural_era_or_later = culture_era_late_medieval
						}
					}
				}
				desc = accolade_sword_maiden
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = ethical
							type_has_accolade_category = leader
							type_has_accolade_category = courtly
						}
					}
				}
				desc = accolade_sun
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = subtle
							type_has_accolade_category = amoral
							type_has_accolade_category = courtly
						}
					}
				}
				desc = accolade_moon
			}
			triggered_desc = {
				trigger = {
					culture = {
						has_cultural_parameter = has_access_to_shieldmaidens
					}
					is_female = yes
				}
				desc = accolade_shieldmaiden
			}
			triggered_desc = {
				trigger = {
					liege ?= {
						government_has_flag = government_is_tribal
					}
				}
				desc = accolade_chief_warrior
			}
			triggered_desc = {
				trigger = {
					age >= 35
				}
				desc = accolade_senior_knight
			}
			triggered_desc = {
				trigger = {
					liege ?= {
						NOR = {
							government_has_flag = government_is_tribal government_has_flag = government_is_clan
						}
					}
					scope:accolade_type = {
						NOR = {
							type_has_accolade_category = militant
							type_has_accolade_category = amoral
						}
					}
				}
				desc = accolade_constable
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = champion
							type_has_accolade_category = infantry
						}
					}
				}
				desc = accolade_sword
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = equestrian
							type_has_accolade_category = forceful
							type_has_accolade_category = aggressive
						}
					}
				}
				desc = accolade_storm
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = amoral
							type_has_accolade_category = forceful
							type_has_accolade_category = aggressive
						}
					}
				}
				desc = accolade_fire
			}
			triggered_desc = {
				trigger = {
					liege ?= {
						NOT = { government_has_flag = government_is_tribal }
					}
					scope:accolade_type = {
						type_has_accolade_category = leader
					}
				}
				desc = accolade_lord
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = aggressive
							type_has_accolade_category = amoral
							type_has_accolade_category = champion
						}
					}
				}
				desc = accolade_slayer
			}
			triggered_desc = {
				trigger = {
					liege ?= {
						NOT = { government_has_flag = government_is_tribal }
						culture = {
							has_cultural_era_or_later = culture_era_high_medieval
						}
					}
					scope:accolade_type = {
						NOT = {
							type_has_accolade_category = militant
						}
					}
				}
				desc = accolade_minister
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = aggressive
							type_has_accolade_category = amoral
						}
					}
				}
				desc = accolade_terror
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = leader
							type_has_accolade_category = courtly
							type_has_accolade_category = ethical
						}
					}
				}
				desc = accolade_lieges_voice
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = leader
							type_has_accolade_category = forceful
							type_has_accolade_category = ethical
						}
					}
				}
				desc = accolade_lieges_law
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = champion
							type_has_accolade_category = ethical
						}
					}
				}
				desc = accolade_hero
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = amoral
							type_has_accolade_category = aggressive
							type_has_accolade_category = forceful
						}
					}
				}
				desc = accolade_lieges_beast
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = subtle
							type_has_accolade_category = courtly
						}
					}
				}
				desc = accolade_watcher
			}
			desc = accolade_keeper
		}
	}
	option = {
		random_valid = {
			triggered_desc = {
				trigger = {
					is_playable_character = no
					exists = liege
				}
				desc = accolade_lieges_capital_terrain
			}
			triggered_desc = {
				trigger = {
					is_playable_character = yes
				}
				desc = accolade_knights_capital_terrain
			}
		}
	}

	potential = {
		OR = {
			liege ?= {
				is_playable_character = yes
			}
			is_playable_character = yes
		}
	}
}

# The Defender of Bohemia
accolade_the_defender_of_lieges_title = {
	key = "accolade_the_defender_of_lieges_title"

	num_options = 1

	option = {
		random_valid = {
			triggered_desc = {
				trigger = {
					liege ?= {
						opinion = {
							target = root
							value >= 80
						}
					}
				}
				desc = accolade_most_trusted
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = ethical
					}
					exists = liege
					liege.culture = {
						has_cultural_era_or_later = culture_era_early_medieval
					}
				}
				desc = accolade_paragon
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = champion
					}
				}
				desc = accolade_most_skilled
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = leader
					}
				}
				desc = accolade_most_expert
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = forceful
							type_has_accolade_category = militant
						}
					}
				}
				desc = accolade_horn_blower
			}
			triggered_desc = {
				trigger = {
					is_female = yes
				}
				desc = accolade_maiden
			}
			triggered_desc = {
				trigger = {
					is_female = yes
					exists = liege
					NOT = {
						liege.culture = {
							has_cultural_era_or_later = culture_era_late_medieval
						}
					}
				}
				desc = accolade_sword_maiden
			}
			triggered_desc = {
				trigger = {
					culture = {
						has_cultural_parameter = has_access_to_shieldmaidens
					}
					is_female = yes
				}
				desc = accolade_shieldmaiden
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = defensive
					}
				}
				desc = accolade_defender
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = champion
					}
				}
				desc = accolade_champion
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = ethical
							type_has_accolade_category = defensive
						}
					}
				}
				desc = accolade_guardian
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = ethical
					}
				}
				desc = accolade_most_loyal
			}
			triggered_desc = {
				trigger = {
					prowess >= 25
				}
				desc = accolade_greatest_knight
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = leader
							type_has_accolade_category = militant
						}
					}
					liege ?= {
						NOT = { government_has_flag = government_is_tribal }
						culture = {
							has_cultural_era_or_later = culture_era_high_medieval
						}
					}
				}
				desc = accolade_master_at_arms
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = equestrian
					}
					liege ?= {
						culture = {
							NOT = { has_cultural_era_or_later = culture_era_high_medieval }
						}
					}
				}
				desc = accolade_first_rider
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = champion
						type_has_accolade_category = infantry
					}
				}
				desc = accolade_sword
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = cavalry
						NOT = { type_has_accolade_category = ranged_fighter }
					}
				}
				desc = accolade_lance
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = ranged_fighter
					}
				}
				desc = accolade_black_arrow
			}
			triggered_desc = {
				trigger = {
					liege ?= {
						government_has_flag = government_is_feudal
						culture = {
							has_cultural_era_or_later = culture_era_high_medieval
						}
					}
				}
				desc = accolade_knight_marshal
			}
			triggered_desc = {
				trigger = {
					liege ?= {
						NOT = { government_has_flag = government_is_tribal }
					}
				}
				desc = accolade_guard_commander
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						NOT = { type_has_accolade_category = amoral }
					}
				}
				desc = accolade_pride
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						NOT = { type_has_accolade_category = amoral }
					}
					is_female = no
				}
				desc = accolade_truest_son
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						NOT = { type_has_accolade_category = amoral }
					}
					is_female = yes
				}
				desc = accolade_truest_daughter
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						NOT = { type_has_accolade_category = amoral }
					}
					liege ?= {
						opinion = {
							target = root
							value >= 80
						}
					}
				}
				desc = accolade_beloved
			}
			desc = accolade_head_knight
		}
	}

	potential = {
		exists = liege
	}
}

#The Foe of Christians
accolade_the_foe_of_enemy_faith = {
	key = "accolade_the_foe_of_enemy_faith"

	num_options = 2

	option = {
		random_valid = {
			desc = accolade_foe
			desc = accolade_hammer
			desc = accolade_enemy
			desc = accolade_bane
			desc = accolade_death
			desc = accolade_judgment
			desc = accolade_slayer
			desc = accolade_sorrow
			desc = accolade_vanquisher
		}
	}

	option = {
		random_valid = {
			triggered_desc = {
				trigger = {
					faith.religion = {
						is_in_family = rf_abrahamic
					}
					faith = {
						NOR = {
							has_doctrine_parameter = unreformed_syncretic_actor_opinion_active
							has_doctrine_parameter = unreformed
						}
					}
					NOT = {
						culture = {
							has_cultural_era_or_later = culture_era_high_medieval
						}
					}
				}
				desc = accolade_pagans
			}
			triggered_desc = {
				trigger = {
					faith.religion = { is_in_family = rf_abrahamic }
					faith = {
						fervor < 50
					}
				}
				desc = accolade_heretics
			}
			triggered_desc = {
				trigger = {
					faith.religion = religion:islam_religion
				}
				desc = accolade_infidels
			}
			triggered_desc = {
				trigger = {
					OR = {
						faith.religion = religion:eastern_orthodox_religion
						faith.religion = religion:catholic_religion
						faith.religion = religion:protestant_religion
					}
				}
				desc = accolade_heathens
			}
			triggered_desc = {
				trigger = {
					NOR = {
						faith.religion = religion:eastern_orthodox_religion
						faith.religion = religion:catholic_religion
						faith.religion = religion:protestant_religion
						faith = {
							has_doctrine_parameter = christian_syncretic_actor_opinion_active
						}
					}
					liege.capital_county.title_province ?= {
						OR = {
							geographical_region = world_europe
							geographical_region = world_asia_minor
							geographical_region = world_middle_east_jerusalem
							geographical_region = world_africa_north_west
							geographical_region = world_africa_north_east
							geographical_region = world_africa_east
							geographical_region = world_steppe_west
						}
					}
				}
				desc = accolade_christians
			}
			triggered_desc = {
				trigger = {
					NOR = {
						OR = {
							faith.religion = religion:eastern_orthodox_religion
							faith.religion = religion:catholic_religion
							faith.religion = religion:protestant_religion
						}
						faith = {
							has_doctrine_parameter = christian_syncretic_actor_opinion_active
						}
					}
					liege.capital_county.title_province ?= {
						OR = {
							geographical_region = world_europe
							geographical_region = world_asia_minor
							geographical_region = world_middle_east_jerusalem
							geographical_region = world_africa_north_west
							geographical_region = world_africa_north_east
							geographical_region = world_africa_east
							geographical_region = world_steppe_west
						}
					}
				}
				desc = accolade_christendom
			}
			triggered_desc = {
				trigger = {
					NOR = {
						faith.religion = religion:islam_religion
						faith = {
							has_doctrine_parameter = islamic_syncretic_actor_opinion_active
						}
					}
					liege.capital_county.title_province ?= {
						OR = {
							geographical_region = world_europe_west_iberia
							geographical_region = world_europe_south_italy
							geographical_region = world_asia_minor
							geographical_region = world_middle_east
							geographical_region = world_africa_north
							geographical_region = world_africa_east
							geographical_region = world_india_rajastan
							geographical_region = world_steppe_west
						}
					}
				}
				desc = accolade_muslims
			}
			triggered_desc = {
				trigger = {
					faith.religion = {
						is_in_family = rf_abrahamic
					}
					NOR = {
						faith.religion = religion:buddhism_religion
						faith = {
							has_doctrine_parameter = eastern_syncretic_actor_opinion_active
						}
					}
					liege.capital_county.title_province ?= {
						OR = {
							geographical_region = world_tibet
							geographical_region = world_steppe_tarim
							geographical_region = world_burma
							geographical_region = world_india_rajastan
							geographical_region = world_india_bengal
							geographical_region = world_asia_china
							geographical_region = world_asia_japan
							geographical_region = world_asia_korea
							geographical_region = world_asia_southeast
						}
					}
				}
				desc = accolade_buddhists
			}
			triggered_desc = {
				trigger = {
					faith.religion = {
						is_in_family = rf_abrahamic
					}
					NOR = {
						faith.religion = religion:buddhism_religion
						faith = {
							has_doctrine_parameter = eastern_syncretic_actor_opinion_active
						}
					}
					liege.capital_county.title_province ?= {
						OR = {
							geographical_region = world_tibet
							geographical_region = world_steppe_tarim
							geographical_region = world_burma
							geographical_region = world_india_rajastan
							geographical_region = world_india_bengal
							geographical_region = world_asia_china
							geographical_region = world_asia_japan
							geographical_region = world_asia_korea
							geographical_region = world_asia_southeast
						}
					}
				}
				desc = accolade_buddhism
			}
			triggered_desc = {
				trigger = {
					faith.religion = {
						is_in_family = rf_abrahamic
					}
					NOR = {
						faith.religion = religion:hinduism_religion
						faith = {
							has_doctrine_parameter = eastern_syncretic_actor_opinion_active
						}
					}
					liege.capital_county.title_province ?= {
						geographical_region = world_india
					}
				}
				desc = accolade_hindus
			}
			desc = accolade_demons
			desc = accolade_non_believers
		}
	}

	potential = {
		liege ?= {
			is_playable_character = yes
		}
		faith = liege.faith
		faith = {
			NOR = {
				has_doctrine = doctrine_pluralism_pluralistic
				has_doctrine_parameter = pacifist_opinion_active
			}
		}
		NOT = {
			culture = {
				has_cultural_era_or_later = culture_era_late_medieval
			}
		}
		scope:accolade_type = {
			OR = {
				type_has_accolade_category = militant
				type_has_accolade_category = aggressive
				type_has_accolade_category = forceful
			}
		}
		NOT = {
			has_trait = cynical
		}
		liege ?= {
			NOR = {
				has_trait = cynical
				has_trait = compassionate
			}
		}
	}
}


# The Knight of Wrath
# Purity, Noble Virtue, Among Enemies, French Virtue, Dignity, Rightfulness
accolade_the_knight_of_aspect = {
	key = "accolade_the_knight_of_aspect"

	num_options = 1

	option = {
		random_valid = {
			triggered_desc = {
				trigger = {
					liege ?= {
						opinion = {
							target = root
							value <= -50
						}
					}
				}
				desc = accolade_among_enemies
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = champion
							type_has_accolade_category = aggressive
						}
					}
				}
				desc = accolade_without_fear
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = ethical
							type_has_accolade_category = courtly
						}
					}
				}
				desc = accolade_immaculate
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = ethical
					}
				}
				desc = accolade_of_purity
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = courtly
					}
				}
				desc = accolade_noble_refinement
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = leader
							type_has_accolade_category = courtly
						}
					}
				}
				desc = accolade_of_dignity
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = ethical
							type_has_accolade_category = defensive
						}
					}
				}
				desc = accolade_most_loyal
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = forceful
							type_has_accolade_category = aggressive
						}
					}
				}
				desc = accolade_of_wroth
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = amoral
							type_has_accolade_category = aggressive
						}
					}
				}
				desc = accolade_of_vengeance
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = amoral
							type_has_accolade_category = leader
						}
					}
				}
				desc = accolade_of_dominance
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = amoral
					}
				}
				desc = accolade_most_feared
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = equestrian
					}
				}
				desc = accolade_hard_spurring
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = equestrian
					}
				}
				desc = accolade_of_celerity
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = subtle
					}
				}
				desc = accolade_of_grace
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = forceful
					}
				}
				desc = accolade_of_might
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = champion
					}
				}
				desc = accolade_of_valor
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = courtly
					}
				}
				desc = accolade_of_wisdom
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = militant
					}
				}
				desc = accolade_ever_armored
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = defensive
							type_has_accolade_category = forceful
						}
					}
				}
				desc = accolade_indomitable
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = militant
					}
				}
				desc = accolade_of_conquests
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						NOT = { type_has_accolade_category = amoral }
					}
				}
				desc = accolade_of_true_culture_virtue
			}
			triggered_desc = {
				trigger = {
					liege ?= {
						faith.religion = religion:tengrism_religion
					}
				}
				desc = accolade_of_the_wind_horse
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = courtly
							type_has_accolade_category = leader
						}
					}
				}
				desc = accolade_of_the_north_star
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = aggressive
							type_has_accolade_category = champion
						}
					}
				}
				desc = accolade_of_perils
			}
		}
	}

	potential = {
		scope:accolade_type = {
			OR = {
				type_has_accolade_category = champion
				type_has_accolade_category = leader
				type_has_accolade_category = militant
				type_has_accolade_category = courtly
				type_has_accolade_category = forceful
				type_has_accolade_category = subtle
				type_has_accolade_category = aggressive
				type_has_accolade_category = defensive
				type_has_accolade_category = ethical
				type_has_accolade_category = equestrian
				type_has_accolade_category = amoral
			}
		}
	}
}

# Strongest of the Warband
accolade_goodest_of_knights = {
	key = "accolade_goodest_of_knights"

	num_options = 2

	option = {
		random_valid = {
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = aggressive
							type_has_accolade_category = champion
						}
					}
				}
				desc = accolade_boldest
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = champion
							type_has_accolade_category = militant
							type_has_accolade_category = forceful
						}
					}
					OR = {
						has_trait = physique_good
						has_trait = athletic
						has_trait = strong
						has_trait = giant
					}
				}
				desc = accolade_strongest
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = learning
							type_has_accolade_category = leader
						}
					}
				}
				desc = accolade_sagest
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = intrigue
							type_has_accolade_category = subtle
						}
					}
					liege ?= {
						culture = {
							NOT = {
								has_cultural_pillar = ethos_spiritual
							}
						}
					}
				}
				desc = accolade_cleverest
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = diplomacy
							type_has_accolade_category = courtly
						}
					}
					liege ?= {
						culture = {
							NOT = {
								has_cultural_pillar = ethos_bellicose
							}
						}
						culture = {
							has_cultural_era_or_later = culture_era_early_medieval
						}
					}
				}
				desc = accolade_courtliest
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = stewardship
							type_has_accolade_category = defensive
						}
					}
				}
				desc = accolade_steadiest
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = amoral
							type_has_accolade_category = aggressive
							type_has_accolade_category = forceful
						}
					}
					liege ?= {
						culture = {
							NOT = {
								has_cultural_pillar = ethos_courtly
							}
						}
					}
				}
				desc = accolade_fiercest
			}
			triggered_desc = {
				trigger = {
					has_trait = beauty_good
				}
				desc = accolade_fairest
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = ethical
					}
					liege ?= {
						culture = {
							NOT = {
								has_cultural_pillar = ethos_bellicose
							}
						}
					}
				}
				desc = accolade_gentlest
			}
			triggered_desc = {
				trigger = {
					NOR = {
						scope:accolade_type = {
							type_has_accolade_category = amoral
							type_has_accolade_category = subtle
						}
					}
				}
				desc = accolade_truest
			}
			triggered_desc = {
				trigger = {
					NOR = {
						scope:accolade_type = {
							type_has_accolade_category = amoral
							type_has_accolade_category = aggressive
						}
					}
				}
				desc = accolade_noblest
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = defensive
							type_has_accolade_category = ethical
						}
					}
				}
				desc = accolade_most_faithful
			}
			triggered_desc = {
				trigger = {
					liege ?= {
						opinion = {
							target = root
							value >= 80
						}
					}
				}
				desc = accolade_most_trusted
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = aggressive
							type_has_accolade_category = amoral
						}
					}
				}
				desc = accolade_most_feared
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = equestrian
					}
				}
				desc = accolade_swiftest
			}
			desc = accolade_worthiest
			desc = accolade_most_honored
		}
	}

	option = {
		random_valid = {
			triggered_desc = {
				trigger = {
					NOR = {
						culture = {
							has_cultural_era_or_later = culture_era_high_medieval
						}
						liege ?= {
							highest_held_title_tier >= tier_kingdom
						}
					}
				}
				desc = accolade_band
			}
			triggered_desc = {
				trigger = {
					liege ?= {
						government_has_flag = government_is_tribal
					}
					scope:accolade_type = {
						type_has_accolade_category = militant
					}
				}
				desc = accolade_warband
			}
			triggered_desc = {
				trigger = {
					num_sinful_traits = 0
				}
				desc = accolade_faith_adherents
			}
			triggered_desc = {
				trigger = {
					num_sinful_traits <= 1
				}
				desc = accolade_culture_plural
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = light_fighter
					}
				}
				desc = accolade_harriers
			}
			triggered_desc = {
				trigger = {
					NOT = {
						culture = {
							has_cultural_era_or_later = culture_era_high_medieval
						}
					}
					scope:accolade_type = {
						this = accolade_type:pike_attribute
					}
				}
				desc = accolade_spears
			}
			triggered_desc = {
				trigger = {
					NOT = {
						culture = {
							has_cultural_era_or_later = culture_era_late_medieval
						}
					}
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = cavalry
							type_has_accolade_category = equestrian
						}
					}
				}
				desc = accolade_riders
			}
			triggered_desc = {
				trigger = {
					NOT = {
						culture = {
							has_cultural_era_or_later = culture_era_late_medieval
						}
					}
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = cavalry
							type_has_accolade_category = equestrian
						}
					}
				}
				desc = accolade_noble_riders
			}
			triggered_desc = {
				trigger = {
					culture = {
						has_cultural_era_or_later = culture_era_high_medieval
					}
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = cavalry
							type_has_accolade_category = equestrian
						}
					}
				}
				desc = accolade_cavalry
			}
			triggered_desc = {
				trigger = {
					culture = {
						has_cultural_era_or_later = culture_era_high_medieval
					}
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = cavalry
							type_has_accolade_category = equestrian
						}
					}
				}
				desc = accolade_noble_cavalry
			}
			triggered_desc = {
				trigger = {
					culture = {
						NOT = { has_cultural_era_or_later = culture_era_early_medieval }
					}
					scope:accolade_type = {
						type_has_accolade_category = militant
					}
				}
				desc = accolade_warriors
			}
			triggered_desc = {
				trigger = {
					culture = {
						NOT = { has_cultural_era_or_later = culture_era_early_medieval }
					}
					scope:accolade_type = {
						type_has_accolade_category = militant
					}
				}
				desc = accolade_noble_warriors
			}
			triggered_desc = {
				trigger = {
					culture = {
						has_cultural_era_or_later = culture_era_high_medieval
					}
					scope:accolade_type = {
						type_has_accolade_category = infantry
					}
				}
				desc = accolade_infantry
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = cavalry
							type_has_accolade_category = equestrian
						}
						NOT = {
							this = accolade_type:elephantry_attribute
						}
					}
				}
				desc = accolade_lances
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						this = accolade_type:crossbowmen_attribute
					}
				}
				desc = accolade_crossbows
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						this = accolade_type:crossbowmen_attribute
					}
				}
				desc = accolade_crossbowmen
			}
			triggered_desc = {
				trigger = {
					culture = {
						has_cultural_era_or_later = culture_era_high_medieval
					}
					scope:accolade_type = {
						this = accolade_type:camelry_attribute
					}
				}
				desc = accolade_cameliers
			}
			triggered_desc = {
				trigger = {
					NOT = {
						culture = {
							has_cultural_era_or_later = culture_era_early_medieval
						}
					}
				}
				desc = accolade_war_party
			}

			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = militant
					}
				}
				desc = accolade_battle_line
			}

			triggered_desc = {
				trigger = {
					exists = liege
					liege.culture = {
						NOT = {
							has_cultural_era_or_later = culture_era_early_medieval
						}
					}
				}
				desc = accolade_chosen
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = defensive
							type_has_accolade_category = militant
							type_has_accolade_category = ethical
							type_has_accolade_category = forceful
							type_has_accolade_category = leader
						}
					}
				}
				desc = accolade_guard
			}

			triggered_desc = {
				trigger = {
					culture = {
						has_cultural_era_or_later = culture_era_early_medieval
					}
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = ethical
							type_has_accolade_category = courtly
							type_has_accolade_category = champion
						}
					}
				}
				desc = accolade_gallants
			}
			triggered_desc = {
				trigger = {
					exists = liege
					liege ?= {
						government_has_flag = government_is_feudal
					}
				}
				desc = accolade_banners
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						NOT = {
							type_has_accolade_category = subtle
						}
					}
				}
				desc = accolade_household_knights
			}
			triggered_desc = {
				trigger = {
					NOR = {
						culture = {
							has_cultural_era_or_later = culture_era_high_medieval
						}
						is_female = yes
					}
				}
				desc = accolade_bondsmen
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						NOT = {
							type_has_accolade_category = militant
						}
					}
				}
				desc = accolade_household
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						NOT = {
							type_has_accolade_category = militant
						}
					}
				}
				desc = accolade_court
			}
			triggered_desc = {
				trigger = {
					culture = {
						has_cultural_parameter = has_access_to_shieldmaidens
					}
					is_female = yes
				}
				desc = accolade_shieldmaidens
			}
			desc = accolade_knights
			desc = accolade_retinue
		}
	}

	potential = {
		always = yes
	}
}

# The Iron Knight
accolade_the_material_knight = {
	key = "accolade_the_material_knight"

	num_options = 2

	option = {
		random_valid = {
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = forceful
							type_has_accolade_category = defensive
							type_has_accolade_category = champion
						}
					}
				}
				desc = accolade_stone
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = courtly
							type_has_accolade_category = defensive
						}
					}
				}
				desc = accolade_bronze
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = aggressive
							type_has_accolade_category = amoral
							type_has_accolade_category = militant
						}
					}
				}
				desc = accolade_red
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						NOT = {
							type_has_accolade_category = subtle
						}
					}
				}
				desc = accolade_golden
			}
			triggered_desc = {
				trigger = {
					culture = {
						has_cultural_era_or_later = culture_era_early_medieval
					}
				}
				desc = accolade_steel
			}
			triggered_desc = {
				trigger = {
					liege.capital_county.title_province ?= {
						OR = {
							geographical_region = world_tibet
							geographical_region = world_steppe_east
							geographical_region = world_steppe_tarim
							geographical_region = world_india
							geographical_region = world_asia_china
							geographical_region = world_asia_japan
							geographical_region = world_asia_korea
							geographical_region = world_asia_southeast
						}
					}
				}
				desc = accolade_jade
			}
			desc = accolade_iron
			desc = accolade_silver
		}
	}

	option = {
		random_valid = {
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = ethical
					}
					exists = liege
					liege.culture = {
						has_cultural_era_or_later = culture_era_early_medieval
					}
				}
				desc = accolade_paragon
			}
			triggered_desc = {
				trigger = {
					NOT = {
						culture = {
							has_cultural_era_or_later = culture_era_early_medieval
						}
					}
				}
				desc = accolade_warrior
			}
			triggered_desc = {
				trigger = {
					culture = {
						has_cultural_era_or_later = culture_era_high_medieval
					}
				}
				desc = accolade_commission
			}
			triggered_desc = {
				trigger = {
					OR = {
						faith.religion = religion:eastern_orthodox_religion
						faith.religion = religion:catholic_religion
						faith.religion = religion:protestant_religion
					}
					OR = {
						has_trait = pilgrim
						has_trait = holy_warrior
						has_trait = faith_warrior
						has_trait = zealous
					}
				}
				desc = accolade_pilgrim
			}
			triggered_desc = {
				trigger = {
					has_trait = giant
				}
				desc = accolade_giant
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = forceful
							type_has_accolade_category = champion
							type_has_accolade_category = aggressive
						}
					}
				}
				desc = accolade_challenger
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = defensive
							type_has_accolade_category = ethical
						}
					}
				}
				desc = accolade_guardian
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = defensive
							type_has_accolade_category = ethical
						}
					}
				}
				desc = accolade_sentinel
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						type_has_accolade_category = forceful
					}
				}
				desc = accolade_hammer
			}
			triggered_desc = {
				trigger = {
					scope:accolade_type = {
						OR = {
							type_has_accolade_category = equestrian
							type_has_accolade_category = cavalry
						}
					}
				}
				desc = accolade_rider
			}
			triggered_desc = {
				trigger = {
					faith.religion = religion:buddhism_religion
					exists = liege
					liege.faith.religion = religion:buddhism_religion
				}
				desc = accolade_buddha
			}
			triggered_desc = {
				trigger = {
					is_female = yes
					exists = liege
					NOT = {
						liege.culture = {
							has_cultural_era_or_later = culture_era_late_medieval
						}
					}
				}
				desc = accolade_sword_maiden
			}
			triggered_desc = {
				trigger = {
					is_female = yes
				}
				desc = accolade_maiden
			}
			triggered_desc = {
				trigger = {
					culture = {
						has_cultural_parameter = has_access_to_shieldmaidens
					}
					is_female = yes
				}
				desc = accolade_shieldmaiden
			}
			desc = accolade_arm
			desc = accolade_knight
			desc = accolade_hand
		}
	}

	potential = {
		prowess >= 12
	}
}
