# Character triggers for traits and modifiers.

### Characters:

# Character is a cannibal.
blg_cannibal = {
	trait = cannibal_trait
}

# Prisoner that is kept gagged.
blg_dangerous_prisoner = {
	OR = {
		trait = thuum_1
		trait = thuum_2
		trait = thuum_3
		has_character_modifier = accused_apostate
		has_character_modifier = highly_suspect
		has_character_modifier = known_witch
		has_character_modifier = suspected_witch
	}
}

# Devout personality.
blg_devout = {
	OR = {
		is_priest_education = yes
		trait = zealous
		trait = heresiarch
		has_focus = focus_theology
		is_ascetic_trigger = yes
		has_minor_title = title_chief_qadi
		has_character_flag = guru
	}
}

# Character covered in dirt.
blg_dirty = {
	trait = uncouth
}

# Attractive character.
blg_fair = {
	OR = {
		trait = fair
		trait = vain
	}
}

# Characters prefers more than common clothing.
blg_fashionable = {
	OR = {
		trait = proud
		trait = vain
	}
}

# Character of a guard order.
blg_guard = {
	OR = {
		is_knight = yes
		is_crusader = yes
		trait = shieldmaiden
		trait = gladiator
		has_minor_title = title_legate
		has_minor_title = title_quaestor
		has_minor_title = title_housecarl
		has_minor_title = title_lawman
		has_minor_title = title_master_bladesman
		has_minor_title = title_sword_sibling
		has_minor_title = title_clanslayer
		has_minor_title = title_ansei
		has_minor_title = title_hearth_guardian
		has_minor_title = title_champion
	}
}

# Very learned character.
blg_learned = {
	OR = {
		is_sorcerer = yes
		trait = scholar
		trait = administrator
		trait = strategist
		trait = theologian
		trait = physician
		trait = alchemist
	}
}

# Character dressing modestly.
blg_modest = {
	OR = {
		is_married = yes
		any_spouse_even_if_dead = { is_alive = no }
		age >= 40
		trait = chaste
		trait = celibate
		blg_devout = yes
	}
	blg_seducer = no
}

# Character covered in mud.
blg_mudsplatter = {
	OR = {
		has_character_modifier = mud_splatter
		has_character_modifier = fell_into_the_river
	}
}

# Character has a naval theme.
blg_naval = {
	OR = {
		trait = seaking
		trait = sea_queen
		has_minor_title = title_high_admiral
		has_minor_title = title_portmaster_senchal
		has_minor_title = title_master_shipwright_jyl
	}
}

# Peasant leader.
blg_peasant = {
	OR = {
		is_monk_education = yes
		trait = peasant_leader
		trait = heresiarch
		trait = bandit_leader
		trait = rebel_slave
	}
}

# Portrait override for monks.
blg_portrait_monk = {
	portrait_has_trait = monk
}

# Portrait override for nuns.
blg_portrait_nun = {
	portrait_has_trait = nun
}

# Declared a saint.
blg_saint = {
	is_alive = no
	OR = {
		trait = saint
		has_nickname = nick_the_saint
	}
}

# Lustful personality.
blg_seducer = {
	OR = {
		trait = lustful
		trait = seducer
		trait = seductress
	}
}

# Enslaved.
blg_slave = {
	OR = {
		trait = slave
		trait = rebel_slave
		death_reason = death_slavery
		death_reason = death_sold_in_slavery
	}
	NOR = {
		is_councillor = yes
		is_voter = yes
		has_minor_title = title_regent
	}
}

# Socializer personality.
blg_socializer = {
	OR = {
		is_bard = yes
		trait = gregarious
		trait = socializer
		trait = gamer
	}
}

# Urban town oriented.
blg_townsfolk = {
	OR = {
		employer = { is_republic = yes }
		is_rogue = yes
		is_wayfarer = yes
		is_trader = yes
	}
}

# Ugly face.
blg_ugly = {
	trait = ugly
}

### Events:

# A desert theme event.
blg_desert_journey = {
	always = no
}

# Participating at an execution.
blg_executioner = {
	has_minor_title = title_state_inquisitor
}

# Participating in a feast.
blg_feast = {
	OR = {
		has_character_flag = party_host
		has_character_flag = party_guest
		has_character_flag = host_feast_started
		has_character_flag = guest_feast_started
		has_character_flag = flag_holding_great_tribal_festival
		has_any_opinion_modifier = opinion_great_tribal_festival_guest
	}
}

# Character likely to be outdoors in the wilds.
blg_outdoors = {
	OR = {
		is_scout = yes
		trait = hunter
		trait = falconer
		trait = adventurer
		has_minor_title = title_guide
		has_character_modifier = holding_grand_hunt
		has_character_modifier = enjoying_the_countryside
		has_nickname = nick_of_the_wilds
	}
}

# On a pilgrimage.
blg_pilgrimage = {
	trait = on_pilgrimage
}

# In a tournament.
blg_tournament = {
	has_character_flag = attending_tournament
}

# Out on a longer journey.
blg_travelling = {
	OR = {
		trait = on_adventure
		trait = on_assassination
		trait = on_tour
		trait = on_mission
		trait = on_pilgrimage
		trait = travelling
		has_character_modifier = holding_grand_hunt
	}
}

# Arrived at the journey destination.
blg_travelling_arrived = {
	always = no
}
