###################################
#
# Events for Rumours
#
# Id 69000 - 69999 is reserved
#
#
###################################
#
# Designed by Johan Andersson
# Written by Sara Wendel-Örtqvist

###  Homosexual ###

# Suspected Sodomite: Any Courtier
character_event = {
	id = 69000
	desc = EVTDESC69000
	picture = GFX_evt_whispers

	is_triggered_only = yes # on_yearly_pulse, random_events

	min_age = 16
	only_capable = yes
	prisoner = no

	trigger = {
		intrigue >= 10
		is_ruler = no
		NOT = { has_character_flag = rumour_spreader }

		any_courtier = {
			is_female = no
			is_adult = yes

			OR = {
				martial < 2
				trait = craven
				trait = poet
				trait = gardener
			}

			reverse_opinion = {
				who = ROOT
				value < 50
			}

			prisoner = no
			has_children = no

			NOR = {
				has_character_flag = suspected_sodomite
				trait = homosexual
			}
		}
	}

	weight_multiplier = {
		factor = 1

		mult_modifier = {
			factor = 2
			trait = deceitful
		}

		mult_modifier = {
			factor = 2
			intrigue >= 15
		}

		mult_modifier = {
			factor = 2
			intrigue >= 20
		}
	}

	immediate = {
		set_character_flag = rumour_spreader

		random_courtier = {
			show_scope_change = no

			limit = {
				is_female = no
				is_adult = yes

				OR = {
					martial < 2
					trait = craven
					trait = poet
					trait = gardener
				}

				reverse_opinion = {
					who = ROOT
					value < 50
				}

				prisoner = no
				has_children = no

				NOR = {
					trait = homosexual
					has_character_flag = suspected_sodomite
				}
			}

			save_event_target_as = sodomite_target
		}
	}

	option = {
		name = EVTOPTA69000

		event_target:sodomite_target = {
			show_scope_change = no

			character_event = {
				id = 69001
				days = 3
				tooltip = EVTTOOLTIP69001
			}
		}

		ai_chance = { factor = 10 }
	}

	option = {
		name = EVTOPTB69000

		event_target:sodomite_target = {
			show_scope_change = no

			set_character_flag = suspected_sodomite

			character_event = {
				id = 69080
				days = 3
				tooltip = EVTTOOLTIP69080
			}
		}

		ai_chance = { factor = 50 }
	}

	option = {
		name = EVTOPTC69000

		event_target:sodomite_target = {
			show_scope_change = no

			character_event = {
				id = 69002
				days = 3
				tooltip = EVTTOOLTIP69002
			}
		}

		ai_chance = { factor = 40 }
	}
}

# Suspected Sodomite: Target is confronted
character_event = {
	id = 69001
	desc = EVTDESC69001
	picture = GFX_evt_whispers

	is_triggered_only = yes

	option = {
		name = EVTOPTA69001 # Deny

		set_character_flag = suspected_sodomite

		reverse_opinion = {
			name = denied_sodomite_rumour
			who = FROM
			years = 3
		}
	}

	option = {
		name = EVTOPTB69001 # Embrace

		trigger = { trait = homosexual }

		out_homosexual_effect = yes
	}
}

# Suspected Sodomite: Target is blackmailed
character_event = {
	id = 69002
	desc = EVTDESC69002
	picture = GFX_evt_whispers

	is_triggered_only = yes

	option = {
		name = EVTOPTA69002

		transfer_scaled_wealth = {
			to = FROM
			value = 1
			min = 50
			max = 50
		}

		opinion = {
			name = opinion_angry
			who = FROM
			years = 5
		}

		ai_chance = {
			factor = 50

			mult_modifier = {
				factor = 2
				wealth >= 50
			}
		}
	}

	option = {
		name = EVTOPTB69002

		set_character_flag = suspected_sodomite

		opinion = {
			name = opinion_angry
			who = FROM
			years = 5
		}

		any_courtier = {
			limit = {
				prisoner = no

				NOR = {
					trait = homosexual
					character = ROOT
				}
			}

			opinion = {
				name = suspected_sodomite_rumour
				who = ROOT
				years = 3
			}
		}

		ai_chance = {
			factor = 50

			mult_modifier = {
				factor = 2
				wealth < 50
			}
		}
	}
}

# Suspected Sodomite: Ruler
character_event = {
	id = 69003
	desc = EVTDESC69003
	picture = GFX_evt_whispers

	is_triggered_only = yes # on_yearly_pulse, random_events

	only_rulers = yes
	min_age = 16
	only_capable = yes
	prisoner = no

	trigger = {
		intrigue >= 10
		NOT = { has_character_flag = rumour_spreader }

		any_courtier = {
			is_female = no
			is_adult = yes

			OR = {
				martial < 2
				trait = craven
				trait = poet
				trait = gardener
			}

			reverse_opinion = {
				who = ROOT
				value < 0
			}

			has_children = no
			prisoner = no

			NOR = {
				has_character_flag = suspected_sodomite
				trait = homosexual
			}
		}
	}

	weight_multiplier = {
		factor = 1

		mult_modifier = {
			factor = 2
			trait = deceitful
		}

		mult_modifier = {
			factor = 2
			intrigue >= 15
		}

		mult_modifier = {
			factor = 2
			intrigue >= 20
		}
	}

	immediate = {
		set_character_flag = rumour_spreader

		random_courtier = {
			show_scope_change = no

			limit = {
				is_female = no
				is_adult = yes

				OR = {
					martial < 2
					trait = craven
					trait = poet
					trait = gardener
				}

				reverse_opinion = {
					who = ROOT
					value < 0
				}

				has_children = no
				prisoner = no

				NOR = {
					trait = homosexual
					has_character_flag = suspected_sodomite
				}
			}

			save_event_target_as = sodomite_target
		}
	}

	option = {
		name = EVTOPTA69003

		event_target:sodomite_target = {
			show_scope_change = no

			character_event = {
				id = 69004
				days = 3
				tooltip = EVTTOOLTIP69004
			}
		}

		ai_chance = { factor = 10 }
	}

	option = {
		name = EVTOPTB69003

		event_target:sodomite_target = {
			show_scope_change = no

			set_character_flag = suspected_sodomite

			character_event = {
				id = 69080
				days = 3
				tooltip = EVTTOOLTIP69080
			}
		}

		ai_chance = { factor = 50 }
	}

	option = {
		name = EVTOPTB929

		ai_chance = { factor = 30 }
	}
}

# Suspected Sodomite: Ruler confront Target
character_event = {
	id = 69004
	desc = EVTDESC69004
	picture = GFX_evt_whispers

	is_triggered_only = yes

	option = {
		name = EVTOPTA69004 # Deny

		set_character_flag = suspected_sodomite

		reverse_opinion = {
			name = denied_sodomite_rumour
			who = FROM
			years = 3
		}
	}

	option = {
		name = EVTOPTB69004 # Embrace

		trigger = { trait = homosexual }

		out_homosexual_effect = yes
	}
}

# People think I am homosexual! Brothel
character_event = {
	id = 69005
	desc = EVTDESC69005
	picture = GFX_evt_brothel

	is_triggered_only = yes # on_yearly_pulse, random_events, rumour_events

	has_character_flag = suspected_sodomite
	only_rulers = yes
	only_men = yes
	min_age = 16
	only_capable = yes
	prisoner = no

	trigger = {
		OR = {
			martial < 2
			trait = craven
			trait = poet
			trait = gardener
		}

		has_children = no
		is_inaccessible_trigger = no

		NOR = {
			trait = homosexual
			has_character_modifier = whoremaster
		}
	}

	option = {
		name = EVTOPTA69005 # Go to brothels

		piety = -10

		add_character_modifier = {
			name = whoremaster
			years = 1
		}
	}

	option = {
		name = EVTOPTB69005 # Talk about it

		prestige = -10
	}
}

# People think I am homosexual! A Churchman denounces you
# CleanSlate: Event id 69008 merged with event id 69006
character_event = {
	id = 69006
	desc = EVTDESC69006
	picture = GFX_evt_whispers

	is_triggered_only = yes # on_yearly_pulse, random_events, rumour_events

	only_rulers = yes
	has_character_flag = suspected_sodomite
	only_men = yes
	min_age = 16
	only_capable = yes
	prisoner = no

	trigger = {
		OR = {
			religion_group = christian
			religion_group = muslim
		}

		OR = {
			martial < 2
			trait = craven
			trait = poet
			trait = gardener
		}

		has_children = no
		is_inaccessible_trigger = no
	}

	option = {
		name = EVTOPTA69006

		piety = -10
	}

	option = {
		name = EVTOPTB69006

		prestige = -10
	}
}

# People think I am homosexual! Self-doubts
character_event = {
	id = 69007
	desc = EVTDESC69007
	picture = GFX_evt_whispers

	is_triggered_only = yes # on_yearly_pulse, random_events, rumour_events

	only_rulers = yes
	has_character_flag = suspected_sodomite
	only_men = yes
	min_age = 16
	only_capable = yes
	prisoner = no

	trigger = {
		OR = {
			martial < 2
			trait = craven
			trait = poet
			trait = gardener
		}

		has_children = no
		NOT = { trait = homosexual }
	}

	option = {
		name = EVTOPTA69007

		add_trait_silently_stressed_effect = yes
	}
}

# People think I am homosexual! An Imam denounces you
# CleanSlate: Event id 69008 merged with event id 69006

### Incest ###

# Suspected of Incest: Any courtier
character_event = {
	id = 69010
	desc = EVTDESC69010
	picture = GFX_evt_whispers

	is_triggered_only = yes # on_yearly_pulse, random_events

	min_age = 16
	only_capable = yes
	prisoner = no

	trigger = {
		intrigue >= 10
		is_ruler = no
		religion_has_incest = no

		NOR = {
			religion_group = muslim
			has_character_flag = rumour_spreader
		}

		any_courtier = {
			is_female = no
			is_adult = yes
			practical_age < 40
			at_location = ROOT
			prisoner = no

			reverse_opinion = {
				who = ROOT
				value < 50
			}

			NOR = {
				has_character_flag = suspected_of_incest
				trait = chaste
				trait = celibate
			}

			any_sibling = {
				is_female = yes
				is_adult = yes
				practical_age < 40
				at_location = ROOT
				prisoner = no

				NOR = {
					trait = chaste
					trait = celibate
				}

				reverse_opinion = {
					who = PREV
					value >= 75
				}

				opinion = {
					who = PREV
					value >= 75
				}
			}
		}
	}

	weight_multiplier = {
		factor = 1
	}

	immediate = {
		set_character_flag = rumour_spreader

		random_courtier = {
			show_scope_change = no

			limit = {
				is_female = no
				is_adult = yes
				at_location = ROOT
				practical_age < 40
				prisoner = no

				NOR = {
					trait = chaste
					trait = celibate
				}

				reverse_opinion = {
					who = ROOT
					value < 50
				}

				any_sibling = {
					is_female = yes
					is_adult = yes
					practical_age < 40
					at_location = ROOT
					prisoner = no

					NOR = {
						trait = chaste
						trait = celibate
					}

					reverse_opinion = {
						who = PREV
						value >= 75
					}

					opinion = {
						who = PREV
						value >= 75
					}
				}
			}

			save_event_target_as = incest_target
		}
	}

	option = {
		name = EVTOPTA69010

		event_target:incest_target = {
			show_scope_change = no

			character_event = {
				id = 69011
				days = 3
				tooltip = EVTTOOLTIP69011
			}
		}
	}

	option = {
		name = EVTOPTB69010

		event_target:incest_target = {
			show_scope_change = no

			set_character_flag = suspected_of_incest

			character_event = {
				id = 69081
				days = 3
				tooltip = EVTTOOLTIP69081
			}
		}
	}

	option = {
		name = EVTOPTC69010

		event_target:incest_target = {
			show_scope_change = no

			character_event = {
				id = 69012
				days = 3
				tooltip = EVTTOOLTIP69012
			}
		}
	}
}

# Suspected of Incest: Target is confronted
character_event = {
	id = 69011
	desc = EVTDESC69011
	picture = GFX_evt_whispers

	is_triggered_only = yes

	option = {
		name = EVTOPTA69011

		set_character_flag = suspected_of_incest

		reverse_opinion = {
			name = denied_incest_rumour
			who = FROM
			years = 3
		}
	}

	option = {
		name = EVTOPTB69011

		random_courtier = {
			show_scope_change = no

			limit = {
				is_female = yes
				is_adult = yes
				practical_age < 50
				prisoner = no

				NOT = {
					trait = chaste
					trait = celibate
					trait = eunuch
				}
			}

			character_event = {
				id = 69013
				days = 3
				tooltip = EVTTOOLTIP69013
			}
		}
	}
}

# Suspected of Incest: Target is blackmailed
character_event = {
	id = 69012
	desc = EVTDESC69012
	picture = GFX_evt_whispers

	is_triggered_only = yes

	option = {
		name = EVTOPTA69012

		transfer_scaled_wealth = {
			to = FROM
			value = 1
			min = 50
			max = 50
		}

		opinion = {
			name = opinion_angry
			who = FROM
			years = 3
		}

		ai_chance = {
			factor = 50

			mult_modifier = {
				factor = 2
				wealth >= 50
			}
		}
	}

	option = {
		name = EVTOPTB69012

		set_character_flag = suspected_of_incest

		opinion = {
			name = opinion_angry
			who = FROM
			years = 3
		}

		any_courtier = {
			show_scope_change = no

			limit = {
				NAND = {
					sibling = ROOT
					is_female = yes
				}

				prisoner = no
				NOT = { character = ROOT }
			}

			opinion = {
				name = suspected_of_incest_rumour
				who = ROOT
				years = 3
			}
		}
	}
}

# Suspected of Incest: Affair with female courtier
character_event = {
	id = 69013
	desc = EVTDESC69013
	picture = GFX_evt_lovers

	is_triggered_only = yes

	option = {
		name = EVTOPTA69013

		FROM = {
			show_scope_change = no

			character_event = {
				id = 453
				days = 3
				tooltip = EVTTOOLTIP453
			}
		}

		ai_chance = {
			factor = 50

			mult_modifier = {
				factor = 2

				opinion = {
					who = FROM
					value >= 25
				}
			}
		}
	}

	option = {
		name = EVTOPTB69013

		FROM = {
			show_scope_change = no

			character_event = {
				id = 454
				days = 3
				tooltip = EVTTOOLTIP454
			}
		}

		ai_chance = {
			factor = 50

			mult_modifier = {
				factor = 0.01

				opinion = {
					who = FROM
					value < 25
				}
			}
		}
	}
}

# Suspected of Incest: Start
character_event = {
	id = 69014
	desc = EVTDESC69010
	picture = GFX_evt_whispers

	is_triggered_only = yes # on_yearly_pulse, random_events

	only_rulers = yes
	min_age = 16
	only_capable = yes
	prisoner = no

	trigger = {
		intrigue >= 10
		religion_has_incest = no
		NOT = { has_character_flag = rumour_spreader }


		any_courtier = {
			is_female = no
			is_adult = yes
			practical_age < 40
			at_location = ROOT
			prisoner = no

			reverse_opinion = {
				who = ROOT
				value <= 50
			}

			NOR = {
				has_character_flag = suspected_of_incest
				trait = chaste
				trait = celibate
			}

			any_sibling = {
				is_female = yes
				is_adult = yes
				practical_age < 40
				at_location = ROOT
				prisoner = no

				NOR = {
					trait = chaste
					trait = celibate
				}

				reverse_opinion = {
					who = ROOT
					value >= 75
				}

				opinion = {
					who = ROOT
					value >= 75
				}
			}
		}
	}

	weight_multiplier = {
		factor = 1
	}

	immediate = {
		set_character_flag = rumour_spreader

		random_courtier = {
			limit = {
				is_female = no
				is_adult = yes
				practical_age < 40
				at_location = ROOT
				prisoner = no

				reverse_opinion = {
					who = ROOT
					value <= 50
				}

				NOR = {
					has_character_flag = suspected_of_incest
					trait = chaste
					trait = celibate
				}

				any_sibling = {
					is_female = yes
					is_adult = yes
					practical_age < 40
					at_location = ROOT
					prisoner = no
					NOT = { trait = chaste }

					reverse_opinion = {
						who = ROOT
						value >= 75
					}

					opinion = {
						who = ROOT
						value >= 75
					}
				}
			}

			save_event_target_as = incest_target

			random_sibling = {
				limit = {
					is_female = yes
					is_adult = yes
					practical_age < 40
					at_location = ROOT
					prisoner = no
					NOT = { trait = chaste }

					reverse_opinion = {
						who = ROOT
						value >= 75
					}

					opinion = {
						who = ROOT
						value >= 75
					}
				}

				set_character_flag = sister_suspected_of_incest
			}
		}
	}

	option = {
		name = EVTOPTA69010

		event_target:incest_target = {
			show_scope_change = no

			character_event = {
				id = 69011
				days = 3
				tooltip = EVTTOOLTIP69011
			}
		}

		ai_chance = { factor = 10 }
	}

	option = {
		name = EVTOPTB69010

		event_target:incest_target = {
			show_scope_change = no

			set_character_flag = suspected_of_incest

			character_event = {
				id = 69081
				days = 3
				tooltip = EVTTOOLTIP69081
			}
		}

		ai_chance = { factor = 90 }
	}
}

# Suspect of Incest: Confessor takes you aside
character_event = {
	id = 69015
	desc = EVTDESC69015
	picture = GFX_evt_whispers

	is_triggered_only = yes # on_yearly_pulse, random_events, rumour_events

	religion_group = christian
	has_character_flag = suspected_of_incest
	only_men = yes
	min_age = 16
	max_age = 40
	only_capable = yes
	prisoner = no

	trigger = {
		NOT = { has_character_modifier = suspected_of_incest_timer }
	}

	option = {
		name = EVTOPTA69015

		clr_character_flag = suspected_of_incest
		piety = 10

		if = {
			limit = { religion_group = muslim }
			piety = 5
		}
		else = {
			add_trait_fully_silently_chaste_effect = yes
		}
	}

	option = {
		name = EVTOPTB69015

		piety = -10

		add_character_modifier = {
			name = suspected_of_incest_timer
			months = 3
			hidden = yes
		}
	}
}

# Suspect of Incest: Child notices you and sister alone in a tower
character_event = {
	id = 69016
	desc = EVTDESC69016
	picture = GFX_evt_whispers

	is_triggered_only = yes # on_yearly_pulse, random_events, rumour_events

	has_character_flag = suspected_of_incest
	only_men = yes
	min_age = 16
	max_age = 40
	only_capable = yes
	prisoner = no

	trigger = {
		any_sibling = {
			has_character_flag = sister_suspected_of_incest
		}

		any_realm_character = {
			practical_age < 15
			practical_age >= 6
			prisoner = no

			NOR = {
				is_child_of = ROOT
				is_nibling_of = ROOT
			}

			can_be_maimed_trigger = yes
			is_incapable = no
			NOT = { trait = blinded }
		}
	}

	option = {
		name = EVTOPTA69016 # The things I do for love

		clr_character_flag = suspected_of_incest

		random_realm_character = {
			limit = {
				practical_age < 15
				practical_age >= 6
				prisoner = no

				NOR = {
					is_child_of = ROOT
					is_nibling_of = ROOT
				}

				can_be_maimed_trigger = yes
				is_incapable = no
				NOT = { trait = blinded }
			}

			add_maimed_trait_effect = yes
		}
	}

	option = {
		name = EVTOPTB69016 # Ignore the child

		clr_character_flag = suspected_of_incest

		if = {
			limit = { religion_group = christian }

			random = {
				chance = 25

				character_event = {
					id = 69017
					days = 7
					tooltip = EVTTOOLTIP69017
				}
			}
		}
		else = {
			piety = -10
		}
	}
}

# Suspect of Incest: Child talks
character_event = {
	id = 69017
	desc = EVTDESC69017
	picture = GFX_evt_whispers

	is_triggered_only = yes

	option = {
		name = EVTOPTA69017

		character_event = {
			id = 38022 # Excommunication
			days = 5
			tooltip = EVTTOOLTIP38022
		}

		random_sibling = {
			limit = { has_character_flag = sister_suspected_of_incest }

			clr_character_flag = sister_suspected_of_incest

			character_event = {
				id = 38022 # Excommunication
				days = 5
				tooltip = EVTTOOLTIP38022
			}
		}
	}
}

### IMPOTENCE ###

# Impotence: Any Courtier
character_event = {
	id = 69020
	desc = EVTDESC69020
	picture = GFX_evt_whispers

	is_triggered_only = yes # on_yearly_pulse, random_events

	min_age = 16
	only_capable = yes
	prisoner = no

	trigger = {
		intrigue = 10
		is_ruler = no
		NOT = { has_character_flag = rumour_spreader }

		any_courtier = {
			is_female = no
			practical_age >= 30
			is_married = yes
			prisoner = no
			has_children = no
			NOT = { has_character_flag = impotent_man }

			reverse_opinion = {
				who = ROOT
				value < 50
			}

			spouse = {
				is_abroad = no
				prisoner = no
				is_pregnant = no
				practical_age < 45
			}
		}
	}

	weight_multiplier = {
		factor = 1

		mult_modifier = {
			factor = 2
			trait = deceitful
		}

		mult_modifier = {
			factor = 2
			intrigue >= 15
		}

		mult_modifier = {
			factor = 2
			intrigue >= 20
		}
	}

	immediate = {
		set_character_flag = rumour_spreader

		random_courtier = {
			limit = {
				is_female = no
				practical_age >= 30
				is_married = yes
				prisoner = no
				has_children = no
				NOT = { has_character_flag = impotent_man }

				reverse_opinion = {
					who = ROOT
					value < 50
				}

				spouse = {
					is_abroad = no
					prisoner = no
					is_pregnant = no
					practical_age < 45
				}
			}
		}

		save_event_target_as = impotent_man
	}

	option = {
		name = EVTOPTA69020

		event_target:impotent_man = {
			show_scope_change = no

			character_event = {
				id = 69021
				days = 3
				tooltip = EVTTOOLTIP69021
			}
		}

		ai_chance = { factor = 10 }
	}

	option = {
		name = EVTOPTB69020

		event_target:impotent_man = {
			show_scope_change = no

			set_character_flag = impotent_man

			character_event = {
				id = 69082
				days = 3
				tooltip = EVTTOOLTIP69082
			}
		}

		ai_chance = { factor = 50 }
	}

	option = {
		name = EVTOPTC69020

		event_target:impotent_man = {
			show_scope_change = no

			character_event = {
				id = 69022
				days = 3
				tooltip = EVTTOOLTIP69022
			}
		}

		ai_chance = { factor = 40 }
	}
}

# Impotence: Target is confronted
character_event = {
	id = 69021
	desc = EVTDESC69021
	picture = GFX_evt_whispers

	is_triggered_only = yes

	option = {
		name = EVTOPTA69021 # Deny

		set_character_flag = impotent_man
		add_trait_silently_stressed_effect = yes

		reverse_opinion = {
			name = denied_impotence_rumour
			who = FROM
			years = 3
		}
	}

	option = {
		name = EVTOPTB69021 # Admit

		prestige = -20

		random = {
			chance = 20

			if = {
				limit = { religion_group = muslim }
				piety = 5
			}
			else = {
				add_trait_fully_silently_chaste_effect = yes
			}
		}
	}
}

# Impotence: Target is blackmailed
character_event = {
	id = 69022
	desc = EVTDESC69022
	picture = GFX_evt_whispers

	is_triggered_only = yes

	option = {
		name = EVTOPTA69022

		transfer_scaled_wealth = {
			to = FROM
			value = 1
			min = 50
			max = 50
		}

		opinion = {
			name = opinion_angry
			who = FROM
			years = 3
		}

		ai_chance = {
			factor = 50

			mult_modifier = {
				factor = 2
				wealth >= 50
			}
		}
	}

	option = {
		name = EVTOPTB69022

		opinion = {
			name = opinion_angry
			who = FROM
			years = 3
		}

		any_courtier = {
			show_scope_change = no

			limit = {
				prisoner = no
				NOT = { character = ROOT }
			}

			opinion = {
				name = not_a_real_man
				who = ROOT
				years = 3
			}
		}

		ai_chance = {
			factor = 50

			mult_modifier = {
				factor = 2
				wealth < 50
			}
		}
	}
}

# Impotence: Ruler
character_event = {
	id = 69023
	desc = EVTDESC69020
	picture = GFX_evt_whispers

	is_triggered_only = yes # on_yearly_pulse, random_events

	only_rulers = yes
	min_age = 16
	only_capable = yes
	prisoner = no

	trigger = {
		intrigue >= 10
		NOT = { has_character_flag = rumour_spreader }

		any_courtier = {
			is_female = no
			practical_age >= 30
			is_married = yes
			has_children = no
			prisoner = no
			NOT = { has_character_flag = impotent_man }

			reverse_opinion = {
				who = ROOT
				value < 50
			}

			spouse = {
				practical_age < 45
				is_pregnant = no
				is_abroad = no
				prisoner = no
			}
		}
	}

	weight_multiplier = {
		factor = 1

		mult_modifier = {
			factor = 2
			trait = deceitful
		}

		mult_modifier = {
			factor = 2
			intrigue >= 15
		}

		mult_modifier = {
			factor = 2
			intrigue >= 20
		}
	}

	immediate = {
		set_character_flag = rumour_spreader

		random_courtier = {
			limit = {
				is_female = no
				practical_age >= 30
				is_married = yes
				has_children = no
				prisoner = no
				NOT = { has_character_flag = impotent_man }

				reverse_opinion = {
					who = ROOT
					value < 50
				}

				spouse = {
					practical_age < 45
					is_pregnant = no
					is_abroad = no
					prisoner = no
				}
			}

			save_event_target_as = impotent_man
		}
	}

	option = {
		name = EVTOPTA69020

		event_target:impotent_man = {
			show_scope_change = no

			character_event = {
				id = 69021
				days = 3
				tooltip = EVTTOOLTIP69021
			}
		}

		ai_chance = { factor = 10 }
	}

	option = {
		name = EVTOPTB69020

		event_target:impotent_man = {
			show_scope_change = no

			set_character_flag = impotent_man

			character_event = {
				id = 69082
				days = 3
				tooltip = EVTTOOLTIP69082
			}
		}

		ai_chance = { factor = 50 }
	}
}

# People laugh behind your back
character_event = {
	id = 69024
	desc = EVTDESC69024
	picture = GFX_evt_whispers

	is_triggered_only = yes # on_yearly_pulse, random_events, rumour_events

	has_character_flag = impotent_man
	only_men = yes
	min_age = 16
	only_capable = yes
	prisoner = no

	trigger = {
		has_children = no
	}

	option = {
		name = EVTOPTA69024

		prestige = -10
	}
}

### ADULTERY ###

# Adultery: Any Courtier
character_event = {
	id = 69030
	desc = EVTDESC69030
	picture = GFX_evt_whispers

	is_triggered_only = yes # on_yearly_pulse, random_events

	min_age = 16
	only_capable = yes
	prisoner = no

	trigger = {
		intrigue >= 10
		is_ruler = no
		NOT = { has_character_flag = rumour_spreader }

		any_courtier = {
			diplomacy >= 12
			is_female = no
			is_adult = yes
			is_married = yes
			has_children = no
			prisoner = no
			NOT = { has_character_flag = committed_adultery }

			reverse_opinion = {
				who = ROOT
				value < 50
			}

			any_courtier = {
				is_female = yes
				is_adult = yes
				practical_age < 40
				prisoner = no

				opinion = {
					who = PREV
					value >= 40
				}

				reverse_opinion = {
					who = PREV
					value >= 40
				}

				NOR = {
					trait = celibate
					trait = eunuch
					dynasty = PREV
					is_married = PREV
				}
			}
		}
	}

	weight_multiplier = {
		factor = 1

		mult_modifier = {
			factor = 2
			trait = deceitful
		}

		mult_modifier = {
			factor = 2
			intrigue >= 15
		}

		mult_modifier = {
			factor = 2
			intrigue >= 20
		}
	}

	immediate = {
		set_character_flag = rumour_spreader

		random_courtier = {
			limit = {
				diplomacy >= 12
				is_female = no
				is_adult = yes
				is_married = yes
				has_children = no
				prisoner = no
				NOT = { has_character_flag = committed_adultery }

				reverse_opinion = {
					who = ROOT
					value < 50
				}

				any_courtier = {
					is_female = yes
					is_adult = yes
					practical_age < 40
					prisoner = no

					opinion = {
						who = PREV
						value >= 40
					}

					reverse_opinion = {
						who = PREV
						value >= 40
					}

					NOR = {
						trait = celibate
						trait = eunuch
						dynasty = PREV
						is_married = PREV
					}
				}
			}

			save_event_target_as = target_adulterer
		}
	}

	option = {
		name = EVTOPTA69030

		event_target:target_adulterer = {
			show_scope_change = no

			character_event = {
				id = 69031
				days = 3
				tooltip = EVTTOOLTIP69031
			}
		}

		ai_chance = { factor = 10 }
	}

	option = {
		name = EVTOPTB69030

		event_target:target_adulterer = {
			show_scope_change = no

			set_character_flag = committed_adultery

			character_event = {
				id = 69083
				days = 3
				tooltip = EVTTOOLTIP69083
			}
		}

		ai_chance = { factor = 50 }
	}

	option = {
		name = EVTOPTC69030

		event_target:target_adulterer = {
			show_scope_change = no

			character_event = {
				id = 69036
				days = 3
				tooltip = EVTTOOLTIP69036 # Blackmailed
			}
		}

		ai_chance = { factor = 40 }
	}
}

# Adultery: Target is confronted
character_event = {
	id = 69031
	desc = EVTDESC69031
	picture = GFX_evt_whispers

	is_triggered_only = yes

	option = {
		name = EVTOPTA69031 # Deny

		set_character_flag = committed_adultery

		random_courtier = {
			limit = {
				prisoner = no
				is_female = yes
				is_adult = yes
				practical_age < 40

				opinion = {
					who = ROOT
					value >= 40
				}

				reverse_opinion = {
					who = ROOT
					value >= 40
				}

				NOR = {
					trait = celibate
					trait = eunuch
					dynasty = ROOT
					is_married = ROOT
				}
			}

			if = {
				limit = { is_lover = ROOT }

				character_event = {
					id = 64086
					tooltip = EVTTOOLTIP64086
				}
			}

			opinion = {
				name = opinion_denied_love
				who = ROOT
				years = 3
			}
		}
	}

	option = {
		name = EVTOPTB69031 # Don't say a word

		FROM = {
			show_scope_change = no

			character_event = {
				id = 69032
				days = 3
				tooltip = EVTTOOLTIP69032
			}
		}
	}
}

# Adultery: tell spouse or no?
character_event = {
	id = 69032
	desc = EVTDESC69032
	picture = GFX_evt_whispers

	is_triggered_only = yes

	option = {
		name = EVTOPTA69032

		FROM = {
			show_scope_change = no

			spouse = {
				show_scope_change = no

				character_event = {
					id = 69033
					days = 3
					tooltip = EVTTOOLTIP69033
				}
			}
		}
	}

	option = {
		name = EVTOPTB69032
	}
}

# Adultery: Spouse is told
character_event = {
	id = 69033
	desc = EVTDESC69033
	picture = GFX_evt_whispers

	is_triggered_only = yes

	option = {
		name = EVTOPTA69033

		spouse = {
			show_scope_change = no

			character_event = {
				id = 69034
				days = 3
				tooltip = EVTTOOLTIP69034
			}
		}
	}

	option = {
		name = EVTOPTB69033

		spouse = {
			show_scope_change = no

			character_event = {
				id = 69035
				days = 3
				tooltip = EVTTOOLTIP69035
			}
		}
	}
}

# Adultery: Spouse mad as hell
character_event = {
	id = 69034
	desc = EVTDESC69034
	picture = GFX_evt_whispers

	is_triggered_only = yes

	option = {
		name = EVTOPTA69034

		reverse_opinion = {
			name = opinion_mad_as_hell
			who = FROM
			years = 3
		}
	}
}

# Adultery: Spouse forgives
character_event = {
	id = 69035
	desc = EVTDESC69035
	picture = GFX_evt_whispers

	is_triggered_only = yes

	option = {
		name = EVTOPTA69035

		reverse_opinion = {
			name = opinion_forgive
			who = FROM
			years = 3
		}
	}
}

# Adultery: Target is blackmailed
character_event = {
	id = 69036
	desc = EVTDESC69036
	picture = GFX_evt_whispers

	is_triggered_only = yes

	option = {
		name = EVTOPTA69036

		transfer_scaled_wealth = {
			to = FROM
			value = 1
			min = 50
			max = 50
		}

		opinion = {
			name = opinion_angry
			who = FROM
			years = 3
		}

		ai_chance = {
			factor = 50

			mult_modifier = {
				factor = 2
				wealth >= 50
			}
		}
	}

	option = {
		name = EVTOPTB69036

		opinion = {
			name = opinion_angry
			who = FROM
			years = 5
		}

		any_courtier = {
			show_scope_change = no

			limit = {
				prisoner = no
				NOT = { character = PREV }
			}

			opinion = {
				name = committed_adultery_rumour
				who = PREV
				years = 3
			}
		}

		ai_chance = {
			factor = 50

			mult_modifier = {
				factor = 2
				wealth < 50
			}
		}
	}
}

# Adultery: Ruler
character_event = {
	id = 69037
	desc = EVTDESC69030
	picture = GFX_evt_whispers

	is_triggered_only = yes # on_yearly_pulse, random_events

	only_rulers = yes
	min_age = 16
	only_capable = yes
	prisoner = no

	trigger = {
		intrigue >= 10
		NOT = { has_character_flag = rumour_spreader }

		any_courtier = {
			is_female = no
			is_married = yes
			is_adult = yes
			diplomacy >= 12
			prisoner = no

			reverse_opinion = {
				who = ROOT
				value < 50
			}

			any_courtier = {
				is_female = yes
				prisoner = no

				opinion = {
					who = PREV
					value >= 40
				}

				reverse_opinion = {
					who = PREV
					value >= 40
				}

				NOR = {
					dynasty = PREV
					is_married = PREV
				}

			}
		}
	}

	weight_multiplier = {
		factor = 1

		mult_modifier = {
			factor = 2
			trait = deceitful
		}

		mult_modifier = {
			factor = 2
			intrigue >= 15
		}

		mult_modifier = {
			factor = 2
			intrigue >= 20
		}
	}

	immediate = {
		set_character_flag = rumour_spreader

		random_courtier = {
			limit = {
				is_female = no
				is_married = yes
				is_adult = yes
				diplomacy >= 12
				prisoner = no

				reverse_opinion = {
					who = ROOT
					value < 50
				}

				any_courtier = {
					is_female = yes
					prisoner = no

					opinion = {
						who = PREV
						value >= 40
					}

					reverse_opinion = {
						who = PREV
						value >= 40
					}

					NOR = {
						dynasty = PREV
						is_married = PREV
					}
				}
			}

			save_event_target_as = target_adulterer
		}
	}

	option = {
		name = EVTOPTA69030

		event_target:target_adulterer = {
			show_scope_change = no

			character_event = {
				id = 69031
				days = 3
				tooltip = EVTTOOLTIP69031
			}
		}

		ai_chance = { factor = 10 }
	}

	option = {
		name = EVTOPTB69030

		event_target:target_adulterer = {
			show_scope_change = no

			set_character_flag = committed_adultery

			character_event = {
				id = 69083
				days = 3
				tooltip = EVTTOOLTIP69083
			}
		}

		ai_chance = { factor = 50 }
	}
}

# Adultery: Spouse speaks badly about you to the children
character_event = {
	id = 69038
	desc = EVTDESC69038
	picture = GFX_evt_quarrel

	is_triggered_only = yes # on_yearly_pulse, random_events, rumour_events

	has_character_flag = committed_adultery
	only_capable = yes
	prisoner = no

	trigger = {
		num_of_children >= 2

		any_child = {
			practical_age >= 6
		}

		spouse = {
			is_abroad = no
			prisoner = no

			has_opinion_modifier = {
				name = opinion_mad_as_hell
				who = ROOT
			}
		}
	}

	option = {
		name = EVTOPTA69038

		any_child = {
			limit = { practical_age >= 6 }

			opinion = {
				name = opinion_disappointed
				who = ROOT
				years = 2
			}
		}
	}
}

# Spouse confronts lover
character_event = {
	id = 69039
	desc = EVTDESC69039
	picture = GFX_evt_quarrel

	is_triggered_only = yes # on_yearly_pulse, random_events, rumour_events

	only_playable = yes # We really don't care that a random courtier has upset their spouse
	min_age = 16
	only_capable = yes
	prisoner = no

	trigger = {
		any_lover = {
			NOT = { is_married = ROOT }
		}

		any_spouse = {
			has_opinion_modifier = {
				name = opinion_mad_as_hell
				who = ROOT
			}
		}
	}

	immediate = {
		random_lover = {
			limit = {
				NOT = { is_married = ROOT }
			}

			save_event_target_as = problem_lover
		}
	}

	option = {
		name = EVTOPTA69039

		reverse_opinion = {
			name = opinion_reassured_of_love
			who = event_target:problem_lover
			years = 2
		}
	}

	option = {
		name = EVTOPTB69039 # Confess to wife

		clr_character_flag = committed_adultery
		remove_lover = event_target:problem_lover

		any_spouse = {
			show_scope_change = no

			limit = {
				has_opinion_modifier = {
					name = opinion_mad_as_hell
					who = ROOT
				}
			}

			remove_opinion = {
				name = opinion_mad_as_hell
				who = ROOT
			}

			opinion = {
				name = opinion_forgive
				who = ROOT
				years = 2
			}
		}
	}
}

### OCCULTISM ###

# Occultism: Any Courtier
character_event = {
	id = 69040
	desc = EVTDESC69040
	picture = GFX_evt_whispers

	is_triggered_only = yes # on_yearly_pulse, random_events

	min_age = 16
	only_capable = yes
	prisoner = no

	trigger = {
		intrigue >= 10
		is_ruler = no
		NOT = { has_character_flag = rumour_spreader }

		any_courtier = {
			is_female = no
			is_adult = yes
			learning >= 10
			piety < 50
			religion_group = christian
			prisoner = no

			reverse_opinion = {
				who = ROOT
				value < 50
			}

			NOR = {
				trait = zealous
				trait = possessed
				has_character_flag = suspected_occultist
			}
		}
	}

	weight_multiplier = {
		factor = 1

		mult_modifier = {
			factor = 2
			trait = deceitful
		}

		mult_modifier = {
			factor = 2
			is_smart_trigger = yes
		}

		mult_modifier = {
			factor = 2
			intrigue >= 15
		}

		mult_modifier = {
			factor = 2
			intrigue >= 20
		}
	}

	immediate = {
		set_character_flag = rumour_spreader

		random_courtier = {
			limit = {
				is_female = no
				is_adult = yes
				learning >= 10
				piety < 50
				religion_group = christian
				prisoner = no

				reverse_opinion = {
					who = ROOT
					value < 50
				}

				NOR = {
					trait = zealous
					trait = possessed
					has_character_flag = suspected_occultist
				}
			}

			save_event_target_as = suspected_occultist
		}
	}

	option = {
		name = EVTOPTA69040

		event_target:suspected_occultist = {
			show_scope_change = no

			character_event = {
				id = 69041
				days = 3
				tooltip = EVTTOOLTIP69041
			}
		}

		ai_chance = { factor = 10 }
	}

	option = {
		name = EVTOPTB69040

		event_target:suspected_occultist = {
			show_scope_change = no

			set_character_flag = suspected_occultist

			character_event = {
				id = 69084
				days = 3
				tooltip = EVTTOOLTIP69084
			}
		}

		ai_chance = { factor = 50 }
	}

	option = {
		name = EVTOPTC69040

		event_target:suspected_occultist = {
			show_scope_change = no

			character_event = {
				id = 69042
				days = 3
				tooltip = EVTTOOLTIP69042
			}
		}

		ai_chance = { factor = 40 }
	}
}

# Occultism: Target is confronted
character_event = {
	id = 69041
	desc = EVTDESC69041
	picture = GFX_evt_whispers

	is_triggered_only = yes

	option = {
		name = EVTOPTA69041

		set_character_flag = suspected_occultist

		reverse_opinion = {
			name = denied_occultist_rumour
			who = FROM
			years = 3
		}
	}

	option = {
		name = EVTOPTB69041

		prestige = -20
	}
}

# Occultism: Target is blackmailed
character_event = {
	id = 69042
	desc = EVTDESC69042
	picture = GFX_evt_whispers

	is_triggered_only = yes

	option = {
		name = EVTOPTA69042

		transfer_scaled_wealth = {
			to = FROM
			value = 1
			min = 50
			max = 50
		}

		opinion = {
			name = opinion_angry
			who = FROM
			years = 3
		}

		ai_chance = {
			factor = 50

			mult_modifier = {
				factor = 2
				wealth >= 50
			}
		}
	}

	option = {
		name = EVTOPTB69042

		opinion = {
			name = opinion_angry
			who = FROM
			years = 3
		}

		set_character_flag = suspected_occultist

		any_courtier = {
			show_scope_change = no

			limit = {
				prisoner = no
				NOT = { character = ROOT }
			}

			opinion = {
				name = suspected_occultist_rumour
				who = PREV
				years = 3
			}
		}

		ai_chance = {
			factor = 50

			mult_modifier = {
				factor = 2
				wealth < 50
			}
		}
	}
}

# Occultism: Ruler
character_event = {
	id = 69043
	desc = EVTDESC69040
	picture = GFX_evt_whispers

	is_triggered_only = yes # on_yearly_pulse, random_events

	only_rulers = yes
	min_age = 16
	only_capable = yes
	prisoner = no

	trigger = {
		intrigue >= 10
		NOT = { has_character_flag = rumour_spreader }

		any_courtier = {
			learning >= 10
			piety < 50
			is_female = no
			is_adult = yes
			religion_group = christian
			prisoner = no

			reverse_opinion = {
				who = ROOT
				value < 50
			}

			NOR = {
				trait = zealous
				has_character_flag = suspected_occultist
			}
		}
	}

	weight_multiplier = {
		factor = 1

		mult_modifier = {
			factor = 2
			trait = deceitful
		}

		mult_modifier = {
			factor = 2
			intrigue >= 15
		}

		mult_modifier = {
			factor = 2
			intrigue >= 20
		}
	}

	immediate = {
		set_character_flag = rumour_spreader

		random_courtier = {
			limit = {
				learning >= 10
				piety < 50
				is_female = no
				is_adult = yes
				religion_group = christian
				prisoner = no

				reverse_opinion = {
					who = ROOT
					value < 50
				}

				NOR = {
					trait = zealous
					has_character_flag = suspected_occultist
				}
			}

			save_event_target_as = suspected_occultist
		}
	}

	option = {
		name = EVTOPTA69040

		event_target:suspected_occultist = {
			show_scope_change = no

			character_event = {
				id = 69041
				days = 3
				tooltip = EVTTOOLTIP69041
			}
		}

		ai_chance = { factor = 10 }
	}

	option = {
		name = EVTOPTB69040

		event_target:suspected_occultist = {
			show_scope_change = no

			set_character_flag = suspected_occultist

			character_event = {
				id = 69084
				days = 3
				tooltip = EVTTOOLTIP69084
			}
		}

		ai_chance = { factor = 50 }
	}
}

# A child is missing, you are suspect
character_event = {
	id = 69044
	desc = EVTDESC69044
	picture = GFX_evt_scandal

	is_triggered_only = yes # on_yearly_pulse, random_events, rumour_events

	has_character_flag = suspected_occultist
	min_age = 16
	only_capable = yes
	prisoner = no

	trigger = {
		any_courtier = {
			practical_age < 15
			practical_age >= 5
			prisoner = no
		}

		NOR = {
			trait = possessed
			has_character_modifier = missing_child_timer
			has_character_flag = occultist_flagged
		}
	}

	immediate = {
		add_character_modifier = {
			name = missing_child_timer
			years = 2
			hidden = yes
		}
	}

	option = {
		name = EVTOPTA69044

		random = {
			chance = 25
			add_trait_fully_cynical_effect = yes
		}
	}

	option = {
		name = EVTOPTB69044

		clr_character_flag = suspected_occultist

		random_list = {
			50 = { piety = -15 }
			50 = { prestige = -15 }
		}
	}
}

# Whisper in the dark
character_event = {
	id = 69045
	desc = EVTDESC69045
	picture = GFX_evt_whispers

	is_triggered_only = yes # on_yearly_pulse, random_events, rumour_events

	has_character_flag = suspected_occultist
	min_age = 16
	only_capable = yes
	prisoner = no

	trigger = {
		NOR = {
			trait = possessed
			has_character_flag = occultist_flagged
			has_character_modifier = voice_in_darkness_timer
		}
	}

	immediate = {
		add_character_modifier = {
			name = voice_in_darkness_timer
			years = 2
			hidden = yes
		}
	}

	option = {
		name = EVTOPTA69045

		set_character_flag = occultist_flagged
		prestige = 1
	}

	option = {
		name = EVTOPTB69045

		piety = 10
		clr_character_flag = suspected_occultist
	}
}

# Confessor talks to suspected occultist
character_event = {
	id = 69046
	desc = EVTDESC69046
	picture = GFX_evt_bishop

	is_triggered_only = yes # on_yearly_pulse, random_events, rumour_events

	religion_group = christian
	has_character_flag = suspected_occultist
	min_age = 16
	only_capable = yes
	prisoner = no

	trigger = {
		NOR = {
			trait = possessed
			has_character_flag = occultist_flagged
			has_character_modifier = confessor_and_occultist_timer
		}
	}

	immediate = {
		add_character_modifier = {
			name = confessor_and_occultist_timer
			years = 2
			hidden = yes
		}
	}

	option = {
		name = EVTOPTA69046

		add_trait_fully_silently_zealous_effect = yes
		piety = 10
		prestige = -10
		clr_character_flag = suspected_occultist
	}

	option = {
		name = EVTOPTB69046

		add_character_modifier = {
			name = ignored_confessor
			years = 2
		}
	}
}

# Dabble in the dark arts
character_event = {
	id = 69047
	desc = EVTDESC69047
	picture = GFX_evt_torture

	is_triggered_only = yes # on_yearly_pulse, random_events, rumour_events

	has_character_flag = suspected_occultist
	min_age = 16
	only_capable = yes
	prisoner = no

	trigger = {
		has_character_flag = occultist_flagged

		NOR = {
			trait = possessed
			trait = stressed
		}
	}

	option = {
		name = EVTOPTA69047

		trigger = {
			NOT = { trait = paranoid }
		}

		random_list = {
			25 = { add_trait_fully_attractive_effect = yes }
			25 = { change_martial = 1 }
			25 = { add_trait_fully_paranoid_effect = yes }
			25 = { add_trait_stressed_effect = yes }
		}
	}

	option = {
		name = EVTOPTB69047

		clr_character_flag = suspected_occultist
		clr_character_flag = occultist_flagged
		piety = 10
	}

	option = {
		name = EVTOPTC69047
		tooltip_info = paranoid

		trigger = {
			trait = paranoid
			religion_group = christian
		}

		piety = -5

		random = {
			chance = 33
			add_trait_possessed_effect = yes
		}
	}
}

### INCOMPETENCE AT WORK ###

# Incompetence at work: Chancellor
character_event = {
	id = 69050
	desc = EVTDESC69050
	picture = GFX_evt_whispers

	is_triggered_only = yes # on_yearly_pulse, random_events

	min_age = 16
	only_playable = yes
	only_capable = yes
	prisoner = no

	trigger = {
		intrigue >= 10

		job_chancellor = {
			is_female = no
			is_adult = yes
			diplomacy < 12

			NOT = {
				has_opinion_modifier = {
					name = opinion_unappreciated
					who = liege
				}
			}
		}
	}

	weight_multiplier = {
		factor = 1

		mult_modifier = {
			factor = 2
			trait = deceitful
		}

		mult_modifier = {
			factor = 2
			intrigue >= 15
		}

		mult_modifier = {
			factor = 2
			intrigue >= 20
		}
	}

	option = {
		name = EVTOPTA69050

		job_chancellor = {
			show_scope_change = no

			character_event = {
				id = 69051
				tooltip = EVTTOOLTIP69051
			}
		}

		ai_chance = { factor = 10 }
	}

	option = {
		name = EVTOPTB69050

		job_chancellor = {
			show_scope_change = no

			character_event = {
				id = 69085
				days = 3
				tooltip = EVTTOOLTIP69085
			}
		}

		ai_chance = { factor = 50 }
	}

	option = {
		name = EVTOPTC69050

		trigger = {
			job_chancellor = {
				wealth >= 20
			}
		}

		wealth = 20

		job_chancellor = {
			show_scope_change = no

			wealth = -20

			opinion = {
				name = opinion_money_stolen
				who = ROOT
				years = 5
			}
		}
	}
}

# Chancellor
character_event = {
	id = 69051
	desc = EVTDESC69051
	picture = GFX_evt_whispers

	is_triggered_only = yes

	option = {
		name = EVTOPTA69051

		opinion = {
			name = opinion_unappreciated
			who = FROM
			years = 5
		}

		random = {
			chance = 25

			change_diplomacy = 1
		}
	}
}

# Incompetence at work: Marshal
character_event = {
	id = 69052
	desc = EVTDESC69052
	picture = GFX_evt_whispers

	is_triggered_only = yes # on_yearly_pulse, random_events

	min_age = 16
	only_playable = yes
	only_capable = yes
	prisoner = no

	trigger = {
		intrigue >= 10

		job_marshal = {
			martial < 12

			NOT = {
				has_opinion_modifier = {
					name = opinion_unappreciated
					who = PREV
				}
			}
		}
	}

	weight_multiplier = {
		factor = 1

		mult_modifier = {
			factor = 2
			trait = deceitful
		}

		mult_modifier = {
			factor = 2
			intrigue >= 15
		}

		mult_modifier = {
			factor = 2
			intrigue >= 20
		}
	}

	option = {
		name = EVTOPTA69052

		job_marshal = {
			show_scope_change = no

			character_event = {
				id = 69053
				tooltip = EVTTOOLTIP69053
			}
		}

		ai_chance = { factor = 10 }
	}

	option = {
		name = EVTOPTB69052

		job_marshal = {
			show_scope_change = no

			character_event = {
				id = 69086
				days = 3
				tooltip = EVTTOOLTIP69086
			}
		}

		ai_chance = { factor = 50 }
	}

	option = {
		name = EVTOPTC69052

		trigger = {
			job_marshal = {
				wealth >= 20
			}
		}

		transfer_scaled_wealth = {
			from = job_marshal
			value = 1
			min = 20
			max = 20
		}

		reverse_opinion = {
			name = opinion_money_stolen
			who = job_marshal
			years = 3
		}

		ai_chance = { factor = 40 }
	}
}

# Marshal
character_event = {
	id = 69053
	desc = EVTDESC69053
	picture = GFX_evt_whispers

	is_triggered_only = yes

	option = {
		name = EVTOPTA69053

		opinion = {
			name = opinion_unappreciated
			who = FROM
			years = 5
		}

		random = {
			chance = 25

			change_martial = 1
		}
	}
}

# Incompetence at work: Steward
character_event = {
	id = 69054
	desc = EVTDESC69054
	picture = GFX_evt_whispers

	is_triggered_only = yes # on_yearly_pulse, random_events

	min_age = 16
	only_playable = yes
	only_capable = yes
	prisoner = no

	trigger = {
		intrigue >= 10

		job_treasurer = {
			is_female = no
			is_adult = yes
			stewardship < 12

			NOT = {
				has_opinion_modifier = {
					name = opinion_unappreciated
					who = PREV
				}
			}
		}
	}

	weight_multiplier = {
		factor = 1

		mult_modifier = {
			factor = 2
			trait = deceitful
		}

		mult_modifier = {
			factor = 2
			intrigue >= 15
		}

		mult_modifier = {
			factor = 2
			intrigue >= 20
		}
	}

	option = {
		name = EVTOPTA69054

		job_treasurer = {
			show_scope_change = no

			character_event = {
				id = 69055
				tooltip = EVTTOOLTIP69055
			}
		}

		ai_chance = { factor = 10 }
	}

	option = {
		name = EVTOPTB69054

		job_treasurer = {
			show_scope_change = no

			character_event = {
				id = 69087
				days = 3
				tooltip = EVTTOOLTIP69087
			}
		}

		ai_chance = { factor = 50 }
	}

	option = {
		name = EVTOPTC69054

		trigger = {
			job_treasurer = {
				wealth >= 20
			}
		}

		transfer_scaled_wealth = {
			from = job_treasurer
			value = 1
			min = 20
			max = 20
		}

		reverse_opinion = {
			name = opinion_money_stolen
			who = job_treasurer
			years = 3
		}

		ai_chance = { factor = 40 }
	}
}

# Steward
character_event = {
	id = 69055
	desc = EVTDESC69055
	picture = GFX_evt_whispers

	is_triggered_only = yes

	option = {
		name = EVTOPTA69055

		opinion = {
			name = opinion_unappreciated
			who = FROM
			years = 3
		}

		random = {
			chance = 25
			change_stewardship = 1
		}
	}
}

# Incompetence at work: Spymaster
character_event = {
	id = 69056
	desc = EVTDESC69056
	picture = GFX_evt_whispers

	is_triggered_only = yes # on_yearly_pulse, random_events

	min_age = 16
	only_playable = yes
	only_capable = yes
	prisoner = no

	trigger = {
		intrigue >= 10

		job_spymaster = {
			is_female = no
			is_adult = yes
			intrigue < 12

			NOT = {
				has_opinion_modifier = {
					name = opinion_unappreciated
					who = PREV
				}
			}
		}
	}

	weight_multiplier = {
		factor = 1

		mult_modifier = {
			factor = 2
			trait = deceitful
		}

		mult_modifier = {
			factor = 2
			intrigue >= 15
		}

		mult_modifier = {
			factor = 2
			intrigue >= 20
		}
	}

	option = {
		name = EVTOPTA69056

		job_spymaster = {
			show_scope_change = no

			character_event = {
				id = 69057
				tooltip = EVTTOOLTIP69057
			}
		}

		ai_chance = { factor = 10 }
	}

	option = {
		name = EVTOPTB69056

		job_spymaster = {
			show_scope_change = no

			character_event = {
				id = 69088
				days = 3
				tooltip = EVTTOOLTIP69088
			}
		}

		ai_chance = { factor = 50 }
	}

	option = {
		name = EVTOPTC69056

		trigger = {
			job_spymaster = {
				wealth >= 20
			}
		}

		transfer_scaled_wealth = {
			from = job_spymaster
			value = 1
			min = 20
			max = 20
		}

		reverse_opinion = {
			name = opinion_money_stolen
			who = job_spymaster
			years = 3
		}

		ai_chance = { factor = 40 }
	}
}

# Spymaster
character_event = {
	id = 69057
	desc = EVTDESC69057
	picture = GFX_evt_whispers

	is_triggered_only = yes

	option = {
		name = EVTOPTA69057

		opinion = {
			name = opinion_unappreciated
			who = FROM
			years = 3
		}

		random = {
			chance = 25
			change_intrigue = 1
		}
	}
}

# Incompetence at work: Lord Spiritual
# CleanSlate: Event id 69095 merged with event id 69058
character_event = {
	id = 69058
	picture = GFX_evt_whispers

	desc = {
		text = EVTDESC69058
		trigger = { religion_group = christian }
	}
	desc = {
		text = EVTDESC69095
		trigger = { religion_group = muslim }
	}

	is_triggered_only = yes # on_yearly_pulse, random_events

	only_playable = yes
	min_age = 16
	only_capable = yes
	prisoner = no

	trigger = {
		intrigue >= 10

		OR = {
			religion_group = christian
			religion_group = muslim
		}

		job_spiritual = {
			is_female = no
			is_adult = yes
			learning < 12

			NOT = {
				has_opinion_modifier = {
					name = opinion_unappreciated
					who = PREV
				}
			}
		}
	}

	weight_multiplier = {
		factor = 1

		mult_modifier = {
			factor = 2
			trait = deceitful
		}

		mult_modifier = {
			factor = 2
			intrigue >= 15
		}

		mult_modifier = {
			factor = 2
			intrigue >= 20
		}
	}

	option = {
		name = EVTOPTA69058

		job_spiritual = {
			show_scope_change = no

			character_event = {
				id = 69059
				tooltip = EVTTOOLTIP69059
			}
		}

		ai_chance = { factor = 10 }
	}

	option = {
		name = EVTOPTB69058

		job_spiritual = {
			show_scope_change = no

			character_event = {
				id = 69089
				days = 3
				tooltip = EVTTOOLTIP69089
			}
		}

		ai_chance = { factor = 50 }
	}

	option = {
		name = EVTOPTC69058

		trigger = {
			job_spiritual = {
				wealth >= 20
			}
		}

		transfer_scaled_wealth = {
			from = job_spiritual
			value = 1
			min = 20
			max = 20
		}

		reverse_opinion = {
			name = opinion_money_stolen
			who = job_spiritual
			years = 3
		}

		ai_chance = { factor = 40 }
	}
}

# Lord Spiritual
character_event = {
	id = 69059
	picture = GFX_evt_whispers

	desc = {
		text = EVTDESC69059
		trigger = { religion_group = christian }
	}
	desc = {
		text = EVTDESC69096
		trigger = { religion_group = muslim }
	}

	is_triggered_only = yes

	option = {
		name = EVTOPTA69059

		opinion = {
			name = opinion_unappreciated
			who = FROM
			years = 3
		}

		random = {
			chance = 25
			change_learning = 1
		}
	}
}

### LACK OF PIETY ###

### Lack of Piety: Any Courtier ###
character_event = {
	id = 69060
	desc = EVTDESC69060
	picture = GFX_evt_whispers

	is_triggered_only = yes # on_yearly_pulse, random_events

	religion_group = christian
	min_age = 16
	only_capable = yes
	prisoner = no

	trigger = {
		intrigue >= 10
		is_ruler = no
		NOT = { has_character_flag = rumour_spreader }

		any_courtier = {
			is_adult = yes
			piety < 50
			learning < 8
			religion_group = christian
			prisoner = no

			reverse_opinion = {
				who = ROOT
				value < 50
			}

			NOR = {
				trait = zealous
				has_character_flag = flag_unchristian
			}

		}
	}

	immediate = {
		set_character_flag = rumour_spreader

		random_courtier = {
			limit = {
				is_adult = yes
				piety < 50
				learning < 8
				religion_group = christian
				prisoner = no

				reverse_opinion = {
					who = ROOT
					value < 50
				}

				NOR = {
					has_character_flag = flag_unchristian
					trait = zealous
				}
			}

			save_event_target_as = 69060_target_courtier
		}
	}

	weight_multiplier = {
		factor = 1

		mult_modifier = {
			factor = 2
			trait = deceitful
		}

		mult_modifier = {
			factor = 2
			intrigue >= 15
		}

		mult_modifier = {
			factor = 2
			intrigue >= 20
		}
	}

	option = {
		name = EVTOPTA69060

		event_target:69060_target_courtier = {
			show_scope_change = no

			character_event = {
				id = 69061
				days = 3
				tooltip = EVTTOOLTIP69061
			}
		}

		ai_chance = { factor = 10 }
	}

	option = {
		name = EVTOPTB69060

		event_target:69060_target_courtier = {
			show_scope_change = no

			set_character_flag = flag_unchristian

			character_event = {
				id = 69090
				days = 3
				tooltip = EVTTOOLTIP69090
			}
		}

		ai_chance = { factor = 50 }
	}

	option = {
		name = EVTOPTC69060

		event_target:69060_target_courtier = {
			show_scope_change = no

			character_event = {
				id = 69062
				days = 3
				tooltip = EVTTOOLTIP69062
			}
		}

		ai_chance = { factor = 40 }
	}
}

# Lack of Piety: Target is confronted
character_event = {
	id = 69061
	desc = EVTDESC69061
	picture = GFX_evt_whispers

	is_triggered_only = yes

	option = {
		name = EVTOPTA69061

		add_character_modifier = {
			name = good_deeds
			years = 2
		}
	}

	option = {
		name = EVTOPTB69061

		set_character_flag = flag_unchristian
		piety = -10
	}
}

# Lack of Piety: Target is blackmailed
character_event = {
	id = 69062
	desc = EVTDESC69062
	picture = GFX_evt_whispers

	is_triggered_only = yes

	option = {
		name = EVTOPTA69062

		transfer_scaled_wealth = {
			to = FROM
			value = 1
			min = 50
			max = 50
		}

		opinion = {
			name = opinion_angry
			who = FROM
			years = 3
		}

		ai_chance = {
			factor = 50

			mult_modifier = {
				factor = 2
				wealth >= 50
			}
		}
	}

	option = {
		name = EVTOPTB69062

		opinion = {
			name = opinion_angry
			who = FROM
			years = 3
		}

		any_courtier = {
			show_scope_change = no

			limit = {
				prisoner = no
				NOT = { character = ROOT }
			}

			opinion = {
				name = opinion_unchristian
				who = ROOT
				years = 3
			}
		}

		ai_chance = {
			factor = 50

			mult_modifier = {
				factor = 2
				wealth < 50
			}
		}
	}
}

# Lack of Piety: Ruler
character_event = {
	id = 69063
	desc = EVTDESC69060
	picture = GFX_evt_whispers

	is_triggered_only = yes # on_yearly_pulse, random_events

	only_rulers = yes
	religion_group = christian
	min_age = 16
	only_capable = yes
	prisoner = no

	trigger = {
		intrigue >= 10
		NOT = { has_character_flag = rumour_spreader }

		any_courtier = {
			is_adult = yes
			piety < 50
			learning < 8
			religion_group = christian
			prisoner = no

			reverse_opinion = {
				who = ROOT
				value < 50
			}

			NOR = {
				trait = zealous
				has_character_flag = flag_unchristian
			}
		}
	}

	weight_multiplier = {
		factor = 1

		mult_modifier = {
			factor = 2
			trait = deceitful
		}

		mult_modifier = {
			factor = 2
			intrigue >= 15
		}

		mult_modifier = {
			factor = 2
			intrigue >= 20
		}
	}

	immediate = {
		set_character_flag = rumour_spreader

		random_courtier = {
			limit = {
				is_adult = yes
				piety < 50
				learning < 8
				religion_group = christian
				prisoner = no

				reverse_opinion = {
					who = ROOT
					value < 50
				}

				NOR = {
					trait = zealous
					has_character_flag = flag_unchristian
				}
			}

			save_event_target_as = target_courtier
		}
	}

	option = {
		name = EVTOPTA69060

		event_target:target_courtier = {
			show_scope_change = no

			character_event = {
				id = 69061
				tooltip = EVTTOOLTIP69061
			}
		}

		ai_chance = { factor = 10 }
	}

	option = {
		name = EVTOPTB69060

		event_target:target_courtier = {
			show_scope_change = no

			set_character_flag = flag_unchristian

			character_event = {
				id = 69090
				days = 3
				tooltip = EVTTOOLTIP69090
			}
		}

		ai_chance = { factor = 50 }
	}
}

# Dad/Mom, why will you burn in hell?
character_event = {
	id = 69064
	desc = EVTDESC69064
	picture = GFX_evt_bishop

	is_triggered_only = yes # on_yearly_pulse, random_events, rumour_events

	has_character_flag = flag_unchristian
	only_capable = yes
	prisoner = no

	trigger = {
		any_child = {
			practical_age < 15
			practical_age >= 5
			learning >= 3
		}

		NOT = { has_character_modifier = unchristian_timer }
	}

	option = {
		name = EVTOPTA69064

		add_character_modifier = {
			name = unchristian_timer
			months = 3
			hidden = yes
		}

		random = {
			chance = 25
			add_trait_fully_cynical_effect = yes
		}

		random_child = {
			show_scope_change = no

			limit = {
				practical_age < 15
				practical_age >= 5
				learning >= 3
			}

			random = {
				chance = 25

				add_trait_fully_zealous_effect = yes

				opinion = {
					name = opinion_dislike
					who = ROOT
					years = 2
				}
			}
		}
	}

	option = {
		name = EVTOPTB69064

		clr_character_flag = flag_unchristian
		change_learning = 1
		change_intrigue = -1
	}
}

### Legate from the pope ###
character_event = {
	id = 69065
	desc = EVTDESC69065
	picture = GFX_evt_bishop

	is_triggered_only = yes # on_yearly_pulse, random_events, rumour_events

	only_rulers = yes
	religion = catholic
	has_character_flag = flag_unchristian
	only_capable = yes
	prisoner = no

	trigger = {
		piety < 100
	}

	option = {
		name = EVTOPTA69065

		scaled_wealth = -0.2
	}

	option = {
		name = EVTOPTB69065

		piety = -10
	}

	option = {
		name = EVTOPTC69065

		prestige = -10
	}

	after = {
		clr_character_flag = flag_unchristian
	}
}

### Scolded by the Caliph ###
character_event = {
	id = 69066
	desc = EVTDESC69066
	picture = GFX_evt_jerusalem

	is_triggered_only = yes # on_yearly_pulse, random_events, rumour_events

	only_rulers = yes
	religion_group = muslim
	has_character_flag = flag_nomuslim
	only_capable = yes
	prisoner = no

	trigger = {
		piety < 100
	}

	option = {
		name = EVTOPTA69066

		piety = 5
		scaled_wealth = -0.075

		ai_chance = {
			factor = 10

			mult_modifier = {
				factor = 5
				scaled_wealth = 0.5
			}

			mult_modifier = {
				factor = 0.01
				NOT = { scaled_wealth = 0.5 }
			}
		}
	}

	option = {
		name = EVTOPTB69065

		piety = -10
	}

	option = {
		name = EVTOPTC69065

		prestige = -10
	}

	after = {
		clr_character_flag = flag_nomuslim
	}
}

### COWARDLINESS ###

# Cowardliness: Any Courtier
character_event = {
	id = 69070
	desc = EVTDESC69070
	picture = GFX_evt_whispers

	is_triggered_only = yes # on_yearly_pulse, random_events

	min_age = 16
	only_capable = yes
	prisoner = no

	trigger = {
		intrigue >= 10
		is_ruler = no
		NOT = { has_character_flag = rumour_spreader }

		any_courtier = {
			is_female = no
			block_general_event_trigger = no

			OR = {
				trait = craven
				martial < 8
			}

			reverse_opinion = {
				who = ROOT
				value < 50
			}

			NOR = {
				trait = brave
				has_character_flag = flag_suspected_coward
				has_character_modifier = proving_bravery
				has_character_modifier = suspected_coward
			}
		}
	}

	weight_multiplier = {
		factor = 1

		mult_modifier = {
			factor = 2
			trait = deceitful
		}

		mult_modifier = {
			factor = 2
			intrigue >= 15
		}

		mult_modifier = {
			factor = 2
			intrigue >= 20
		}
	}

	immediate = {
		set_character_flag = rumour_spreader

		random_courtier = {
			limit = {
				is_female = no
				block_general_event_trigger = no

				OR = {
					trait = craven
					martial < 8
				}

				reverse_opinion = {
					who = ROOT
					value < 50
				}

				NOR = {
					trait = brave
					has_character_flag = flag_suspected_coward
					has_character_modifier = proving_bravery
					has_character_modifier = suspected_coward
				}
			}

			save_event_target_as = suspected_coward
		}
	}

	option = {
		name = EVTOPTA69070

		event_target:suspected_coward = {
			show_scope_change = no

			character_event = {
				id = 69071
				days = 3
				tooltip = EVTTOOLTIP69071
			}
		}

		ai_chance = { factor = 10 }
	}

	option = {
		name = EVTOPTB69070

		event_target:suspected_coward = {
			show_scope_change = no

			set_character_flag = flag_suspected_coward

			character_event = {
				id = 69091
				days = 3
				tooltip = EVTTOOLTIP69091
			}
		}

		ai_chance = { factor = 50 }
	}

	option = {
		name = EVTOPTC69070

		event_target:suspected_coward = {
			show_scope_change = no

			character_event = {
				id = 69072
				days = 3
				tooltip = EVTTOOLTIP69072
			}
		}

		ai_chance = { factor = 40 }
	}
}

# Cowardliness: Target is confronted
character_event = {
	id = 69071
	desc = EVTDESC69071
	picture = GFX_evt_whispers

	is_triggered_only = yes

	option = {
		name = EVTOPTA69071

		add_character_modifier = {
			name = proving_bravery
			years = 5
		}
	}

	option = {
		name = EVTOPTB69071

		set_character_flag = suspected_coward

		reverse_opinion = {
			name = denied_coward_rumour
			who = FROM
			years = 3
		}
	}
}

# Cowardliness: Target is blackmailed
character_event = {
	id = 69072
	desc = EVTDESC69072
	picture = GFX_evt_whispers

	is_triggered_only = yes

	option = {
		name = EVTOPTA69072

		transfer_scaled_wealth = {
			to = FROM
			value = 1
			min = 50
			max = 50
		}

		opinion = {
			name = opinion_angry
			who = FROM
			years = 3
		}

		ai_chance = {
			factor = 50

			mult_modifier = {
				factor = 2
				wealth >= 50
			}
		}
	}

	option = {
		name = EVTOPTB69072

		opinion = {
			name = opinion_angry
			who = FROM
			years = 3
		}

		any_courtier = {
			show_scope_change = no

			limit = {
				prisoner = no
				NOT = { character = ROOT }
			}

			opinion = {
				name = suspected_coward_rumour
				who = ROOT
				years = 3
			}
		}

		ai_chance = {
			factor = 50

			mult_modifier = {
				factor = 2
				wealth < 50
			}
		}
	}
}

# Cowardliness: Ruler
character_event = {
	id = 69073
	desc = EVTDESC69070
	picture = GFX_evt_whispers

	is_triggered_only = yes # on_yearly_pulse, random_events

	only_rulers = yes
	min_age = 16
	only_capable = yes
	prisoner = no

	trigger = {
		intrigue >= 10
		NOT = { has_character_flag = rumour_spreader }

		any_courtier = {
			is_female = no
			block_general_event_trigger = no

			OR = {
				trait = craven
				martial < 8
			}

			reverse_opinion = {
				who = ROOT
				value < 50
			}

			NOR = {
				trait = brave
				has_character_flag = flag_suspected_coward
				has_character_modifier = proving_bravery
				has_character_modifier = suspected_coward
			}
		}
	}

	weight_multiplier = {
		factor = 1

		mult_modifier = {
			factor = 2
			trait = deceitful
		}

		mult_modifier = {
			factor = 2
			intrigue >= 15
		}

		mult_modifier = {
			factor = 2
			intrigue >= 20
		}
	}

	immediate = {
		set_character_flag = rumour_spreader

		random_courtier = {
			limit = {
				is_female = no
				block_general_event_trigger = no

				OR = {
					trait = craven
					martial < 8
				}

				reverse_opinion = {
					who = ROOT
					value < 50
				}

				NOR = {
					trait = brave
					has_character_flag = flag_suspected_coward
					has_character_modifier = proving_bravery
					has_character_modifier = suspected_coward
				}
			}

			save_event_target_as = suspected_coward
		}
	}

	option = {
		name = EVTOPTA69070

		event_target:suspected_coward = {
			show_scope_change = no

			character_event = {
				id = 69071
				days = 3
				tooltip = EVTTOOLTIP69071
			}
		}

		ai_chance = { factor = 10 }
	}

	option = {
		name = EVTOPTB69070

		event_target:suspected_coward = {
			show_scope_change = no

			set_character_flag = flag_suspected_coward

			character_event = {
				id = 69091
				days = 3
				tooltip = EVTTOOLTIP69091
			}
		}

		ai_chance = { factor = 50 }
	}
}

# You seem to be taking uneccesary risks when practising with the sword
character_event = {
	id = 69074
	desc = EVTDESC69074
	picture = GFX_evt_melee

	is_triggered_only = yes # on_yearly_pulse, random_events, rumour_events

	only_capable = yes
	prisoner = no

	trigger = {
		has_character_modifier = proving_bravery
		trait = craven
	}

	option = {
		name = EVTOPTA69074 # I need to

		random_list = {
			60 = { }
			30 = { remove_trait_craven_effect = yes }
			10 = { add_trait_wounded_effect = yes }
		}
	}

	option = {
		name = EVTOPTB69074

		prestige = -5
		remove_character_modifier = proving_bravery
	}
}

# Women laugh behind your back
character_event = {
	id = 69075
	desc = EVTDESC69075
	picture = GFX_evt_scandal

	is_triggered_only = yes # on_yearly_pulse, random_events, rumour_events

	has_character_flag = flag_suspected_coward
	only_capable = yes
	prisoner = no

	trigger = {
		has_character_modifier = suspected_coward
		NOT = { trait = craven }
	}

	option = {
		name = EVTOPTA69075 # Admit that you are a coward

		add_trait_fully_silently_craven_effect = yes
		prestige = -5
		remove_character_modifier = suspected_coward
		clr_character_flag = flag_suspected_coward
	}

	option = {
		name = EVTOPTB69075

		remove_character_modifier = suspected_coward

		add_character_modifier = {
			name = proving_bravery
			years = 5
		}
	}
}

# We have proven our bravery!
character_event = {
	id = 69076
	desc = EVTDESC69076
	picture = GFX_evt_melee

	is_triggered_only = yes # on_yearly_pulse, random_events, rumour_events

	only_capable = yes
	prisoner = no

	trigger = {
		OR = {
			has_character_modifier = suspected_coward
			has_character_modifier = proving_bravery
		}

		trait = brave
	}

	option = {
		name = EVTOPTA69076

		remove_character_modifier = suspected_coward
		remove_character_modifier = proving_bravery
	}
}

# Suspected Sodomite Notification
character_event = {
	id = 69080
	desc = EVTDESC69080
	picture = GFX_evt_scandal

	is_triggered_only = yes

	option = {
		name = EVTOPTA69080

		any_courtier = {
			show_scope_change = no

			limit = {
				prisoner = no
				NOT = { trait = homosexual }
			}

			opinion = {
				name = suspected_sodomite_rumour
				who = ROOT
				years = 3
			}
		}
	}
}

# Suspected Incest Notification
character_event = {
	id = 69081
	desc = EVTDESC69081
	picture = GFX_evt_scandal

	is_triggered_only = yes

	option = {
		name = EVTOPTA69081

		any_courtier = {
			show_scope_change = no

			limit = {
				prisoner = no
				NOT = { sibling = ROOT }
			}

			opinion = {
				name = suspected_of_incest_rumour
				who = ROOT
				years = 3
			}
		}
	}
}

# Suspected Impotence Notification
character_event = {
	id = 69082
	desc = EVTDESC69082
	picture = GFX_evt_scandal

	is_triggered_only = yes

	option = {
		name = EVTOPTA69082

		any_courtier = {
			show_scope_change = no

			opinion = {
				name = not_a_real_man
				who = ROOT
				years = 3
			}
		}
	}
}

# Suspected Adultery Notification
character_event = {
	id = 69083
	desc = EVTDESC69083
	picture = GFX_evt_scandal

	is_triggered_only = yes

	option = {
		name = EVTOPTA69083

		any_spouse = {
			show_scope_change = no

			opinion = {
				name = opinion_mad_as_hell
				who = ROOT
				years = 3
			}
		}

		any_courtier = {
			show_scope_change = no

			opinion = {
				name = committed_adultery_rumour
				who = ROOT
				years = 3
			}
		}
	}
}

# Suspected Occultist Notification
character_event = {
	id = 69084
	desc = EVTDESC69084
	picture = GFX_evt_scandal

	is_triggered_only = yes

	option = {
		name = EVTOPTA69084

		any_courtier = {
			show_scope_change = no

			opinion = {
				name = suspected_occultist_rumour
				who = ROOT
				years = 3
			}
		}
	}
}

# Incompetence: Chancellor Notification
character_event = {
	id = 69085
	desc = EVTDESC69085
	picture = GFX_evt_scandal

	is_triggered_only = yes

	option = {
		name = EVTOPTA69085

		any_courtier = {
			show_scope_change = no

			opinion = {
				name = opinion_ruler_do_not_trust_him
				who = ROOT
				years = 5
			}
		}
	}
}

# Incompetence: Marshal Notification
character_event = {
	id = 69086
	desc = EVTDESC69086
	picture = GFX_evt_scandal

	is_triggered_only = yes

	option = {
		name = EVTOPTA69086

		any_courtier = {
			show_scope_change = no

			opinion = {
				name = opinion_ruler_do_not_trust_him
				who = ROOT
				years = 5
			}
		}
	}
}

# Incompetence: Steward Notification
character_event = {
	id = 69087
	desc = EVTDESC69087
	picture = GFX_evt_scandal

	is_triggered_only = yes

	option = {
		name = EVTOPTA69087

		any_courtier = {
			show_scope_change = no

			opinion = {
				name = opinion_ruler_do_not_trust_him
				who = ROOT
				years = 5
			}
		}
	}
}

# Incompetence: Spymaster Notification
character_event = {
	id = 69088
	desc = EVTDESC69088
	picture = GFX_evt_scandal

	is_triggered_only = yes

	option = {
		name = EVTOPTA69088

		any_courtier = {
			show_scope_change = no

			opinion = {
				name = opinion_ruler_do_not_trust_him
				who = ROOT
				years = 5
			}
		}
	}
}

# Incompetence: Lord Spiritual Notification
character_event = {
	id = 69089
	desc = EVTDESC69089
	picture = GFX_evt_scandal

	is_triggered_only = yes

	option = {
		name = EVTOPTA69089

		any_courtier = {
			show_scope_change = no

			opinion = {
				name = opinion_ruler_do_not_trust_him
				who = ROOT
				years = 5
			}
		}
	}
}

# Lack of Piety Notification
character_event = {
	id = 69090
	desc = EVTDESC69090
	picture = GFX_evt_scandal

	is_triggered_only = yes

	option = {
		name = EVTOPTA69090

		any_courtier = {
			show_scope_change = no

			opinion = {
				name = opinion_unchristian
				who = ROOT
				years = 5
			}
		}
	}
}

# Coward Notification
character_event = {
	id = 69091
	desc = EVTDESC69091
	picture = GFX_evt_scandal

	is_triggered_only = yes

	option = {
		name = EVTOPTA69091

		any_courtier = {
			show_scope_change = no

			opinion = {
				name = suspected_coward_rumour
				who = ROOT
				years = 5
			}
		}

		add_character_modifier = {
			name = suspected_coward
			years = 5
		}
	}
}

### Incompetence at work: Chief Mufti - Muslim ###
# CleanSlate: Event id 69095 merged with event id 69058

### Lack of Piety: Any Courtier - Muslim ###
character_event = {
	id = 69100
	desc = EVTDESC69100
	picture = GFX_evt_whispers

	is_triggered_only = yes # on_yearly_pulse, random_events

	religion_group = muslim
	min_age = 16
	only_capable = yes
	prisoner = no

	trigger = {
		intrigue >= 10
		is_ruler = no
		NOT = { has_character_flag = rumour_spreader }

		any_courtier = {
			is_female = no
			is_adult = yes
			piety < 50
			learning < 8
			religion_group = muslim
			prisoner = no

			reverse_opinion = {
				who = ROOT
				value < 50
			}

			NOR = {
				has_character_flag = flag_nomuslim
				trait = zealous
			}
		}
	}

	immediate = {
		set_character_flag = rumour_spreader

		random_courtier = {
			limit = {
				is_female = no
				is_adult = yes
				piety < 50
				learning < 8
				religion_group = muslim
				prisoner = no

				reverse_opinion = {
					who = ROOT
					value < 50
				}

				NOR = {
					has_character_flag = flag_nomuslim
					trait = zealous
				}
			}

			save_event_target_as = target_courtier
		}
	}

	weight_multiplier = {
		factor = 1

		mult_modifier = {
			factor = 2
			trait = deceitful
		}

		mult_modifier = {
			factor = 2
			intrigue >= 15
		}

		mult_modifier = {
			factor = 2
			intrigue >= 20
		}
	}

	option = {
		name = EVTOPTA69060

		event_target:target_courtier = {
			show_scope_change = no

			character_event = {
				id = 69101
				days = 3
				tooltip = EVTTOOLTIP69061
			}
		}

		ai_chance = { factor = 10 }
	}

	option = {
		name = EVTOPTB69100

		event_target:target_courtier = {
			show_scope_change = no

			set_character_flag = flag_nomuslim

			character_event = {
				id = 69090
				days = 3
				tooltip = EVTTOOLTIP69090
			}
		}

		ai_chance = { factor = 50 }
	}

	option = {
		name = EVTOPTC69060

		event_target:target_courtier = {
			show_scope_change = no

			character_event = {
				id = 69102
				days = 3
				tooltip = EVTTOOLTIP69062
			}
		}

		ai_chance = { factor = 40 }
	}
}

# Lack of Piety: Target is confronted
character_event = {
	id = 69101
	desc = EVTDESC69101
	picture = GFX_evt_whispers

	is_triggered_only = yes

	option = {
		name = EVTOPTA69061

		add_character_modifier = {
			name = good_deeds
			years = 2
		}
	}

	option = {
		name = EVTOPTB69061

		set_character_flag = flag_nomuslim
		piety = -10
	}
}

# Lack of Piety: Target is blackmailed
character_event = {
	id = 69102
	desc = EVTDESC69102
	picture = GFX_evt_whispers

	is_triggered_only = yes

	option = {
		name = EVTOPTA69062

		transfer_scaled_wealth = {
			to = FROM
			value = 1
			min = 50
			max = 50
		}

		opinion = {
			name = opinion_angry
			who = FROM
			years = 3
		}

		ai_chance = {
			factor = 50

			mult_modifier = {
				factor = 2
				wealth >= 50
			}
		}
	}

	option = {
		name = EVTOPTB69062

		opinion = {
			name = opinion_angry
			who = FROM
			years = 3
		}

		any_courtier = {
			show_scope_change = no

			limit = {
				religion_group = muslim
				prisoner = no
				NOT = { character = ROOT }
			}

			opinion = {
				name = opinion_nomuslim
				who = ROOT
				years = 3
			}
		}

		ai_chance = {
			factor = 50

			mult_modifier = {
				factor = 2
				wealth < 50
			}
		}
	}
}