###########################################
#
# Events for Personality Traits Effects
#
# ID 3000-3999 is reserved
#
###########################################
#
# Written by Sara Wendel-Örtqvist
# Revisions by Johan Andersson

### Lustful positive ###
character_event = {
	id = 3000
	desc = EVTDESC3000
	picture = GFX_evt_brothel
	border = GFX_event_normal_frame_intrigue
	
	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	religion_group = christian
	war = no

	is_triggered_only = yes

	trigger = {
		trait = lustful		
		in_command_trigger = no
		NOT = {
			has_job_title = job_spiritual
		}
		any_courtier = {
			is_adult = yes
			prisoner = no
			has_job_title = job_spiritual
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.5
			trait = gluttonous
		}
		modifier = {
			factor = 0.75
			trait = greedy
		}

		modifier = {
			factor = 4.0
			trait = temperate
		}
		modifier = {
			factor = 3.0
			trait = charitable
		}
	}

	option = {
		name = EVTOPTB3000
		piety = 10
		remove_trait = lustful
		job_spiritual = {
			opinion = {
				modifier = opinion_approves
				who = ROOT
				years = 5
			}
		}
	}
	option = {
		name = EVTOPTA3000
		piety = -5
		random = {
			chance = 15
			add_trait = deceitful
			hidden_tooltip = {
				character_event = { id = 38255 }
			}
		}
		job_spiritual = {
			opinion = {
				modifier = opinion_lying_about_confession
				who = ROOT
				years = 5
			}
		}
	}
}

### Lustful negative ###
character_event = {
	id = 3001
	desc = EVTDESC3001
	picture = GFX_evt_brothel
	border = GFX_event_normal_frame_intrigue
	
	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no

	is_triggered_only = yes 
	
	trigger = {
		trait = lustful		
		in_command_trigger = no
		OR = {
			any_courtier = {
				is_adult = yes
				in_command_trigger = no
				trait = lustful
				opinion = { who = ROOT value = 50 }
			}
			spouse = {
				is_alive = yes
				is_abroad_trigger = no
				NOT = {
					trait = lustful
				}
			}
		}
	}

	weight_multiplier = {
		factor = 1


		modifier = {
			factor = 3.0
			trait = greedy
		}
		modifier = {
			factor = 3.0
			trait = envious
		}


		modifier = {
			factor = 0.4
			trait = charitable
		}

		modifier = {
			factor = 0.2
			trait = kind
		}
	}

	option = {
		name = EVTOPTA3001
		scaled_wealth = -0.10
	}
}

### Lustful positive ###
character_event = {
	id = 3005
	desc = EVTDESC3005
	picture = GFX_evt_brothel
	border = GFX_event_normal_frame_intrigue
	
	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	only_men = yes
	religion_group = christian
	war = no
	
	is_triggered_only = yes 
	
	trigger = {
		trait = lustful		
		in_command_trigger = no
		NOR = {
			is_inaccessible_trigger = yes
			trait = wounded
			is_maimed_trigger = yes
			trait = craven
		}
		any_courtier = {
			is_female = yes
			is_adult = yes
			prisoner = no
			NOR = {
				age = 35
				trait = ugly
				is_close_relative = ROOT
				trait = incapable
				is_inaccessible_trigger = yes
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.5
			trait = wroth
		}
		modifier = {
			factor = 0.75
			trait = proud
		}

		modifier = {
			factor = 3.0
			trait = patient
		}
		modifier = {
			factor = 4.0
			trait = humble
		}
	}

	option = {
		name = EVTOPTA3005
		trigger = {
			is_married = no
		}
		prestige = 15
		random_courtier = {
			limit = {
				is_female = yes
				prisoner = no
				NOR = {
					is_close_relative = ROOT
					age = 35
					trait = ugly
					trait = incapable
					is_inaccessible_trigger = yes
				}
			}
			opinion = {
				modifier = opinion_tourney_boost
				who = ROOT
				years = 5
			}
		}

		random = {
			chance = 10
			add_trait = wounded
			hidden_tooltip = { character_event = { id = 38280 } }
		}
	}
	option = {
		name = EVTOPTB3005
		trigger = {
			is_married = yes
		}
		prestige = 15
		spouse = {
			opinion = {
				modifier = opinion_tourney_boost
				who = ROOT
				years = 5
			}
		}
		random = {
			chance = 10
			add_trait = wounded
			hidden_tooltip = { character_event = { id = 38280 } }
		}
	}
	option = {
		name = EVTOPTC3005
		prestige = -5
		if = {
			limit = { NOT = { trait = berserker } }
			random = {
				chance = 10
				add_trait = craven
				hidden_tooltip = { character_event = { id = 38257 } }
			}		
		}
	}
}

### Lustful negative ###
character_event = {
	id = 3010
	desc = EVTDESC3010
	picture = GFX_evt_brothel
	border = GFX_event_normal_frame_intrigue
	
	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	only_men = yes
	religion_group = christian
	war = no

	is_triggered_only = yes
	
	trigger = {
		trait = lustful
		in_command_trigger = no
		NOT = { has_job_title = job_spiritual }
		any_courtier = {
			has_job_title = job_spiritual
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 2.0
			trait = slothful
		}
		modifier = {
			factor = 3.0
			trait = envious
		}
		modifier = {
			factor = 0.3
			trait = diligent
		}
		modifier = {
			factor = 0.2
			trait = kind
		}
	}

	option = {
		name = EVTOPTA3010
		piety = -15
		job_spiritual = {
			prestige = 15
		}
	}
}

### Lustful negative ###
character_event = {
	id = 3011
	desc = EVTDESC3011
	picture = GFX_evt_brothel
	border = GFX_event_normal_frame_intrigue
	
	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	religion_group = christian
	war = no
	
	is_triggered_only = yes 
	
	trigger = {		
		in_command_trigger = no
		trait = lustful
		has_job_title = job_spiritual
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 2.0
			trait = slothful
		}
		modifier = {
			factor = 3.0
			trait = envious
		}


		modifier = {
			factor = 0.3
			trait = diligent
		}
		modifier = {
			factor = 0.2
			trait = kind
		}
	}

	option = {
		name = EVTOPTA3011
		piety = -15
	}
}

### CHASTE ###

### Chaste positive ###
character_event = {
	id = 3020
	desc = EVTDESC3020
	picture = GFX_evt_bishop
	border = GFX_event_normal_frame_religion
	
	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	religion_group = christian
	war = no
	is_triggered_only = yes

	trigger = {		
		in_command_trigger = no
		is_heretic = no
		trait = chaste
		NOT = { has_landed_title = k_papal_state }
		NOT = { has_landed_title = k_papal_chalcedon }
		NOT = { trait = excommunicated }
		NOT = { religion = messalian }
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.2
			trait = slothful
		}
		modifier = {
			factor = 0.5
			trait = proud
		}

		modifier = {
			factor = 3.0
			trait = diligent
		}
		modifier = {
			factor = 5.0
			trait = humble
		}
		modifier = {
			factor = 2.5
			NOT = { num_of_children = 1 }
		}
	}

	option = {
		name = EVTOPTA3020
		trigger = {
			religion_group = christian
			NOT = {
				lifestyle_traits = 1
			}
			is_married = yes
		}
		ai_chance = {
			factor = 0
		}
		piety = 20
		add_trait = celibate
	}
	option = {
		name = EVTOPTB3020
		tooltip_info = cynical
		trigger = {
			trait = cynical
		}
		remove_trait = chaste
		piety = -5
	}

	option = {
		name = EVTOPTC3020
		any_courtier = {
			limit = {
				is_adult = yes
				in_command_trigger = no
				OR = {
					trait = lustful
					trait = hedonist
				}
			}
			opinion = {
				modifier = opinion_despise_chaste
				who = ROOT
				years = 1
			}
		}
		piety = 10
		prestige = 5
	}
	option = {
		name = EVTOPTD3020
		piety = 5
	}
}

### Chaste Positive (create character) ###
character_event = {
	id = 3021
	desc = EVTDESC3021
	picture = GFX_evt_bishop
	border = GFX_event_normal_frame_religion
	
	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	religion_group = christian
	war = no

	is_triggered_only = yes 
	
	trigger = {
		trait = chaste
		is_heretic = no		
		in_command_trigger = no
		NOT = { trait = excommunicated }
		NOT = { trait = cynical }
		NOT = { religion = messalian }
		piety = 25
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.2
			trait = slothful
		}
		modifier = {
			factor = 0.5
			trait = proud
		}
		modifier = {
			factor = 1.5
			trait = crusader
		}
		modifier = {
			factor = 2.0
			trait = diligent
		}
		modifier = {
			factor = 1.5
			trait = zealous
		}
		modifier = {
			factor = 2.0
			trait = just
		}
		modifier = {
			factor = 2.5
			trait = humble
		}
	}

	option = {
		name = EVTOPTA3021
		create_character = {
			learning = 9
			dynasty = random
			age = 55
			is_female = no
			culture = ROOT
			religion = ROOT
			trait = chaste
			trait = zealous
			trait = celibate
			trait = mastermind_theologian
		}
	}
	option = {
		name = EVTOPTB3021
		piety = 5
	}
}

### Old scholar ###
character_event = {
	id = 3022
	desc = EVTDESC3022
	picture = GFX_evt_monk
	border = GFX_event_normal_frame_religion
	
	only_playable = yes
	min_age = 16
	max_age = 25
	capable_only = yes
	prisoner = no
	religion_group = christian

	is_triggered_only = yes

	trigger = {
		NOT = { trait = excommunicated }
		any_courtier = {
			learning = 9
			age = 55
			is_female = no
			trait = chaste
			trait = zealous
			trait = celibate
		}
		trait = chaste
	}
	weight_multiplier = {
		factor = 1
		modifier = {
			factor = 4.0
			trait = zealous
		}
	}
	option = {
		name = EVTOPTA3022
		change_learning = 1
		add_character_modifier = {
			name = chaste_learning
			duration = 365
		}
	}
	option = {
		name = EVTOPTB3022
		any_courtier = {
			limit = {
				learning = 9
				age = 55
				is_female = no
				trait = chaste
				trait = zealous
				trait = celibate
			}
			opinion = {
				modifier = opinion_chaste_advice_refused
				who = ROOT
				years = 2
			}
		}
		remove_trait = chaste
	}
}

### Chaste positive ###
character_event = {
	id = 3025
	desc = EVTDESC3025
	picture = GFX_evt_bishop
	border = GFX_event_normal_frame_religion
	
	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	only_men = yes
	religion_group = christian
	war = no
	
	is_triggered_only = yes 
	
	trigger = {		
		in_command_trigger = no
		trait = chaste
		any_courtier = {
			is_female = yes
			age = 18
			is_married = no
			NOT = { is_close_relative = ROOT }
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.4
			trait = wroth
		}
		modifier = {
			factor = 0.5
			trait = proud
		}

		modifier = {
			factor = 4.0
			trait = patient
		}
		modifier = {
			factor = 5.0
			trait = humble
		}
	}

	option = {
		name = EVTOPTA3025
		random_courtier = {
			limit = {
				is_female = yes
				is_adult = yes
				is_married = no
				NOT = { is_close_relative = ROOT }
			}
			opinion = {
				modifier = opinion_admire_chaste
				who = ROOT
				years = 15
			}
		}
		prestige = 5
	}
	option = {
		name = EVTOPTB3025
		random_courtier = {
			limit = {
				is_female = yes
				is_adult = yes
				is_married = no
				NOT = { is_close_relative = ROOT }
			}
			opinion = {
				modifier = opinion_admire_chaste
				who = ROOT
				years = 15
			}
		}
		piety = 5
	}
}

### Cornered by woman ###
character_event = {
	id = 3026
	desc = EVTDESC3026
	picture = GFX_evt_bishop
	border = GFX_event_normal_frame_religion
	
	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	only_men = yes
	is_triggered_only = yes
	war = no
	trigger = {
		trait = chaste		
		in_command_trigger = no
		NOR = {
			trait = eunuch
			trait = celibate
			trait = homosexual
		}
		fertility = 0.4
		any_courtier = {
			is_female = yes
			age = 18
			is_pregnant = no
			NOR = {
				trait = celibate
				age = 35
				trait = homosexual
				is_close_relative = ROOT
			}
			has_opinion_modifier = { who = ROOT modifier = opinion_admire_chaste } 
		}
	}
	
	immediate = {
		random_courtier = {
			limit = {
				is_female = yes
				age = 18
				is_pregnant = no
				NOR = {
					trait = celibate
					age = 35
					trait = homosexual
					is_close_relative = ROOT
				}
				has_opinion_modifier = { who = ROOT modifier = opinion_admire_chaste } 
			}
			save_event_target_as = lovely_lady
		}
	}
	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.4
			trait = wroth
		}
		modifier = {
			factor = 0.5
			trait = proud
		}

		modifier = {
			factor = 4.0
			trait = patient
		}
		modifier = {
			factor = 5.0
			trait = humble
		}
	}

	option = {
		name = {
			text = EVTOPTA3026
			trigger = {
				religion_group = christian
			}
		}

		name = {
			text = EVTOPTC3026
			trigger = {
				NOT = { religion_group = christian }
			}
		}

		event_target:lovely_lady = {			
			if = {
				limit = {
					OR = {
						is_married = yes
						is_consort = yes
					}
				}
				impregnate_cuckoo = ROOT
				break = yes
			}
			impregnate = ROOT
		}
		add_trait = stressed
	}

	option = {
		name = EVTOPTB3026
		event_target:lovely_lady = {
			remove_opinion = { who = ROOT modifier = opinion_admire_chaste }
		}
		prestige = -5
		add_trait = wroth
	}		
}

### Chaste negative ###
character_event = {
	id = 3030
	desc = EVTDESC3030
	picture = GFX_evt_scandal
	border = GFX_event_normal_frame_religion
	
	only_playable = yes
	min_age = 16
	only_men = yes
	capable_only = yes
	prisoner = no
	war = no

	is_triggered_only = yes 
	
	trigger = {		
		in_command_trigger = no
		trait = chaste
		num_of_rivals = 1
		has_nickname = no
		NOR = {
			prestige = 200
			has_nickname = nick_the_effeminate
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 4.0
			trait = deceitful
		}

		modifier = {
			factor = 0.5
			trait = honest
		}
	}

	option = {
		name = EVTOPTA3030
		
		trigger = {
			NOT = { religion_group = zoroastrian_group }
		}
		
		random_rival = {
			prestige = 10
		}
		random = {
			chance = 25
			give_nickname = nick_the_effeminate
			prestige = -5
		}
	}
	
	option = {
		name = EVTOPTA3030
		
		trigger = {
			religion_group = zoroastrian_group
		}
		
		random_rival = {
			prestige = 10
		}
		give_nickname = nick_the_effeminate
		piety = -10
	}
}

### Chaste negative ###
character_event = {
	id = 3035
	desc = EVTDESC3035
	picture = GFX_evt_scandal
	border = GFX_event_normal_frame_religion
	
	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	only_men = yes
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = chaste
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		OR = {
			tier = baron
			tier = count
			tier = duke
			tier = king
			tier = emperor
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 4.0
			trait = gluttonous
		}
		modifier = {
			factor = 5.0
			trait = proud
		}

		modifier = {
			factor = 0.5
			trait = temperate
		}
		modifier = {
			factor = 0.5
			trait = humble
		}

		modifier = {
			factor = 4.0
			is_weak_trigger = yes
		}
		modifier = {
			factor = 5.0
			trait = poet
		}
		modifier = {
			factor = 4.0
			trait = scholar
		}
		modifier = {
			factor = 5.0
			trait = mystic
		}
	}

	option = {
		name = EVTOPTB3035
		trigger = {
			OR = {
				AND = {
					is_married = no
					religion_group = christian
				}
				religion_group = zoroastrian_group
			}
		}
		random = {
			chance = 25
			add_trait = lustful
			hidden_tooltip = {
				character_event = { id = 38272 }
			}
		}
		if = {
			limit = { religion_group = christian }
			piety = -25
		}
		if = {
			limit = { religion_group = zoroastrian_group }
			piety = 25
		}
		random_courtier = {
			limit = {
				is_female = yes
				is_adult = yes
				NOT = { age = 35 }
				OR = {
					AND = {
						NOT = { is_close_relative = ROOT }
						religion_group = christian
					}
					religion_group = zoroastrian_group
				}
			}
			hidden_tooltip = {
				random = {
					chance = 20
					impregnate_cuckoo = ROOT
				}
			}
			add_trait = lustful
			hidden_tooltip = {
				character_event = { id = 38272 }
			}
			opinion = {
				modifier = opinion_infatuated
				who = ROOT
				years = 3
			}
		}
	}

	option = {
		name = EVTOPTC3035
		trigger = {
			is_married = yes
		}
		if = {
			limit = { religion_group = zoroastrian_group }
			piety = 10
		}
		prestige = -25
		random = {
			chance = 5
			remove_trait = chaste
		}
		spouse = {
			add_trait = lustful
			hidden_tooltip = {
				character_event = { id = 38272 } 
			}
		}
	}

	option = {
		name = EVTOPTA3035
		scaled_wealth = -0.25
		prestige = -15
		random = {
			chance = 50
			ROOT = {
				remove_trait = chaste
			}
		}
	}
}

### TEMPERATE ###

### Judge between knights ###
character_event = {
	id = 3012
	desc = EVTDESC3012
	picture = GFX_evt_melee
	border = GFX_event_normal_frame_economy
	
	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	religion_group = christian
	war = no
	
	is_triggered_only = yes 
	
	trigger = {
		trait = temperate		
		in_command_trigger = no		
		any_courtier = {
			martial = 8
			is_adult = yes
			is_female = no
			prisoner = no
			religion_group = christian
		}
	}

	weight_multiplier = {
		factor = 1

	}

	option = {
		name = EVTOPTA3012
		ai_chance = {
			factor = 5
			modifier = {
				factor = 0
				trait = greedy
			}
			modifier = {
				factor = 0.1
				NOT = { wealth = 25 }
			}
		}

		random_courtier = {
			limit = {
				martial = 8
				is_adult = yes
				is_female = no
				prisoner = no
				religion_group = christian
			}
			opinion = {
				modifier = temperate_good_judgement
				who = ROOT
				years = 2
			}

		}
		if = {
			limit = {
				trait = just
			}
			prestige = 5
		}
		wealth = -20
	}
	option = {
		name = EVTOPTB3012
		trigger = {
			religion_group = christian
		}
		ai_chance = {
			factor = 1
			modifier = {
				factor = 0
				trait = cynical
			}
		}
		add_character_modifier = {
			name = defer_to_church_decision
			duration = 365
		}
	}
	option = {
		name = EVTOPTC3012
		ai_chance = {
			factor = 0
		}
		wealth = 50
		remove_trait = temperate
		add_trait = greedy
		if = {
			limit = {
				trait = just
			}
			remove_trait = just
		}
		random_courtier = {
			limit = {
				martial = 8
				is_adult = yes
				is_female = no
				prisoner = no
				religion_group = christian
			}
			opinion = {
				modifier = temperate_bad_judgement
				who = ROOT
				years = 2
			}

		}
	}
}

### Sinful feast ###
character_event = {
	id = 3013
	desc = EVTDESC3013
	picture = GFX_evt_feast
	border = GFX_event_normal_frame_intrigue
	
	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = temperate
		OR = {
			religion_group = christian
			religion_group = zoroastrian_group
		}		
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		any_vassal = {
			tier = baron
			trait = gluttonous
			is_female = no
		}
	}

	option = {
		trigger = { religion_group = christian }
		name = EVTOPTA3013
		random_vassal = {
			limit = {
				tier = baron
				trait = gluttonous
				is_female = no
			}
			opinion = {
				modifier = temperate_annoyer
				who = ROOT
				years = 2
			}
		}
		prestige = -5
	}
	option = {
		trigger = { religion_group = christian }
		name = EVTOPTB3013
		piety = -5
	}
	option = {
		trigger = { religion_group = zoroastrian_group }
		name = EVTOPTC3013
		random_vassal = {
			limit = {
				tier = baron
				trait = gluttonous
				is_female = no
			}
			opinion = {
				modifier = temperate_pleaser
				who = ROOT
				years = 2
			}
			prestige = 5
		}
		piety = 5
	}
	option = {
		trigger = { religion_group = zoroastrian_group }
		name = EVTOPTD3013
		prestige = 5
	}
	
	
}

### GLUTTONOUS ###
character_event = {
	id = 3040
	desc = EVTDESC3040
	picture = GFX_evt_feast
	border = GFX_event_normal_frame_intrigue
	
	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes 
	
	trigger = {
		trait = gluttonous
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		OR = {
			trait = charitable
			trait = gregarious
			stewardship = 8
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.3
			trait = greedy
		}
		modifier = {
			factor = 0.2
			trait = slothful
		}

		modifier = {
			factor = 4.0
			trait = charitable
		}
		modifier = {
			factor = 3.0
			trait = diligent
		}
	}

	option = {
		name = EVTOPTB3040
		trigger = {
			NOT = {	personality_traits = 5	}
		}
		add_trait = greedy
	}
	option = {
		name = EVTOPTA3040
		scaled_wealth = -0.05
		random_courtier = {
			limit = {
				is_adult = yes
				NOT = {
					trait = incapable
				}
				prisoner = no
			}
			opinion = {
				modifier = opinion_enjoyed_feast
				who = ROOT
				years = 5
			}
		}
	}
}

### Gluttonous: Start ###
character_event = {
	id = 3045
	desc = EVTDESC3045
	picture = GFX_evt_feast
	border = GFX_event_normal_frame_intrigue
	
	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes 
	
	trigger = {
		trait = gluttonous
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		any_courtier = {
			is_adult = yes
			in_command_trigger = no
			prisoner = no
			NOR = {
				is_inaccessible_trigger = yes
				trait = incapable
				trait = temperate
			}
			OR = {
				trait = gregarious
				trait = gluttonous
				trait = trusting
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.5
			trait = gluttonous
		}

		modifier = {
			factor = 5.0
			trait = humble
		}
	}

	option = {
		name = EVTOPTA3045
		random_courtier = {
			limit = {
				prisoner = no
				NOR = {
					is_inaccessible_trigger = yes
					trait = incapable
					trait = temperate
				}
				OR = {
					trait = gregarious
					trait = gluttonous
					trait = trusting
				}
			}
			character_event = {
				id = 3046
				days = 5
				tooltip = EVTTOOLTIP3046
			}
		}
	}
}

#Gluttonous: Courtier
character_event = {
	id = 3046
	desc = EVTDESC3046
	picture = GFX_evt_feast
	border = GFX_event_normal_frame_intrigue

	is_triggered_only = yes

	option = {
		name = EVTOPTA3046
		FROM = {
			opinion = {
				modifier = gluttonous_pos
				who = ROOT
				years = 5
			}
			character_event = {
				id = 3047
				days = 5
				tooltip = EVTTOOLTIP3047
			}
		}
	}
}

#New friend
character_event = {
	id = 3047
	desc = EVTDESC3047
	picture = GFX_evt_feast
	border = GFX_event_normal_frame_intrigue
	
	is_triggered_only = yes

	option = {
		name = EVTOPTA3047

		FROM = {
			opinion = {
				modifier = gluttonous_pos
				who = ROOT
				years = 5
			}
		}
	}
}

### Gluttonous negative ###
character_event = {
	id = 3050
	desc = EVTDESC3050
	picture = GFX_evt_feast
	border = GFX_event_normal_frame_intrigue
	
	only_playable = yes
	min_age = 40
	capable_only = yes
	prisoner = no
	only_men = yes
	war = no
	
	is_triggered_only = yes 
	
	trigger = {
		in_command_trigger = no
		trait = gluttonous
		health = 3
		OR = {
			trait = greedy
			trait = slothful
		}
		martial = 5
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 3.0
			trait = envious
		}
		modifier = {
			factor = 4.0
			trait = wroth
		}

		modifier = {
			factor = 0.2
			trait = kind
		}
		modifier = {
			factor = 0.4
			trait = patient
		}
	}

	option = {
		name = EVTOPTA3050
		health = -2
		change_martial = -2
	}
}

### Gluttonous negative: Start ###
character_event = {
	id = 3055
	desc = EVTDESC3055
	picture = GFX_evt_feast
	border = GFX_event_normal_frame_intrigue
	
	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes 
	
	trigger = {
		in_command_trigger = no
		trait = gluttonous
		any_courtier = {
			is_adult = yes
			in_command_trigger = no
			prisoner = no
			NOR = {
				character = ROOT
				trait = incapable
			}
			OR = {
				trait = temperate
				trait = honest
				NAND = {
					trait = hedonist
					trait = content
				}
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 3.0
			trait = greedy
		}
		modifier = {
			factor = 5.0
			trait = lustful
		}

		modifier = {
			factor = 0.4
			trait = charitable
		}
		modifier = {
			factor = 0.5
			trait = chaste
		}
	}

	option = {
		name = EVTOPTA3055
		random_courtier = {
			limit = {
				is_adult = yes
				prisoner = no
				NOR = {
					character = ROOT
					trait = incapable
				}
				OR = {
					trait = temperate
					trait = honest
					NAND = {
						trait = hedonist
						trait = content
					}
				}
			}
			character_event = {
				id = 3056
				tooltip = EVTTOOLTIP3056
			}
		}
	}
}

#Gluttonous negative
character_event = {
	id = 3056
	desc = EVTDESC3056
	picture = GFX_evt_feast
	border = GFX_event_normal_frame_intrigue

	is_triggered_only = yes

	option = {
		name = EVTOPTA3056
		FROM = {
			reverse_opinion = {
				modifier = gluttonous_neg
				who = ROOT
				years = 5
			}
			character_event = {
				id = 3057
				tooltip = EVTTOOLTIP3057
			}
		}
	}
}

#Gluttonous negative
character_event = {
	id = 3057
	desc = EVTDESC3057
	picture = GFX_evt_bad_news
	border = GFX_event_normal_frame_economy
	
	is_triggered_only = yes

	option = {
		name = EVTOPTA3057
		FROM = {
			opinion = {
				modifier = gluttonous_neg
				who = ROOT
				years = 5
			}
		}
	}
}

#######################################
# Greedy
#######################################
character_event = {
	id = 3060
	desc = EVTDESC3060
	picture = GFX_evt_lunatic
	border = GFX_event_normal_frame_economy
	
	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes 
	
	trigger = {
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		trait = greedy
		treasury = 100
		OR = {
			trait = wroth
			has_nickname = nick_the_cruel
			trait = deceitful
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.3
			trait = envious
		}
		modifier = {
			factor = 0.5
			trait = lustful
		}

		modifier = {
			factor = 4.0
			trait = patient
		}
		modifier = {
			factor = 5.0
			trait = chaste
		}
	}

	option = {
		name = EVTOPTA3060
		scaled_wealth = 0.05
		prestige = -5
	}
	option = {
		name = EVTOPTB3060
		trigger = {
			any_courtier = {
				is_adult = yes
				NOR = {
					is_close_relative = ROOT
					demesne_size = 1
				}
			}
		}
		scaled_wealth = 0.10
		random_courtier = {
			limit = {
				is_adult = yes
				NOR = {
					is_close_relative = ROOT
					demesne_size = 1
				}
			}
			opinion = {
				modifier = opinion_money_stolen
				who = ROOT
				years = 5
			}
		}
	}
}

### Greedy ###
character_event = {
	id = 3065
	desc = EVTDESC3065
	picture = GFX_evt_lunatic
	border = GFX_event_normal_frame_economy
	
	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes 
	
	trigger = {
		trait = greedy
		in_command_trigger = no
		any_courtier = {
			is_adult = yes
			in_command_trigger = no
			reverse_opinion = { who = ROOT value = 25 }
			NOR = {
				reverse_has_opinion_modifier = { who = ROOT modifier = opinion_betrayed }
				is_dumb_trigger = no
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.3
			trait = envious
		}
		modifier = {
			factor = 0.5
			trait = proud
		}

		modifier = {
			factor = 2.0
			trait = kind
		}
		modifier = {
			factor = 5.0
			trait = humble
		}
	}

	option = {
		name = EVTOPTA3065
		random_courtier = {
			limit = {
				is_adult = yes
				in_command_trigger = no
				reverse_opinion = { who = ROOT value = 25 }
				NOR = {
					reverse_has_opinion_modifier = { who = ROOT modifier = opinion_betrayed }
					is_dumb_trigger = no
				}
			}
			opinion = {
				modifier = opinion_betrayed
				who = ROOT
				years = 5
			}
			scaled_wealth = 0.10
		}
	}
}

### Greedy negative: Start ###
character_event = {
	id = 3070
	desc = EVTDESC3070
	picture = GFX_evt_courtiers_talking
	border = GFX_event_normal_frame_economy
	
	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes 
	
	trigger = {
		trait = greedy
		in_command_trigger = no
		NOR = {
			is_inaccessible_trigger = yes
			trait = craven
		}
		any_courtier = {
			age = 20
			prisoner = no
			NOR = {
				age = 70
				character = ROOT
				trait = incapable
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 4.0
			trait = wroth
		}
		modifier = {
			factor = 5.0
			trait = proud
		}


		modifier = {
			factor = 0.4
			trait = patient
		}
		modifier = {
			factor = 0.5
			trait = humble
		}
	}

	option = {
		name = EVTOPTA3070
		ai_chance = {
			factor = 99
		}
		random_courtier = {
			limit = {
				age = 20
				prisoner = no
				NOR = {
					age = 70
					character = ROOT
					trait = incapable
				}
			}
			character_event = {
				id = 3071
				tooltip = EVTTOOLTIP3071
			}
		}
	}
	option = {
		name = EVTOPTB3070
		ai_chance = {
			factor = 1
		}
		if = {
			limit = {
				NOT = {
					trait = content
				}
			}
			add_trait = content
		}
		if = {
			limit = {
				trait = content
				NOT = {
					trait = slothful
				}
			}
			add_trait = slothful
		}
		if = {
			limit = {
				trait = content
				trait = slothful
			}
			prestige = -15
		}
	}
}

#Greedy negative: Courtier
character_event = {
	id = 3071
	desc = EVTDESC3071
	picture = GFX_evt_courtiers_talking
	border = GFX_event_normal_frame_economy

	is_triggered_only = yes

	option = {
		name = EVTOPTA3071
		FROM = {
			reverse_opinion = {
				modifier = greedy_neg
				who = ROOT
				years = 2
			}
			character_event = {
				id = 3072
				tooltip = EVTTOOLTIP3072
			}
		}
	}
}

#Greedy negative: ROOT
character_event = {
	id = 3072
	desc = EVTDESC3072
	picture = GFX_evt_courtiers_talking
	border = GFX_event_normal_frame_economy

	is_triggered_only = yes

	option = {
		name = EVTOPTA3072
		scaled_wealth = 0.10
		FROM = {
			opinion = {
				modifier = greedy_neg
				who = ROOT
				years = 2
			}
		}
	}
}

### Greedy negative ###
character_event = {
	id = 3075
	desc = EVTDESC3075
	picture = GFX_evt_bishop
	border = GFX_event_normal_frame_economy
	
	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	religion_group = christian
	war = no
	
	is_triggered_only = yes 
	
	trigger = {
		in_command_trigger = no
		trait = greedy
		NOT = { is_inaccessible_trigger = yes }
		OR = {
			trait = wroth
			trait = gluttonous
			NOT = {
				trait = kind
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 2.0
			trait = slothful
		}
		modifier = {
			factor = 5.0
			trait = lustful
		}

		modifier = {
			factor = 0.2
			trait = kind
		}
		modifier = {
			factor = 0.4
			trait = patient
		}
	}

	option = {
		name = EVTOPTB3075
		random_list = {
			50 = {
				scaled_wealth = 0.05
			}
			50 = {
				piety = -30
				scaled_wealth = -0.02
			}
		}
	}
	option = {
		name = EVTOPTA3075
		piety = -15
	}
}

### Charitable ###
character_event = {
	id = 3080
	desc = EVTDESC3080
	picture = GFX_evt_courtiers_talking
	border = GFX_event_normal_frame_religion
	
	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	is_triggered_only = yes

	trigger = {
		trait = charitable
		NOT = { is_inaccessible_trigger = yes }
		OR = {
			any_courtier = {
				is_landed = no
				is_adult = yes
				prisoner = no
				NOR = {
					is_inaccessible_trigger = yes
					trait = incapable
					opinion = { who = ROOT value = 0 }
				}
			}
			AND = {
				is_ruler = yes
				any_vassal = {
					is_adult = yes
					prisoner = no
					NOR = {
						is_inaccessible_trigger = yes
						trait = incapable
						opinion = { who = ROOT value = 0 }
					}
				}
			}
		}
	}

	weight_multiplier = {
		factor = 1
		modifier = {
			factor = 1.5
			trait = gregarious

		}
	}
	option = {
		name = EVTOPTA3080
		trigger = {
			any_courtier = {
				is_landed = no
				is_adult = yes
				prisoner = no
				NOR = {
					is_inaccessible_trigger = yes
					trait = incapable
					opinion = { who = ROOT value = 0 }
				}
			}
		}
		random_courtier = {
			limit = {
				is_landed = no
				is_adult = yes
				prisoner = no
				NOR = {
					is_inaccessible_trigger = yes
					trait = incapable
					opinion = { who = ROOT value = 0 }
				}
			}
			opinion = { who = ROOT modifier = charitable_to_you }
		}
	}
	option = {
		name = EVTOPTB3080
		trigger = {
			is_ruler = yes
			any_vassal = {
				is_adult = yes
				prisoner = no
				NOR = {
					is_inaccessible_trigger = yes
					trait = incapable
					opinion = { who = ROOT value = 0 }
				}
			}
		}
		random_vassal = {
			limit = {
				is_adult = yes
				prisoner = no
				NOR = {
					is_inaccessible_trigger = yes
					trait = incapable
					opinion = { who = ROOT value = 0 }
				}
			}
			opinion = { who = ROOT modifier = charitable_to_you }
		}
	}
}

### Caring for sick and infirm ###
character_event = {
	id = 3081
	desc = EVTDESC3081
	picture = GFX_evt_illness
	border = GFX_event_normal_frame_religion
	
	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	is_triggered_only = yes

	trigger = {
		trait = charitable
		NOT = { is_inaccessible_trigger = yes }
		any_courtier = {
			prisoner = no
			OR = {
				is_ill = yes
				health_traits = 1
			}
			NOR = {
				is_inaccessible_trigger = yes
				trait = incapable
				has_opinion_modifier = {
					who = ROOT
					modifier = charitable_to_you
				}
			}
		}
	}

	weight_multiplier = {
		factor = 1
		modifier = {
			factor = 0.05
			trait = slothful
		}
	}
	
	immediate = {
		random_courtier = {
			limit = {
				prisoner = no
				OR = {
					is_ill = yes
					health_traits = 1
				}
				NOR = {
					is_inaccessible_trigger = yes
					trait = incapable
					has_opinion_modifier = {
						who = ROOT
						modifier = charitable_to_you
					}			
				}
			}
			save_event_target_as = ill_courtier
		}
	}
	
	option = {
		name = EVTOPTA3081
		event_target:ill_courtier = {
			opinion = { who = ROOT modifier = charitable_to_you }
		}
	}
	option = {
		name = EVTOPTB3081
		trigger = {
			NOR = {
				trait = proud
				personality_traits = 6
			}
		}
		opinion = { who = ROOT modifier = charitable_to_you }
		add_trait = humble
		piety = 10
		event_target:ill_courtier = {
			opinion = { who = ROOT modifier = charitable_to_you }
		}
	}
}

### Harbour the homeless ###
character_event = {
	id = 3082
	desc = EVTDESC3082
	picture = GFX_evt_burning_house
	border = GFX_event_normal_frame_religion
	
	only_playable = yes
	min_age = 16
	prisoner = no
	is_triggered_only = yes

	trigger = {
		trait = charitable
		OR = {
			religion_group = christian
			religion_group = zoroastrian_group
		}
	}

	weight_multiplier = {
		factor = 1
	}
	option = {
		name = EVTOPTA3082
		ai_chance = {
			factor = 1
			modifier = {
				factor = 0
				OR = {
					trait = cruel
					trait = wroth
					trait = slothful
				}
			}
			modifier = {
				factor = 1000
				OR = {
					trait = zealous
					trait = just
					trait = kind
					trait = trusting
				}
			}
		}
		random_demesne_province = {
			add_province_modifier = {
				name = harbour_the_homeless
				duration = 365
			}
		}
	}
	option = {
		name = EVTOPTB3082
		piety = -10
	}
}

### Love the sinner ###
character_event = {
	id = 3083
	desc = EVTDESC3083
	picture = GFX_evt_bishop
	border = GFX_event_normal_frame_religion
	
	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	religion_group = christian

	is_triggered_only = yes

	trigger = {
		trait = charitable
		trait = shy
		any_courtier = {
			is_adult = yes
			OR = {
				trait = lustful
				trait = gluttonous
				trait = greedy
				trait = slothful
				trait = envious
				trait = wroth
				trait = proud
			}
		}
	}

	weight_multiplier = {
		factor = 1
	}
	option = {
		name = EVTOPTA3083
		random_courtier = {
			limit = {
				is_adult = yes
				OR = {
					trait = lustful
					trait = gluttonous
					trait = greedy
					trait = slothful
					trait = envious
					trait = wroth
					trait = proud
				}
			}
			opinion = {
				modifier = charitable_neg
				who = ROOT
				years = 2
			}
		}

	}
	option = {
		name = EVTOPTB3083
		piety = -10
	}
}

### Thomas of Aquinas ###
character_event = {
	id = 3084
	desc = EVTDESC3084
	picture = GFX_evt_bishop
	border = GFX_event_normal_frame_religion
	
	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	religion_group = christian
	is_triggered_only = yes 
	
	trigger = {
		year = 1256
		trait = charitable
		OR = {
			any_courtier = {
				NOT = { opinion = { who = ROOT value = -50 } }
			}
			AND = {
				is_ruler = yes
				any_vassal = {
					NOT = { opinion = { who = ROOT value = -50 } }
				}
			}
		}
	}

	weight_multiplier = {
		factor = 1
		modifier = {
			factor = 2.0
			trait = patient
		}
	}

	option = {
		name = EVTOPTA3084
		prestige = 5
		piety = 5
	}
}

### Virtue of Charity ###
character_event = {
	id = 3085
	desc = EVTDESC3085
	picture = GFX_evt_into_the_dungeon
	border = GFX_event_normal_frame_religion
	
	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	is_triggered_only = yes

	trigger = {
		trait = charitable
		OR = {
			religion_group = christian
			religion_group = zoroastrian_group
		}
		any_courtier = {
			prisoner = yes
			host = { character = ROOT }
		}
	}

	weight_multiplier = {
		factor = 1
	}
	option = {
		name = EVTOPTA3085
		random_courtier = {
			limit = {
				prisoner = yes
				host = { character = ROOT }
			}
			prisoner = no
			opinion = { who = ROOT modifier = charitable_to_you }
		}
		piety = 5


	}
	option = {
		name = EVTOPTB3085
		piety = -10
	}
}

### Charitable positive: Start ###
character_event = {
	id = 3095
	desc = EVTDESC3095
	picture = GFX_evt_courtiers_talking
	border = GFX_event_normal_frame_religion

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	religion_group = christian
	war = no

	is_triggered_only = yes

	trigger = {
		trait = charitable
		in_command_trigger = no
		NOR = {
			is_inaccessible_trigger = yes
			job_treasurer = {
				trait = charitable
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 2.0
			trait = slothful
		}
		modifier = {
			factor = 3.0
			trait = indulgent_wastrel
		}

		modifier = {
			factor = 0.3
			trait = midas_touched
		}

	}

	option = {
		name = EVTOPTA3095
		job_treasurer = {
			character_event = {
				id = 3096
				tooltip = EVTTOOLTIP3096
				days = 2
			}
		}
	}
}

#Continue...
character_event = {
	id = 3096
	desc = EVTDESC3096
	picture = GFX_evt_courtiers_talking
	border = GFX_event_normal_frame_religion

	is_triggered_only = yes

	option = {
		name = EVTOPTA3096
		FROM = {
			character_event = {
				id = 3097
				tooltip = EVTTOOLTIP3097
				days = 2
			}
			reverse_opinion = {
				modifier = charitable_neg
				who = ROOT
				years = 2
			}
		}
	}
	option = {
		name = EVTOPTB3096
		FROM = {
			reverse_opinion = {
				modifier = charitable_pos
				who = ROOT
				years = 2
			}
		}
		random = {
			chance = 65
			add_trait = charitable
			hidden_tooltip = { character_event = { id = 38273 } } # notify
		}
	}
}

#Charitable negative: The end
character_event = {
	id = 3097
	desc = EVTDESC3097
	picture = GFX_evt_courtiers_talking
	border = GFX_event_normal_frame_religion

	is_triggered_only = yes

	option = {
		name = EVTOPTA3097
		ai_chance = {
			factor = 1
		}
		FROM = {
			opinion = {
				modifier = charitable_neg
				who = ROOT
				years = 2
			}
		}
	}
	option = {
		name = EVTOPTB3097
		ai_chance = {
			factor = 0
		}
		FROM = {
			opinion = {
				modifier = charitable_pos
				who = ROOT
				years = 2
			}
		}
		random = {
			chance = 50
			remove_trait = charitable
		}
	}
}

### Slothful positive ###
character_event = {
	id = 3100
	desc = EVTDESC3100
	picture = GFX_evt_spymaster
	border = GFX_event_normal_frame_intrigue

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		in_command_trigger = no
		trait = slothful
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.4
			trait = gluttonous
		}
		modifier = {
			factor = 0.4
			trait = wroth
		}

		modifier = {
			factor = 5.0
			trait = humble
		}
		modifier = {
			factor = 5.0
			trait = chaste
		}
	}

	option = {
		name = EVTOPTA3100
		prestige = 10
		any_courtier = {
			limit = {
				is_councillor = yes
			}
			opinion = {
				modifier = slothful_neg
				who = ROOT
				years = 5
			}
		}
	}

	option = {
		name = EVTOPTB3100
		piety = -5
	}
}

### Slothful positive ###
character_event = {
	id = 3105
	desc = EVTDESC3105
	picture = GFX_evt_family
	border = GFX_event_normal_frame_intrigue

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		in_command_trigger = no
		trait = slothful
		OR = {
			any_courtier = {
				reverse_opinion = { who = ROOT value = 25 }
			}
			spouse = {
				is_alive = yes
				is_abroad_trigger = no
				reverse_opinion = { who = ROOT value = 25 }
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.4
			trait = gluttonous
		}
		modifier = {
			factor = 0.5
			trait = proud
		}

		modifier = {
			factor = 5.0
			trait = humble
		}
		modifier = {
			factor = 5.0
			trait = chaste
		}
	}

	option = {
		name = EVTOPTA3105
		random_courtier = {
			limit = {
				NOT = { spouse = { character = prev } }
			}
			opinion = {
				modifier = slothful_pos
				who = ROOT
				years = 5
			}
		}
	}

	option = {
		name = EVTOPTB3105
		trigger = {
			is_married = yes
			spouse = {
				is_alive = yes
				is_abroad_trigger = no
				reverse_opinion = { who = ROOT value = 25 }
			}
		}
		spouse = {
			opinion = {
				modifier = slothful_pos
				who = ROOT
				years = 5
			}
		}
	}
}

### Slothful negative ###
character_event = {
	id = 3110
	desc = EVTDESC3110
	picture = GFX_evt_castle_construction
	border = GFX_event_normal_frame_intrigue

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = slothful
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		any_courtier = {
			OR = {
				has_job_title = job_treasurer
				has_job_title = job_chancellor
			}
			OR = {
				trait = slothful
				trait = paranoid
				is_dumb_trigger = yes
				trait = depressed
				trait = stressed
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 4.0
			trait = wroth
		}
		modifier = {
			factor = 5.0
			trait = proud
		}

		modifier = {
			factor = 0.4
			trait = charitable
		}
		modifier = {
			factor = 0.2
			trait = kind
		}
	}

	option = {
		name = EVTOPTA3110
		location = {
			add_province_modifier = {
				name = slothful_ruler
				duration = 180
			}
		}
	}
	option = {
		name = EVTOPTB3110
		scaled_wealth = -0.05
		if = {
			limit = {
				NOT = { trait = stressed }
			}
			health = -1
		}
		if = {
			limit = {
				NOR = { trait = stressed trait = depressed }
			}
			random = {
				chance = 33
				add_trait = stressed
				hidden_tooltip = {
					character_event = {
						id = 38282 #Notify Stressed
					}
				}
			}

		}

	}
}

### Slothful negative: Start ###
character_event = {
	id = 3115
	desc = EVTDESC3115
	picture = GFX_evt_bishop
	border = GFX_event_normal_frame_intrigue

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	religion_group = christian
	war = no

	is_triggered_only = yes

	trigger = {
		trait = slothful
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		any_courtier = {
			is_adult = yes
			prisoner = no
			NOR = {
				character = ROOT
				trait = incapable
			}
			OR = {
				is_priest = yes
				trait = zealous
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 4.0
			trait = deceitful
		}

		modifier = {
			factor = 0.5
			trait = honest
		}
	}

	option = {
		name = EVTOPTA3115
		random_courtier = {
			limit = {
				is_adult = yes
				prisoner = no
				NOR = {
					character = ROOT
					trait = incapable
				}
				OR = {
					is_priest = yes
					trait = zealous
				}
			}
			character_event = {
				id = 3116
				days = 1
				random = 3
				tooltip = EVTTOOLTIP3116
			}
		}
	}
}

#Slothful negative: Courtier
character_event = {
	id = 3116
	desc = EVTDESC3116
	picture = GFX_evt_bishop
	border = GFX_event_normal_frame_intrigue

	is_triggered_only = yes

	option = {
		name = EVTOPTA3116
		FROM = {
			character_event = {
				id = 3117
				days = 1
				random = 3
				tooltip = EVTTOOLTIP3117
			}
		}
	}
}

#ROOT is informed about courtier's opinion about him/her
character_event = {
	id = 3117
	desc = EVTDESC3117
	picture = GFX_evt_bishop

	is_triggered_only = yes

	option = {
		name = EVTOPTA3117
		FROM = {
			opinion = {
				modifier = slothful_neg
				who = ROOT
				years = 5
			}
		}
	}
}

### Diligent ###
character_event = {
	id = 3120
	desc = EVTDESC3120
	picture = GFX_evt_spymaster

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = diligent
		in_command_trigger = no
		independent = no
		liege = {
			NOR = {
				character = ROOT
				opinion = { who = ROOT value = 0 }
			}
		}
	}

	weight_multiplier = {
		factor = 1
		modifier = {
			factor = 1.5
			trait = gregarious
		}
	}

	option = {
		name = EVTOPTA3120
		trigger = {
			liege = {
				NOR = {
					trait = slothful
					trait = envious
				}
			}
		}

		liege = {
			opinion = {
				who = ROOT
				modifier = diligent_pos
				years = 10
			}
		}
	}
	option = {
		name = EVTOPTB3120
		liege = {
			opinion = {
				who = ROOT
				modifier = diligent_pos
				years = 2
			}
		}
		prestige = 10
	}
}

### Improve relations with vassal ###
character_event = {
	id = 3121
	desc = EVTDESC3121
	picture = GFX_evt_council

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = diligent
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		any_vassal = {
			NOT = { opinion = { who = ROOT value = 0 } }
		}
	}

	weight_multiplier = {
		factor = 1
		modifier = {
			factor = 1.5
			trait = gregarious
		}
	}

	option = {
		name = EVTOPTA3121
		random_vassal = {
			limit = {
				NOT = { opinion = { who = ROOT value = 0 } }
			}
			opinion = {
				who = ROOT
				modifier = diligent_pos
				years = 5
			}

			if = {
				limit = {
					trait = slothful
				}
				random = {
					chance = 20
					character_event = {
						id = 3122
						tooltip = EVTTOOLTIP3122
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB3121
		random_vassal = {
			limit = {
				NOT = { opinion = { who = ROOT value = 0 } }
			}
			opinion = {
				who = ROOT
				modifier = diligent_pos
				years = 5
			}
		}
		prestige = 10
	}
}

#Diligent ruler
character_event = {
	id = 3122
	desc = EVTDESC3122
	picture = GFX_evt_throne_room

	is_triggered_only = yes

	option = {
		name = EVTOPTA3122
		add_trait = diligent
		prestige = -5
	}
	option = {
		name = EVTOPTB3122
		ai_chance = { factor = 0 }
		piety = -20
	}
}

### Strive for peaceful resolutions ###
character_event = {
	id = 3123
	desc = EVTDESC3123
	picture = GFX_evt_courtiers_talking

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	is_triggered_only = yes

	trigger = {
		trait = diligent
		OR = {
			religion_group = christian
			religion_group = zoroastrian_group
		}		
		war = no
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		any_vassal = {
			is_adult = yes
			any_courtier = {
				is_adult = yes
				NOR = {
					is_inaccessible_trigger = yes
					demesne_size = 1
					opinion = { who = prev value = 0 }
				}
			}
		}
	}

	weight_multiplier = {
		factor = 1
		modifier = {
			factor = 1.5
			trait = gregarious
		}
	}

	option = {
		name = EVTOPTA3123
		random_vassal = {
			limit = {
				is_adult = yes
				any_courtier = {					
					is_adult = yes
					NOR = {
						is_inaccessible_trigger = yes
						demesne_size = 1
						opinion = { who = prev value = 0 }
					}
				}
			}
			random_courtier = {
				limit = {					
					is_adult = yes
					NOR = {
						is_inaccessible_trigger = yes
						demesne_size = 1
						opinion = { who = prev value = 0 }
					}
				}
				opinion = {
					who = PREV
					modifier =  liege_peaceful_resolution
					years = 2
				}
			}
		}
	}
}

### Castle Construction ###
character_event = {
	id = 3124
	desc = EVTDESC3124
	picture = GFX_evt_castle_construction

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = diligent
		in_command_trigger = no
		wealth = 50
		NOR = {	
			has_character_modifier = diligent_on_cost
			has_character_modifier = diligent_on_time
		}
	}

	weight_multiplier = {
		factor = 1
		modifier = {
			factor = 1.5
			trait = just
		}
	}

	option = {
		name = EVTOPTA3124
		add_character_modifier = {
			name = diligent_on_cost
			duration = 1825
		}
	}
	option = {
		name = EVTOPTB3124
		add_character_modifier = {
			name = diligent_on_time
			duration = 1825
		}
	}
}

### Soldiers ###
character_event = {
	id = 3125
	desc = EVTDESC3125
	picture = GFX_evt_council

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = diligent
		in_command_trigger = no
	}

	weight_multiplier = {
		factor = 1
		modifier = {
			factor = 1.5
			trait = ambitious
		}
	}

	option = {
		name = EVTOPTA3125
		trigger = {
			any_demesne_province = {
				NOT = { has_province_modifier = diligent_liege_size }
			}
		}
		random_demesne_province = {
			limit = {
				NOT = { has_province_modifier = diligent_liege_size }
			}
			add_province_modifier = {
				name = diligent_liege_size
				duration = 1825
			}
		}
	}
	option = {
		name = EVTOPTB3125
		add_character_modifier = {
			name = diligent_liege_morale
			duration = 730
		}
	}
}

### Ignored issues ###
character_event = {
	id = 3126
	desc = EVTDESC3126
	picture = GFX_evt_castle_construction

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = diligent
		in_command_trigger = no
		OR = {
			religion_group = christian
			religion_group = muslim
		}
	}

	weight_multiplier = {
		factor = 1
		modifier = {
			factor = 3.0
			trait = arbitrary
		}
	}

	option = {
		name = EVTOPTA3126
		trigger = {
			religion_group = christian
		}
		piety = -10
	}
	option = {
		name = EVTOPTB3126
		ai_chance = {
			factor = 0
		}
		remove_trait = diligent
		prestige = -5

	}
	option = {
		name = EVTOPTC3126
		trigger = {
			religion_group = muslim
		}
		piety = -10
	}
}

###############################
# Envious
###############################

### Envy someone's martial abilities... ###
character_event = {
	id = 3140
	desc = EVTDESC3140
	picture = GFX_evt_melee

	only_playable = yes
	only_men = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = envious
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		any_courtier = {
			is_adult = yes
			NOT = { demesne_size = 1 }
			prisoner = no
			is_female = no
			martial = ROOT
		}
	}

	weight_multiplier = {
		factor = 1
		modifier = {
			factor = 2
			trait = ambitious
		}
	}

	option = {
		name = EVTOPTA3140
		random_courtier = {
			limit = {
				is_adult = yes
				NOT = { demesne_size = 1 }
				prisoner = no
				is_female = no
				martial = ROOT
			}
			opinion = { who = ROOT modifier = envious_neg years = 10 }
		}
		if = {
			limit = {
				NOR = {
					personality_traits = 6
					trait = proud
					trait = wroth
				}
			}
			random_list = {
				50 = {}
				30 = {	add_trait = proud	hidden_tooltip = { character_event = { id = 38261} }}
				20 = {	add_trait = wroth	hidden_tooltip = { character_event = { id = 38254} }}
			}
		}
	}
	option = {
		name = EVTOPTB3140
		random_courtier = {
			limit = {
				is_adult = yes
				NOT = { demesne_size = 1 }
				prisoner = no
				is_female = no
				martial = ROOT
			}
			opinion = { who = ROOT modifier = envious_pos years = 10 }
		}
		if = {
			limit = {
				NOR = {
					personality_traits = 6
					trait = deceitful
					trait = humble
				}
			}
			random_list = {
				50 = {}
				30 = {	add_trait = deceitful	hidden_tooltip = { character_event = { id = 38255} }}
				20 = {	add_trait = humble	hidden_tooltip = { character_event = { id = 38260} }}
			}
		}
	}
	option = {
		name = EVTOPTC3140
		trigger = {
			OR = {
				trait = ambitious
				trait = proud
				trait = brave
				trait = zealous
			}
		}
		change_martial = 1
		if = {
			limit = {
				NOR = {
					trait = stressed
					trait = depressed
				}
			}
			random = {
				chance = 15
				add_trait = stressed
				hidden_tooltip = {
					character_event = {
						id = 38282 #Notify Stressed
					}
				}
			}
		}
	}
}

### Envy someones diplomatic ability ###
character_event = {
	id = 3141
	desc = EVTDESC3141
	picture = GFX_evt_emissary

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = envious
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		any_courtier = {
			is_adult = yes
			NOT = { demesne_size = 1 }
			prisoner = no
			diplomacy = ROOT
		}
	}

	weight_multiplier = {
		factor = 1
		modifier = {
			factor = 2
			trait = ambitious
		}
	}

	option = {
		name = EVTOPTA3141
		random_courtier = {
			limit = {
				is_adult = yes
				NOT = { demesne_size = 1 }
				prisoner = no
				diplomacy = ROOT
			}
			opinion = { who = ROOT modifier = envious_neg years = 10 }
		}
		if = {
			limit = {
				NOR = {
					personality_traits = 6
					trait = proud
					trait = wroth
				}
			}
			random_list = {
				50 = {}
				30 = {	add_trait = proud	hidden_tooltip = { character_event = { id = 38261} }}
				20 = {	add_trait = wroth	hidden_tooltip = { character_event = { id = 38254} }}
			}
		}
	}
	option = {
		name = EVTOPTB3141
		random_courtier = {
			limit = {
				is_adult = yes
				NOT = { demesne_size = 1 }
				prisoner = no
				diplomacy = ROOT
			}
			opinion = { who = ROOT modifier = envious_pos years = 10 }
		}
		if = {
			limit = {
				NOR = {
					personality_traits = 6
					trait = deceitful
					trait = humble
				}
			}
			random_list = {
				50 = {}
				30 = {	add_trait = deceitful	hidden_tooltip = { character_event = { id = 38255} }}
				20 = {	add_trait = humble	hidden_tooltip = { character_event = { id = 38260} }}
			}
		}
	}
	option = {
		name = EVTOPTC3141
		trigger = {
			OR = {
				trait = ambitious
				trait = proud
				trait = brave
				trait = zealous
			}
		}
		change_diplomacy = 1
		if = {
			limit = {
				NOR = {
					trait = stressed
					trait = depressed
				}
			}
			random = {
				chance = 15
				add_trait = stressed
				hidden_tooltip = {
					character_event = {
						id = 38282 #Notify Stressed
					}
				}
			}
		}
	}
}

### Envy Stewardship ###
character_event = {
	id = 3142
	desc = EVTDESC3142
	picture = GFX_evt_throne_room

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = envious
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		any_courtier = {
			is_adult = yes
			NOT = { demesne_size = 1 }
			prisoner = no
			stewardship = ROOT
		}
	}

	weight_multiplier = {
		factor = 1
		modifier = {
			factor = 2
			trait = ambitious
		}
	}

	option = {
		name = EVTOPTA3142
		random_courtier = {
			limit = {
				is_adult = yes
				NOT = { demesne_size = 1 }
				prisoner = no
				stewardship = ROOT
			}
			opinion = { who = ROOT modifier = envious_neg years = 10 }
		}
		if = {
			limit = {
				NOR = {
					personality_traits = 6
					trait = proud
					trait = wroth
				}
			}
			random_list = {
				50 = {}
				30 = {	add_trait = proud	hidden_tooltip = { character_event = { id = 38261} }}
				20 = {	add_trait = wroth	hidden_tooltip = { character_event = { id = 38254} }}
			}
		}
	}
	option = {
		name = EVTOPTB3142
		random_courtier = {
			limit = {
				is_adult = yes
				NOT = { demesne_size = 1 }
				prisoner = no
				stewardship = ROOT
			}
			opinion = { who = ROOT modifier = envious_pos years = 10 }
		}
		if = {
			limit = {
				NOR = {
					personality_traits = 6
					trait = deceitful
					trait = humble
				}
			}
			random_list = {
				50 = {}
				30 = {	add_trait = deceitful hidden_tooltip = { character_event = { id = 38255} }}
				20 = {	add_trait = humble	hidden_tooltip = { character_event = { id = 38260} }}
			}
		}
	}
	option = {
		name = EVTOPTC3142
		trigger = {
			OR = {
				trait = ambitious
				trait = proud
				trait = brave
				trait = zealous
			}
		}
		change_stewardship = 1
		if = {
			limit = {
				NOR = {
					trait = stressed
					trait = depressed
				}
			}
			random = {
				chance = 15
				add_trait = stressed
				hidden_tooltip = {
					character_event = {
						id = 38282 #Notify Stressed
					}
				}
			}
		}
	}
}

### Envy intrigue ###
character_event = {
	id = 3143
	desc = EVTDESC3143
	picture = GFX_evt_throne_room

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = envious
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		any_courtier = {
			is_adult = yes
			NOT = { demesne_size = 1 }
			prisoner = no
			intrigue = ROOT
		}
	}

	weight_multiplier = {
		factor = 1
		modifier = {
			factor = 2
			trait = ambitious
		}
	}

	option = {
		name = EVTOPTA3143
		random_courtier = {
			limit = {
				is_adult = yes
				NOT = { demesne_size = 1 }
				prisoner = no
				intrigue = ROOT
			}
			opinion = { who = ROOT modifier = envious_neg years = 10 }
		}
		if = {
			limit = {
				NOT = { personality_traits = 6 }
				NOT = { trait = proud }
				NOT = { trait = wroth }
			}
			random_list = {
				50 = {}
				30 = {	add_trait = proud	hidden_tooltip = { character_event = { id = 38261} }}
				20 = {	add_trait = wroth	hidden_tooltip = { character_event = { id = 38254} }}
			}
		}
	}
	option = {
		name = EVTOPTB3143
		random_courtier = {
			limit = {
				is_adult = yes
				NOT = { demesne_size = 1 }
				prisoner = no
				intrigue = ROOT
			}
			opinion = { who = ROOT modifier = envious_pos years = 10 }
		}
		if = {
			limit = {
				NOR = {
					personality_traits = 6
					trait = deceitful
					trait = humble
				}
			}
			random_list = {
				50 = {}
				30 = {	add_trait = deceitful	hidden_tooltip = { character_event = { id = 38255} }}
				20 = {	add_trait = humble	hidden_tooltip = { character_event = { id = 38260} }}
			}
		}
	}
	option = {
		name = EVTOPTC3143
		trigger = {
			OR = {
				trait = ambitious
				trait = proud
				trait = brave
				trait = zealous
			}
		}
		change_intrigue = 1
		if = {
			limit = {
				NOR = {
					trait = stressed
					trait = depressed
				}
			}
			random = {
				chance = 15
				add_trait = stressed
				hidden_tooltip = {
					character_event = {
						id = 38282 #Notify Stressed
					}
				}
			}
		}
	}
}

### Envy learning ###
character_event = {
	id = 3144
	desc = EVTDESC3144
	picture = GFX_evt_library

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = envious
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		any_courtier = {
			is_adult = yes
			NOT = { demesne_size = 1 }
			prisoner = no
			learning = ROOT
		}
	}

	weight_multiplier = {
		factor = 1
		modifier = {
			factor = 2
			trait = ambitious
		}
	}

	option = {
		name = EVTOPTA3144
		random_courtier = {
			limit = {
				is_adult = yes
				NOT = { demesne_size = 1 }
				prisoner = no
				learning = ROOT
			}
			opinion = { who = ROOT modifier = envious_neg years = 10 }
		}
		if = {
			limit = {
				NOR = {
					personality_traits = 6
					trait = proud
					trait = wroth
				}
			}
			random_list = {
				50 = {}
				30 = {	add_trait = proud	hidden_tooltip = { character_event = { id = 38261} }}
				20 = {	add_trait = wroth	hidden_tooltip = { character_event = { id = 38254} }}
			}
		}
	}
	option = {
		name = EVTOPTB3144
		random_courtier = {
			limit = {
				is_adult = yes
				NOT = { demesne_size = 1 }
				prisoner = no
				learning = ROOT
			}
			opinion = { who = ROOT modifier = envious_pos years = 10 }
		}
		if = {
			limit = {
				NOR = {
					personality_traits = 6
					trait = deceitful
					trait = humble
				}
			}
			random_list = {
				50 = {}
				30 = {	add_trait = deceitful	hidden_tooltip = { character_event = { id = 38255} }}
				20 = {	add_trait = humble	hidden_tooltip = { character_event = { id = 38260} }}
			}
		}
	}
	option = {
		name = EVTOPTC3144
		trigger = {
			OR = {
				trait = ambitious
				trait = proud
				trait = brave
				trait = zealous
			}
		}
		change_martial = 1
		if = {
			limit = {
				NOR = {
					trait = stressed
					trait = depressed
				}
			}
			random = {
				chance = 15
				add_trait = stressed
				hidden_tooltip = {
					character_event = {
						id = 38282 #Notify Stressed
					}
				}
			}
		}
	}
}

### I have no children, and other women have it... ###
character_event = {
	id = 3145
	desc = EVTDESC3145
	picture = GFX_evt_child_play

	min_age = 26
	prisoner = no
	only_women = yes
	capable_only = yes
	war = no
	is_married = no

	is_triggered_only = yes

	trigger = {
		trait = envious
		in_command_trigger = no
		NOR = {
			is_inaccessible_trigger = yes
			num_of_children = 1
		}
		any_courtier = {
			is_female = yes
			age = 16
			NOT = {
				demesne_size = 1
			}
			ROOT = {
				age_diff = {
					who = PREV
					years = 5
				}
			}
			prisoner = no
			num_of_children = 1
		}
	}

	weight_multiplier = {
		factor = 1
		modifier = {
			factor = 2
			trait = ambitious
		}
	}

	immediate = {
		random_courtier = {
			limit = {
				is_female = yes
				age = 16
				NOT = {
					demesne_size = 1
				}
				ROOT = {
					age_diff = {
						who = PREV
						years = 5
					}
				}
				prisoner = no
				num_of_children = 1
			}
			save_event_target_as = young_mother
		}
	}
	
	option = {
		name = EVTOPTA3145
		event_target:young_mother = {
			opinion = { who = ROOT modifier = envious_neg years = 10 }
		}
		if = {
			limit = {
				NOR = {
					personality_traits = 6
					trait = proud
					trait = wroth
				}
			}
			random_list = {
				50 = {}
				30 = {	add_trait = proud	hidden_tooltip = { character_event = { id = 38261} }}
				20 = {	add_trait = wroth	hidden_tooltip = { character_event = { id = 38254} }}
			}
		}
	}
	option = {
		name = EVTOPTB3145
		event_target:young_mother = {
			opinion = { who = ROOT modifier = envious_pos years = 10 }
		}
		if = {
			limit = {
				NOR = {
					personality_traits = 6
					trait = deceitful
					trait = humble
				}
			}
			random_list = {
				50 = {}
				30 = {	add_trait = deceitful	hidden_tooltip = { character_event = { id = 38255} }}
				20 = {	add_trait = humble	hidden_tooltip = { character_event = { id = 38260} }}
			}
		}
	}
	option = {
		name = EVTOPTC3145
		trigger = {
			OR = {
				trait = ambitious
				trait = proud
				trait = brave
			}
		}
		fertility = 0.1
		if = {
			limit = {
				NOR = {
					trait = stressed
					trait = depressed
				}
			}
			random = {
				chance = 33
				add_trait = stressed
				hidden_tooltip = {
					character_event = {
						id = 38282 #Notify Stressed
					}
				}
			}
		}
	}
}

### Kind positive: Start ###
character_event = {
	id = 3160
	desc = EVTDESC3160
	picture = GFX_evt_feast

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = kind		
		in_command_trigger = no
		any_courtier = {
			is_adult = yes
			prisoner = no
			NOR = {
				trait = envious
				character = ROOT
				trait = incapable
				has_character_modifier = modifier_positive
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.5
			trait = kind
		}
		modifier = {
			factor = 0.5
			trait = charitable
		}

		modifier = {
			factor = 5.0
			trait = wroth
		}
		modifier = {
			factor = 4.0
			trait = envious
		}
	}

	option = {
		name = EVTOPTA3160
		random_courtier = {
			limit = {
				is_adult = yes
				prisoner = no
				NOR = {
					trait = envious
					character = ROOT
					trait = incapable
					has_character_modifier = modifier_positive
				}
			}
			character_event = {
				id = 3161
				tooltip = EVTTOOLTIP3161
			}
		}
	}
}

#Kind Positive: Courtier
character_event = {
	id = 3161
	desc = EVTDESC3161
	picture = GFX_evt_feast

	is_triggered_only = yes

	option = {
		name = EVTOPTA3161
		FROM = {
			reverse_opinion = {
				modifier = kind_pos
				who = ROOT
				years = 2
			}
			character_event = {
				id = 3162
				tooltip = EVTTOOLTIP3162
			}
		}
	}
}

#Kind Positive: The End
character_event = {
	id = 3162
	desc = EVTDESC3162
	picture = GFX_evt_feast

	is_triggered_only = yes

	option = {
		name = EVTOPTA3162
		FROM = {
			opinion = {
				modifier = kind_pos
				who = ROOT
				years = 2
			}
		}
	}
}

### Kind: Villagers ask for help ###
character_event = {
	id = 3170
	desc = EVTDESC3170
	picture = GFX_evt_emissary

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no

	is_triggered_only = yes

	trigger = {
		trait = kind
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		treasury = 20
		OR = {
			trait = charitable
			trait = diligent
			diplomacy = 10
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 4.0
			trait = gluttonous
		}
		modifier = {
			factor = 5.0
			trait = lustful
		}

		modifier = {
			factor = 0.4
			trait = patient
		}
		modifier = {
			factor = 0.5
			trait = chaste
		}
	}

	option = {
		name = EVTOPTA3170
		ai_chance = {
			factor = 99
		}
		scaled_wealth = -0.15
		piety = 5
	}
	option = {
		name = EVTOPTB3170
		ai_chance = {
			factor = 1
		}
		piety = -10
		remove_trait = kind
	}
}

### Kind negative: Start ###
character_event = {
	id = 3175
	desc = EVTDESC3175
	picture = GFX_evt_courtiers_talking

	min_age = 16
	capable_only = yes
	only_playable = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = kind
		in_command_trigger = no
		NOT = {
			has_character_modifier = the_kind
		}
		any_courtier = {
			is_adult = yes
			prisoner = no
			NOR = {
				character = ROOT
				trait = incapable
			}
			OR = {
				trait = envious
				trait = cruel
				NOT = {
					trait = kind
				}
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 2.0
			trait = slothful
		}
		modifier = {
			factor = 4.0
			trait = wroth
		}

		modifier = {
			factor = 0.2
			trait = kind
		}
		modifier = {
			factor = 0.5
			trait = chaste
		}
	}

	option = {
		name = EVTOPTA3175
		ai_chance = { factor = 90 }
		random_courtier = {
			limit = {
				is_adult = yes
				prisoner = no
				NOR = {
					character = ROOT
					trait = incapable
				}
				OR = {
					trait = envious
					NOT = {
						trait = kind
					}
				}
			}
			character_event = {
				id = 3176
				tooltip = EVTTOOLTIP3176
			}
		}
	}
}

#Kind Negative: Courtier
character_event = {
	id = 3176
	desc = EVTDESC3176
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	option = {
		name = EVTOPTA3176
		FROM = {
			reverse_opinion = {
				modifier = kind_neg
				who = ROOT
				years = 1
			}
			character_event = {
				id = 3177
				tooltip = EVTTOOLTIP3177
			}
		}
	}
}

#Kind Negative: The End
character_event = {
	id = 3177
	desc = EVTDESC3177
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	option = {
		name = EVTOPTA3177
		add_character_modifier = {
			name = the_kind
			duration = 365
		}
		FROM = {
			opinion = {
				modifier = kind_neg
				who = ROOT
				years = 1
			}
		}
	}
}

### Wroth positive ###
character_event = {
	id = 3180
	desc = EVTDESC3180
	picture = GFX_evt_lunatic

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = wroth
		in_command_trigger = no
		NOT = { has_character_modifier = the_vicious }
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.3
			trait = envious
		}
		modifier = {
			factor = 0.5
			trait = lustful
		}

		modifier = {
			factor = 4.0
			trait = charitable
		}
		modifier = {
			factor = 3.0
			trait = diligent
		}
	}

	option = {
		name = EVTOPTA3180
		add_character_modifier = {
			name = the_vicious
			duration = 1460
		}
	}
}

### Wroth positive: Start ###
character_event = {
	id = 3185
	desc = EVTDESC3185
	picture = GFX_evt_market

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = wroth
		in_command_trigger = no
		tier = count
		NOT = {
			trait = kind
		}
		stewardship = 10
		any_courtier = {
			is_adult = yes
			trait = trusting
			NOT = {
				stewardship = 6
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.5
			trait = proud
		}
		modifier = {
			factor = 0.5
			trait = lustful
		}

		modifier = {
			factor = 5.0
			trait = temperate
		}
		modifier = {
			factor = 3.0
			trait = diligent
		}
	}

	option = {
		name = EVTOPTA3185
		random_courtier = {
			limit = {
				is_adult = yes
				trait = trusting
				NOT = {
					stewardship = 6
				}
			}
			character_event = {
				id = 3186
				tooltip = EVTTOOLTIP3186
			}
		}
	}
}

#Wroth Positive: Courtier
character_event = {
	id = 3186
	desc = EVTDESC3186
	picture = GFX_evt_market

	is_triggered_only = yes

	option = {
		name = EVTOPTA3186
		FROM = {
			reverse_opinion = {
				modifier = wroth_pos
				who = ROOT
				years = 2
			}
			character_event = {
				id = 3187
				days = 5
				tooltip = EVTTOOLTIP3187
			}
		}
	}
}

#Wroth Positive: Liege
character_event = {
	id = 3187
	desc = EVTDESC3187
	picture = GFX_evt_market

	is_triggered_only = yes

	option = {
		name = EVTOPTA3187
		FROM = {
			opinion = {
				modifier = wroth_pos
				who = ROOT
				years = 2
			}
		}
	}
}

### Wroth: Start ###
character_event = {
	id = 3190
	desc = EVTDESC3190
	picture = GFX_evt_bishop

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	religion_group = christian
	war = no

	is_triggered_only = yes

	trigger = {
		trait = wroth
		in_command_trigger = no
		any_courtier = {
			is_adult = yes
			prisoner = no
			religion_group = christian
			NOR = {
				trait = incapable
				trait = wroth
				trait = patient
			}
			OR = {
				trait = kind
				trait = charitable
				prestige = 60
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 4.0
			is_priest = no
		}
		modifier = {
			factor = 5.0
			is_weak_trigger = yes
		}

		modifier = {
			factor = 0.5
			trait = scholarly_theologian
		}
		modifier = {
			factor = 0.3
			trait = mastermind_theologian
		}
	}

	option = {
		name = EVTOPTA3190
		random_courtier = {
			limit = {
				is_adult = yes
				prisoner = no
				religion_group = christian
				NOR = {
					trait = incapable
					trait = wroth
					trait = patient
				}
				OR = {
					trait = kind
					trait = charitable
					prestige = 60
				}
			}
			character_event = {
				id = 3191
				days = 1
				tooltip = EVTTOOLTIP3191
			}
		}
	}
}

#Wroth: Courtier
character_event = {
	id = 3191
	desc = EVTDESC3191
	picture = GFX_evt_bishop

	is_triggered_only = yes

	option = {
		name = EVTOPTA3191
		FROM = {
			reverse_opinion = {
				modifier = wroth_neg
				who = ROOT
				years = 2
			}
			character_event = {
				id = 3192
				days = 1
				tooltip = EVTTOOLTIP3192
			}
		}
	}
	option = {
		name = EVTOPTB3191
		FROM = {
			reverse_opinion = {
				modifier = wroth_pos
				who = ROOT
				years = 2
			}
			character_event = {
				id = 3193
				days = 1
				tooltip = EVTTOOLTIP3192
			}
		}
	}
}

#Wroth neg: ROOT
character_event = {
	id = 3192
	desc = EVTDESC3192
	picture = GFX_evt_bishop

	is_triggered_only = yes

	option = {
		name = EVTOPTA3192
		FROM = {
			opinion = {
				modifier = wroth_neg
				who = ROOT
				years = 2
			}
		}
	}
}

#Wroth pos: ROOT
character_event = {
	id = 3193
	desc = EVTDESC3193
	picture = GFX_evt_bishop

	is_triggered_only = yes

	option = {
		name = EVTOPTA3193
		FROM = {
			opinion = {
				modifier = wroth_pos
				who = ROOT
				years = 2
			}
		}
	}
}

### Wroth negative ###
character_event = {
	id = 3195
	desc = EVTDESC3195
	picture = GFX_evt_scandal

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = wroth
		in_command_trigger = no
		any_courtier = {
			NOR = {
				opinion = { who = ROOT value = -20 }
				trait = wroth
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 2.0
			trait = slothful
		}
		modifier = {
			factor = 3.0
			trait = envious
		}

		modifier = {
			factor = 0.2
			trait = kind
		}
		modifier = {
			factor = 0.5
			trait = humble
		}
	}

	option = {
		name = EVTOPTA3195
		prestige = -10
	}
}

##################################################
# Patient
##################################################

### Patient ###
character_event = {
	id = 3200
	desc = EVTDESC3200
	picture = GFX_evt_courtiers_talking

	min_age = 16
	capable_only = yes
	only_playable = yes
	prisoner = no
	religion_group = christian
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = patient
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		any_courtier = {
			is_adult = yes
			trait = wroth
		}
	}

	weight_multiplier = {
		factor = 1

	}

	option = {
		name = EVTOPTA3200
		random_courtier = {
			limit = {
				is_adult = yes
				trait = wroth
			}
			character_event = { id = 3201 	tooltip = EVTTOOLTIP3201 }
		}
	}
	option = {
		name = EVTOPTB3200
		random_courtier = {
			limit = {
				is_adult = yes
				trait = wroth
			}
			opinion = {
				modifier = patient_pos
				who = ROOT
				years = 10
			}
		}
	}
}

#Patient
character_event = {
	id = 3201
	desc = EVTDESC3201
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	option = {
		name = EVTOPTA3201
		remove_trait = wroth
	}
	option = {
		name = EVTOPTB3201
		prestige = -5
	}
}

### Patient ###
character_event = {
	id = 3202
	desc = EVTDESC3202
	picture = GFX_evt_bishop

	only_playable = yes
	min_age = 16
	max_age = 50
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = patient
		NOT = { health = 8 }
		in_command_trigger = no
	}

	weight_multiplier = {
		factor = 1
		modifier = {
			factor = 0.1
			trait = gluttonous
		}
		modifier = {
			factor = 0.1
			trait = drunkard
		}
		modifier = {
			factor = 10
			OR = {
				has_ambition = obj_buddhist_stop_drinking
				has_ambition = obj_buddhist_temperance_food
			}
		}
	}

	option = {
		name = EVTOPTA3202
		trigger = {
			NOT = { trait = gluttonous }
		}
		health = 0.25
	}
	option = {
		name = EVTOPTB3202
		trigger = {
			NOT = { trait = drunkard }
		}
		health = 0.25
	}
	option = {
		name = EVTOPTC3202
		trigger = {
			OR = {
				trait = drunkard
				trait = gluttonous
			}
		}
		if = {
			limit = {
				trait = drunkard
			}
			remove_trait = drunkard
		}
		if = {
			limit = {
				trait = gluttonous
			}
			remove_trait = gluttonous
		}
	}
}

### Patient ###
character_event = {
	id = 3203
	desc = EVTDESC3203
	picture = GFX_evt_knight_kneeling

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	religion_group = christian
	war = no
	
	is_triggered_only = yes

	trigger = {
		religion_group = christian
		trait = patient
		NOT = { trait = cruel }
		in_command_trigger = no
		any_vassal = {
			is_adult = yes
			NOT = {
				reverse_opinion = { who = ROOT value = -10 }
			}
		}
	}

	weight_multiplier = {
		factor = 1

	}

	option = {
		name = EVTOPTA3203
		random_vassal = {
			limit = {
				is_adult = yes
				NOT = { reverse_opinion = { who = ROOT value = -10 } }
			}
			character_event = { id = 3204 	tooltip = EVTTOOLTIP3204 }
			opinion = {
				modifier = grace_to_forgive
				who = ROOT
				years = 10
			}
		}
	}
	option = {
		name = EVTOPTB3203
		piety = -10
	}
}

#Patient
character_event = {
	id = 3204
	desc = EVTDESC3204
	picture = GFX_evt_knight_kneeling

	is_triggered_only = yes
	option = {
		name = EVTOPTA3204
		reverse_opinion = {
			modifier = grace_to_forgive
			who = FROM
			years = 10
		}
	}
}

### Patient ###
character_event = {
	id = 3205
	desc = EVTDESC3205
	picture = GFX_evt_knight_kneeling

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	religion_group = christian
	war = no
	only_men = yes
	
	is_triggered_only = yes

	trigger = {
		trait = patient
		in_command_trigger = no
		NOR = {
			is_inaccessible_trigger = yes
			trait = cynical
			has_character_modifier = mercy_to_sinners
		}
		piety = 50
		learning = 7
		any_courtier = {
			is_adult = yes
			is_female = no
			NOT = { is_inaccessible_trigger = yes }
			OR = {
				trait = cynical
				is_heretic = yes
				NOT = { piety = 25 }
			}
		}
	}

	weight_multiplier = {
		factor = 1
		modifier = {
			factor = 2.5
			piety = 100
		}
		modifier = {
			factor = 1.5
			trait = zealous
		}

	}

	option = {
		name = EVTOPTA3205
		random_courtier = {
			limit = {
				is_adult = yes
				is_female = no
				NOT = { is_inaccessible_trigger = yes }
				OR = {
					trait = cynical
					is_heretic = yes
					NOT = { piety = 25 }
				}
			}
			character_event = { id = 3206 	tooltip = EVTTOOLTIP3206 }
		}
		add_character_modifier = {
			name = mercy_to_sinners
			duration = -1
		}
	}
	option = {
		name = EVTOPTB3205
		piety = 5
	}
}

#Patient
character_event = {
	id = 3206
	desc = EVTDESC3206
	picture = GFX_evt_bishop

	is_triggered_only = yes

	option = {
		name = EVTOPTA3206
		ai_chance = {
			factor = 5
			modifier = {
				factor = 0.05
				trait = cynical
			}
			modifier = {
				factor = 10.0
				trait = zealous
			}
			modifier = {
				factor = 0.05
				is_heretic = yes
			}
			modifier = {
				factor = 1.5
				FROM = { trait = zealous }
			}
			modifier = {
				factor = 2.0
				trait = trusting
			}
			modifier = {
				factor = 1.5
				FROM = { trait = gregarious }
			}
			modifier = {
				factor = 1.5
				FROM = { trait = kind }
			}
		}
		piety = 10
		if = {
			limit = { trait = cynical }
			remove_trait = cynical
		}
		if = {
			limit = { is_heretic = yes }
			abandon_heresy = yes
		}
		FROM = { character_event = { id = 3207 	tooltip = EVTTOOLTIP3207 } }
	}
	option = {
		name = EVTOPTB3206
		FROM = { character_event = { id = 3208 	tooltip = EVTTOOLTIP3208 } }
	}
}

#Patient
character_event = {
	id = 3207
	desc = EVTDESC3207
	picture = GFX_evt_bishop

	is_triggered_only = yes
	option = {
		reverse_opinion = {
			modifier = saved_my_soul
			who = FROM
			years = 5
		}
		name = EVTOPTA3207
		piety  = 10

	}
}

#Patient
character_event = {
	id = 3208
	desc = EVTDESC3208
	picture = GFX_evt_bishop

	is_triggered_only = yes
	option = {
		name = EVTOPTA3208
		piety  = 5

	}
}

### Proud positive ###
character_event = {
	id = 3220
	desc = EVTDESC3220
	picture = GFX_evt_castle_construction

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = proud
		in_command_trigger = no
		health = 5
		OR = {
			diplomacy = 10
			learning = 10
			intrigue = 10
			NOT = {
				trait = wroth
			}
			has_ambition = obj_buddhist_reject_pride
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.3
			trait = greedy
		}
		modifier = {
			factor = 0.3
			trait = envious
		}

		modifier = {
			factor = 4.0
			trait = charitable
		}
		modifier = {
			factor = 4.0
			trait = patient
		}
		modifier = {
			factor = 10
			has_ambition = obj_buddhist_reject_pride
		}
	}

	option = {
		name = EVTOPTA3220
		ai_chance = {
			factor = 10
		}
		random_list = {
			50 = {}
			10 = { change_martial = 1 }
			10 = { change_diplomacy = 1 }
			10 = { change_stewardship = 1 }
			10 = { change_intrigue = 1 }
			10 = { change_learning = 1 }
		}
		health = -0.5
		piety = -10
		cancel_ambition = yes
	}
	option = {
		name = EVTOPTB3220
		piety = 10
		remove_trait = proud
	}
}

### Proud positive: Start ###
character_event = {
	id = 3225
	desc = EVTDESC3225
	picture = GFX_evt_market

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = proud
		in_command_trigger = no
		NOT = { wealth = 100 }
		any_courtier = {
			is_adult = yes
			prisoner = no
			NOR = {
				character = ROOT
				trait = incapable
			}
			OR = {
				has_job_title = job_treasurer
				trait = indulgent_wastrel
				trait = thrifty_clerk
				trait = fortune_builder
				trait = midas_touched
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.4
			trait = greedy
		}

		modifier = {
			factor = 4.0
			trait = charitable
		}
	}

	option = {
		name = EVTOPTA3225
		random_courtier = {
			limit = {
				is_adult = yes
				prisoner = no
				NOR = {
					character = ROOT
					trait = incapable
				}
				OR = {
					has_job_title = job_treasurer
					trait = indulgent_wastrel
					trait = thrifty_clerk
					trait = fortune_builder
					trait = midas_touched
				}
			}
			character_event = {
				id = 3226
				tooltip = EVTTOOLTIP3226
			}
		}
	}
}

#Proud Positive: Courtier
character_event = {
	id = 3226
	desc = EVTDESC3226
	picture = GFX_evt_market

	is_triggered_only = yes

	option = {
		name = EVTOPTA3226
		FROM = {
			reverse_opinion = {
				modifier = proud_pos
				who = ROOT
				years = 10
			}
			character_event = {
				id = 3227
				tooltip = EVTTOOLTIP3227
			}
		}
	}
}

#Proud Positive: Courtier
character_event = {
	id = 3227
	desc = EVTDESC3227
	picture = GFX_evt_market

	is_triggered_only = yes

	option = {
		name = EVTOPTA3227
		scaled_wealth = 0.25
		FROM = {
			opinion = {
				modifier = proud_pos
				who = ROOT
				years = 10
			}
		}
	}
}

###Proud negative ###
character_event = {
	id = 3230
	desc = EVTDESC3230
	picture = GFX_evt_bishop

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = proud
		is_pagan_religion = no
		in_command_trigger = no
		job_spiritual = {
			NOT = {
				trait = proud
			}
			OR = {
				trait = trusting
				trait = zealous
				NOT = {
					trait = cynical
				}
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 3.0
			trait = greedy
		}
		modifier = {
			factor = 5.0
			trait = lustful
		}

		modifier = {
			factor = 0.2
			trait = kind
		}
		modifier = {
			factor = 0.4
			trait = patient
		}
	}

	option = {
		name = EVTOPTA3230
		job_spiritual = {
			opinion = {
				modifier = proud_neg
				who = ROOT
				years = 1
			}
		}
	}
}

###Proud negative: Start ###
character_event = {
	id = 3235
	desc = EVTDESC3235
	picture = GFX_evt_courtiers_talking

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = proud
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		any_courtier = {
			is_adult = yes
			prisoner = no
			NOR = {
				character = ROOT
				trait = incapable
				trait = proud
				is_inaccessible_trigger = yes
			}
			opinion = { who = ROOT value = 50 }
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 2.0
			trait = slothful
		}
		modifier = {
			factor = 3.0
			trait = envious
		}

		modifier = {
			factor = 0.3
			trait = diligent
		}
		modifier = {
			factor = 0.2
			trait = kind
		}
	}

	option = {
		name = EVTOPTA3235
		random_courtier = {
			limit = {
				is_adult = yes
				prisoner = no
				NOR = {
					character = ROOT
					trait = incapable
					trait = proud
					is_inaccessible_trigger = yes
				}
				opinion = { who = ROOT value = 50 }
			}
			character_event = {
				id = 3236
				tooltip = EVTTOOLTIP3236
			}
		}
	}
}

#Proud Negative: Courtier
character_event = {
	id = 3236
	desc = EVTDESC3236
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	option = {
		name = EVTOPTA3236
		FROM = {
			reverse_opinion = {
				modifier = proud_neg
				who = ROOT
				years = 2
			}
			character_event = {
				id = 3237
				tooltip = EVTTOOLTIP3237
			}
		}
	}
}

#Proud Negative: The End
character_event = {
	id = 3237
	desc = EVTDESC3237
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	option = {
		name = EVTOPTA3237
		FROM = {
			opinion = {
				modifier = proud_neg
				who = ROOT
				years = 2
			}
		}
	}
}

###########################################
# Humble
###########################################

### Submitting legitimate authority ###
character_event = {
	id = 3240
	desc = EVTDESC3240
	picture = GFX_evt_throne_room

	min_age = 16
	capable_only = yes
	only_playable = yes
	prisoner = no
	religion_group = christian
	is_triggered_only = yes

	trigger = {
		trait = humble
		independent = no
		NOR = {
			opinion = { who = liege value = 10 }
			has_opinion_modifier = { who = liege modifier = show_true_humility }
		}
	}

	weight_multiplier = {
		factor = 1

	}

	option = {
		name = EVTOPTA3240 #Submit
		piety = 5
		liege = {
			opinion = {
				modifier = show_true_humility
				who = ROOT
				years = 5
			}
			letter_event = {
				id= 3241
				tooltip = EVTTOOLTIP3241
			}
		}
	}
	option = {
		name = EVTOPTB3240 #NOT submit
		prestige = 5
	}
}

#Submits
letter_event = {
	id = 3241
	desc = EVTDESC3241

	is_triggered_only = yes
	option = {
		name = EVTOPTA3241
		prestige = 5
		FROM = {
			opinion = {
				modifier = shown_true_humility
				who = ROOT
				years = 5
			}
		}
	}
}

### Submitting to God ###
character_event = {
	id = 3242
	desc = EVTDESC3242
	picture = GFX_evt_pope

	min_age = 16
	capable_only = yes
	only_playable = yes
	religion = catholic

	prisoner = no
	is_triggered_only = yes

	trigger = {
		trait = humble
		controls_religion = no
		NOT = { rightful_religious_head = ROOT }
		religion_head = {
			NOR = {
				reverse_opinion = { who = ROOT value = 10 }
				reverse_has_opinion_modifier = { who = ROOT modifier = show_true_humility }
			}
		}
	}

	weight_multiplier = {
		factor = 1
		modifier = {
			factor = 3.5
			trait = zealous
		}
	}

	option = {
		name = EVTOPTA3242 #Submit
		piety = 5
		religion_head = {
			opinion = {
				who = ROOT
				modifier = show_true_humility
				years = 5
			}
			letter_event = {
				id= 3241
				tooltip = EVTTOOLTIP3241
			}
		}
	}
	option = {
		name = EVTOPTB3242 #NOT submit
		prestige = 5
	}
}

### Marshal is great ###
character_event = {
	id = 3243
	desc = EVTDESC3243
	picture = GFX_evt_spymaster

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	is_triggered_only = yes

	trigger = {
		trait = humble
		job_marshal = {
			martial = ROOT
			NOT = { has_opinion_modifier = { who = ROOT modifier = talent_recognized }}
		}
	}

	weight_multiplier = {
		factor = 1
		modifier = {
			factor = 0.5
			trait = ambitious
		}
	}

	option = {
		name = EVTOPTA3243
		job_marshal = {
			opinion = {
				who = ROOT
				modifier = talent_recognized
				months = 12
			}
			letter_event = {
				id = 3244
				tooltip = EVTTOOLTIP3244
			}
		}
	}
	option = {
		name = EVTOPTB3243
		piety = 10
	}
}

#Courtier with job title is told how great she/he is
letter_event = {
	id = 3244
	desc = EVTDESC3244

	is_triggered_only = yes

	option = {
		name = EVTOPTA3244
		prestige = 10
	}
}
 
### Chancellor is great ###
character_event = {
	id = 3245
	desc = EVTDESC3245
	picture = GFX_evt_spymaster

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no

	is_triggered_only = yes

	trigger = {
		trait = humble
		job_chancellor = {
			diplomacy = ROOT
			NOT = {  has_opinion_modifier = { who = ROOT modifier = talent_recognized }}
		}
	}

	weight_multiplier = {
		factor = 1
		modifier = {
			factor = 0.5
			trait = ambitious
		}
	}

	option = {
		name = EVTOPTA3245
		job_chancellor = {
			opinion = {
				modifier = talent_recognized
				who = ROOT
				years = 5
			}
			letter_event = {
				id= 3244
				tooltip = EVTTOOLTIP3244
			}
		}
	}
	option = {
		name = EVTOPTB3245
		piety = 10
	}
}

### Spymaster is great ###
character_event = {
	id = 3246
	desc = EVTDESC3246
	picture = GFX_evt_spymaster

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	is_triggered_only = yes

	trigger = {
		trait = humble
		job_spymaster = {
			intrigue = ROOT
			NOT = { has_opinion_modifier = { who = ROOT modifier = talent_recognized }}
		}
	}

	weight_multiplier = {
		factor = 1
		modifier = {
			factor = 0.5
			trait = ambitious
		}
	}

	option = {
		name = EVTOPTA3246
		job_spymaster = {
			opinion = {
				who = ROOT
				modifier = talent_recognized
				years = 5
			}
			letter_event = { id= 3244 tooltip = EVTTOOLTIP3244 }
		}
	}
	option = {
		name = EVTOPTB3246
		piety = 10
	}
}
 
### Lord Spiritual is great ###
character_event = {
	id = 3247
	desc = EVTDESC3247
	picture = GFX_evt_spymaster

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	is_triggered_only = yes

	trigger = {
		trait = humble
		job_spiritual = {
			learning = ROOT
			NOT = {  has_opinion_modifier = { who = ROOT modifier = talent_recognized }}
		}
	}

	weight_multiplier = {
		factor = 1
		modifier = {
			factor = 0.5
			trait = ambitious
		}
	}

	option = {
		name = EVTOPTA3247
		job_spiritual = {
			opinion = {
				who = ROOT
				modifier = talent_recognized
				years = 5
			}
			letter_event = {
				id= 3244
				tooltip = EVTTOOLTIP3244
			}
		}
	}
	option = {
		name = EVTOPTB3247
		piety = 10
	}
}

### Steward is great ###
character_event = {
	id = 3248
	desc = EVTDESC3248
	picture = GFX_evt_spymaster

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	is_triggered_only = yes

	trigger = {
		trait = humble
		job_treasurer = {
			stewardship = ROOT
			NOT = {  has_opinion_modifier = { who = ROOT modifier = talent_recognized }}
		}
	}

	weight_multiplier = {
		factor = 1
		modifier = {
			factor = 0.5
			trait = ambitious
		}
	}

	option = {
		name = EVTOPTA3248
		job_treasurer = {
			opinion = {
				who = ROOT
				modifier = talent_recognized
				years = 5
			}
			letter_event = {
				id= 3244
				tooltip = EVTTOOLTIP3244
			}
		}
	}
	option = {
		name = EVTOPTB3248
		piety = 10
	}
}

### Limit my ambition ###
character_event = {
	id = 3258
	desc = EVTDESC3258
	picture = GFX_evt_throne_room

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	is_triggered_only = yes

	trigger = {
		trait = humble
		trait = ambitious
		NAND = {
			martial = 7
			learning = 7
			intrigue = 7
			diplomacy = 7
			stewardship = 7
		}
	}

	weight_multiplier = {
		factor = 1
	}

	option = {
		name = EVTOPTA3258
		ai_chance = {
			factor = 0
		}
		remove_trait = ambitious
		piety = 5
	}
	option = {
		name = EVTOPTB3258
		remove_trait = humble
		piety = -5
	}
}


####################################
# Deceitful
####################################
character_event = {
	id = 3260
	desc = {
		text = EVTDESC3260	#Hide martial
		trigger = {
			religion_group = christian
		}
	}
	desc = {
		text = EVTDESC3264
		trigger = {
			NOT = {
				religion_group = christian
			}
		}
	}
	picture = GFX_evt_spymaster

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	only_men = yes
	
	is_triggered_only = yes

	trigger = {
		trait = deceitful
		in_command_trigger = no
		job_marshal = {
			martial = 10
			martial = ROOT
		}
		NOR = {
			is_inaccessible_trigger = yes
			martial = 7
			has_character_modifier = deceitful_martial
		}
	}

	weight_multiplier = {
		factor = 1

	}

	option = {
		name = EVTOPTA3260 #Appear to be X
		any_courtier = {
			limit = {
				is_adult = yes
				OR = {
					martial = 10
					trait = honest
				}
				NOT = { has_job_title = job_marshal }
			}
			opinion = {
				who = ROOT
				modifier = deceitful_neg
				years = 5
			}
		}
		add_character_modifier = {
			name = deceitful_martial
			duration = 730
		}
	}

	option = {
		name = EVTOPTB3260 #setup job for the blame.
		job_marshal = {
			opinion = {
				who = ROOT
				modifier = deceitful_neg
				years = 5
			}
		}
	}
}

### Hide stewardship ###
character_event = {
	id = 3261
	desc = EVTDESC3261
	picture = GFX_evt_council

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = deceitful
		in_command_trigger = no
		job_treasurer = {
			stewardship = 10
			stewardship = ROOT
		}
		NOR = {
			is_inaccessible_trigger = yes
			stewardship = 7
			has_character_modifier = deceitful_stewardship
		}
	}

	weight_multiplier = {
		factor = 1

	}

	option = {
		name = EVTOPTA3261 #Appear to be X
		any_courtier = {
			limit = {
				is_adult = yes
				OR = {
					stewardship = 10
					trait = honest
				}
				NOT = { has_job_title = job_treasurer }
			}
			opinion = {
				who = ROOT
				modifier = deceitful_neg
				years = 5
			}
		}
		add_character_modifier = {
			name = deceitful_stewardship
			duration = 730
		}
	}

	option = {
		name = EVTOPTB3261 #setup job for the blame.
		job_treasurer = {
			opinion = {
				who = ROOT
				modifier = deceitful_neg
				years = 5
			}
		}
	}
}

### Hide diplomacy ###
character_event = {
	id = 3262
	desc = EVTDESC3262
	picture = GFX_evt_throne_room

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = deceitful
		in_command_trigger = no
		job_chancellor = {
			diplomacy = 10
			diplomacy = ROOT
		}
		NOR = {
			diplomacy = 7
			is_inaccessible_trigger = yes
			has_character_modifier = deceitful_diplomacy
		}
	}

	weight_multiplier = {
		factor = 1

	}

	option = {
		name = EVTOPTA3262 #Appear to be X
		any_courtier = {
			limit = {
				is_adult = yes
				OR = {
					diplomacy = 10
					trait = honest
				}
				NOT = { has_job_title = job_chancellor }
			}
			opinion = {
				who = ROOT
				modifier = deceitful_neg
				years = 5
			}
		}
		add_character_modifier = {
			name = deceitful_diplomacy
			duration = 730
		}
	}

	option = {
		name = EVTOPTB3262 #setup job for the blame.
		job_chancellor = {
			opinion = {
				who = ROOT
				modifier = deceitful_neg
				years = 5
			}
		}
	}
}

### Hide learning ###
character_event = {
	id = 3263
	desc = EVTDESC3263
	picture = GFX_evt_library

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = deceitful
		in_command_trigger = no
		job_spiritual = {
			learning = 10
			learning = ROOT
		}
		NOR = {
			learning = 7
			is_inaccessible_trigger = yes
			has_character_modifier = deceitful_learning
		}
	}

	weight_multiplier = {
		factor = 1

	}

	option = {
		name = EVTOPTA3263 #Appear to be X
		any_courtier = {
			limit = {
				is_adult = yes
				OR = {
					learning = 10
					trait = honest
				}
				NOT = { has_job_title = job_spiritual }
			}
			opinion = {
				who = ROOT
				modifier = deceitful_neg
				years = 5
			}
		}
		add_character_modifier = {
			name = deceitful_learning
			duration = 730
		}
	}

	option = {
		name = EVTOPTB3263 #setup job for the blame.
		job_spiritual = {
			opinion = {
				who = ROOT
				modifier = deceitful_neg
				years = 5
			}
		}
	}
}

### Deceitful Martial - Muslim
#character_event = {
#	id = 3264
#	desc = EVTDESC3264	#Hide martial
#	picture = GFX_evt_spymaster
#	
#	min_age = 16
#	capable_only = yes
#	prisoner = no
#	is_triggered_only = yes
#	religion_group = muslim
#	only_playable = yes
#	
#	trigger = {
#		trait = deceitful
#		war = no
#		in_command = no
#		is_female = no
#		NOT = { is_inaccessible_trigger = yes }
#		job_marshal = {
#			martial = 10		
#			martial = ROOT
#		}
#		NOT = {
#			martial = 7
#		}
#		NOT = { has_character_modifier = deceitful_martial }
#		
#	}
#	
#	weight_multiplier = {
#		factor = 1
#
#	}
#	
#	option = {
#		name = EVTOPTA3260 #Appear to be X
#		any_courtier = {
#			limit = {
#				age = 16
#				OR = {
#					martial = 10
#					trait = honest
#				}
#				NOT = { has_job_title = job_marshal }
#			}
#			opinion = {
#				who = ROOT
#				modifier = deceitful_neg
#				years = 5
#			}
#		}
#		add_character_modifier = {
#			name = deceitful_martial
#			duration = 730
#		}
#	}
#	
#	option = {
#		name = EVTOPTB3260 #setup job for the blame.
#		job_marshal = {
#			opinion = {
#				who = ROOT
#				modifier = deceitful_neg
#				years = 5
#			}
#		}
#	}	
#}

#######################################
# HONEST
#######################################

### Offend another courtier of a trait we dont have ###
character_event = {
	id = 3280
	desc = EVTDESC3280
	picture = GFX_evt_courtiers_talking

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = honest
		in_command_trigger = no
		NOR = {
			trait = shy
			is_inaccessible_trigger = yes
		}
		any_courtier = {
			is_adult = yes
			NOR = {
				trait = honest
				is_inaccessible_trigger = yes
			}
			OR = {
				AND = {
					trait = gluttonous
					NOT = { ROOT = { trait = gluttonous } }
				}
				AND = {
					trait = slothful
					NOT = { ROOT = { trait = slothful } }
				}
				AND = {
					trait = greedy
					NOT = { ROOT = { trait = greedy } }
				}
				AND = {
					trait = envious
					NOT = { ROOT = { trait = envious } }
				}
				AND = {
					trait = lustful
					NOT = { ROOT = { trait = lustful } }
				}
			}
		}
	}

	weight_multiplier = {
		factor = 1
		modifier = {
			factor = 5
			trait = cruel
		}
	}

	option = {
		name = EVTOPTA3280
		random_courtier = {
			limit = {
				is_adult = yes
				NOR = {
					trait = honest
					is_inaccessible_trigger = yes
				}
				OR = {
					AND = {
						trait = gluttonous
						NOT = { ROOT = { trait = gluttonous } }
					}
					AND = {
						trait = slothful
						NOT = { ROOT = { trait = slothful } }
					}
					AND = {
						trait = greedy
						NOT = { ROOT = { trait = greedy } }
					}
					AND = {
						trait = envious
						NOT = { ROOT = { trait = envious } }
					}
					AND = {
						trait = lustful
						NOT = { ROOT = { trait = lustful } }
					}
				}
			}
			character_event = { id = 3281 tooltip = EVTTOOLTIP3281 }
			opinion = {
				who = ROOT
				modifier = honest_neg
				years = 10
			}
		}
	}
	option = {
		name = EVTOPTB3280
		if = {
			limit = {
				NOR = {
					trait = stressed
					trait = depressed
				}
			}
			random = {
				chance = 15
				add_trait = stressed
				hidden_tooltip = {
					character_event = {
						id = 38282 #Notify Stressed
					}
				}
			}
		}
	}
}

#Honest
character_event = {
	id = 3281
	desc = EVTDESC3281
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	option = {
		name = EVTOPTA3281
		prestige = -10
	}
}

### High intrigue and honest... ###
character_event = {
	id = 3282
	desc = EVTDESC3282
	picture = GFX_evt_emissary

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	is_triggered_only = yes

	trigger = {
		trait = honest
		in_command_trigger = no
		intrigue = 12
	}

	weight_multiplier = {
		factor = 1
		modifier = {
			factor = 2.5
			trait = stressed
		}
	}

	option = {
		name = EVTOPTA3282
		ai_chance = {
			factor = 10
		}
		change_intrigue = -1
		change_diplomacy = 1
	}
	option = {
		name = EVTOPTB3282
		remove_trait = honest
		
	}
}

### Praise liege for his virtues ###
#character_event = {
#	id = 3283
#	desc = EVTDESC3283
#	picture = GFX_evt_throne_room
#
#	min_age = 16
#	capable_only = yes
#	prisoner = no
#	is_triggered_only = yes
#
#	trigger = {
#		trait = honest
#		war = no
#		in_command_trigger = no
#		independent = no
#		liege = {
#			age = 25
#			OR = {
#				trait = charitable
#				trait = kind
#				trait = diligent
#				trait = chaste
#				trait = temperate
#				trait = patient
#				trait = humble
#			}
#		}
#	}
#
#	weight_multiplier = {
#		factor = 1
#	}
#
#	option = {
#		name = EVTOPTA3283
#		liege = {
#			character_event = {
#				id = 3284
#				tooltip = EVTTOOLTIP3284
#			}
#		}
#		prestige = 10
#	}
#	option = {
#		name = EVTOPTB3283
#		liege = {
#			letter_event = {
#				id = 3285
#				tooltip = EVTTOOLTIP3285
#			}
#			opinion = {
#				who = ROOT
#				modifier = honest_pos
#				years = 10
#			}
#		}
#	}
#}

#Vassal compliments Liege
#character_event = {
#	id = 3284
#	desc = EVTDESC3284
#	picture = GFX_evt_throne_room
#
#	is_triggered_only = yes
#
#	option = {
#		name = EVTOPTA3284
#		prestige = 5
#		any_vassal = {
#			limit = {
#				NOT = { character = FROM }
#			}
#			if = {
#				limit = {
#					opinion = { who = ROOT value = 20 }
#				}
#				opinion = {
#					modifier = honest_pos
#					who = ROOT
#					years = 5
#				}
#			}
#			if = {
#				limit = {
#					NOT = {
#						opinion = { who = ROOT value = 20 }
#					}
#				}
#				opinion = {
#					modifier = honest_neg
#					who = ROOT
#					years = 5
#				}
#			}
#		}
#	}
#}

#Vassals agree (?)
#letter_event = {
#	id = 3285
#	desc = EVTDESC3285
#
#	is_triggered_only = yes
#
#	option = {
#		name = EVTOPTA3285
#		piety = 10
#	}
#}

####################################
# Craven
####################################
character_event = {
	id = 3300
	desc = EVTDESC3300
	picture = GFX_evt_feast

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = craven
		in_command_trigger = no
		NOR = {
			trait = hunter
			is_inaccessible_trigger = yes
		}
		any_courtier = {
			NOT = { is_inaccessible_trigger = yes }
			OR = {
				trait = hunter
				trait = brave
				NOT = {
					trait = craven
				}
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.4
			trait = gluttonous
		}
		modifier = {
			factor = 0.5
			trait = lustful
		}

		modifier = {
			factor = 5.0
			trait = temperate
		}
		modifier = {
			factor = 4.0
			trait = charitable
		}
	}

	option = {
		name = EVTOPTA3300
		prestige = -10
	}
}

### Craven ###
character_event = {
	id = 3305
	desc = EVTDESC3305
	picture = GFX_evt_bishop

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	religion_group = christian
	war = no
	
	is_triggered_only = yes

	trigger = {
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		trait = craven
		OR = {
			NOT = { demesne_size = 1 }
			tier = count
		}
		any_courtier = {
			is_adult = yes
			prisoner = no
			OR = {
				is_priest = yes
				has_job_title = job_spiritual
			}
			religion_group = christian
			NOR = {
				character = ROOT
				trait = incapable
				is_inaccessible_trigger = yes }
			OR = {
				trait = craven
				NOT = {
					trait = brave
				}
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.4
			trait = gluttonous
		}
		modifier = {
			factor = 0.4
			trait = wroth
		}

		modifier = {
			factor = 2.0
			trait = kind
		}
		modifier = {
			factor = 5.0
			trait = humble
		}
	}

	option = {
		name = EVTOPTA3305
		random_courtier = {
			limit = {
				is_adult = yes
				prisoner = no
				OR = {
					is_priest = yes
					has_job_title = job_spiritual
				}
				religion_group = christian
				NOR = {
					character = ROOT
					trait = incapable
					is_inaccessible_trigger = yes
				}
				OR = {
					trait = craven
					NOT = {
						trait = brave
					}
				}
			}
			character_event = {
				id = 3306
				days = 1
				random = 2
				tooltip = EVTTOOLTIP3306
			}
		}
	}
}

#Courtier
character_event = {
	id = 3306
	desc = EVTDESC3306
	picture = GFX_evt_bishop

	is_triggered_only = yes

	option = {
		name = EVTOPTA3306
		opinion = {
			modifier = craven_pos
			who = FROM
			years = 2
		}
		FROM = {
			character_event = {
				id = 3307
				days = 2
				random = 2
				tooltip = EVTTOOLTIP3307
			}
		}
	}
}

#ROOT
character_event = {
	id = 3307
	desc = EVTDESC3307
	picture = GFX_evt_bishop

	is_triggered_only = yes

	option = {
		name = EVTOPTA3307
		FROM = {
			opinion = {
				modifier = craven_pos
				who = ROOT
				years = 2
			}
		}
	}
}

### Craven negative ###
character_event = {
	id = 3310
	desc = EVTDESC3310
	picture = GFX_evt_melee

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = craven
		in_command_trigger = no
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 4.0
			trait = gluttonous
		}
		modifier = {
			factor = 3.0
			trait = greedy
		}

		modifier = {
			factor = 0.5
			trait = temperate
		}
		modifier = {
			factor = 0.5
			trait = chaste
		}
	}

	option = {
		name = EVTOPTA3310
		prestige = -15
	}
}

### Craven ###
character_event = {
	id = 3315
	desc = EVTDESC3315
	picture = GFX_evt_melee

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	is_triggered_only = yes

	trigger = {
		in_command_trigger = yes
		in_battle = no
		trait = craven
		independent = no
		top_liege = {
			any_realm_character = {
				is_adult = yes
				prisoner = no
				in_command_trigger = yes
				at_location = ROOT
				NOR = {
					character = ROOT
					trait = incapable
					trait = craven
				}
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 4.0
			trait = wroth
		}
		modifier = {
			factor = 5.0
			trait = lustful
		}

		modifier = {
			factor = 0.5
			trait = temperate
		}
		modifier = {
			factor = 0.4
			trait = charitable
		}
	}

	option = {
		name = EVTOPTA3315
		top_liege = {
			random_realm_character = {
				limit = {
					is_adult = yes
					prisoner = no
					in_command_trigger = yes
					at_location = ROOT
					NOR = {
						character = ROOT
						trait = incapable
						trait = craven
					}
				}

				opinion = {
					modifier = craven_neg
					who = ROOT
					years = 10
				}
				character_event = {
					id = 3316
					tooltip = EVTTOOLTIP3316
				}
			}
		}
	}
	option = {
		name = EVTOPTB3315
		prestige = -5
	}
}

character_event = {
	id = 3316
	desc = EVTDESC3316
	picture = GFX_evt_melee

	is_triggered_only = yes

	option = {
		name = EVTOPTA3316
		prestige = 5
	}
}

### Brave positive ###
# on_five_year_pulse
character_event = {
	id = 3320
	desc = EVTDESC3320
	picture = GFX_evt_hunt
	border = GFX_event_normal_frame_war

	only_playable = yes
	min_age = 16
	prisoner = no
	only_men = yes
	capable_only = yes
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = brave
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		any_courtier = {
			age = 20
			is_female = no
			prisoner = no
			NOR = {
				is_inaccessible_trigger = yes
				trait = incapable
				character = ROOT
			}
			NAND = {
					trait = brave
					martial = 7
				}
			}
		}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.3
			trait = greedy
		}
		modifier = {
			factor = 0.5
			trait = proud
		}

		modifier = {
			factor = 5.0
			trait = humble
		}
		modifier = {
			factor = 5.0
			trait = chaste
		}
	}
	immediate = {
		random_courtier = {
			limit = {
				age = 20
				is_female = no
				NOR = {
					character = ROOT
					trait = incapable
					is_inaccessible_trigger = yes
					AND = {
						trait = brave
						martial = 7
					}
				}
				prisoner = no
				}
				save_event_target_as = nagging_courtier
				}
			}
	
	option = {
		name = EVTOPTA3320
		event_target:nagging_courtier = {
			character_event = {
				id = 3321
				tooltip = EVTTOOLTIP3321
			}
		}
	}
	option = {
		name = EVTOPTB3320
		event_target:nagging_courtier = {
			opinion = {
				modifier = opinion_disappointed
				who = ROOT
				years = 1
			}
		}
	}
}

#Brave Positive: Courtier
character_event = {
	id = 3321
	desc = EVTDESC3321
	picture = GFX_evt_hunt
	border = GFX_event_normal_frame_war

	is_triggered_only = yes

	option = {
		name = EVTOPTA3321
		FROM = {
			opinion = {
				modifier = brave_pos
				who = ROOT
				years = 2
			}
			character_event = {
				id = 3322
				tooltip = EVTTOOLTIP3322
			}
		}
	}
}

#Brave Positive: Courtier
character_event = {
	id = 3322
	desc = EVTDESC3322
	picture = GFX_evt_hunt
	border = GFX_event_normal_frame_war

	is_triggered_only = yes

	option = {
		name = EVTOPTA3322
		prestige = 10
		FROM = {
			random = {
				chance = 30
				add_trait = wounded
				hidden_tooltip = { character_event = { id = 38280 } }
			}
			opinion = {
				modifier = opinion_disappointed
				who = ROOT
				years = 2
			}
		}
	}
	option = {
		name = EVTOPTB3322
		FROM = {
			opinion = {
				modifier = brave_pos
				who = ROOT
				years = 2
			}
		}
	}
}

### Brave positive ###
character_event = {
	id = 3325
	desc = EVTDESC3325
	picture = GFX_evt_bandits
	border = GFX_event_normal_frame_war

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	religion_group = christian
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = brave
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.5
			trait = proud
		}
		modifier = {
			factor = 0.5
			trait = lustful
		}

		modifier = {
			factor = 5.0
			trait = humble
		}
		modifier = {
			factor = 5.0
			trait = chaste
		}
	}

	option = {
		name = EVTOPTA3325
		piety = 15
	}
}

### Brave negative ###
character_event = {
	id = 3330
	desc = EVTDESC3330
	picture = GFX_evt_bandits
	border = GFX_event_normal_frame_war

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = brave
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		OR = {
			religion_group = christian
			religion_group = muslim
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 5.0
			trait = proud
		}
		modifier = {
			factor = 5.0
			trait = lustful
		}

		modifier = {
			factor = 0.4
			trait = patient
		}
		modifier = {
			factor = 0.5
			trait = humble
		}
	}

	option = {
		name = EVTOPTA3330
		scaled_wealth = -0.1
	}
}

### Brave negative ###
character_event = {
	id = 3335
	desc = EVTDESC3335
	picture = GFX_evt_melee
	border = GFX_event_normal_frame_war

	only_rulers = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		in_command_trigger = no
		independent = no
		liege = {
			war = no
			in_command_trigger = no
			age = 25
			trait = brave
			prisoner = no
			NOR = {
				character = ROOT
				trait = incapable
			}
			reverse_opinion = {
				who = ROOT
				value = 25
			}
		}
		NOR = {
			trait = brave
			martial = 10
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 1.5
			trait = gluttonous
		}
		modifier = {
			factor = 1.5
			trait = wroth
		}
		modifier = {
			factor = 2.0
			trait = craven
		}

		modifier = {
			factor = 0.4
			trait = charitable
		}
		modifier = {
			factor = 0.5
			trait = humble
		}
	}

	option = {
		name = EVTOPTA3335
		ai_chance = {
			factor = 30

			modifier = {
				factor = 2
				trait = honest
			}
		}
		liege = {
			character_event = {
				id = 3336
				tooltip = EVTTOOLTIP3336
			}
		}
	}
	option = {
		name = EVTOPTB3335
		ai_chance = {
			factor = 70

			modifier = {
				factor = 2
				trait = deceitful
			}
			modifier = {
				factor = 0.5
				trait = honest
			}
		}
		prestige = 1
	}
}

#Brave Negative: Liege
character_event = {
	id = 3336
	desc = EVTDESC3336
	picture = GFX_evt_melee
	border = GFX_event_normal_frame_war

	is_triggered_only = yes

	option = {
		name = EVTOPTA3336
		FROM = {
			opinion = {
				modifier = brave_neg
				who = ROOT
				years = 2
			}
		}
	}
}

### Shy positive ###
character_event = {
	id = 3340
	desc = EVTDESC3340
	picture = GFX_evt_garden

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes 
	
	trigger = {
		trait = shy
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.3
			trait = envious
		}
		modifier = {
			factor = 0.5
			trait = proud
		}

		modifier = {
			factor = 3.0
			trait = diligent
		}
		modifier = {
			factor = 5.0
			trait = chaste
		}
	}

	option = {
		name = EVTOPTA3340
		prestige = -2
	}
}

### Shy positive ###
character_event = {
	id = 3345
	desc = EVTDESC3345
	picture = GFX_evt_bishop

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes 
	
	trigger = {
		trait = shy
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		any_courtier = {
			is_adult = yes
			is_female = no
			prisoner = no
			NOR = {
				is_inaccessible_trigger = yes
				character = ROOT
				trait = incapable
			}
			OR = {
				is_priest = yes
				has_job_title = job_spiritual
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.3
			trait = envious
		}
		modifier = {
			factor = 0.4
			trait = wroth
		}

		modifier = {
			factor = 5.0
			trait = temperate
		}
		modifier = {
			factor = 3.0
			trait = diligent
		}
	}

	option = {
		name = EVTOPTA3345
		random_courtier = {
			limit = {
				is_adult = yes
				prisoner = no
				is_female = no
				NOR = {
					is_inaccessible_trigger = yes
					character = ROOT
					trait = incapable
				}
				OR = {
					is_priest = yes
					has_job_title = job_spiritual
				}
			}
			character_event = {
				id = 3346
				tooltip = EVTTOOLTIP3346
			}
		}
	}
}

#Shy Positive: Courtier
character_event = {
	id = 3346
	desc = EVTDESC3346
	picture = GFX_evt_bishop

	is_triggered_only = yes

	option = {
		name = EVTOPTA3346
		FROM = {
			reverse_opinion = {
				modifier = shy_pos
				who = ROOT
				years = 2
			}
			character_event = {
				id = 3347
				tooltip = EVTTOOLTIP3347
			}
		}
	}
}

#Shy Positive: The End
character_event = {
	id = 3347
	desc = EVTDESC3347
	picture = GFX_evt_bishop

	is_triggered_only = yes

	option = {
		name = EVTOPTA3347
		FROM = {
			opinion = {
				modifier = shy_pos
				who = ROOT
				years = 2
			}
		}
	}
}

### Shy negative ###
character_event = {
	id = 3350
	desc = EVTDESC3350
	picture = GFX_evt_courtiers_talking

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes 
	
	trigger = {
		trait = shy
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 2.0
			trait = slothful
		}
		modifier = {
			factor = 4.0
			trait = wroth
		}

		modifier = {
			factor = 0.4
			trait = charitable
		}
		modifier = {
			factor = 0.5
			trait = chaste
		}
	}

	option = {
		name = EVTOPTA3350
		prestige = -15
	}
}

### Shy negative: Start ###
character_event = {
	id = 3355
	desc = EVTDESC3355
	picture = GFX_evt_courtiers_talking

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes 
	
	trigger = {
		trait = shy
		in_command_trigger = no
		any_courtier = {
			is_adult = yes
			prisoner = no
			NOR = {
				character = ROOT
				trait = incapable
			}
			NOT = {
				trait = shy
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 2.0
			trait = slothful
		}
		modifier = {
			factor = 3.0
			trait = envious
		}

		modifier = {
			factor = 0.4
			trait = charitable
		}
		modifier = {
			factor = 0.5
			trait = humble
		}

	}

	option = {
		name = EVTOPTA3355
		random_courtier = {
			limit = {
				is_adult = yes
				prisoner = no
				NOR = {
					character = ROOT
					trait = incapable
					trait = shy
				}
			}
			character_event = {
				id = 3356
				tooltip = EVTTOOLTIP3356
			}
		}
	}
}

#Shy Negative: Courtier
character_event = {
	id = 3356
	desc = EVTDESC3356
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	option = {
		name = EVTOPTA3356
		FROM = {
			reverse_opinion = {
				modifier = shy_neg
				who = ROOT
				years = 2
			}
			character_event = {
				id = 3357
				tooltip = EVTTOOLTIP3357
			}
		}
	}
}

#Shy Negative: Courtier
character_event = {
	id = 3357
	desc = EVTDESC3357
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	option = {
		name = EVTOPTA3357
		FROM = {
			opinion = {
				modifier = shy_neg
				who = ROOT
				years = 2
			}
		}
	}
}

### Ambitious positive ###
character_event = {
	id = 3360
	desc = EVTDESC3360
	picture = GFX_evt_feast

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes 
	
	trigger = {
		trait = ambitious
		in_command_trigger = no
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.3
			trait = greedy
		}
		modifier = {
			factor = 0.5
			trait = proud
		}

		modifier = {
			factor = 2.0
			trait = kind
		}
		modifier = {
			factor = 5.0
			trait = humble
		}
	}

	option = {
		name = EVTOPTA3360
		scaled_wealth = 0.2
	}
}

### Ambitious positive: Start ###
character_event = {
	id = 3365
	desc = EVTDESC3365
	picture = GFX_evt_courtiers_talking

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes 
	
	trigger = {
		trait = ambitious		
		in_command_trigger = no
		OR = {
			tier = duke
			tier = king
			tier = emperor
			prestige = 500
		}
		any_courtier = {
			is_adult = yes
			prisoner = no
			NOR = {
				character = ROOT
				trait = incapable
			}
			OR = {
				trait = ambitious
				trait = diligent
				trait = envious
			}
		}
	}

	weight_multiplier = {
		factor = 1


		modifier = {
			factor = 0.3
			trait = patient
		}
		modifier = {
			factor = 0.4
			trait = humble
		}

		modifier = {
			factor = 4.0
			trait = greedy
		}
		modifier = {
			factor = 5.0
			trait = wroth
		}
	}

	option = {
		name = EVTOPTA3365
		random_courtier = {
			limit = {
				is_adult = yes
				prisoner = no
				NOR = {
					character = ROOT
					trait = incapable
				}
				OR = {
					trait = ambitious
					trait = diligent
					trait = envious
				}
			}
			character_event = {
				id = 3366
				tooltip = EVTTOOLTIP3366
			}
		}
	}
}

#Ambitious Positive: Courtier
character_event = {
	id = 3366
	desc = EVTDESC3366
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	option = {
		name = EVTOPTA3366
		FROM = {
			reverse_opinion = {
				modifier = ambitious_pos
				who = ROOT
				years = 2
			}
			character_event = {
				id = 3367
				tooltip = EVTTOOLTIP3367
			}
		}
	}
}

#Ambitious Positive: The End
character_event = {
	id = 3367
	desc = EVTDESC3367
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	option = {
		name = EVTOPTA3367
		FROM = {
			opinion = {
				modifier = ambitious_pos
				who = ROOT
				years = 5
			}
		}
		wealth = 10
	}

	option = {
		name = EVTOPTA3376
		FROM = {
			opinion = {
				modifier = ambitious_neg
				who = ROOT
				years = 5
			}
		}
		prestige = 10
	}
}

### Ambitious ###
character_event = {
	id = 3370
	desc = EVTDESC3370
	picture = GFX_evt_bishop

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	religion_group = christian
	war = no
	
	is_triggered_only = yes 
	
	trigger = {
		trait = ambitious
		in_command_trigger = no
		is_priest = no
		NOT = { is_inaccessible_trigger = yes }
		any_courtier = {
			opinion = { who = ROOT value = 75 }
			reverse_opinion = { who = ROOT value = 50 }
			NOT = { is_inaccessible_trigger = yes }
			OR = {
				is_priest = yes
				has_job_title = job_spiritual
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 3.0
			trait = envious
		}
		modifier = {
			factor = 4.0
			trait = wroth
		}

		modifier = {
			factor = 0.3
			trait = diligent
		}
		modifier = {
			factor = 0.5
			trait = chaste
		}
	}

	option = {
		name = EVTOPTA3370
		piety = 15
	}
}

### Ambitious - Muslim ###
character_event = {
	id = 3371
	desc = EVTDESC3371
	picture = GFX_evt_jerusalem

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	religion_group = muslim
	war = no
	
	is_triggered_only = yes 
	
	trigger = {
		trait = ambitious
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		is_priest = no
		any_courtier = {
			religion_group = muslim
			in_command_trigger = no
			prisoner = no
			opinion = { who = ROOT value = 75 }
			reverse_opinion = { who = ROOT value = 50 }
			NOR = {
				is_inaccessible_trigger = yes 
				trait = incapable 
			}
			OR = {
				is_priest = yes
				has_job_title = job_spiritual
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 3.0
			trait = envious
		}
		modifier = {
			factor = 4.0
			trait = wroth
		}

		modifier = {
			factor = 0.3
			trait = diligent
		}
		modifier = {
			factor = 0.5
			trait = chaste
		}
	}

	option = {
		name = EVTOPTA3370
		piety = 15
	}
}

### Ambitious: Start ###
character_event = {
	id = 3375
	desc = EVTDESC3375
	picture = GFX_evt_courtiers_talking

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = ambitious
		in_command_trigger = no
		NOR = {
			is_inaccessible_trigger = yes
			has_character_modifier = the_merciful
		}
		any_courtier = {
			is_adult = yes
			is_female = no
			prisoner = no
			in_command_trigger = no
			NOR = {
				is_inaccessible_trigger = yes
				trait = ambitious
				trait = diligent
				trait = incapable
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 4.0
			trait = gluttonous
		}
		modifier = {
			factor = 4.0
			trait = wroth
		}

		modifier = {
			factor = 0.5
			trait = temperate
		}
		modifier = {
			factor = 0.4
			trait = charitable
		}
	}

	option = {
		name = EVTOPTA3375
		random_courtier = {
			limit = {
				is_adult = yes
				prisoner = no
				in_command_trigger = no
				is_female = no
				NOR = {
					trait = incapable
					is_inaccessible_trigger = yes
					trait = ambitious
					trait = diligent
				}
			}
			character_event = {
				id = 3376
				tooltip = EVTTOOLTIP3376
			}
		}
	}
	option = {
		name = EVTOPTB3375
		add_character_modifier = {
			name = the_merciful
			duration = 90
		}
	}
}

#Ambitious: Courtier
character_event = {
	id = 3376
	desc = EVTDESC3376
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	option = {
		name = EVTOPTA3376
		opinion = {
			modifier = ambitious_neg
			who = FROM
			years = 2
		}
		FROM = {
			character_event = {
				id = 3377
				days = 1
				tooltip = EVTTOOLTIP3377
			}
		}
	}
	option = {
		name = EVTOPTB3376
		opinion = {
			modifier = ambitious_pos
			who = FROM
			years = 2
		}
		FROM = {
			character_event = {
				id = 3378
				days = 1
				tooltip = EVTTOOLTIP3378
			}
		}
		random = {
			chance = 20
			add_trait = ambitious
			hidden_tooltip = { character_event = { id = 38278 } } # notify
		}
	}
}

#Ambitious Neg: ROOT
character_event = {
	id = 3377
	desc = EVTDESC3377
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	option = {
		name = EVTOPTA3377
		FROM = {
			opinion = {
				modifier = ambitious_neg
				who = ROOT
				years = 2
			}
		}
	}
}

#Ambitious Pos: ROOT
character_event = {
	id = 3378
	desc = EVTDESC3378
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	option = {
		name = EVTOPTA3378
		FROM = {
			opinion = {
				modifier = ambitious_pos
				who = ROOT
				years = 2
			}
		}
		random = {
			chance = 20
			add_trait = ambitious
			hidden_tooltip = { character_event = { id = 38278 } } # notify
		}
	}
}

### Content positive: Start ###
character_event = {
	id = 3380
	desc = EVTDESC3380
	picture = GFX_evt_feast

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = content
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		any_courtier = {
			is_adult = yes
			prisoner = no
			OR = {
				trait = stressed
				trait = depressed
			}
			NOR = {
				character = ROOT
				is_inaccessible_trigger = yes
				trait = incapable
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.2
			trait = slothful
		}
		modifier = {
			factor = 0.5
			trait = lustful
		}


		modifier = {
			factor = 3.0
			trait = diligent
		}
		modifier = {
			factor = 4.0
			trait = patient
		}
	}

	option = {
		name = EVTOPTA3380
		random_courtier = {
			limit = {
				is_adult = yes
				prisoner = no
				OR = {
					trait = stressed
					trait = depressed
				}
				NOR = {
					character = ROOT
					trait = incapable
					is_inaccessible_trigger = yes
				}
			}
			character_event = {
				id = 3381
				tooltip = EVTTOOLTIP3381
			}
		}
	}
}

#Content Positive: Courtier
character_event = {
	id = 3381
	desc = EVTDESC3381
	picture = GFX_evt_feast

	is_triggered_only = yes

	option = {
		name = EVTOPTA3381
		tooltip_info = depressed
		trigger = {
			trait = depressed
		}
		remove_trait = depressed
		FROM = {
			reverse_opinion = {
				modifier = content_pos
				who = ROOT
				years = 2
			}
			hidden_tooltip = {
				character_event = {
					id = 3382
				}
			}
		}
	}
	option = {
		name = EVTOPTB3381
		tooltip_info = stressed
		trigger = {
			trait = stressed
		}
		remove_trait = stressed
		FROM = {
			reverse_opinion = {
				modifier = content_pos
				who = ROOT
				years = 2
			}
			hidden_tooltip = {
				character_event = {
					id = 3382
				}
			}
		}
	}
}

#Content Positive: The End
character_event = {
	id = 3382
	desc = EVTDESC3382
	picture = GFX_evt_feast

	is_triggered_only = yes

	option = {
		name = EVTOPTA3382
		FROM = {
			opinion = {
				modifier = content_pos
				who = ROOT
				years = 2
			}
		}
	}
}

### Content positive ###
character_event = {
	id = 3385
	desc = EVTDESC3385
	picture = GFX_evt_bishop

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	religion_group = christian
	war = no
	
	is_triggered_only = yes

	trigger = {
		in_command_trigger = no
		trait = content
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.4
			trait = gluttonous
		}
		modifier = {
			factor = 0.4
			trait = wroth
		}

		modifier = {
			factor = 4.0
			trait = charitable
		}
		modifier = {
			factor = 5.0
			trait = humble
		}
	}

	option = {
		name = EVTOPTA3385
		piety = 15
	}
}

### Content negative ###
character_event = {
	id = 3390
	desc = EVTDESC3390
	picture = GFX_evt_feast

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = content
		in_command_trigger = no
		OR = {
			trait = slothful
			trait = charitable
			NOT = {
				trait = greedy
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 4.0
			trait = wroth
		}
		modifier = {
			factor = 5.0
			trait = proud
		}


		modifier = {
			factor = 0.2
			trait = kind
		}
		modifier = {
			factor = 0.5
			trait = chaste
		}
	}

	option = {
		name = EVTOPTA3390
		scaled_wealth = -0.05
	}
}

### Content negative ###
character_event = {
	id = 3395
	desc = EVTDESC3395
	picture = GFX_evt_library

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = content
		in_command_trigger = no
		NOT = {
			trait = diligent
		}
		any_courtier = {
			is_adult = yes
			prisoner = no
			NOT = { trait = incapable }
			OR = {
				NOT = {
					trait = content
				}
				trait = diligent
				trait = ambitious
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 5.0
			trait = proud
		}
		modifier = {
			factor = 5.0
			trait = lustful
		}

		modifier = {
			factor = 0.4
			trait = patient
		}
		modifier = {
			factor = 0.5
			trait = humble
		}
	}

	option = {
		name = EVTOPTA3395
		random_courtier = {
			limit = {
				is_adult = yes
				prisoner = no
				NOT = { trait = incapable }
				OR = {
					NOT = {
						trait = content
					}
					trait = diligent
					trait = ambitious
				}
			}
			character_event = {
				id = 3396
				days = 1
				tooltip = EVTTOOLTIP3396
			}
		}
	}
}

#Content Negative: Courtier
character_event = {
	id = 3396
	desc = EVTDESC3396
	picture = GFX_evt_library

	is_triggered_only = yes

	option = {
		name = EVTOPTA3396
		FROM = {
			reverse_opinion = {
				modifier = content_neg
				who = ROOT
				years = 1
			}
			character_event = {
				id = 3397
				days = 1
				tooltip = EVTTOOLTIP3397
			}
		}
	}
}

#Content Negative: ROOT
character_event = {
	id = 3397
	desc = EVTDESC3397
	picture = GFX_evt_library

	is_triggered_only = yes

	option = {
		name = EVTOPTA3397
		FROM = {
			opinion = {
				modifier = content_neg
				who = ROOT
				years = 1
			}
		}
	}
}

### Arbitrary positive ###
character_event = {
	id = 3400
	desc = EVTDESC3400
	picture = GFX_evt_feast

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		in_command_trigger = no
		trait = arbitrary
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.2
			trait = slothful
		}
		modifier = {
			factor = 0.5
			trait = lustful
		}


		modifier = {
			factor = 4.0
			trait = charitable
		}
		modifier = {
			factor = 4.0
			trait = patient
		}
	}

	option = {
		name = EVTOPTA3400
		prestige = 15
	}
}

### Arbitrary: Start ###
character_event = {
	id = 3405
	desc = EVTDESC3405
	picture = GFX_evt_bishop

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	religion_group = christian
	war = no
	
	is_triggered_only = yes

	trigger = {
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		trait = arbitrary
		any_courtier = {
			is_adult = yes
			prisoner = no
			in_command_trigger = no
			NOT = { is_inaccessible_trigger = yes }
			NOT = {
				trait = incapable
			}
			NOT = {
				character = ROOT
			}
			OR = {
				trait = envious
				trait = just
				trait = gregarious
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.3
			trait = greedy
		}
		modifier = {
			factor = 0.5
			trait = proud
		}

		modifier = {
			factor = 4.0
			trait = patient
		}
		modifier = {
			factor = 5.0
			trait = humble
		}
	}

	option = {
		name = EVTOPTA3405
		random_courtier = {
			limit = {
				is_adult = yes
				prisoner = no
				in_command_trigger = no
				NOT = { is_inaccessible_trigger = yes }
				NOT = {
					trait = incapable
				}
				NOT = {
					character = ROOT
				}
				OR = {
					trait = envious
					trait = just
					trait = gregarious
				}
			}
			character_event = {
				id = 3406
				tooltip = EVTTOOLTIP3406
			}
		}
	}
}

#Arbitrary: Courtier
character_event = {
	id = 3406
	desc = EVTDESC3406
	picture = GFX_evt_bishop

	is_triggered_only = yes

	option = {
		name = EVTOPTA3406
		FROM = {
			reverse_opinion = {
				modifier = arbitrary_neg
				who = ROOT
				years = 2
			}
			character_event = {
				id = 3407
				days = 1
				tooltip = EVTTOOLTIP3407
			}
		}
	}
	option = {
		name = EVTOPTB3406
		FROM = {
			reverse_opinion = {
				modifier = arbitrary_pos
				who = ROOT
				years = 2
			}
			character_event = {
				id = 3408
				days = 1
				tooltip = EVTTOOLTIP3408
			}
		}
	}
}

#Arbitrary Neg: ROOT
character_event = {
	id = 3407
	desc = EVTDESC3407
	picture = GFX_evt_bishop

	is_triggered_only = yes

	option = {
		name = EVTOPTA3407
		FROM = {
			opinion = {
				modifier = arbitrary_neg
				who = ROOT
				years = 2
			}
		}
	}
}

#Arbitrary Pos: ROOT
character_event = {
	id = 3408
	desc = EVTDESC3408
	picture = GFX_evt_bishop

	is_triggered_only = yes

	option = {
		name = EVTOPTA3408
		FROM = {
			opinion = {
				modifier = arbitrary_pos
				who = ROOT
				years = 2
			}
		}
	}
}

### Arbitrary - Muslim: Start ###
character_event = {
	id = 3411
	desc = EVTDESC3411
	picture = GFX_evt_emissary

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	religion_group = muslim
	
	is_triggered_only = yes

	trigger = {
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		trait = arbitrary
		any_courtier = {
			is_adult = yes
			prisoner = no
			in_command_trigger = no
			NOR = {
				is_inaccessible_trigger = yes
				trait = incapable
				character = ROOT
			}
			OR = {
				trait = envious
				trait = just
				trait = gregarious
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.3
			trait = greedy
		}
		modifier = {
			factor = 0.5
			trait = proud
		}

		modifier = {
			factor = 4.0
			trait = patient
		}
		modifier = {
			factor = 5.0
			trait = humble
		}
	}

	option = {
		name = EVTOPTA3411
		random_courtier = {
			limit = {
				is_adult = yes
				prisoner = no
				in_command_trigger = no
				NOR = {
					is_inaccessible_trigger = yes
					trait = incapable
					character = ROOT
				}
				OR = {
					trait = envious
					trait = just
					trait = gregarious
				}
			}
			save_event_target_as = tooltip_text_target
			character_event = {
				id = 3412
				days = 1
				random = 1
				tooltip = EVTTOOLTIP3412
			}
		}
	}
}

#Arbitrary: Courtier
character_event = {
	id = 3412
	desc = EVTDESC3412
	picture = GFX_evt_emissary

	is_triggered_only = yes

	option = {
		name = EVTOPTA3412
		FROM = {
			reverse_opinion = {
				modifier = arbitrary_neg
				who = ROOT
				years = 2
			}
			set_character_flag = flag_arbitrary_neg
			character_event = {
				id = 3413
				days = 5
				random = 2
				tooltip = EVTTOOLTIPA3413
			}
		}
	}
	option = {
		name = EVTOPTB3412
		FROM = {
			reverse_opinion = {
				modifier = arbitrary_pos
				who = ROOT
				years = 2
			}
			set_character_flag = flag_arbitrary_pos
			character_event = {
				id = 3413
				days = 5
				random = 2
				tooltip = EVTTOOLTIPB3413
			}
		}
	}
}

#Arbitrary Neg: ROOT
character_event = {
	id = 3413
	desc = EVTDESC3413
	picture = GFX_evt_emissary

	is_triggered_only = yes

	option = {
		name = EVTOPTA3413
		trigger = {
			has_character_flag = flag_arbitrary_neg
		}
		FROM = {
			opinion = {
				modifier = arbitrary_neg
				who = ROOT
				years = 2
			}
		}
		clr_character_flag = flag_arbitrary_neg
	}
	option = {
		name = EVTOPTB3413
		trigger = {
			has_character_flag = flag_arbitrary_pos
		}
		FROM = {
			opinion = {
				modifier = arbitrary_pos
				who = ROOT
				years = 2
			}
		}
		clr_character_flag = flag_arbitrary_pos
	}
}

### Arbitrary negative ###
character_event = {
	id = 3410
	desc = EVTDESC3410
	picture = GFX_evt_scandal

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = arbitrary
		in_command_trigger = no
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 4.0
			trait = wroth
		}
		modifier = {
			factor = 5.0
			trait = proud
		}

		modifier = {
			factor = 0.5
			trait = temperate
		}
		modifier = {
			factor = 0.4
			trait = charitable
		}
	}

	option = {
		name = EVTOPTA3410
		scaled_wealth = -0.05
	}
}

### Arbitrary: Start ###
character_event = {
	id = 3415
	desc = EVTDESC3415
	picture = GFX_evt_into_the_dungeon

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	is_triggered_only = yes

	trigger = {
		trait = arbitrary
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		OR = {
			is_ruler = yes
			has_job_title = job_marshal
			has_job_title = job_chancellor
		}
		any_courtier = {
			is_adult = yes
			in_command_trigger = no
			at_location = ROOT
			prisoner = no
			NOR = {
				is_inaccessible_trigger = yes
				character = ROOT
				trait = incapable
				trait = arbitrary
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 5.0
			trait = proud
		}
		modifier = {
			factor = 5.0
			trait = lustful
		}

		modifier = {
			factor = 0.5
			trait = temperate
		}
		modifier = {
			factor = 0.4
			trait = charitable
		}
	}

	option = {
		name = EVTOPTA3415
		random_courtier = {
			limit = {
				is_adult = yes
				in_command_trigger = no
				at_location = ROOT
				prisoner = no
				NOR = {
					is_inaccessible_trigger = yes
					character = ROOT
					trait = incapable
					trait = arbitrary
				}
			}
			character_event = {
				id = 3416
				tooltip = EVTTOOLTIP3416
			}
		}
	}
}

#Arbitrary: Courtier
character_event = {
	id = 3416
	desc = EVTDESC3416
	picture = GFX_evt_into_the_dungeon

	is_triggered_only = yes

	option = {
		name = EVTOPTA3416
		FROM = {
			reverse_opinion = {
				modifier = arbitrary_neg
				who = ROOT
				years = 2
			}
			character_event = {
				id = 3417
				days = 1
				tooltip = EVTTOOLTIP3417
			}
		}
	}
	option = {
		name = EVTOPTB3416
		FROM = {
			reverse_opinion = {
				modifier = arbitrary_pos
				who = ROOT
				years = 2
			}
			character_event = {
				id = 3418
				days = 1
				tooltip = EVTTOOLTIP3418
			}
		}
	}
}

#Arbitrary Neg: ROOT
character_event = {
	id = 3417
	desc = EVTDESC3417
	picture = GFX_evt_into_the_dungeon

	is_triggered_only = yes

	option = {
		name = EVTOPTA3417
		FROM = {
			opinion = {
				modifier = arbitrary_neg
				who = ROOT
				years = 2
			}
		}
	}
}

#Arbitrary Pos: ROOT
character_event = {
	id = 3418
	desc = EVTDESC3418
	picture = GFX_evt_into_the_dungeon

	is_triggered_only = yes

	option = {
		name = EVTOPTA3418
		FROM = {
			opinion = {
				modifier = arbitrary_pos
				who = ROOT
				years = 2
			}
		}
	}
}

### Just positive: Start ###
character_event = {
	id = 3420
	desc = EVTDESC3420
	picture = GFX_evt_courtiers_talking

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	is_triggered_only = yes

	trigger = {
		trait = just
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		any_courtier = {
			in_command_trigger = no
			is_adult = yes
			prisoner = no
			OR = {
				trait = just
				NAND = {
					trait = arbitrary
					trait = deceitful
				}
			}
			NOR = {
				character = ROOT
				is_inaccessible_trigger = yes
				trait = incapable
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.4
			trait = gluttonous
		}
		modifier = {
			factor = 0.5
			trait = lustful
		}

		modifier = {
			factor = 5.0
			trait = humble
		}
		modifier = {
			factor = 5.0
			trait = chaste
		}
	}

	option = {
		name = EVTOPTA3420
		random_courtier = {
			limit = {
				is_adult = yes
				prisoner = no
				OR = {
					trait = just
					NAND = {
						trait = arbitrary
						trait = deceitful
					}
				}
				NOR = {
					is_inaccessible_trigger = yes
					character = ROOT
					trait = incapable
				}
			}
			character_event = {
				id = 3421
				tooltip = EVTTOOLTIP3421
			}
		}
	}
}

#Just Positive: Courtier
character_event = {
	id = 3421
	desc = EVTDESC3421
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	option = {
		name = EVTOPTA3421
		FROM = {
			reverse_opinion = {
				modifier = just_pos
				who = ROOT
				years = 2
			}
			character_event = {
				id = 3422
				tooltip = EVTTOOLTIP3422
			}
		}
	}
}

#Just Positive: The End
character_event = {
	id = 3422
	desc = EVTDESC3422
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	option = {
		name = EVTOPTA3422
		FROM = {
			opinion = {
				modifier = just_pos
				who = ROOT
				years = 2
			}
		}
	}
}

### Just positive ###
character_event = {
	id = 3425
	desc = EVTDESC3425
	picture = GFX_evt_emissary

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = just
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.5
			trait = proud
		}
		modifier = {
			factor = 0.5
			trait = lustful
		}

		modifier = {
			factor = 5.0
			trait = temperate
		}
		modifier = {
			factor = 5.0
			trait = chaste
		}
	}

	option = {
		name = EVTOPTA3425
		prestige = 15
	}
}

### Just ###
character_event = {
	id = 3430
	desc = EVTDESC3430
	picture = GFX_evt_library

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = just
		in_command_trigger = no
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 4.0
			trait = gluttonous
		}
		modifier = {
			factor = 4.0
			trait = wroth
		}

		modifier = {
			factor = 0.4
			trait = charitable
		}
		modifier = {
			factor = 0.5
			trait = chaste
		}
	}

	option = {
		name = EVTOPTA3430
		scaled_wealth = -0.05
	}
}

### Just: Start ###
character_event = {
	id = 3435
	desc = EVTDESC3435
	picture = GFX_evt_throne_room

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no

	is_triggered_only = yes

	trigger = {
		trait = just
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		any_courtier = {
			is_adult = yes
			in_command_trigger = no
			prisoner = no
			NOR = {
				is_inaccessible_trigger = yes
				trait = incapable
			}
			opinion = { who = ROOT value = 30 }
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 3.0
			trait = envious
		}
		modifier = {
			factor = 4.0
			trait = wroth
		}

		modifier = {
			factor = 0.5
			trait = temperate
		}
		modifier = {
			factor = 0.5
			trait = humble
		}
	}

	immediate = {
		random_courtier = {
			limit = {
				is_adult = yes
				in_command_trigger = no
				prisoner = no
				NOR = {
					is_inaccessible_trigger = yes
					trait = incapable
				}
				opinion = { who = ROOT value = 30 }
			}
			save_event_target_as = farmer_dispute_courtier
		}
	}
	
	option = {
		name = EVTOPTA3435
		ai_chance = {
			factor = 50
		}
		event_target:farmer_dispute_courtier = {
			set_character_flag = farmer_wrong
			character_event = {
				id = 3436
				tooltip = EVTTOOLTIP3436
			}
		}
	}
	option = {
		name = EVTOPTB3435
		ai_chance = {
			factor = 50
			}
		event_target:farmer_dispute_courtier = {
			set_character_flag = farmer_correct
			character_event = {
				id = 3436
				tooltip = EVTTOOLTIP3436
			}
		}
	}
}

#Just: Courtier
character_event = {
	id = 3436
	desc = EVTDESC3436
	picture = GFX_evt_throne_room

	is_triggered_only = yes

	option = {
		name = EVTOPTA3436
		ai_chance = {
			factor = 50
		}
		trigger = {
			has_character_flag = farmer_correct
		}
		clr_character_flag = farmer_correct
		FROM = {
			reverse_opinion = {
				modifier = just_pos
				who = ROOT
				years = 2
			}
			set_character_flag = approving_FROM
			character_event = {
				id = 3437
				days = 1
				tooltip = EVTTOOLTIP3437
			}
		}
	}
	option = {
		name = EVTOPTB3436
		ai_chance = {
			factor = 50
		}
		trigger = {
			has_character_flag = farmer_correct
		}
		clr_character_flag = farmer_correct
		FROM = {
			reverse_opinion = {
				modifier = just_neg
				who = ROOT
				years = 2
			}
			set_character_flag = angry_FROM
			character_event = {
				id = 3438
				days = 1
				tooltip = EVTTOOLTIP3438
			}
		}
	}
	option = {
		name = EVTOPTC3436
		ai_chance = {
			factor = 50
		}
		trigger = {
			has_character_flag = farmer_wrong
		}
		clr_character_flag = farmer_wrong
		FROM = {
			reverse_opinion = {
				modifier = just_pos
				who = ROOT
				years = 2
			}
			set_character_flag = glad_FROM
			character_event = {
				id = 3437
				days = 1
				tooltip = EVTTOOLTIP3437
			}
		}
	}
	option = {
		name = EVTOPTD3436
		ai_chance = {
			factor = 50
		}
		trigger = {
			has_character_flag = farmer_wrong
		}
		clr_character_flag = farmer_wrong
		FROM = {
			reverse_opinion = {
				modifier = opinion_disappointed
				who = ROOT
				years = 2
			}
			set_character_flag = disappointed_FROM
			character_event = {
				id = 3438
				days = 1
				tooltip = EVTTOOLTIP3438
			}
		}
	}
}

#Just pos: ROOT
character_event = {
	id = 3437
	desc = EVTDESC3437
	picture = GFX_evt_throne_room

	is_triggered_only = yes

	option = {
		name = EVTOPTA3437
		trigger = {
			has_character_flag = glad_FROM
		}
		clr_character_flag = glad_FROM
		FROM = {
			opinion = {
				modifier = just_pos
				who = ROOT
				years = 2
			}
		}
	}
	option = {
		name = EVTOPTB3437
		trigger = {
			has_character_flag = approving_FROM
		}
		clr_character_flag = approving_FROM
		FROM = {
			opinion = {
				modifier = just_pos
				who = ROOT
				years = 2
			}
		}
	}
}

#Just neg: ROOT
character_event = {
	id = 3438
	desc = EVTDESC3438
	picture = GFX_evt_throne_room

	is_triggered_only = yes

	option = {
		name = EVTOPTA3438
		trigger = {
			has_character_flag = disappointed_FROM
		}
		clr_character_flag = disappointed_FROM
		FROM = {
			opinion = {
				modifier = just_neg
				who = ROOT
				years = 2
			}
			reverse_opinion = {
				modifier = opinion_idiot
				who = ROOT
				years = 2
			}
		}
	}
	option = {
		name = EVTOPTB3438
		trigger = {
			has_character_flag = angry_FROM
		}
		clr_character_flag = angry_FROM
		FROM = {
			opinion = {
				modifier = just_neg
				who = ROOT
				years = 2
			}
		}
		opinion = {
			modifier = opinion_idiot
			who = FROM
			years = 2
		}
	}
}

### Cynical Negative: Start ###
character_event = {
	id = 3440
	desc = EVTDESC3440
	picture = GFX_evt_courtiers_talking

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	is_triggered_only = yes

	trigger = {
		trait = cynical
		in_command_trigger = no
		NOR = {
			is_inaccessible_trigger = yes
			has_character_modifier = the_cynical
		}
		any_courtier = {
			is_adult = yes
			in_command_trigger = no
			prisoner = no
			treasury = 20
			NOR = {
				trait = cynical
				is_inaccessible_trigger = yes
				character = ROOT
				trait = incapable
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.3
			trait = greedy
		}
		modifier = {
			factor = 0.5
			trait = proud
		}

		modifier = {
			factor = 2.0
			trait = kind
		}
		modifier = {
			factor = 4.0
			trait = patient
		}
	}

	option = {
		name = EVTOPTA3440
		random_courtier = {
			limit = {
				is_adult = yes
				in_command_trigger = no
				prisoner = no
				treasury = 20
				NOR = {
					trait = cynical
					is_inaccessible_trigger = yes
					character = ROOT
					trait = incapable
				}
			}
			character_event = {
				id = 3441
				tooltip = EVTTOOLTIP3441
			}
		}
	}
}

#Cynical Negative: Courtier
character_event = {
	id = 3441
	desc = EVTDESC3441
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	option = {
		name = EVTOPTA3441
		opinion = {
			modifier = cynical_neg
			who = FROM
			years = 2
		}
		FROM = {
			character_event = {
				id = 3442
				tooltip = EVTTOOLTIP3442
			}
		}
	}
}

#Cynical Negative: The End
character_event = {
	id = 3442
	desc = EVTDESC3442
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	option = {
		name = EVTOPTA3442
		add_character_modifier = {
			name = the_cynical
			duration = 365
		}
		FROM = {
			opinion = {
				modifier = cynical_neg
				who = ROOT
				years = 2
			}
		}
	}
}

### Cynical positive ###
character_event = {
	id = 3445
	desc = EVTDESC3445
	picture = GFX_evt_scandal

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	is_triggered_only = yes

	trigger = {
		trait = cynical
		in_command_trigger = no
		any_courtier = {
			is_adult = yes
			in_command_trigger = no
			trait = cynical
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.4
			trait = gluttonous
		}
		modifier = {
			factor = 0.3
			trait = greedy
		}

		modifier = {
			factor = 2.0
			trait = kind
		}
		modifier = {
			factor = 5.0
			trait = humble
		}
	}

	option = {
		name = EVTOPTA3445
		prestige = 15
	}
}

### Cynical negative: Start ###
character_event = {
	id = 3450
	desc = EVTDESC3450
	picture = GFX_evt_courtiers_talking

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	is_triggered_only = yes

	trigger = {
		trait = cynical
		in_command_trigger = no
		NOR = {
			is_inaccessible_trigger = yes
			has_character_modifier = the_cynical
		}
		any_courtier = {
			is_adult = yes
			in_command_trigger = no
			prisoner = no
			NOR = {
				is_inaccessible_trigger = yes
				character = ROOT
				trait = incapable
				trait = cynical
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 4.0
			trait = wroth
		}
		modifier = {
			factor = 5.0
			trait = proud
		}

		modifier = {
			factor = 0.2
			trait = kind
		}
		modifier = {
			factor = 0.4
			trait = patient
		}
	}

	option = {
		name = EVTOPTA3450
		random_courtier = {
			limit = {
				is_adult = yes
				in_command_trigger = no
				prisoner = no
				NOR = {
					is_inaccessible_trigger = yes
					character = ROOT
					trait = incapable
					trait = cynical
				}
			}
			character_event = {
				id = 3451
				tooltip = EVTTOOLTIP3451
			}
		}
	}
}

#Cynical Negative: Courtier
character_event = {
	id = 3451
	desc = EVTDESC3451
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	option = {
		name = EVTOPTA3451
		opinion = {
			modifier = cynical_neg
			who = FROM
			years = 2
		}
		FROM = {
			character_event = {
				id = 3452
				tooltip = EVTTOOLTIP3452
			}
		}
	}
}

#Cynical Negative: The End
character_event = {
	id = 3452
	desc = EVTDESC3452
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	option = {
		name = EVTOPTA3452
		FROM = {
			opinion = {
				modifier = cynical_neg
				who = ROOT
				years = 2
			}
		}
		random = {
			chance = 20
			remove_trait = cynical
		}
	}
}

### Cynical negative ###
character_event = {
	id = 3455
	desc = EVTDESC3455
	picture = GFX_evt_bishop

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	religion_group = christian
	is_triggered_only = yes

	trigger = {
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		trait = cynical
		any_courtier = {
			is_adult = yes
			in_command_trigger = no
			NOT = { is_inaccessible_trigger = yes }
			OR = {
				trait = zealous
				is_priest = yes
				NOT = {
					trait = cynical
				}
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 2.0
			trait = slothful
		}
		modifier = {
			factor = 5.0
			trait = lustful
		}

		modifier = {
			factor = 0.3
			trait = diligent
		}
		modifier = {
			factor = 0.5
			trait = humble
		}
	}

	option = {
		name = EVTOPTA3455
		piety = -15
	}
}

### Cynical negative - Muslim ###
character_event = {
	id = 3456
	desc = EVTDESC3456
	picture = GFX_evt_bishop

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	religion_group = muslim
	is_triggered_only = yes

	trigger = {
		trait = cynical
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		any_courtier = {
			is_adult = yes
			in_command_trigger = no
			NOT = { is_inaccessible_trigger = yes }
			religion_group = muslim
			OR = {
				trait = zealous
				is_priest = yes
				NOT = {
					trait = cynical
				}
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 2.0
			trait = slothful
		}
		modifier = {
			factor = 5.0
			trait = lustful
		}

		modifier = {
			factor = 0.3
			trait = diligent
		}
		modifier = {
			factor = 0.5
			trait = humble
		}
	}

	option = {
		name = EVTOPTA3456
		piety = -15
	}
}

### Zealous positive: Start ###
character_event = {
	id = 3460
	desc = EVTDESC3460
	picture = GFX_evt_heretic

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	religion_group = christian
	is_triggered_only = yes

	trigger = {
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		trait = zealous
		higher_tier_than = baron
		is_councillor = no
		any_courtier = {
			is_adult = yes
			in_command_trigger = no
			prisoner = no
			OR = {
				trait = zealous
				is_priest = yes
			}
			NOR = {
				is_inaccessible_trigger = yes
				character = ROOT
				trait = incapable
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.3
			trait = envious
		}
		modifier = {
			factor = 0.4
			trait = wroth
		}


		modifier = {
			factor = 4.0
			trait = charitable
		}
		modifier = {
			factor = 4.0
			trait = patient
		}
	}

	option = {
		name = EVTOPTA3460
		random_courtier = {
			limit = {
				is_adult = yes
				in_command_trigger = no
				prisoner = no
				OR = {
					trait = zealous
					is_priest = yes
				}
				NOR = {
					is_inaccessible_trigger = yes
					character = ROOT
					trait = incapable
				}
			}
			character_event = {
				id = 3461
				tooltip = EVTTOOLTIP3461
			}
		}
	}
}

#Zealous positive: Courtier
character_event = {
	id = 3461
	desc = EVTDESC3461
	picture = GFX_evt_heretic

	is_triggered_only = yes

	option = {
		name = EVTOPTA3461
		opinion = {
			modifier = zealous_pos
			who = FROM
			years = 2
		}
		FROM = {
			character_event = {
				id = 3462
				tooltip = EVTTOOLTIP3462
			}
		}
	}
}

#Zealous positive: The End
character_event = {
	id = 3462
	desc = EVTDESC3462
	picture = GFX_evt_heretic

	is_triggered_only = yes

	option = {
		name = EVTOPTA3462
		FROM = {
			opinion = {
				modifier = zealous_pos
				who = ROOT
				years = 2
			}
		}
	}
}

### Zealous positive ###
character_event = {
	id = 3465
	desc = EVTDESC3465
	picture = GFX_evt_bishop

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = zealous
		in_command_trigger = no
		OR = {
			higher_tier_than = baron
			is_councillor = yes
		}
		prestige = 150
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.3
			trait = envious
		}
		modifier = {
			factor = 0.4
			trait = wroth
		}

		modifier = {
			factor = 5.0
			trait = temperate
		}
		modifier = {
			factor = 5.0
			trait = chaste
		}
	}

	option = {
		name = EVTOPTA3465
		prestige = 15
	}
}

### Zealous negative: Start ###
character_event = {
	id = 3470
	desc = EVTDESC3470
	picture = GFX_evt_bishop

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	religion_group = christian
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = zealous
		in_command_trigger = no
		OR = {
			spouse = {
				is_alive = yes
				is_abroad_trigger = no
				religion_group = christian
				NOT = {
					trait = zealous
				}
				opinion = { who = ROOT value = 100 }
			}
			any_child = {
				age = 15
				NOT = {
					trait = zealous
				}
				religion_group = christian
				opinion = { who = ROOT value = 100 }
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 4.0
			trait = gluttonous
		}
		modifier = {
			factor = 3.0
			trait = envious
		}

		modifier = {
			factor = 0.2
			trait = kind
		}
		modifier = {
			factor = 0.5
			trait = humble
		}
	}
	
	immediate = {
		random_child = {
			limit = {
				age = 15
				NOT = {
					trait = zealous
				}
				religion_group = christian
				opinion = { who = ROOT value = 100 }
			}
			save_event_target_as = nonzealous_child
		}
	}

	option = {
		name = EVTOPTA3470
		trigger = {
			spouse = {
				is_alive = yes
				is_abroad_trigger = no
				NOT = {
					trait = zealous
				}
				religion_group = christian
				opinion = { who = ROOT value = 100 }
			}
		}
		spouse = {
			set_character_flag = show_in_option
			clr_character_flag = show_in_option
			character_event = {
				id = 3471
				tooltip = EVTTOOLTIP3471
			}
		}
	}
	option = {
		name = EVTOPTB3470
		trigger = {
			event_target:nonzealous_child = { always = yes }
		}
		event_target:nonzealous_child = {
			set_character_flag = show_in_option
			clr_character_flag = show_in_option
			character_event = {
				id = 3471
				tooltip = EVTTOOLTIPB3471
			}
		}
	}
}

#Zealous negative: Spouse
character_event = {
	id = 3471
	desc = EVTDESC3471
	picture = GFX_evt_quarrel

	is_triggered_only = yes

	option = {
		name = EVTOPTA3471
		opinion = {
			modifier = zealous_neg
			who = FROM
			years = 2
		}
		FROM = {
			character_event = {
				id = 3472
				tooltip = EVTTOOLTIP3472
			}
		}
	}
}

#Zealous negative: Courtier
character_event = {
	id = 3472
	desc = EVTDESC3472
	picture = GFX_evt_bishop

	is_triggered_only = yes

	option = {
		name = EVTOPTA3472
		FROM = {
			opinion = {
				modifier = zealous_neg
				who = ROOT
				years = 2
			}
		}
	}
}

### Zealous negative ###
character_event = {
	id = 3475
	desc = EVTDESC3475
	picture = GFX_evt_bishop

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	religion_group = christian
	war = no
	
	is_triggered_only = yes

	trigger = {
		in_command_trigger = no
		trait = zealous
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 3.0
			trait = envious
		}
		modifier = {
			factor = 5.0
			trait = lustful
		}

		modifier = {
			factor = 0.5
			trait = temperate
		}
		modifier = {
			factor = 0.2
			trait = kind
		}
	}

	option = {
		name = EVTOPTA3475
		scaled_wealth = -0.05
	}
}

### Zealous positive - Muslim: Start ###
character_event = {
	id = 3476
	desc = EVTDESC3476
	picture = GFX_evt_heretic

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	religion_group = muslim
	war = no
	ai = no	
	
	is_triggered_only = yes

	trigger = {
		in_command_trigger = no
		trait = zealous
		higher_tier_than = baron
		is_councillor = no
		any_courtier = {
			is_adult = yes
			prisoner = no
			OR = {
				trait = zealous
				is_priest = yes
			}
			NOR = {
				character = ROOT
				trait = incapable
			}
		}
		k_papal_state = { has_title_flag = schism_happened }
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.3
			trait = envious
		}
		modifier = {
			factor = 0.4
			trait = wroth
		}


		modifier = {
			factor = 4.0
			trait = charitable
		}
		modifier = {
			factor = 4.0
			trait = patient
		}
	}

	option = {
		name = EVTOPTA3476
		create_random_priest = {
			random_traits = yes
			dynasty = random
			culture = umbrian
			religion = catholic
			female = no
			age = 35
		}
		new_character = {
			imprison = ROOT
			add_character_modifier = {
				name = the_oubliette
				duration = -1
			}
		}
		random_courtier = {
			limit = {
				is_adult = yes
				prisoner = no
				OR = {
					trait = zealous
					is_priest = yes
				}
				NOR = {
					character = ROOT
					trait = incapable
				}
			}
			character_event = {
				id = 3477
				tooltip = EVTTOOLTIP3461
			}
		}
	}
}

#Zealous positive: Courtier
character_event = {
	id = 3477
	desc = EVTDESC3477
	picture = GFX_evt_heretic

	is_triggered_only = yes

	option = {
		name = EVTOPTA3461
		opinion = {
			modifier = zealous_pos
			who = FROM
			years = 2
		}
		FROM = {
			character_event = {
				id = 3478
				days = 1
				random = 2
				tooltip = EVTTOOLTIP3478
			}
		}
	}
}

#Zealous positive: The End
character_event = {
	id = 3478
	desc = EVTDESC3478
	picture = GFX_evt_heretic

	is_triggered_only = yes

	option = {
		name = EVTOPTA3462
		FROM = {
			opinion = {
				modifier = zealous_pos
				who = ROOT
				years = 2
			}
		}
	}
}

######################################
# PARANOID EVENTS
######################################

### Imaginary Plot ###
character_event = {
	id = 3480
	desc = EVTDESC3480
	picture = GFX_evt_scandal

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	is_triggered_only = yes

	trigger = {
		trait = paranoid
		in_command_trigger = no
		any_courtier = {
			is_adult = yes
			prisoner = no
			OR = {
				trait = trusting
				trait = ambitious
				trait = diligent
			}
			NOR = {
				character = ROOT
				trait = incapable
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.4
			trait = gluttonous
		}
		modifier = {
			factor = 0.5
			trait = proud
		}

		modifier = {
			factor = 4.0
			trait = charitable
		}
		modifier = {
			factor = 5.0
			trait = chaste
		}
	}

	option = {
		name = EVTOPTA3480
		random_courtier = {
			limit = {
				is_adult = yes
				prisoner = no
				OR = {
					trait = trusting
					trait = ambitious
					trait = diligent
				}
				NOR = {
					character = ROOT
					trait = incapable
				}
			}
			character_event = {
				id = 3481
				days = 2
				tooltip = EVTTOOLTIP3481
			}
		}
	}
}

#Paranoid
character_event = {
	id = 3481
	desc = EVTDESC3481
	picture = GFX_evt_scandal

	is_triggered_only = yes

	option = {
		name = EVTOPTA3481
		opinion = {
			modifier = paranoid_pos
			who = FROM
			years = 2
		}
		FROM = {
			character_event = {
				id = 3482
				days = 3
				tooltip = EVTTOOLTIP3482
			}
		}
	}
}

#Paranoid
character_event = {
	id = 3482
	desc = EVTDESC3482
	picture = GFX_evt_scandal

	is_triggered_only = yes

	option = {
		name = EVTOPTA3482
		FROM = {
			opinion = {
				modifier = paranoid_pos
				who = ROOT
				years = 2
			}
		}
	}
}

### Think someone is trying to kill you ###
character_event = {
	id = 3485
	desc = EVTDESC3485
	picture = GFX_evt_hunt

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = paranoid
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.4
			trait = wroth
		}
		modifier = {
			factor = 0.5
			trait = lustful
		}

		modifier = {
			factor = 3.0
			trait = diligent
		}
		modifier = {
			factor = 5.0
			trait = humble
		}
	}

	option = {
		name = EVTOPTA3485
		if = {
			limit = {
				NOR = {
					trait = stressed
					trait = depressed
				}
			}
			random = {
				chance = 15
				add_trait = stressed
				hidden_tooltip = {
					character_event = {
						id = 38282 #Notify Stressed
					}
				}
			}
		}
	}

	option = {
		name = EVTOPTB3485
		trigger = {
			any_courtier = {
				is_adult = yes
				is_female = no
				prisoner = no
				OR = {
					trait = deceitful
					trait = wroth
					trait = brave
					trait = ambitious
					trait = diligent
				}
				NOR = {
					character = ROOT
					trait = incapable
				}

			}
		}

		random_courtier = {
			limit = {
				is_adult = yes
				is_female = no
				prisoner = no
				OR = {
					trait = deceitful
					trait = wroth
					trait = brave
					trait = ambitious
					trait = diligent
				}
				NOR = {
					character = ROOT
					trait = incapable
				}
			}
			opinion = {
				modifier = paranoid_neg
				who = ROOT
				years = 10
			}
		}
	}
}

### Imagine that friend trying to poison? ###
character_event = {
	id = 3490
	desc = EVTDESC3490
	picture = GFX_evt_scandal

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = paranoid
		in_command_trigger = no
		any_courtier = {
			is_adult = yes
			prisoner = no
			opinion = { who = ROOT value = 65 }
			NOR = {
				character = ROOT
				trait = incapable
				trait = paranoid
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 4.0
			trait = gluttonous
		}
		modifier = {
			factor = 5.0
			trait = lustful
		}

		modifier = {
			factor = 0.5
			trait = temperate
		}
		modifier = {
			factor = 0.5
			trait = chaste
		}
	}

	option = {
		name = EVTOPTA3490
		random_courtier = {
			limit = {
				is_adult = yes
				prisoner = no
				opinion = { who = ROOT value = 65 }
				NOR = {
					character = ROOT
					trait = incapable
					trait = paranoid
				}
			}
			character_event = {
				id = 3491
				days = 1
				tooltip = EVTTOOLTIP3491
			}
		}
	}
}

#Paranoid
character_event = {
	id = 3491
	desc = EVTDESC3491
	picture = GFX_evt_scandal

	is_triggered_only = yes

	option = {
		name = EVTOPTA3491
		opinion = {
			modifier = paranoid_neg
			who = FROM
			years = 10
		}
		FROM = {
			character_event = {
				id = 3492
				days = 2
				tooltip = EVTTOOLTIP3492
			}
		}
	}
}

#Paranoid
character_event = {
	id = 3492
	desc = EVTDESC3492
	picture = GFX_evt_scandal

	is_triggered_only = yes

	option = {
		name = EVTOPTA3492
		FROM = {
			opinion = {
				modifier = paranoid_neg
				who = ROOT
				years = 2
			}
		}
	}
}

### Paranoia is dangerous ###
character_event = {
	id = 3495
	desc = EVTDESC3495
	picture = GFX_evt_scandal

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		in_command_trigger = no
		prestige = 100
		trait = paranoid
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 2.0
			trait = slothful
		}
		modifier = {
			factor = 3.0
			trait = envious
		}

		modifier = {
			factor = 0.4
			trait = patient
		}
		modifier = {
			factor = 0.5
			trait = humble
		}
	}

	option = {
		name = EVTOPTA3495
		prestige = -10

		if = {
			limit = { NOR = { trait = craven trait = berserker } }
			random = {
				chance = 15
				add_trait = craven
				hidden_tooltip = { character_event = { id = 38257 }}
			}
		}
	}
	option = {
		name = EVTOPTB3495
		any_courtier = {
			limit = {
				is_adult = yes
				prisoner = no
			}
			opinion = {
				modifier = paranoid_neg
				who = ROOT
				years = 5
			}
		}
	}
}

### Trusting positive ###
character_event = {
	id = 3500
	desc = EVTDESC3500
	picture = GFX_evt_carriage

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = trusting
		in_command_trigger = no
		piety = 100
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.3
			trait = greedy
		}
		modifier = {
			factor = 0.3
			trait = envious
		}


		modifier = {
			factor = 1.5
			trait = diligent
		}
		modifier = {
			factor = 2.0
			trait = humble
		}
	}

	option = {
		name = EVTOPTA3500
		piety = 15
	}
}

### Trusting positive: Start ###
character_event = {
	id = 3505
	desc = EVTDESC3505
	picture = GFX_evt_carriage

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = trusting
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		OR = {
			tier = count
			tier = duke
			is_councillor = yes
		}
		any_courtier = {
			is_adult = yes
			prisoner = no
			NOR = {
				is_inaccessible_trigger = yes
				character = ROOT
				trait = incapable
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.3
			trait = envious
		}
		modifier = {
			factor = 0.5
			trait = lustful
		}

		modifier = {
			factor = 2.0
			trait = temperate
		}
		modifier = {
			factor = 1.5
			trait = patient
		}
	}

	option = {
		name = EVTOPTA3505
		random_courtier = {
			limit = {
				is_adult = yes
				prisoner = no
				NOR = {
					is_inaccessible_trigger = yes
					character = ROOT
					trait = incapable
				}
			}
			character_event = {
				id = 3506
				tooltip = EVTTOOLTIP3506
			}
		}
	}
}

#Trusting Positive: Courtier
character_event = {
	id = 3506
	desc = EVTDESC3506
	picture = GFX_evt_carriage

	is_triggered_only = yes

	option = {
		name = EVTOPTA3506
		opinion = {
			modifier = trusting_pos
			who = FROM
			years = 1
		}
		FROM = {
			character_event = {
				id = 3507
				tooltip = EVTTOOLTIP3507
			}
		}
	}
}

#Trusting Positive: The End
character_event = {
	id = 3507
	desc = EVTDESC3507
	picture = GFX_evt_carriage

	is_triggered_only = yes

	option = {
		name = EVTOPTA3507
		FROM = {
			opinion = {
				modifier = trusting_pos
				who = ROOT
				years = 1
			}
		}
		opinion = {
			modifier = trusting_pos
			who = FROM
			years = 2
		}
	}
}

### Trusting negative ###
character_event = {
	id = 3510
	desc = EVTDESC3510
	picture = GFX_evt_drunk

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = trusting
		in_command_trigger = no
		treasury = 200
		NOR = {
			learning = 9
			is_inaccessible_trigger = yes
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 3.0
			trait = envious
		}
		modifier = {
			factor = 4.0
			trait = wroth
		}

		modifier = {
			factor = 0.4
			trait = charitable
		}
		modifier = {
			factor = 0.4
			trait = patient
		}
	}

	option = {
		name = EVTOPTA3510
		scaled_wealth = -0.05
	}
}

### Trusting negative: Start ###
character_event = {
	id = 3515
	desc = EVTDESC3515
	picture = GFX_evt_falconing

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = trusting		
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		any_courtier = {
			is_adult = yes
			prisoner = no
			OR = {
				NAND = {
					trait = brave
					trait = falconer
				}
				trait = paranoid
				martial = 8
			}
			NOR = {
				is_inaccessible_trigger = yes
				character = ROOT
				trait = incapable
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 3.0
			trait = envious
		}
		modifier = {
			factor = 4.0
			trait = wroth
		}

		modifier = {
			factor = 0.4
			trait = patient
		}
		modifier = {
			factor = 0.5
			trait = humble
		}
	}

	option = {
		name = EVTOPTA3515
		random_courtier = {
			limit = {
				is_adult = yes
				prisoner = no
				OR = {
					NAND = {
						trait = brave
						trait = falconer
					}
					trait = paranoid
					martial = 8
				}
				NOR = {
					is_inaccessible_trigger = yes
					character = ROOT
					trait = incapable
				}
			}
			character_event = {
				id = 3516
				tooltip = EVTTOOLTIP3516
			}
		}
	}
}

#Trusting negative: Courtier
character_event = {
	id = 3516
	desc = EVTDESC3516
	picture = GFX_evt_falconing

	is_triggered_only = yes

	option = {
		name = EVTOPTA3516
		FROM = {
			opinion = {
				modifier = opinion_disappointed
				who = ROOT
				years = 2
			}
			character_event = {
				id = 3517
				tooltip = EVTTOOLTIP3517
			}
		}
	}
}

#Trusting negative: The End
character_event = {
	id = 3517
	desc = EVTDESC3517
	picture = GFX_evt_falconing

	is_triggered_only = yes

	option = {
		name = EVTOPTA3517
		opinion = {
			modifier = opinion_disappointed
			who = FROM
			years = 2
		}
	}
}

###################################################################################
# LIFESTYLE TRAITS
###################################################################################

### CELIBATE ###

#Celibate
character_event = {
	id = 3520
	desc = EVTDESC3520
	picture = GFX_evt_quarrel

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	religion_group = christian
	war = no

	is_triggered_only = yes

	trigger = {
		trait = celibate
		in_command_trigger = no
		fertility = 0.4
		has_lover = no
		OR = {
			trait = chaste
			piety = 50
			trait = humble
		}
		is_married = yes
		spouse = {
			is_alive = yes
			is_abroad_trigger = no
			prisoner = no
			has_lover = no
			is_pregnant = no
			OR = {
				trait = lustful
				trait = hedonist
				NAND = {
					trait = chaste
					trait = celibate
				}
				NOT = { trait = eunuch }
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.5
			trait = wroth
		}

		modifier = {
			factor = 2
			diplomacy = 8
		}
	}

	option = {
		name = EVTOPTA3520
		piety = 10
		spouse = {
			character_event = {
				id = 3521
				days = 2
				tooltip = EVTTOOLTIP3521
			}
			opinion = {
				modifier = opinion_spurned
				who = ROOT
				years = 5
			}
		}
	}
	option = {
		name = EVTOPTB3520
		remove_trait = celibate
		piety = -10
		spouse = {
			add_lover = ROOT
		}
	}
	option = {
		name = EVTOPTC3520
		trigger = {
			fertility = 0.5
			spouse = {
				is_alive = yes
				is_abroad_trigger = no
				fertility = 0.5
				OR = {
					reverse_opinion = { who = ROOT value = 30 }
					opinion = { who = ROOT value = 30 }
				}
			}
		}
		remove_trait = celibate
		piety = -10
		spouse = {
			add_lover = ROOT
		}
		random = {
			chance = 20
			random_spouse = {
				limit = {
					OR = {
						ROOT = {
							is_female = yes
							NOT = { age = 45 }
							fertility = 0.2
						}
						AND = {
							is_female = yes
							NOT = { age = 45 }
							fertility = 0.2
						}
					}
				}
				impregnate = ROOT
			}
		}
	}
}

#Celibate: Spouse
character_event = {
	id = 3521
	desc = EVTDESC3521
	picture = GFX_evt_quarrel

	is_triggered_only = yes

	option = {
		name = EVTOPTA3521
		if = {
			limit = {
				religion_group = christian
			}
			add_trait = chaste
			break = yes
		}
		if = {
			limit = {
				religion_group = muslim
			}
			piety = 5
		}
	}
	option = {
		name = EVTOPTB3521
		spouse = {
			reverse_opinion = {
				modifier = opinion_spurned
				who = ROOT
				years = 1
			}
		}
	}
}

#Celibate: Advice
character_event = {
	id = 3525
	desc = EVTDESC3525
	picture = GFX_evt_courtiers_talking

	only_playable = yes
	min_age = 27
	capable_only = yes
	prisoner = no
	religion_group = christian
	war = no
	
	is_triggered_only = yes

	trigger = {
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		trait = celibate		
		OR = {
			trait = chaste
			NOT = {
				trait = lustful
			}
			piety = 30
		}
		any_vassal = {
			trait = chaste
			is_adult = yes
			NOR = {
				age = 25
				is_inaccessible_trigger = yes
				trait = celibate
				trait = hedonist
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.5
			trait = shy
		}

		modifier = {
			factor = 2
			trait = gregarious
		}
	}

	immediate = {
		random_vassal = {
			limit = {
				trait = chaste
				is_adult = yes
				NOR = {
					age = 25
					is_inaccessible_trigger = yes
					trait = celibate
					trait = hedonist
				}
			}
			save_event_target_as = chaste_vassal
		}
	}
	
	option = {
		name = EVTOPTA3525
		event_target:chaste_vassal = {
			character_event = {
				id = 3526
				days = 2
				tooltip = EVTTOOLTIP3526
			}
		}
	}
	option = {
		name = EVTOPTB3525
		event_target:chaste_vassal = {
			opinion = {
				modifier = opinion_disappointed
				who = ROOT
				years = 5
			}
		}
	}
	option = {
		name = EVTOPTA3525
		tooltip_info = zealous
		trigger = {
			trait = zealous
		}
		if = {
			limit = {
				NOT = { trait = paranoid }
			}
			add_trait = paranoid
		}
		event_target:chaste_vassal = {
			add_trait = paranoid
			hidden_tooltip = {
				character_event = {
					id = 38275
				}
			}
			opinion = {
				modifier = opinion_horrified
				who = ROOT
				years = 5
			}
		}
	}
}

#Celibate: Vassal
character_event = {
	id = 3526
	desc = EVTDESC3526
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	option = {
		name = EVTOPTA3526
		FROM = {
			character_event = {
				id = 3527
				days = 2
				tooltip = EVTTOOLTIP3527
			}
		}
		opinion = {
			modifier = opinion_grateful
			who = FROM
			years = 2
		}
	}
	option = {
		name = EVTOPTB3526
		add_character_modifier = {
			name = the_perturbed
			duration = 90
		}
	}
}

#Celibate: ROOT
character_event = {
	id = 3527
	desc = EVTDESC3527
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	option = {
		name = EVTOPTA3527
		FROM = {
			reverse_opinion = {
				modifier = opinion_grateful
				who = ROOT
				years = 2
			}
		}
	}
}

### Celibate: Start ###
character_event = {
	id = 3530
	desc = EVTDESC3530
	picture = GFX_evt_bishop

	only_playable = yes
	min_age = 20
	capable_only = yes
	prisoner = no
	is_triggered_only = yes
	religion_group = christian
	war = no

	trigger = {
		trait = celibate
		in_command_trigger = no
		NOR = {
			is_inaccessible_trigger = yes
			trait = lustful
		}
		any_courtier = {
			is_adult = yes
			is_priest = yes
			is_female = no
			NOT = { is_inaccessible_trigger = yes }
			OR = {
				trait = hedonist
				trait = lustful
			}
			opinion = { who = ROOT value = 0 }
			reverse_opinion = { who = ROOT value = 0 }
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.5
			diplomacy = 5
		}

		modifier = {
			factor = 2
			trait = proud
		}
	}

	option = {
		name = EVTOPA3530
		random_courtier = {
			limit = {
				is_adult = yes
				is_priest = yes
				is_female = no
				NOT = {
					is_inaccessible_trigger = yes
				}
				OR = {
					trait = hedonist
					trait = lustful
				}
				opinion = { who = ROOT value = 0 }
				reverse_opinion = { who = ROOT value = 0 }
			}
			character_event = {
				id = 3531
				days = 3
				tooltip = EVTTOOLTIP3530
			}
		}
	}
	option = {
		name = EVTOPTB3530
		if = {
			limit = {
				NOT = { trait = slothful }
			}
			add_trait = slothful
		}
	}
}

#Celibate: Vassal
character_event = {
	id = 3531
	desc = EVTDESC3531
	picture = GFX_evt_bishop

	is_triggered_only = yes

	option = {
		name = EVTOPTA3531
		opinion = {
			modifier = opinion_embarrassed
			who = FROM
			years = 2
		}
		FROM = {
			character_event = {
				id = 3532
				days = 1
				tooltip = EVTTOOLTIP3532
			}
		}
	}
}

#Celibate: ROOT
character_event = {
	id = 3532
	desc = EVTDESC3532
	picture = GFX_evt_bishop

	is_triggered_only = yes

	option = {
		name = EVTOPTA3532 #Embarrassed
		piety = 10
	}
	option = {
		name = EVTOPTB3532
		add_character_modifier = {
			name = the_idle
			duration = 90
		}
	}
	option = {
		name = EVTOPTC3532
		random = {
			chance = 25
			add_trait = humble
			hidden_tooltip = { character_event = { id = 38260 } } # notify
		}
	}
}

#Celibate: Start ###
character_event = {
	id = 3535
	desc = EVTDESC3535
	picture = GFX_evt_knight_kneeling

	only_playable = yes
	min_age = 20
	capable_only = yes
	prisoner = no
	religion_group = christian
	war = no

	is_triggered_only = yes

	trigger = {
		in_command_trigger = no
		trait = celibate
		trait = zealous
		NOR = {
			is_inaccessible_trigger = yes
			trait = lustful
		}
		any_courtier = {
			is_adult = yes
			in_command_trigger = no
			trait = celibate
			is_priest = yes
			NOR = {
				is_inaccessible_trigger = yes
				trait = lustful
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.5
			trait = proud
		}

		modifier = {
			factor = 2
			trait = humble
		}
	}

	option = {
		name = EVTOPTA3535
		prestige = -10
		add_character_modifier = {
			name = the_flagellant
			duration = 365
		}
		character_event = {
			id = 3536
			tooltip = EVTTOOLTIP3536
		}
	}
	option = {
		name = EVTOPTB3535
		piety = -5
		if = {
			limit = {
				NOT = { trait = slothful }
			}
			add_trait = slothful
		}
		random = {
			chance = 10

			remove_trait = zealous
		}
	}
}

#Celibate
character_event = {
	id = 3536
	desc = EVTDESC3536
	picture = GFX_evt_knight_kneeling

	is_triggered_only = yes

	option = {
		name = EVTOPTA3536
		prestige = 10
		random_courtier = {
			limit = {
				trait = celibate
				is_priest = yes
				NOT = {
					trait = lustful
				}
			}
			character_event = {
				id = 3537
				days = 2
				tooltip = EVTTOOLTIP3537
			}
		}
	}
}

#Celibate: Courtier
character_event = {
	id = 3537
	desc = EVTDESC3537
	picture = GFX_evt_knight_kneeling

	is_triggered_only = yes

	option = {
		name = EVTOPTA3537
		opinion = {
			modifier = opinion_delighted
			who = FROM
			years = 2
		}
		FROM = {
			set_character_flag = flagellation_idol
			character_event = {
				id = 3538
				days = 2
				tooltip = EVTTOOLTIPA3538
			}
		}
	}

	option = {
		name = EVTOPTB3537
		opinion = {
			modifier = opinion_pitiful
			who = FROM
			years = 2
		}
		FROM = {
			set_character_flag = flagellation_idiot
			character_event = {
				id = 3538
				days = 2
				tooltip = EVTTOOLTIPB3538
			}
		}
	}
}

#Celibate: ROOT
character_event = {
	id = 3538
	desc = EVTDESC3538
	picture = GFX_evt_knight_kneeling

	is_triggered_only = yes

	option = {
		name = EVTOPTA3538
		trigger = {
			has_character_flag = flagellation_idol
		}
		clr_character_flag = flagellation_idol
		opinion = {
			modifier = opinion_delighted
			who = FROM
			years = 2
		}
	}

	option = {
		name = EVTOPTB3538
		trigger = {
			has_character_flag = flagellation_idiot
		}
		clr_character_flag = flagellation_idiot
		opinion = {
			modifier = opinion_pitiful
			who = FROM
			years = 2
		}
	}
}

### SCHOLAR ###

### Scholar: Gain learning ###
character_event = {
	id = 3540
	desc = EVTDESC3540
	picture = GFX_evt_library

	only_playable = yes
	min_age = 20
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = scholar
		in_command_trigger = no
		NOR = {
			is_inaccessible_trigger = yes
			learning = 15
			trait = slothful
			trait = content
		}
		any_courtier = {
			is_adult = yes
			NOT = { is_inaccessible_trigger = yes }
			OR = {
				learning = 10
				trait = scholar
			}
			has_job_action = no
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 2
			trait = ambitious
		}

		modifier = {
			factor = 2
			trait = diligent
		}

		modifier = {
			factor = 0.5
			trait = shy
		}

		modifier = {
			factor = 0.2
			trait = wroth
		}
	}

	immediate = {
		random_courtier = {
			limit = {
				is_adult = yes
				NOT = { is_inaccessible_trigger = yes }
				OR = {
					learning = 10
					trait = scholar
				}
				has_job_action = no
			}
			save_event_target_as = my_courtier
		}
	}
	
	option = {
		name = EVTOPTA3540 #Demand
		piety = -10
		event_target:my_courtier = {
			set_character_flag = pressured_scholar
			character_event = {
				id = 3541
				days = 2
				tooltip = EVTTOOLTIP3541
			}
		}
	}
	option = {
		name = EVTOPTB3540 #Ask nicely
		prestige = -10
		event_target:my_courtier = {
			set_character_flag = asked_scholar
			character_event = {
				id = 3541
				days = 2
				tooltip = EVTTOOLTIP3541
			}
		}
	}
	option = {
		name = EVTOPTC3540 #Bribe
		scaled_wealth = -0.10
		event_target:my_courtier = {
			set_character_flag = bribed_scholar
			character_event = {
				id = 3541
				days = 2
				tooltip = EVTTOOLTIP3541
			}
		}
	}
	option = {
		name = EVTOPTD3540 #Ignore
		add_trait = content
	}
}

#Scholar: Courtier reacts to demands/bribes or being asked nicely
character_event = {
	id = 3541
	desc = EVTDESC3541
	picture = GFX_evt_library

	is_triggered_only = yes

	option = {
		name = EVTOPTA3541
		trigger = {
			has_character_flag = pressured_scholar
		}
		clr_character_flag = pressured_scholar
		FROM = {
			set_character_flag = irritated_scholar
			character_event = {
				id = 3542
				days = 7
				tooltip = EVTTOOLTIP3542
			}
		}
		opinion = {
			modifier = opinion_disgruntled
			who = ROOT
			years = 2
		}
	}

	option = {
		name = EVTOPTB3541
		trigger = {
			has_character_flag = asked_scholar
		}
		clr_character_flag = asked_scholar
		FROM = {
			set_character_flag = happy_scholar
			character_event = {
				id = 3542
				days = 7
				tooltip = EVTTOOLTIP3542
			}
		}
		opinion = {
			modifier = opinion_delighted
			who = ROOT
			years = 2
		}
	}
	option = {
		name = EVTOPTC3541
		trigger = {
			has_character_flag = bribed_scholar
		}
		clr_character_flag = bribed_scholar
		treasury = 10
		FROM = {
			set_character_flag = generous_scholar
			character_event = {
				id = 3542
				days = 7
				tooltip = EVTTOOLTIP3542
			}
		}
	}
}

#Scholar: ROOT get +learning
character_event = {
	id = 3542
	desc = EVTDESC3542
	picture = GFX_evt_library

	is_triggered_only = yes

	option = {
		name = EVTOPTA3542
		trigger = {
			has_character_flag = irritated_scholar
		}
		clr_character_flag = irritated_scholar
		opinion = {
			modifier = opinion_disgruntled
			who = FROM
			years = 2
		}
		change_learning = 1
	}
	option = {
		name = EVTOPTA3542
		trigger = {
			has_character_flag = happy_scholar
		}
		clr_character_flag = happy_scholar
		opinion = {
			modifier = opinion_delighted
			who = FROM
			years = 2
		}
		change_learning = 2
	}
	option = {
		name = EVTOPTA3542
		trigger = {
			has_character_flag = generous_scholar
		}
		clr_character_flag = generous_scholar
		change_learning = 1
	}
}

### Scholar: Improve relation ###
character_event = {
	id = 3543
	desc = EVTDESC3543
	picture = GFX_evt_courtiers_talking

	only_playable = yes
	min_age = 20
	capable_only = yes
	prisoner = no
	war = no

	is_triggered_only = yes

	trigger = {
		trait = scholar
		in_command_trigger = no
		OR = {
			trait = zealous
			NOT = {
				trait = cynical
			}
		}
		NOR = {
			is_inaccessible_trigger = yes
			has_character_modifier = the_idle
		}
		any_courtier = {
			is_adult = yes
			in_command_trigger = no
			NOR = {
				is_inaccessible_trigger = yes
				character = ROOT
			}
			is_priest = yes
			has_job_action = no
			OR = {
				trait = scholar
				learning = 9
			}
			opinion = { who = ROOT value = 0 }
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 2
			trait = gregarious
		}

		modifier = {
			factor = 0.5
			trait = slothful
		}
	}

	option = {
		name = EVTOPTA3543
		random_courtier = {
			limit = {
				is_adult = yes
				in_command_trigger = no
				NOT = { is_inaccessible_trigger = yes }
				is_priest = yes
				has_job_action = no
				OR = {
					trait = scholar
					learning = 9
				}
				opinion = { who = ROOT value = 0 }
			}
			character_event = {
				id = 3544
				days = 2
				tooltip = EVTTOOLTIP3544
			}
		}
	}
	option = {
		name = EVTOPTB3543
		add_character_modifier = {
			name = the_idle
			duration = 90
		}
	}
}

#Scholar - Continue
character_event = {
	id = 3544
	desc = EVTDESC3544
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	option = {
		name = EVTOPTA3544
		FROM = {
			reverse_opinion = {
				modifier = opinion_tiresome
				who = ROOT
				years = 1
			}
			set_character_flag = you_tiresome
			character_event = {
				id = 3545
				days = 2
				tooltip = EVTTOOLTIP3545
			}
		}
	}
	option = {
		name = EVTOPTB3544
		add_friend = FROM
		FROM = {
			set_character_flag = you_friend
			character_event = {
				id = 3545
				days = 2
				tooltip = EVTTOOLTIP3545
			}
		}
	}
}

### Scholar: ROOT gets Courtier's response ###
character_event = {
	id = 3545
	desc = EVTDESC3545
	picture = GFX_evt_courtiers_talking

	war = no

	is_triggered_only = yes

	trigger = {		
		in_command_trigger = no
		OR = {
			has_character_flag = you_tiresome
			has_character_flag = you_friend
		}
	}

	option = {
		name = EVTOPTA3545
		trigger = {
			has_character_flag = you_friend
		}
		clr_character_flag = you_friend
		add_friend = FROM
	}
	option = {
		name = EVTOPTB3545
		trigger = {
			has_character_flag = you_tiresome
		}
		clr_character_flag = you_tiresome
		FROM = {
			opinion = {
				modifier = opinion_tiresome
				who = ROOT
				years = 1
			}
		}
	}
}

### Scholar: Daddy/Mummy, read a story for me! ###
character_event = {
	id = 3546
	desc = EVTDESC3546
	picture = GFX_evt_family

	only_playable = yes
	min_age = 20
	capable_only = yes
	prisoner = no
	war = no

	is_triggered_only = yes

	trigger = {
		trait = scholar		
		in_command_trigger = no
		any_child = {
			age = 6
			NOR = {
				is_adult = yes			
				trait = content
				trait = slothful
			}
		}
	}

	weight_multiplier = {
		factor = 1
	}

	immediate = {
		random_child = {
			limit = {
				age = 6
				NOR = {
					is_adult = yes
					trait = content
					trait = slothful
				}
			}
			save_event_target_as = scholar_child
		}
	}
	
	option = {
		name = EVTOPTA3546
		event_target:scholar_child = {
			set_character_flag = history_lesson
			character_event = {
				id = 3547
				tooltip = EVTTOOLTIP3547
			}
		}
	}
	option = {
		name = EVTOPTB3546
		event_target:scholar_child = {
			opinion = {
				modifier = opinion_disappointed
				who = ROOT
				months = 6
			}
		}
	}
	option = {
		name = EVTOPTC3546
		event_target:scholar_child = {
			set_character_flag = legendary_story
			character_event = {
				id = 3547
				tooltip = EVTTOOLTIP3547
			}
		}
	}
}

#Scholar: Child
character_event = {
	id = 3547
	desc = EVTDESC3547
	picture = GFX_evt_family

	is_triggered_only = yes

	option = {
		name = EVTOPTA3547
		trigger = {
			has_character_flag = history_lesson
		}
		clr_character_flag = history_lesson
		opinion = {
			modifier = opinion_embarrassed
			who = FROM
			years = 2
		}
		FROM = {
			set_character_flag = embarrassed_child
			character_event = {
				id = 3548
				tooltip = EVTTOOLTIP3548
			}
		}
	}
	option = {
		name = EVTOPTB3547
		trigger = {
			has_character_flag = legendary_story
		}
		clr_character_flag = legendary_story
		opinion = {
			modifier = opinion_embarrassed
			who = FROM
			years = 2
		}
		FROM = {
			set_character_flag = embarrassed_child
			character_event = {
				id = 3548
				tooltip = EVTTOOLTIP3548
			}
		}
	}
	option = {
		name = EVTOPTC3547
		trigger = {
			has_character_flag = history_lesson
		}
		clr_character_flag = history_lesson
		opinion = {
			modifier = opinion_delighted
			who = FROM
			years = 2
		}
		FROM = {
			set_character_flag = delighted_child
			character_event = {
				id = 3548
				tooltip = EVTTOOLTIP3548
			}
		}
	}
	option = {
		name = EVTOPTD3547
		trigger = {
			has_character_flag = legendary_story
		}
		clr_character_flag = legendary_story
		opinion = {
			modifier = opinion_delighted
			who = FROM
			years = 2
		}
		FROM = {
			set_character_flag = delighted_child
			character_event = {
				id = 3548
				tooltip = EVTTOOLTIP3548
			}
		}
	}
}

#Scholar: ROOT
character_event = {
	id = 3548
	desc = EVTDESC3548
	picture = GFX_evt_family

	is_triggered_only = yes

	option = {
		name = EVTOPTA3548
		trigger = {
			has_character_flag = embarrassed_child
		}
		clr_character_flag = embarrassed_child
		FROM = {
			opinion = {
				modifier = opinion_embarrassed
				who = ROOT
				years = 2
			}
		}
	}
	option = {
		name = EVTOPTB3548
		trigger = {
			has_character_flag = delighted_child
		}
		clr_character_flag = delighted_child
		FROM = {
			opinion = {
				modifier = opinion_delighted
				who = ROOT
				years = 2
			}
			if = {
				limit = {
					learning = 6
					NOT = {
						trait = ambitious
					}
				}
				random_list = {
					40 = {
						add_trait = ambitious
						hidden_tooltip = {
							character_event = {
								id = 38278 #Notify Ambitious
							}
							ROOT = {
								character_event = {
									id = 38178 #Notify Child is Ambitious
								}
							}
						}
					}
					10 = {
						add_trait = slothful
						hidden_tooltip = {
							character_event = {
								id = 38251 #Notify Slothful
							}
							ROOT = {
								character_event = {
									id = 38151 #Notify Child is Slothful
								}
							}
						}
					}
					40 = {
						add_trait = diligent
						hidden_tooltip = {
							character_event = {
								id = 38256 #Notify Diligent
							}
							ROOT = {
								character_event = {
									id = 38156 #Notify Child is Diligent
								}
							}
						}
					}
					10 = {
						add_trait = content
						hidden_tooltip = {
							character_event = {
								id = 38279 #Notify Content
							}
							ROOT = {
								character_event = {
									id = 38179 #Notify Child is Content
								}
							}
						}
					}
				}
			}
			if = {
				limit = {
					NOT = { learning = 6 }
				}
				random_list = {
					10 = {
						add_trait = ambitious
						hidden_tooltip = {
							character_event = {
								id = 38278 #Notify Ambitious
							}
							ROOT = {
								character_event = {
									id = 38178 #Notify Child is Ambitious
								}
							}
						}
					}
					40 = {
						add_trait = slothful
						hidden_tooltip = {
							character_event = {
								id = 38251 #Notify Slothful
							}
							ROOT = {
								character_event = {
									id = 38151 #Notify Child is Slothful
								}
							}
						}
					}
					10 = {
						add_trait = diligent
						hidden_tooltip = {
							character_event = {
								id = 38256 #Notify Diligent
							}
							ROOT = {
								character_event = {
									id = 38156 #Notify Child is Diligent
								}
							}
						}
					}
					40 = {
						add_trait = content
						hidden_tooltip = {
							character_event = {
								id = 38279 #Notify Content
							}
							ROOT = {
								character_event = {
									id = 38179 #Notify Child is Content
								}
							}
						}
					}
				}
			}
		}
	}
}

### Scholar: The Intervention ###
character_event = {
	id = 3550
	desc = EVTDESC3550
	picture = GFX_evt_quarrel

	only_playable = yes
	min_age = 20
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes 
	
	trigger = {
		trait = scholar		
		in_command_trigger = no
		OR = {
			trait = zealous
			trait = diligent
			trait = ambitious
		}
		OR = {
			is_married = yes
			any_courtier = {
				is_adult = yes
				in_command_trigger = no
				NOT = {
					trait = scholar
				}
				OR = {
					trait = envious
					trait = paranoid
					trait = wroth
				}
				opinion = { who = ROOT value = 50 }
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 2
			learning = 10
		}

		modifier = {
			factor = 0.5
			trait = wroth
		}
	}

	option = {
		name = EVTOPTA3550
		trigger = {
			is_married = yes
		}
		spouse = {
			character_event = {
				id = 3551
				days = 2
				tooltip = EVTTOOLTIP3551
			}
		}
	}
	option = {
		name = EVTOPTB3550
		add_trait = content
	}
	option = {
		name = EVTOPTC3550
		trigger = {
			is_married = no
			any_courtier = {
				is_adult = yes
				in_command_trigger = no
				NOT = {
					trait = scholar
				}
				OR = {
					trait = envious
					trait = paranoid
					trait = wroth
				}
				opinion = { who = ROOT value = 25 }
			}
		}
		random_courtier = {
			limit = {
				is_adult = yes
				in_command_trigger = no
				NOT = {
					trait = scholar
				}
				OR = {
					trait = envious
					trait = paranoid
					trait = wroth
				}
				opinion = { who = ROOT value = 50 }
			}
			character_event = {
				id = 3552
				days = 2
				tooltip = EVTTOOLTIP3552
			}
		}
	}
	option = {
		name = EVTOPTD3550
		scaled_wealth = 0.5
		random = {
			chance = 25

			remove_trait = scholar
		}
	}
}

#Scholar: Spouse worries - intervention?
character_event = {
	id = 3551
	desc = EVTDESC3551
	picture = GFX_evt_quarrel

	is_triggered_only = yes

	option = {
		name = EVTOPTA3551 #Intervention!
		FROM = {
			character_event = {
				id = 3553
				tooltip = EVTTOOLTIP3553
			}
		}
	}
	option = {
		name = EVTOPTB3551
		add_trait = slothful
	}
}

#Scholar: Courtier worries - intervention?
character_event = {
	id = 3552
	desc = EVTDESC3552
	picture = GFX_evt_quarrel

	is_triggered_only = yes

	option = {
		name = EVTOPTA3552 #Intervention!
		FROM = {
			character_event = {
				id = 3553
				tooltip = EVTTOOLTIP3553
			}
		}
	}
	option = {
		name = EVTOPTB3552
		add_trait = slothful
	}
}

#Scholar: Intervention!
character_event = {
	id = 3553
	desc = EVTDESC3553
	picture = GFX_evt_quarrel

	is_triggered_only = yes

	option = {
		name = EVTOPTA3553
		add_character_modifier = {
			name = the_bibliophage
			duration = 365
		}
		FROM = {
			opinion = {
				modifier = opinion_disappointed
				who = ROOT
				years = 2
			}
		}
	}
	option = {
		name = EVTOPTB3553
		add_character_modifier = {
			name = the_bookaddict
			duration = 365
		}
		FROM = {
			opinion = {
				modifier = opinion_relieved
				who = ROOT
				years = 2
			}
		}
	}
}

### GARDENER ###

### Gardener: Flower Power ###
character_event = {
	id = 3555
	desc = EVTDESC3555
	picture = GFX_evt_garden

	only_playable = yes
	min_age = 20
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes 
	
	trigger = {
		trait = gardener
		in_command_trigger = no
		NOR = {
			is_inaccessible_trigger = yes
			has_character_modifier = flower_power
		}
		OR = {
			trait = kind
			trait = charitable
			trait = gregarious
		}
		spouse = {
			is_alive = yes
			is_abroad_trigger = no
			prisoner = no
		}
		any_courtier = {
			NOT = {
				spouse = {
					character = ROOT
				}
			}
			is_opposite_sex = ROOT
			OR = {
				AND = {
					is_female = yes
					is_pregnant = no
				}
				ROOT = {
					is_pregnant = no
					is_female = yes
				}
			}
			age = 20
			is_abroad_trigger = no
			prisoner = no
			NOR = {
				is_inaccessible_trigger = yes
				age = 40
			}
			opinion = { who = ROOT value = 30 }
			reverse_opinion = { who = ROOT value = 30 }
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 2
			trait = lustful
		}

		modifier = {
			factor = 0.5
			trait = chaste
		}
	}

	option = {
		name = EVTOPTA3555
		spouse = {
			character_event = {
				id = 3556
				days = 2
				tooltip = EVTTOOLTIPA3556
			}
		}
	}

	option = {
		name = EVTOPTB3555
		random_courtier = {
			limit = {
				NOT = {
					spouse = {
						character = ROOT
					}
				}
				is_opposite_sex = ROOT
				OR = {
					AND = {
						is_female = yes
						is_pregnant = no
					}
					ROOT = {
						is_pregnant = no
						is_female = yes
					}
				}
				age = 20
				NOR = {
					age = 40
					is_inaccessible_trigger = yes
				}
				is_abroad_trigger = no
				prisoner = no
				opinion = { who = ROOT value = 30 }
				reverse_opinion = { who = ROOT value = 30 }
			}
			character_event = {
				id = 3556
				days = 2
				tooltip = EVTTOOLTIPB3556
			}
		}
		random = {
			chance = 10
			spouse = {
				opinion = {
					modifier = opinion_idiot
					who = ROOT
					years = 1
				}
			}
		}
	}

	option = {
		name = EVTOPTC3555
		add_character_modifier = {
			name = flower_power
			duration = 30
		}
	}
}

#Gardener: Spouse
character_event = {
	id = 3556
	desc = EVTDESC3556
	picture = GFX_evt_garden

	is_triggered_only = yes

	option = {
		name = EVTOPTA3556
		FROM = {
			character_event = {
				id = 3557
				tooltip = EVTTOOLTIP3557
			}
			reverse_opinion = {
				modifier = opinion_flattered
				who = ROOT
				years = 1
			}
		}
		hidden_tooltip = {
			if = {
				limit = {
					spouse = {
						is_alive = yes
						is_abroad_trigger = no
						NOT = {
							character = FROM
						}
					}
				}
				FROM = {
					spouse = {
						random = {
							chance = 15

							character_event = {
								id = 3559
							}
						}
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB3556
		FROM = {
			character_event = {
				id = 3558
				tooltip = EVTTOOLTIP3558
			}
			reverse_opinion = {
				modifier = opinion_disappointed
				who = ROOT
				years = 1
			}
		}
	}
}

#Gardener: Good response FROM spouse/courtier
character_event = {
	id = 3557
	desc = EVTDESC3557
	picture = GFX_evt_garden

	is_triggered_only = yes

	option = {
		name = EVTOPTA3557
		FROM = {
			opinion = {
				modifier = opinion_flattered
				who = ROOT
				years = 1
			}
		}
	}
}

#Gardener: Bad response FROM spouse/courtier
character_event = {
	id = 3558
	desc = EVTDESC3558
	picture = GFX_evt_garden

	is_triggered_only = yes

	option = {
		name = EVTOPTA3558
		FROM = {
			opinion = {
				modifier = opinion_disappointed
				who = ROOT
				years = 1
			}
		}
	}
}

#Gardener: Spouse sees ROOT give rose to courtier
character_event = {
	id = 3559
	desc = EVTDESC3559
	picture = GFX_evt_garden

	is_triggered_only = yes

	option = {
		name = EVTOPTA3559
		trigger = {
			spouse = {
				any_lover = { character = ROOT }
			}
		}
		character_event = {
			id = 64105
			tooltip = EVTTOOLTIP64105
		}
	}
	option = {
		name = EVTOPTB3559
		spouse = {
			reverse_opinion = {
				modifier = opinion_angry
				who = ROOT
				years = 5
			}
		}
	}
	option = {
		name = EVTOPTC3559
		spouse = {
			reverse_opinion = {
				modifier = opinion_forgive
				who = ROOT
				years = 5
			}
		}
	}
}

### Gardener: Gain stewardship ###
character_event = {
	id = 3560
	desc = EVTDESC3560
	picture = GFX_evt_garden

	only_playable = yes
	min_age = 20
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes 
	
	trigger = {
		trait = gardener
		in_command_trigger = no
		NOR = {
			is_inaccessible_trigger = yes
			stewardship = 15
		}
		OR = {
			trait = diligent
			trait = ambitious
			NOR = {
				trait = slothful
				trait = content
			}
		}
		any_courtier = {
			is_adult = yes
			in_command_trigger = no
			NOT = { is_inaccessible_trigger = yes }
			OR = {
				learning = 10
				trait = gardener
				diplomacy = 8
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 2
			learning = 9
		}
	}

	option = {
		name = EVTOPTA3560 #Demand
		piety = -10
		random_courtier = {
			limit = {
				is_adult = yes
				in_command_trigger = no
				NOT = { is_inaccessible_trigger = yes }
				OR = {
					learning = 10
					trait = gardener
					diplomacy = 8
				}
			}
			set_character_flag = pressured_scholar
			character_event = {
				id = 3561
				days = 2
				tooltip = EVTTOOLTIP3561
			}
		}
	}
	option = {
		name = EVTOPTB3560 #Ask nicely
		random_courtier = {
			limit = {
				is_adult = yes
				in_command_trigger = no
				NOT = { is_inaccessible_trigger = yes }
				OR = {
					learning = 10
					trait = gardener
					diplomacy = 8
				}
			}
			set_character_flag = asked_scholar
			character_event = {
				id = 3561
				days = 2
				tooltip = EVTTOOLTIP3561
			}
		}
	}
	option = {
		name = EVTOPTC3560 #Bribe
		scaled_wealth = -0.10
		random_courtier = {
			limit = {
				is_adult = yes
				in_command_trigger = no
				NOT = { is_inaccessible_trigger = yes }
				OR = {
					learning = 10
					trait = gardener
					diplomacy = 8
				}
			}
			set_character_flag = bribed_scholar
			character_event = {
				id = 3561
				days = 2
				tooltip = EVTTOOLTIP3561
			}
		}
	}
	option = {
		name = EVTOPTD3560 #Ignore
		add_trait = content
	}
}

#Gardener: Courtier reacts to demands/bribes or being asked nicely
character_event = {
	id = 3561
	desc = EVTDESC3561
	picture = GFX_evt_garden

	is_triggered_only = yes

	option = {
		name = EVTOPTA3561
		trigger = {
			has_character_flag = pressured_scholar
		}
		clr_character_flag = pressured_scholar
		FROM = {
			set_character_flag = irritated_scholar
			character_event = {
				id = 3562
				days = 7
				tooltip = EVTTOOLTIP3562
			}
		}
		opinion = {
			modifier = opinion_disgruntled
			who = ROOT
			years = 2
		}
	}

	option = {
		name = EVTOPTB3561
		trigger = {
			has_character_flag = asked_scholar
		}
		clr_character_flag = asked_scholar
		FROM = {
			set_character_flag = happy_scholar
			character_event = {
				id = 3562
				days = 7
				tooltip = EVTTOOLTIP3562
			}
		}
		opinion = {
			modifier = opinion_delighted
			who = ROOT
			years = 2
		}
	}
	option = {
		name = EVTOPTC3561
		trigger = {
			has_character_flag = bribed_scholar
		}
		clr_character_flag = bribed_scholar
		FROM = {
			set_character_flag = generous_scholar
			character_event = {
				id = 3562
				days = 7
				tooltip = EVTTOOLTIP3562
			}
		}
	}
}

#Gardener: ROOT get +Stewardship
character_event = {
	id = 3562
	desc = EVTDESC3562
	picture = GFX_evt_garden

	is_triggered_only = yes

	option = {
		name = EVTOPTA3562
		trigger = {
			has_character_flag = irritated_scholar
		}
		clr_character_flag = irritated_scholar
		opinion = {
			modifier = opinion_disgruntled
			who = FROM
			years = 2
		}
		change_stewardship = 1
	}
	option = {
		name = EVTOPTA3562
		trigger = {
			has_character_flag = happy_scholar
		}
		clr_character_flag = happy_scholar
		opinion = {
			modifier = opinion_delighted
			who = FROM
			years = 2
		}
		change_stewardship = 2
	}
	option = {
		name = EVTOPTA3562
		trigger = {
			has_character_flag = generous_scholar
		}
		clr_character_flag = generous_scholar
		change_stewardship = 1
	}
}

### Gardener: Spend too much money? ###
character_event = {
	id = 3563
	desc = EVTDESC3563
	picture = GFX_evt_garden

	only_playable = yes
	min_age = 20
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = gardener		
		in_command_trigger = no
		OR = {
			trait = charitable
			NOT = {
				trait = greedy
			}
		}
		OR = {
			is_married = yes
			any_courtier = {
				is_adult = yes
				in_command_trigger = no
				trait = greedy
				stewardship = 8
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 2
			stewardship = 10
		}

		modifier = {
			factor = 0.5
			trait = slothful
		}
	}
	option = {
		name = EVTOPTA3563
		trigger = {
			is_married = yes
		}
		spouse = {
			character_event = {
				id = 3564
				days = 2
				tooltip = EVTTOOLTIP3564
			}
		}
	}

	option = {
		name = EVTOPTB3563
		prestige = 10
		random_list = {
			70 = {
			}
			20 = {
				add_trait = depressed
				hidden_tooltip = {
					character_event = {
						id = 38288 #Notify Depressed
					}
				}
			}
			10 = {
				remove_trait = gardener
				hidden_tooltip = {
					character_event = {
						id = 38289 #Notify remove Gardener
					}
				}
			}
		}
	}

	option = {
		name = EVTOPTC3563
		trigger = {
			any_courtier = {
				is_adult = yes
				in_command_trigger = no
				trait = greedy
				stewardship = 8
			}
		}
		scaled_wealth = -0.15
		random_courtier = {
			limit = {
				is_adult = yes
				in_command_trigger = no
				trait = greedy
				stewardship = 8
			}
			character_event = {
				id = 3565
				days = 2
				tooltip = EVTTOOLTIP3565
			}
		}
	}
}

#Gardener: Spouse interferes
character_event = {
	id = 3564
	desc = EVTDESC3564
	picture = GFX_evt_quarrel

	is_triggered_only = yes

	option = {
		name = EVTOPTA3564
		opinion = {
			modifier = opinion_worried
			who = FROM
			years = 2
		}
		FROM = {
			character_event = {
				id = 3566
				tooltip = EVTTOOLTIP3566
			}
		}
	}
	option = {
		name = EVTOPTB3564
		scaled_wealth = -0.05
		FROM = {
			opinion = {
				modifier = opinion_grateful
				who = ROOT
				years = 2
			}
		}
	}
}

#Gardener: Courtier interferes
character_event = {
	id = 3565
	desc = EVTDESC3565
	picture = GFX_evt_quarrel

	is_triggered_only = yes

	option = {
		name = EVTOPTA3565
		opinion = {
			modifier = opinion_worried
			who = FROM
			years = 2
		}
		FROM = {
			character_event = {
				id = 3567
				tooltip = EVTTOOLTIP3567
			}
		}
	}
	option = {
		name = EVTOPTB3565
		add_trait = slothful
	}
}

#Gardener: Spouse confronts him/her
character_event = {
	id = 3566
	desc = EVTDESC3566
	picture = GFX_evt_quarrel

	is_triggered_only = yes

	option = {
		name = EVTOPTA3566
		add_character_modifier = {
			name = the_naturalist
			duration = 90
		}
		FROM = {
			opinion = {
				modifier = opinion_worried
				who = ROOT
				years = 2
			}
		}
	}

	option = {
		name = EVTOPTB3566
		add_character_modifier = {
			name = the_natural_addict
			duration = 90
		}
		FROM = {
			opinion = {
				modifier = opinion_relieved
				who = ROOT
				years = 2
			}
		}
	}
}

#Gardener: Courtier confronts him/her
character_event = {
	id = 3567
	desc = EVTDESC3567
	picture = GFX_evt_quarrel

	is_triggered_only = yes

	option = {
		name = EVTOPTA3567
		add_character_modifier = {
			name = the_naturalist
			duration = 90
		}
		FROM = {
			opinion = {
				modifier = opinion_worried
				who = ROOT
				years = 2
			}
		}
	}

	option = {
		name = EVTOPTB3567
		add_character_modifier = {
			name = the_natural_addict
			duration = 90
		}
		FROM = {
			opinion = {
				modifier = opinion_relieved
				who = ROOT
				years = 2
			}
		}
	}
}

### Gardener: The Bees! ###
character_event = {
	id = 3568
	desc = EVTDESC3568
	picture = GFX_evt_garden

	only_playable = yes
	min_age = 20
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes 
	
	trigger = {
		trait = gardener		
		in_command_trigger = no		
		NOR = {
			is_inaccessible_trigger = yes
			is_ill = yes
			health = 6
		}
		any_courtier = {
			is_adult = yes
			is_councillor = yes
			NOT = { is_inaccessible_trigger = yes }
			OR = {
				trait = brave
				trait = diligent
				trait = ambitious
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 2
			trait = brave
		}

		modifier = {
			factor = 0.5
			trait = slothful
		}
	}

	option = {
		name = EVTOPTA3568
		random_courtier = {
			limit = {
				is_adult = yes
				is_councillor = yes
				NOT = { is_inaccessible_trigger = yes }
				OR = {
					trait = brave
					trait = diligent
					trait = ambitious
				}
			}
			character_event = {
				id = 3569
				tooltip = EVTTOOLTIP3569
			}
		}
	}

	option = {
		name = EVTOPTB3568
		trigger = {
			any_child = {
				is_abroad_trigger = no
				prisoner = no
				age = 14
				OR = {
					trait = brave
					trait = diligent
					trait = ambitious
				}
			}
		}
		random_child = {
			limit = {
				is_abroad_trigger = no
				prisoner = no
				age = 14
				OR = {
					trait = brave
					trait = diligent
					trait = ambitious
				}
			}
			character_event = {
				id = 3569
				tooltip = EVTTOOLTIP3569
			}
		}
	}
	option = {
		name = EVTOPTC3568
		trigger = {
			spouse = {
				is_alive = yes
				is_abroad_trigger = no
				prisoner = no
				is_councillor = no
				OR = {
					trait = brave
					trait = diligent
					trait = ambitious
				}
			}
		}
		spouse = {
			character_event = {
				id = 3569
				tooltip = EVTTOOLTIP3569
			}
		}
	}
	option = {
		name = EVTOPTD3568
		random_list = {
			40 = {
			}
			30 = {
				add_trait = wounded
				hidden_tooltip = {
					character_event = {
						days = 3
						id = 38280 #Notify Wounded
					}
				}
			}
			30 = {
				give_ill_effect = yes
				
			}
			20 = {
				change_stewardship = 1
			}
		}
	}
}

#Gardener: Courtier/spouse/child is asked to help remove beehive
character_event = {
	id = 3569
	desc = EVTDESC3569
	picture = GFX_evt_garden

	is_triggered_only = yes

	option = {
		name = EVTOPTA3569
		random_list = {
			40 = {
				FROM = {
					set_character_flag = beehive_removed
				}
			}
			30 = {
				add_trait = wounded
				hidden_tooltip = {
					character_event = {
						days = 3
						id = 38280 #Notify Wounded
					}
				}
				opinion = {
					modifier = opinion_irritated
					who = FROM
					years = 1
				}
				FROM = {
					set_character_flag = beehive_wounded
				}
			}
			20 = {
				give_ill_effect = yes
				opinion = {
					modifier = opinion_irritated
					who = FROM
					years = 1
				}
				FROM = {
					set_character_flag = beehive_ill
				}
			}
			10 = {
				change_stewardship = 1
			}
		}
		FROM = {
			hidden_tooltip = {
				character_event = {
					id = 3670
				}
			}
			opinion = {
				modifier = opinion_grateful
				who = ROOT
				years = 5
			}
		}
	}
	option = {
		name = EVTOPTB3569
		FROM = {
			reverse_opinion = {
				modifier = opinion_coward
				who = ROOT
				years = 1
			}
			hidden_tooltip = {
				character_event = {
					id = 3671
				}
			}
		}
	}
}

#Gardener: FROM helped
character_event = {
	id = 3670
	desc = EVTDESC3670
	picture = GFX_evt_garden

	is_triggered_only = yes

	option = {
		name = EVTOPTA3670
		trigger = {
			has_character_flag = beehive_removed
		}
		clr_character_flag = beehive_removed
		opinion = {
			modifier = opinion_grateful
			who = FROM
			years = 4
		}
	}
	option = {
		name = EVTOPTB3670
		trigger = {
			has_character_flag = beehive_wounded
		}
		clr_character_flag = beehive_wounded
		reverse_opinion = {
			modifier = opinion_irritated
			who = FROM
			years = 4
		}
		opinion = {
			modifier = opinion_grateful
			who = FROM
			years = 4
		}
	}
	option = {
		name = EVTOPTC3670
		trigger = {
			has_character_flag = beehive_ill
		}
		clr_character_flag = beehive_ill
		reverse_opinion = {
			modifier = opinion_irritated
			who = FROM
			years = 4
		}
		opinion = {
			modifier = opinion_grateful
			who = FROM
			years = 4
		}
	}
}

#Gardener: FROM refused to help
character_event = {
	id = 3671
	desc = EVTDESC3671
	picture = GFX_evt_garden

	is_triggered_only = yes

	option = {
		name = EVTOPTA3671
		opinion = {
			modifier = opinion_coward
			who = FROM
			years = 1
		}
		random_list = {
			40 = {
			}
			30 = {
				add_trait = wounded
				hidden_tooltip = {
					character_event = {
						days = 3
						id = 38280 #Notify Wounded
					}
				}
			}
			20 = {
				give_ill_effect = yes
			}
			10 = {
				change_stewardship = 1
			}
		}
	}
}

###  MYSTIC ###

### Mystic: Gain intrigue ###
character_event = {
	id = 3570
	desc = EVTDESC3570
	picture = GFX_evt_shadowy_cabal

	only_playable = yes
	min_age = 20
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes 
	
	trigger = {
		trait = mystic
		in_command = no
		NOR = {
			has_character_modifier = intriguing_book
			is_inaccessible_trigger = yes
			intrigue = 15
		}
		OR = {
			trait = diligent
			trait = ambitious
			NAND = {
				trait = slothful
				trait = content
			}
		}
		any_courtier = {
			is_adult = yes
			in_command_trigger = no
			NOT = { is_inaccessible_trigger = yes }
			OR = {
				learning = 10
				trait = mystic
				intrigue = 8
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 2
			learning = 9
		}
	}

	option = {
		name = EVTOPTA3570 #Demand
		piety = -10
		random = {
			chance = 25
			random_courtier = {
				limit = {
					is_adult = yes
					in_command_trigger = no
					NOT = { is_inaccessible_trigger = yes }
					OR = {
						learning = 10
						trait = scholar
					}
				}
				set_character_flag = pressured_scholar
				character_event = {
					id = 3571
					days = 2
					tooltip = EVTTOOLTIP3571
				}
			}
		}
	}
	option = {
		name = EVTOPTB3570 #Ask nicely
		prestige = -10
		random = {
			chance = 25
			random_courtier = {
				limit = {
					is_adult = yes
					in_command_trigger = no
					NOT = { is_inaccessible_trigger = yes }
					OR = {
						learning = 10
						trait = scholar
						diplomacy = 8
					}
				}
				set_character_flag = asked_scholar
				character_event = {
					id = 3571
					days = 2
					tooltip = EVTTOOLTIP3571
				}
			}
		}
	}
	option = {
		name = EVTOPTC3570 #Bribe
		scaled_wealth = -0.10
		random = {
			chance = 25
			random_courtier = {
				limit = {
					is_adult = yes
					in_command_trigger = no
					NOT = { is_inaccessible_trigger = yes }
					OR = {
						learning = 10
						trait = scholar
					}
				}
				set_character_flag = bribed_scholar
				character_event = {
					id = 3571
					days = 2
					tooltip = EVTTOOLTIP3571
				}
			}
		}
	}
	option = {
		name = EVTOPTD3570 #Ignore
		add_trait = content
	}
}

#Mystic: Courtier reacts to demands/bribes or being asked nicely
character_event = {
	id = 3571
	desc = EVTDESC3571
	picture = GFX_evt_shadowy_cabal

	is_triggered_only = yes

	option = {
		name = EVTOPTA3571
		trigger = {
			has_character_flag = pressured_scholar
		}
		clr_character_flag = pressured_scholar
		FROM = {
			set_character_flag = irritated_scholar
			character_event = {
				id = 3572
				days = 7
				tooltip = EVTTOOLTIP3572
			}
		}
		opinion = {
			modifier = opinion_disgruntled
			who = ROOT
			years = 2
		}
	}

	option = {
		name = EVTOPTB3571
		trigger = {
			has_character_flag = asked_scholar
		}
		clr_character_flag = asked_scholar
		FROM = {
			set_character_flag = happy_scholar
			character_event = {
				id = 3572
				days = 7
				tooltip = EVTTOOLTIP3572
			}
		}
		opinion = {
			modifier = opinion_delighted
			who = ROOT
			years = 2
		}
	}
	option = {
		name = EVTOPTC3571
		trigger = {
			has_character_flag = bribed_scholar
		}
		clr_character_flag = bribed_scholar
		treasury = 20
		FROM = {
			set_character_flag = generous_scholar
			character_event = {
				id = 3572
				days = 7
				tooltip = EVTTOOLTIP3572
			}
		}
	}
}

#Mystic: ROOT get +intrigue
character_event = {
	id = 3572
	desc = EVTDESC3572
	picture = GFX_evt_shadowy_cabal

	is_triggered_only = yes

	option = {
		name = EVTOPTA3572
		trigger = {
			has_character_flag = irritated_scholar
		}
		clr_character_flag = irritated_scholar
		opinion = {
			modifier = opinion_disgruntled
			who = FROM
			years = 2
		}
		add_character_modifier = {
			name = intriguing_book
			duration = 60
		}
	}
	option = {
		name = EVTOPTA3572
		trigger = {
			has_character_flag = happy_scholar
		}
		clr_character_flag = happy_scholar
		opinion = {
			modifier = opinion_delighted
			who = FROM
			years = 2
		}
		add_character_modifier = {
			name = intriguing_book
			duration = 90
		}
	}
	option = {
		name = EVTOPTA3572
		trigger = {
			has_character_flag = generous_scholar
		}
		clr_character_flag = generous_scholar
		add_character_modifier = {
			name = intriguing_book
			duration = 60
		}
	}
}

### Mystic: Start ###
character_event = {
	id = 3575
	desc = EVTDESC3575
	picture = GFX_evt_shadowy_cabal

	only_playable = yes
	min_age = 20
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes 
	
	trigger = {
		trait = mystic
		
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		any_courtier = {
			is_adult = yes
			in_command_trigger = no
			NOT = { is_inaccessible_trigger = yes }
			OR = {
				is_priest = yes
				has_job_title = job_spiritual
			}
			religion = ROOT
			piety = 50
			has_job_action = no
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 2
			trait = zealous
		}

		modifier = {
			factor = 0.5
			trait = cynical
		}
	}

	option = {
		name = EVTOPTA3575
		random_courtier = {
			limit = {
				is_adult = yes
				in_command_trigger = no
				NOT = { is_inaccessible_trigger = yes }
				OR = {
					is_priest = yes
					has_job_title = job_spiritual
				}
				religion = ROOT
				piety = 50
				has_job_action = no
			}
			character_event = {
				id = 3576
				days = 1
				tooltip = EVTTOOLTIP3576
			}
		}
	}
	option = {
		name = EVTOPTB3575
		add_character_modifier = {
			name = the_pious
			duration = 90
		}
	}
}

#Mystic: Initiation - noble
character_event = {
	id = 3576
	desc = EVTDESC3576
	picture = GFX_evt_shadowy_cabal

	is_triggered_only = yes

	option = {
		name = EVTOPTA3576 #Dangerous Initiation
		FROM = {
			character_event = {
				id = 3577
				days = 7
				tooltip = EVTTOOLTIP3577
			}
		}
	}
	option = {
		name = EVTOPTB3576 #Skill-based Initiation
		FROM = {
			character_event = {
				id = 3578
				days = 7
				tooltip = EVTTOOLTIP3578
			}
		}
	}
	option = {
		name = EVTOPTC3576 #Ignore
		add_character_modifier = {
			name = the_curious #Replace and use modifier somewhere else
			duration = 90
		}
	}
}

#Mystic: Dangerous Initiation - ROOT
character_event = {
	id = 3577
	desc = EVTDESC3577
	picture = GFX_evt_shadowy_cabal

	is_triggered_only = yes

	option = {
		name = EVTOPTA3577 #Accept
		FROM = {
			character_event = {
				id = 3579
				days = 1
				tooltip = EVTTOOLTIP3579
			}
		}
	}
	option = {
		name = EVTOPTB3577 #Decline
		remove_character_modifier = the_curious
	}
}

#Mystic: Skill-based Initiation - ROOT
character_event = {
	id = 3578
	desc = EVTDESC3578
	picture = GFX_evt_shadowy_cabal

	is_triggered_only = yes

	option = {
		name = EVTOPTA3578 #Accept
		FROM = {
			character_event = {
				id = 3579
				days = 1
				tooltip = EVTTOOLTIP3579
			}
		}
	}
	option = {
		name = EVTOPTB3578 #Decline
		remove_character_modifier = the_curious
	}
}

#Mystic: Initiation success or fail? Noble
character_event = {
	id = 3579
	desc = EVTDESC3579
	picture = GFX_evt_shadowy_cabal

	is_triggered_only = yes

	option = {
		name = EVTOPTA3579
		change_diplomacy = 1
		FROM = {
			character_event = { #Success!
				id = 3580
				days = 1
				tooltip = EVTTOOLTIP3580
			}
		}
	}
	option = {
		name = EVTOPTB3579
		change_intrigue = 1
		FROM = {
			character_event = { #Fail!
				id = 3581
				days = 1
				tooltip = EVTTOOLTIP3581
			}
		}
	}
}

#Mystic: Successful Initiation - ROOT
character_event = {
	id = 3580
	desc =EVTDESC3580
	picture = GFX_evt_shadowy_cabal

	is_triggered_only = yes

	option = {
		name = EVTOPTA3580
		add_character_modifier = {
			name = esoteric_religion
			duration = -1
		}
	}
}

#Mystic: Failed Initiation - ROOT
character_event = {
	id = 3581
	desc =EVTDESC3581
	picture = GFX_evt_shadowy_cabal

	is_triggered_only = yes

	option = {
		name = EVTOPTA3581
		random = {
			chance = 20
			add_trait = depressed
			hidden_tooltip = { character_event = { id = 38288 } } #notify
		}
		opinion = {
			modifier = opinion_disgruntled
			who = FROM
			years = 2
		}
	}
}

### Mystic: Alchemy - Start ###
character_event = {
	id = 3585
	desc = EVTDESC3585
	picture = GFX_evt_library

	only_playable = yes
	min_age = 20
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes 
	
	trigger = {
		trait = mystic
		in_command_trigger = no
		OR = {
			is_smart_trigger = yes
			learning = 8
		}
		OR = {
			trait = diligent
			trait = ambitious
			NOR = {
				trait = slothful
				trait = content
			}
		}
		NOT = { has_character_flag = alchemy_set }
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 2
			stewardship = 8
		}
		modifier = {
			factor = 0.5
			martial = 10
		}
	}

	option = {
		name = EVTOPTA3585
		set_character_flag = fiddle_alchemy
		character_event = {
			id = 3586
			tooltip = EVTTOOLTIPA3586
		}
	}
	option = {
		name = EVTOPTB3585
		set_character_flag = research_alchemy
		character_event = {
			id = 3586
			tooltip = EVTTOOLTIPB3586
		}
	}
	option = {
		name = EVTOPTC3585
		random_list = {
			70 = {
			}
			15 = {
				modifier = {
					factor = 0
					trait = stressed
				}
				modifier = {
					factor = 0
					trait = depressed
				}
				add_trait = stressed
				hidden_tooltip = { character_event = { id = 38282 } } #notify
			}
			15 = {
				remove_trait = mystic
			}
		}
	}
}

#Mystic: fiddle with alchemy
character_event = {
	id = 3586
	desc = EVTDESC3586
	picture = GFX_evt_library

	is_triggered_only = yes

	option = {
		name = EVTOPTA3586
		if = {
			limit = {
				has_character_flag = fiddle_alchemy
				NOT = {
					has_character_flag = research_alchemy
				}
			}
			random_list = {
				70 = {
					character_event = {
						id = 3587
						tooltip = EVTTOOLTIP3587
					}
				}
				30 = {
					character_event = {
						id = 3588
						tooltip = EVTTOOLTIP3588
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = research_alchemy
				NOT = {
					has_character_flag = fiddle_alchemy
				}
			}
			random_list = {
				50 = {
					character_event = {
						id = 3587
						tooltip = EVTTOOLTIP3587
					}
				}
				50 = {
					character_event = {
						id = 3588
						tooltip = EVTTOOLTIP3588
					}
				}
			}
		}
	}
}

#Mystic: Alchemy - wounded
character_event = {
	id = 3587
	desc = EVTDESC3587
	picture = GFX_evt_library

	is_triggered_only = yes
	
	immediate = { set_character_flag = alchemy_set }

	option = {
		name = EVTOPTA3587
		trigger = {
			is_married = yes
		}
		add_trait = wounded
		if = {
			limit = {
				NOT = { trait = ugly }
			}
			add_trait = ugly
		}
		spouse = {
			opinion = {
				modifier = opinion_worried
				who = ROOT
				years = 1
			}
		}
	}
	option = {
		name = EVTOPTB3587
		trigger = {
			is_married = no
		}
		add_trait = wounded
		if = {
			limit = {
				NOT = { trait = ugly }
			}
			add_trait = ugly
		}
	}
}

#Mystic: Alchemy - Success!
character_event = {
	id = 3588
	desc = EVTDESC3588
	picture = GFX_evt_library

	is_triggered_only = yes
	
	immediate = { set_character_flag = alchemy_set }

	option = {
		name = EVTOPTA3588
		add_character_modifier = {
			name = the_alchemist
			duration = 1825
		}
	}
}

### Mystic: Cure for illness - Start ###
character_event = {
	id = 3590
	desc = EVTDESC3590
	picture = GFX_evt_illness

	only_playable = yes
	min_age = 20
	capable_only = yes
	prisoner = no
	lacks_dlc = "Reapers"
	war = no
	
	is_triggered_only = yes 
	
	trigger = {
		trait = mystic		
		in_command_trigger = no
		OR = {
			is_smart_trigger = yes
			learning = 10
		}
		is_ill = yes
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 2
			stewardship = 8
		}
		modifier = {
			factor = 0.5
			martial = 10
		}
	}

	option = {
		name = EVTOPTA3590
		random_list = {
			70 = {
				character_event = {
					id = 3591
					tooltip = EVTTOOLTIP3591
				}
			}
			30 = {
				character_event = {
					id = 3592
					tooltip = EVTTOOLTIP3592
				}
			}
		}
	}
	option = {
		name = EVTOPTB3590
		random_list = {
			10 = {
			}
			10 = {
				add_trait = pneumonic
				#TODO: Notify pneumonic.
			}
			33 = {
				remove_trait = ill
				hidden_tooltip = {
					character_event = {
						id = 38283 #Notify remove ill
					}
				}
				if = {
					limit = {
						NOT = { trait = zealous }
					}
					add_trait = zealous
					hidden_tooltip = {
						character_event = {
						days = 3
							id = 38269 #Notify Zealous
						}
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTC3590
		random = {
			chance = 10

			remove_trait = ill
		}
	}
}

#Mystic: Cure for illness - Lunatic
character_event = {
	id = 3591
	desc = EVTDESC3591
	picture = GFX_evt_illness

	is_triggered_only = yes

	option = {
		name = EVTOPTA3591
		trigger = {
			is_married = yes
		}
		add_trait = lunatic
		spouse = {
			opinion = {
				modifier = opinion_worried
				who = ROOT
				years = 1
			}
		}
	}
	option = {
		name = EVTOPTB3591
		trigger = {
			is_married = no
		}
		add_trait = lunatic
	}
}

#Mystic: Cure for illness - Success!
character_event = {
	id = 3592
	desc = EVTDESC3592
	picture = GFX_evt_recovery

	is_triggered_only = yes

	option = {
		name = EVTOPTA3592
		cure_illness = yes
		add_character_modifier = {
			name = the_alchemist
			duration = 1825
		}
	}
}

### Mystic: Cure for illness - Start ###
character_event = {
	id = 3593
	desc = EVTDESC3593
	picture = GFX_evt_illness

	only_playable = yes
	min_age = 20
	capable_only = yes
	prisoner = no
	lacks_dlc = "Reapers"
	war = no
	
	is_triggered_only = yes 
	
	trigger = {
		trait = mystic		
		in_command_trigger = no
		is_ill = no
		has_character_modifier = the_alchemist
		any_courtier = {
			is_adult = yes
			in_command_trigger = no
			prisoner = no
			OR = {
				has_epidemic = yes
				is_ill = yes
			}
			NOT = {
				family = ROOT
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 2
			stewardship = 8
		}
		modifier = {
			factor = 0.5
			martial = 10
		}
	}

	option = {
		name = EVTOPTA3593
		random_courtier = {
			limit = {
				prisoner = no
				is_adult = yes
				in_command_trigger = no
				OR = {
					has_epidemic = yes
					is_ill = yes
				}
				NOT = {
					family = ROOT
				}
			}
			character_event = {
				id = 3594
				tooltip = EVTTOOLTIP3594
			}
		}
	}
	option = {
		name = EVTOPTB3593
		trigger = {
			any_child = {
				is_abroad_trigger = no
				prisoner = no
				OR = {
					has_epidemic = yes
					is_ill = yes
				}
			}
		}
		any_child = {
			limit = {
				is_abroad_trigger = no
				prisoner = no
				OR = {
					has_epidemic = yes
					is_ill = yes
				}
			}
			character_event = {
				id = 3594
				tooltip = EVTTOOLTIP3594
			}
		}
	}
	option = {
		name = EVTOPTC3593
		trigger = {
			spouse = {
				is_abroad_trigger = no
				prisoner = no
				is_alive = yes
				OR = {
					has_epidemic = yes
					is_ill = yes
				}
			}
		}
		spouse = {
			character_event = {
				id = 3594
				tooltip = EVTTOOLTIP3594
			}
		}
	}
	option = {
		name = EVTOPTD3593
		random_list = {
			60 = {
			}
			20 = {
				if = { limit = { NOT = { trait = berserker } } 
					add_trait = craven
					hidden_tooltip = { character_event = { id = 38257 } } #notify
				}
			}
			20 = {
				remove_trait = mystic
			}
		}
	}
}

#Mystic: Cure for illness - Continue
character_event = {
	id = 3594
	desc = EVTDESC3594
	picture = GFX_evt_illness

	is_triggered_only = yes

	option = {
		name = EVTOPTA3594
		random_list = {
			50 = {
				add_trait = lunatic
				cure_illness = yes
				FROM = {
					character_event = {
						id = 3595
						tooltip = EVTTOOLTIP3595
					}
				}
			}
			45 = {
				cure_illness = yes
				FROM = {
					character_event = {
						id = 3596
						tooltip = EVTTOOLTIP3596
					}
				}
			}
			5 = {
				death = {
					death_reason = death_trait
				}
				FROM = {
					character_event = {
						id = 3597
						tooltip = EVTTOOLTIP3597
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB3594
		random = {
			chance = 25

			add_trait = depressed
			hidden_tooltip = {
				character_event = {
					id = 38288 #Notify depressed
				}
			}
		}
	}
}

#Mystic: Cure for illness - Lunatic
character_event = {
	id = 3595
	desc = EVTDESC3595
	picture = GFX_evt_illness

	is_triggered_only = yes

	option = {
		name = EVTOPTA3595
		FROM = {
			opinion = {
				modifier = opinion_disappointed
				who = ROOT
				years = 2
			}
		}
	}
}

#Mystic: Cure for illness - Success!
character_event = {
	id = 3596
	desc = EVTDESC3596
	picture = GFX_evt_recovery

	is_triggered_only = yes

	option = {
		name = EVTOPTA3596
		FROM = {
			opinion = {
				modifier = opinion_grateful
				who = ROOT
				years = 2
			}
		}
	}
}

#Mystic: Cure for illness - Death!
character_event = {
	id = 3597
	desc = EVTDESC3597
	picture = GFX_evt_illness

	is_triggered_only = yes

	option = {
		name = EVTOPTA3597
		add_trait = depressed
	}
}

### IMPALER ###

### Impaler: New torture equipment - Start ###
character_event = {
	id = 3600
	desc = EVTDESC3600
	picture = GFX_evt_torture

	only_playable = yes
	min_age = 20
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes 
	
	trigger = {
		trait = impaler		
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		OR = {
			trait = wroth
			trait = deceitful
			trait = cynical
		}
		NOT = { has_character_modifier = brazen_bull }
		NOT = { trait = depressed }
		OR = {
			is_married = yes
			any_courtier = {
				is_adult = yes
				in_command_trigger = no
				trait = greedy
				stewardship = 8
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 2
			stewardship = 8
		}
		modifier = {
			factor = 0.5
			NOT = {	learning = 6 }
		}
	}

	option = {
		name = EVTOPTA3600
		trigger = {
			is_married = yes
		}
		scaled_wealth = -0.25
		add_character_modifier = {
			name = brazen_bull
			duration = 1825
		}
		spouse = {
			character_event = {
				id = 3601
				days = 2
				tooltip = EVTTOOLTIP3601
			}
		}
	}

	option = {
		name = EVTOPTB3600
		prestige = -10
		random = {
			chance = 10

			add_trait = depressed
			hidden_tooltip = {
				character_event = {
					id = 38288 #Notify Depressed
				}
			}
		}
	}

	option = {
		name = EVTOPTA3600
		trigger = {
			any_courtier = {
				is_adult = yes
				in_command_trigger = no
				trait = greedy
				stewardship = 8
			}
		}
		scaled_wealth = -0.25
		clr_character_flag = gold_ten
		add_character_modifier = {
			name = brazen_bull
			duration = 1825
		}
		random_courtier = {
			limit = {
				is_adult = yes
				in_command_trigger = no
				trait = greedy
				stewardship = 8
			}
			character_event = {
				id = 3601
				days = 2
				tooltip = EVTTOOLTIP3601
			}
		}
	}
}

#Impaler: New torture equipment - Spouse/courtier
character_event = {
	id = 3601
	desc = EVTDESC3601
	picture = GFX_evt_torture

	is_triggered_only = yes

	option = {
		name = EVTOPTA3601
		trigger = {
			FROM = {
				spouse = {
					character = ROOT
				}
			}
		}
		FROM = {
			reverse_opinion = {
				modifier = opinion_woeful
				who = ROOT
				years = 2
			}
			opinion = {
				modifier = opinion_disgruntled
				who = ROOT
				years = 2
			}
			character_event = {
				id = 3602
				days = 2
				tooltip = EVTTOOLTIP3602
			}
		}
	}
	option = {
		name = EVTOPTB3601
		trigger = {
			FROM = {
				spouse = {
					character = ROOT
				}
			}
		}
		FROM = {
			reverse_opinion = {
				modifier = opinion_selfsacrificing
				who = ROOT
				years = 2
			}
			opinion = {
				modifier = opinion_delighted
				who = ROOT
				years = 2
			}
			character_event = {
				id = 3603
				days = 2
				tooltip = EVTTOOLTIP3603
			}
		}
	}
	option = {
		name = EVTOPTC3601
		add_trait = stressed
	}
	option = {
		name = EVTOPTA3601
		trigger = {
			NOT = {
				FROM = {
					spouse = {
						character = ROOT
					}
				}
			}
		}
		FROM = {
			reverse_opinion = {
				modifier = opinion_woeful
				who = ROOT
				years = 2
			}
			opinion = {
				modifier = opinion_disgruntled
				who = ROOT
				years = 2
			}
			character_event = {
				id = 3602
				days = 2
				tooltip = EVTTOOLTIP3602
			}
		}
	}
	option = {
		name = EVTOPTB3601
		trigger = {
			NOT = {
				FROM = {
					spouse = {
						character = ROOT
					}
				}
			}
		}
		FROM = {
			reverse_opinion = {
				modifier = opinion_selfsacrificing
				who = ROOT
				years = 2
			}
			opinion = {
				modifier = opinion_delighted
				who = ROOT
				years = 2
			}
			character_event = {
				id = 3603
				days = 2
				tooltip = EVTTOOLTIP3603
			}
		}
	}
}

#Impaler: New torture equipment - Bad ROOT
character_event = {
	id = 3602
	desc = EVTDESC3602
	picture = GFX_evt_torture

	is_triggered_only = yes

	option = {
		name = EVTOPTA3602
		scaled_wealth = 0.25
		remove_character_modifier = brazen_bull
		FROM = {
			opinion = {
				modifier = opinion_grateful
				who = ROOT
				years = 2
			}
			set_character_flag = sold_brazen_bull
			character_event = {
				id = 3604
				days = 7
				tooltip = EVTTOOLTIP3604
			}
		}
	}
	option = {
		name = EVTOPTB3602
		FROM = {
			opinion = {
				modifier = opinion_woeful
				who = ROOT
				years = 2
			}
			set_character_flag = kept_brazen_bull
			character_event = {
				id = 3604
				days = 7
				tooltip = EVTTOOLTIP3604
			}
		}
	}
	option = {
		name = EVTOPTC3602
		trigger = {
			FROM = {
				NOT = {
					reverse_opinion = { who = ROOT value = 0 }
				}
				reverse_opinion = { who = ROOT value = -20 }
			}
		}
		FROM = {
			random = {
				chance = 80
				add_trait = wounded
				hidden_tooltip = { character_event = { id = 38280 } }
			}
			opinion = {
				modifier = opinion_furious
				who = ROOT
				years = 5
			}
		}
	}
	option = {
		name = EVTOPTC3602
		trigger = {
			FROM = {
				NOT = {
					reverse_opinion = { who = ROOT value = -20 }
				}
			}
		}
		FROM = {
			random = {
				chance = 80
				add_maimed_trait_effect = yes
				hidden_tooltip = { character_event = { id = 38281 } }

			}
			opinion = {
				modifier = opinion_furious
				who = ROOT
				years = 5
			}
		}
	}
}

#Impaler: New torture equipment - Good ROOT
character_event = {
	id = 3603
	desc = EVTDESC3603
	picture = GFX_evt_torture

	is_triggered_only = yes

	option = {
		name = EVTOPTA3603
		FROM = {
			opinion = {
				modifier = opinion_selfsacrificing
				who = ROOT
				years = 2
			}
		}
	}
}

#Impaler: New torture equipment - Kept the brazen bull (Spouse/Courtier)
character_event = {
	id = 3604
	desc = EVTDESC3604
	picture = GFX_evt_torture

	is_triggered_only = yes

	option = {
		name = EVTOPTA3604
		trigger = {
			has_character_flag = sold_brazen_bull
		}
		clr_character_flag = sold_brazen_bull
		FROM = {
			reverse_opinion = {
				modifier = opinion_grateful
				who = ROOT
				years = 2
			}
		}
	}
	option = {
		name = EVTOPTB3604
		trigger = {
			has_character_flag = kept_brazen_bull
		}
		clr_character_flag = kept_brazen_bull
		opinion = {
			modifier = opinion_woeful
			who = FROM
			years = 2
		}
	}
}

### Impaler: Gain intrigue ###
character_event = {
	id = 3605
	desc = EVTDESC3605
	picture = GFX_evt_torture

	only_playable = yes
	min_age = 20
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes 
	
	trigger = {
		trait = impaler		
		in_command_trigger = no
		NOR = {
			is_inaccessible_trigger = yes
			intrigue = 15
		}
		OR = {
			trait = diligent
			trait = ambitious
			NAND = {
				trait = slothful
				trait = content
			}
		}
		num_of_prisoners = 1
		any_courtier = {
			is_adult = yes
			in_command_trigger = no
			NOT = { is_inaccessible_trigger = yes }
			OR = {
				learning = 10
				trait = impaler
				intrigue = 8
			}
			OR = {
				trait = wroth
				martial = 10
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 2
			learning = 9
		}
	}

	immediate = {
		random_courtier = {
			limit = {
				is_adult = yes
				in_command_trigger = no
				NOT = { is_inaccessible_trigger = yes }
				OR = {
					learning = 10
					trait = impaler
					diplomacy = 8
				}
				OR = {
					trait = wroth
					martial = 10
				}
			}
			save_event_target_as = impaler_teacher
		}
	}
	
	option = {
		name = EVTOPTA3605 #Demand
		piety = -10
		event_target:impaler_teacher = {
			set_character_flag = pressured_teacher
			character_event = {
				id = 3606
				days = 2
				tooltip = EVTTOOLTIP3606
			}
		}
	}
	option = {
		name = EVTOPTB3605 #Ask nicely
		prestige = -10
		event_target:impaler_teacher = {
			set_character_flag = asked_teacher
			character_event = {
				id = 3606
				days = 2
				tooltip = EVTTOOLTIP3606
			}
		}
	}
	option = {
		name = EVTOPTC3605 #Ignore
		add_trait = content
	}
	option = {
		name = EVTOPTD3605 #Bribe
		scaled_wealth = -0.10
		event_target:impaler_teacher = {
			set_character_flag = bribed_teacher
			character_event = {
				id = 3606
				days = 2
				tooltip = EVTTOOLTIP3606
			}
		}
	}
}

#Impaler: Courtier reacts to demands/bribes or being asked nicely
character_event = {
	id = 3606
	desc = EVTDESC3606
	picture = GFX_evt_torture

	is_triggered_only = yes

	option = {
		name = EVTOPTA3606
		trigger = {
			has_character_flag = pressured_teacher
		}
		clr_character_flag = pressured_teacher
		FROM = {
			set_character_flag = irritated_teacher
			character_event = {
				id = 3607
				days = 7
				tooltip = EVTTOOLTIP3607
			}
		}
		tooltip = {
			opinion = {
				modifier = opinion_disgruntled
				who = FROM
				years = 2
			}
		}
	}

	option = {
		name = EVTOPTB3606
		trigger = {
			has_character_flag = asked_teacher
		}
		clr_character_flag = asked_teacher
		FROM = {
			set_character_flag = happy_teacher
			character_event = {
				id = 3607
				days = 7
				tooltip = EVTTOOLTIP3607
			}
		}
		tooltip = {
			opinion = {
				modifier = opinion_delighted
				who = FROM
				years = 2
			}
		}
	}

	option = {
		name = EVTOPTC3606
		FROM = {
			opinion = {
				modifier = opinion_disappointed
				who = ROOT
				years = 2
			}
		}
	}
	option = {
		name = EVTOPTD3606
		trigger = {
			has_character_flag = bribed_teacher
		}
		treasury = 10
		clr_character_flag = bribed_teacher
		FROM = {
			set_character_flag = generous_teacher
			character_event = {
				id = 3607
				days = 7
				tooltip = EVTTOOLTIP3607
			}
		}
	}
}

#Impaler: ROOT get +Intrigue
character_event = {
	id = 3607
	desc = EVTDESC3607
	picture = GFX_evt_torture

	is_triggered_only = yes

	option = {
		name = EVTOPTA3607
		trigger = {
			has_character_flag = irritated_teacher
		}
		clr_character_flag = irritated_teacher
		FROM = {
			opinion = {
				modifier = opinion_disgruntled
				who = ROOT
				years = 2
			}
		}
		change_intrigue = 1
	}
	option = {
		name = EVTOPTA3607
		trigger = {
			has_character_flag = happy_teacher
		}
		clr_character_flag = happy_teacher
		FROM = {
			opinion = {
				modifier = opinion_delighted
				who = ROOT
				years = 2
			}
		}
		change_intrigue = 2
	}
	option = {
		name = EVTOPTA3607
		trigger = {
			has_character_flag = generous_teacher
		}
		clr_character_flag = generous_teacher
		change_intrigue = 1
	}
}

### Impaler: Start ###
character_event = {
	id = 3610
	desc = EVTDESC3610
	picture = GFX_evt_torture

	only_playable = yes
	min_age = 20
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes 
	
	trigger = {
		trait = impaler		
		in_command_trigger = no
		num_of_prisoners = 2
		any_courtier = {
			prisoner = yes
			is_adult = yes
			has_character_modifier = the_dungeon
			is_female = no
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 2
			trait = wroth
		}
		modifier = {
			factor = 0.5
			trait = kind
		}
		modifier = {
			factor = 10
			has_ambition = obj_buddhist_reject_cruelty
		}
	}
	
	immediate = {
		random_courtier = {
			limit = {
				prisoner = yes
				is_adult = yes
				has_character_modifier = the_dungeon
				is_female = no
			}
			save_event_target_as = confession_target
		}
	}
	
	option = {
		name = EVTOPTA3610
		event_target:confession_target = {
			character_event = {
				id = 3611
				tooltip = EVTTOOLTIP3611
			}
		}
		cancel_ambition = yes
	}
	option = {
		name = EVTOPTB3610
		trigger = {
			has_character_modifier = brazen_bull
		}
		event_target:confession_target = {
			set_character_flag = tortured_by_brazenbull
			character_event = {
				id = 3611
				tooltip = EVTTOOLTIP3611
			}
		}
		cancel_ambition = yes
	}
	option = {
		name = EVTOPTC3610
		if = {
			limit = {
				NOT = { trait = kind }
			}
			random = {
				chance = 20

				add_trait = kind
				hidden_tooltip = {
					character_event = {
						id = 38268 #Notify Kind
					}
				}
			}
		}
		if = {
			limit = {
				NOT = {
					trait = charitable
				}
			}
			random = {
				chance = 20

				add_trait = charitable
				hidden_tooltip = {
					character_event = {
						id = 38273 #Notify Charitable
					}
				}
			}
		}
		if = {
			limit = {
				NOT = { has_ambition = obj_buddhist_reject_cruelty }
			}
			random = {
				chance = 10

				remove_trait = impaler
				hidden_tooltip = {
					character_event = {
						id = 38291 #Notify remove Impaler
					}
				}
			}
		}
		if = {
			limit = {
				has_ambition = obj_buddhist_reject_cruelty
			}
			remove_trait = impaler
			remove_trait = cruel
		}
	}
}

#Impaler: Prisoner
character_event = {
	id = 3611
	desc = EVTDESC3611
	picture = GFX_evt_torture

	is_triggered_only = yes

	option = {
		name = EVTOPTA3611 #Confess
		trigger = {
			NOT = { has_character_flag = tortured_by_brazenbull }
		}
		FROM = {
			set_character_flag = prisoner_confessed
			character_event = {
				id = 3612
				days = 1
				tooltip = EVTTOOLTIP3612
			}
			reverse_opinion = {
				modifier = opinion_cruel
				who = ROOT
				years = 2
			}
		}
		add_character_modifier = {
			name = house_arrest
			duration = 90
		}
	}
	option = {
		name = EVTOPTB3611 #Torture
		trigger = {
			NOT = { has_character_flag = tortured_by_brazenbull }
		}
		FROM = {
			set_character_flag = stubborn_prisoner
			character_event = {
				id = 3612
				days = 1
				tooltip = EVTTOOLTIP3612
			}
			reverse_opinion = {
				modifier = opinion_cruel
				who = ROOT
				years = 2
			}
		}
		add_character_modifier = {
			name = tortured_prisoner
			duration = 365
		}
	}
	option = {
		name = EVTOPTC3611 #Confess
		trigger = {
			has_character_flag = tortured_by_brazenbull
		}
		FROM = {
			set_character_flag = prisoner_confessed
			character_event = {
				id = 3612
				days = 1
				tooltip = EVTTOOLTIP3612
			}
			reverse_opinion = {
				modifier = opinion_cruel
				who = ROOT
				years = 2
			}
		}
		add_character_modifier = {
			name = house_arrest
			duration = 365
		}
	}
	option = {
		name = EVTOPTD3611 #Torture
		trigger = {
			has_character_flag = tortured_by_brazenbull
		}
		FROM = {
			set_character_flag = stubborn_prisoner
			character_event = {
				id = 3612
				days = 1
				tooltip = EVTTOOLTIP3612
			}
			reverse_opinion = {
				modifier = opinion_cruel
				who = ROOT
				years = 2
			}
		}
		add_character_modifier = {
			name = tortured_prisoner
			duration = 90
		}
	}
}

#Impaler: The End
character_event = {
	id = 3612
	desc = EVTDESC3612
	picture = GFX_evt_torture

	is_triggered_only = yes

	option = {
		name = EVTOPTA3612
		trigger = {
			has_character_flag = prisoner_confessed
		}
		clr_character_flag = prisoner_confessed
		opinion = {
			modifier = opinion_disappointed
			who = FROM
			years = 2
		}
		add_character_modifier = {
			name = master_impaler
			duration = 1825
		}
	}
	option = {
		name = EVTOPTB3612
		trigger = {
			has_character_flag = stubborn_prisoner
		}
		clr_character_flag = stubborn_prisoner
		opinion = {
			modifier = opinion_cruel
			who = FROM
			years = 2
		}
		add_character_modifier = {
			name = master_impaler
			duration = 1825
		}
	}
}

### Impaler: Start ###
character_event = {
	id = 3615
	desc = EVTDESC3615
	picture = GFX_evt_torture

	only_playable = yes
	min_age = 20
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = impaler		
		in_command_trigger = no
		NOT = { has_ambition = obj_buddhist_reject_cruelty }
		any_child = {
			age = 15
			is_abroad_trigger = no
			prisoner = no
			OR = {
				trait = envious
				trait = wroth
				learning = 9
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 2
			trait = ambitious
		}
		modifier = {
			factor = 0.5
			trait = slothful
		}
	}

	option = {
		name = EVTOPTA3615
		random_child = {
			limit = {
				age = 15
				is_abroad_trigger = no
				prisoner = no
				OR = {
					trait = envious
					trait = wroth
					learning = 9
				}
			}
			character_event = {
				id = 3616
				days = 1
				tooltip = EVTTOOLTIP3616
			}
		}
	}
	option = {
		name = EVTOPTB3615
		if = {
			limit = {
				NOT = {
					trait = kind
				}
			}
			random = {
				chance = 20

				add_trait = kind
				hidden_tooltip = {
					character_event = {
						id = 38268 #Notify Kind
					}
				}
			}
		}
		if = {
			limit = {
				NOT = {
					trait = charitable
				}
			}
			random = {
				chance = 20

				add_trait = charitable
				hidden_tooltip = {
					character_event = {
						id = 38273 #Notify Charitable
					}
				}
			}
		}
		random = {
			chance = 15

			remove_trait = impaler
			hidden_tooltip = {
				character_event = {
					id = 38291 #Notify remove Impaler
				}
			}
		}
	}
}

#Impaler: Child
character_event = {
	id = 3616
	desc = EVTDESC3616
	picture = GFX_evt_torture

	is_triggered_only = yes

	option = {
		name = EVTOPTA3616 #Interested
		trigger = {
			FROM = {
				is_female = yes
			}
			is_female = yes
		}
		FROM = {
			set_character_flag = mother_daughter
			opinion = {
				modifier = opinion_proud
				who = ROOT
				years = 2
			}
			character_event = {
				id = 3617
				tooltip = EVTTOOLTIP3617
			}
		}
		random = {
			chance = 10
			add_trait = impaler
		}
	}
	option = {
		name = EVTOPTA3616 #Interested
		trigger = {
			FROM = {
				is_female = no
			}
			is_female = no
		}
		FROM = {
			set_character_flag = father_son
			opinion = {
				modifier = opinion_proud
				who = ROOT
				years = 2
			}
			character_event = {
				id = 3617
				tooltip = EVTTOOLTIP3617
			}
		}
		random = {
			chance = 10
			add_trait = impaler
		}
	}
	option = {
		name = EVTOPTA3616 #Interested
		trigger = {
			FROM = {
				is_female = no
			}
			is_female = yes
		}
		FROM = {
			set_character_flag = mother_son
			opinion = {
				modifier = opinion_proud
				who = ROOT
				years = 2
			}
			character_event = {
				id = 3617
				tooltip = EVTTOOLTIP3617
			}
		}
		random = {
			chance = 10
			add_trait = impaler
		}
	}
	option = {
		name = EVTOPTA3616 #Interested
		trigger = {
			FROM = {
				is_female = yes
			}
			is_female = no
		}
		FROM = {
			set_character_flag = father_daughter
			opinion = {
				modifier = opinion_proud
				who = ROOT
				years = 2
			}
			character_event = {
				id = 3617
				tooltip = EVTTOOLTIP3617
			}
		}
		random = {
			chance = 10
			add_trait = impaler
		}
	}
	option = {
		name = EVTOPTB3616 #Refuse
		FROM = {
			opinion = {
				modifier = opinion_disappointed
				who = ROOT
				years = 2
			}
			character_event = {
				id = 3618
				tooltip = EVTTOOLTIP3618
			}
		}
	}
}

#Impaler: ROOT
character_event = {
	id = 3617
	desc = EVTDESC3617
	picture = GFX_evt_torture

	is_triggered_only = yes

	option = {
		name = EVTOPTA3617 #Interested
		trigger = {
			has_character_flag = mother_daughter
		}
		clr_character_flag = mother_daughter
		FROM = {
			reverse_opinion = {
				modifier = opinion_proud
				who = ROOT
				years = 2
			}
			random = {
				chance = 10
				add_trait = impaler
			}
		}
		add_character_modifier = {
			name = mother_daughter
			duration = 1825
		}
	}
	option = {
		name = EVTOPTA3617 #Interested
		trigger = {
			has_character_flag = father_son
		}
		clr_character_flag = father_son
		FROM = {
			reverse_opinion = {
				modifier = opinion_proud
				who = ROOT
				years = 2
			}
			random = {
				chance = 10
				add_trait = impaler
			}
		}
		add_character_modifier = {
			name = father_son
			duration = 1825
		}
	}
	option = {
		name = EVTOPTA3617 #Interested
		trigger = {
			has_character_flag = mother_son
		}
		clr_character_flag = mother_son
		FROM = {
			reverse_opinion = {
				modifier = opinion_proud
				who = ROOT
				years = 2
			}
			random = {
				chance = 10
				add_trait = impaler
			}
		}
		add_character_modifier = {
			name = mother_son
			duration = 1825
		}
	}
	option = {
		name = EVTOPTA3617 #Interested
		trigger = {
			has_character_flag = father_daughter
		}
		clr_character_flag = father_daughter
		FROM = {
			reverse_opinion = {
				modifier = opinion_proud
				who = ROOT
				years = 2
			}
			random = {
				chance = 10
				add_trait = impaler
			}
		}
		add_character_modifier = {
			name = father_daughter
			duration = 1825
		}
	}
}

#Impaler: ROOT
character_event = {
	id = 3618
	desc = EVTDESC3618
	picture = GFX_evt_torture

	is_triggered_only = yes

	option = {
		name = EVTOPTA3618 #Refused
		FROM = {
			reverse_opinion = {
				modifier = opinion_disappointed
				who = ROOT
				years = 2
			}
		}
	}
}

### DUELIST ###

### Duelist: Gain martial ###
character_event = {
	id = 3620
	desc = EVTDESC3620
	picture = GFX_evt_melee

	only_playable = yes
	only_men = yes
	min_age = 20
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes 
	
	trigger = {
		trait = duelist		
		in_command_trigger = no		
		NOR = {
			is_inaccessible_trigger = yes
			has_character_modifier = averted_duel
			trait = slothful
			trait = content
		}
		any_courtier = {
			age = 20
			is_female = no
			is_abroad_trigger = no
			prisoner = no
			NOT = { is_inaccessible_trigger = yes }
			OR = {
				martial = 10
				trait = duelist
			}
			has_job_action = no
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 5
			has_focus = focus_war
		}
		
		modifier = {
			factor = 2
			trait = ambitious
		}

		modifier = {
			factor = 2
			trait = diligent
		}

		modifier = {
			factor = 0.5
			trait = shy
		}

		modifier = {
			factor = 0.2
			trait = wroth
		}
	}

	immediate = {
		random_courtier = {
			limit = {
				age = 20
				is_female = no
				is_abroad_trigger = no
				NOT = { is_inaccessible_trigger = yes }
				prisoner = no
				OR = {
					martial = 10
					trait = duelist
				}
			}
			save_event_target_as = duelist_partner
		}
	}
	
	option = {
		name = EVTOPTA3620 #Demand
		piety = -10
		event_target:duelist_partner = {
			set_character_flag = pressured_duelist
			character_event = {
				id = 3621
				days = 2
				tooltip = EVTTOOLTIP3621
			}
		}
	}
	option = {
		name = EVTOPTB3620 #Ask nicely
		prestige = -10
		event_target:duelist_partner = {
			set_character_flag = asked_duelist
			character_event = {
				id = 3621
				days = 2
				tooltip = EVTTOOLTIP3621
			}
		}
	}
	option = {
		name = EVTOPTC3620 #Bribe
		scaled_wealth = -0.10
		event_target:duelist_partner = {
			set_character_flag = bribed_duelist
			character_event = {
				id = 3621
				days = 2
				tooltip = EVTTOOLTIP3621
			}
		}
	}
	option = {
		name = EVTOPTD3620 #Ignore
		add_trait = content
		random = {
			chance = 20

			remove_trait = duelist
			hidden_tooltip = {
				character_event = {
					id = 38292 #Notify
				}
			}
		}
	}
}

#Duelist: Courtier reacts to demands/bribes or being asked nicely
character_event = {
	id = 3621
	desc = EVTDESC3621
	picture = GFX_evt_melee

	is_triggered_only = yes

	option = {
		name = EVTOPTA3621
		trigger = {
			has_character_flag = pressured_duelist
		}
		clr_character_flag = pressured_duelist
		FROM = {
			set_character_flag = irritated_duelist
			character_event = {
				id = 3622
				days = 7
				tooltip = EVTTOOLTIP3622
			}
		}
		opinion = {
			modifier = opinion_disgruntled
			who = ROOT
			years = 2
		}
	}

	option = {
		name = EVTOPTB3621
		trigger = {
			has_character_flag = asked_duelist
		}
		clr_character_flag = asked_duelist
		FROM = {
			set_character_flag = happy_duelist
			character_event = {
				id = 3622
				days = 7
				tooltip = EVTTOOLTIP3622
			}
		}
		opinion = {
			modifier = opinion_delighted
			who = ROOT
			years = 2
		}
	}
	option = {
		name = EVTOPTC3621
		trigger = {
			has_character_flag = bribed_duelist
		}
		clr_character_flag = bribed_duelist
		treasury = 10
		FROM = {
			set_character_flag = generous_duelist
			character_event = {
				id = 3622
				days = 7
				tooltip = EVTTOOLTIP3622
			}
		}
	}
}

#Duelist: ROOT get +martial
character_event = {
	id = 3622
	desc = EVTDESC3622
	picture = GFX_evt_melee

	is_triggered_only = yes

	option = {
		name = EVTOPTA3622
		trigger = {
			has_character_flag = irritated_duelist
		}
		clr_character_flag = irritated_duelist
		FROM = {
			reverse_opinion = {
				modifier = opinion_disgruntled
				who = ROOT
				years = 2
			}
		}
		if = {
			limit = { NOT = { has_dlc = "Way of Life" } }
			change_martial = 1
		}
		if = {
			limit = { has_dlc = "Way of Life" }
			hidden_tooltip = { character_event = { id = WoL.11200 } }
		}
	}
	option = {
		name = EVTOPTA3622
		trigger = {
			has_character_flag = happy_duelist
		}
		clr_character_flag = happy_duelist
		FROM = {
			reverse_opinion = {
				modifier = opinion_delighted
				who = ROOT
				years = 2
			}
		}
		if = {
			limit = { NOT = { has_dlc = "Way of Life" } }
			change_martial = 2
		}
		if = {
			limit = { has_dlc = "Way of Life" }
			hidden_tooltip = { character_event = { id = WoL.11200 } }
		}
	}
	option = {
		name = EVTOPTA3622
		trigger = {
			has_character_flag = generous_duelist
		}
		clr_character_flag = generous_duelist
		if = {
			limit = { NOT = { has_dlc = "Way of Life" } }
			change_martial = 1
		}
		if = {
			limit = { has_dlc = "Way of Life" }
			hidden_tooltip = { character_event = { id = WoL.11200 } }
		}
	}
}

### Duelist: Start ###
character_event = {
	id = 3625
	desc = EVTDESC3625
	picture = GFX_evt_melee

	only_playable = yes
	min_age = 20
	max_age = 65
	only_men = yes
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = duelist		
		in_command_trigger = no
		NOR = {
			is_inaccessible_trigger = yes
			has_character_modifier = averted_duel
		}
		any_courtier = {
			is_councillor = no
			age = 20
			is_female = no
			prisoner = no
			OR = {
				trait = duelist
				martial = 9
			}
			NOR = {
				is_inaccessible_trigger = yes
				age = 65
				character = ROOT
				opinion = { who = ROOT value = 10 }
				is_married = ROOT
				reverse_opinion = { who = ROOT value = 10 }
			}
		}
	}

	weight_multiplier = {
		factor = 1
	}

	immediate = {
		random_courtier = {
			limit = {
				is_councillor = no
				age = 20
				is_female = no
				OR = {
					trait = duelist
					martial = 9
				}
				NOR = {
					is_inaccessible_trigger = yes
					age = 65
					character = ROOT
					opinion = { who = ROOT value = 10 }
					is_married = ROOT
					reverse_opinion = { who = ROOT value = 10 }
				}
			}
			save_event_target_as = duelist_opponent
		}
	}
	
	option = {
		name = EVTOPTA3625
		event_target:duelist_opponent = {
			character_event = {
				id = 3626
				days = 1
				tooltip = EVTTOOLTIP3626
			}
		}
	}
	option = {
		name = EVTOPTB3625
		prestige = -10
		random = {
			chance = 25

			remove_trait = duelist
			hidden_tooltip = {
				character_event = {
					id = 38292 #Notify
				}
			}
		}
		event_target:duelist_opponent = {
			opinion = {
				modifier = opinion_coward
				who = ROOT
				years = 5
			}
		}
	}
	option = {
		name = EVTOPTC3625
		trigger = {
			job_marshal = {
				age = 20
				prisoner = no
				is_abroad_trigger = no
				martial = 6
				can_be_maimed_trigger = yes
				NOT = { trait = wounded }
			}
		}
		random = {
			chance = 10

			remove_trait = duelist
			hidden_tooltip = {
				character_event = {
					id = 38292 #Notify
				}
			}
		}
		job_marshal = {
			opinion = {
				modifier = opinion_glad
				who = ROOT
				years = 5
			}
			if = {
				limit = {
					NOT = {
						martial = 7
					}
				}
				random_list = {
					40 = {
						add_maimed_trait_effect = yes
					}
					40 = {
						add_trait = wounded
					}
					10 = {
						event_target:duelist_opponent = {
							add_trait = wounded
						}
					}
					10 = {
						event_target:duelist_opponent = {
							add_maimed_trait_effect = yes
						}
					}
				}
			}
			if = {
				limit = {
					martial = 12
				}
				random_list = {
					20 = {
						add_trait = wounded
					}
					30 = {
						event_target:duelist_opponent = {
							add_maimed_trait_effect = yes
						}
					}
					40 = {
						event_target:duelist_opponent = {
							add_trait = wounded
						}
					}
					10 = {
						add_maimed_trait_effect = yes
					}
				}
			}
		}
	}
}

#Duelist: Courtier
character_event = {
	id = 3626
	desc = EVTDESC3626
	picture = GFX_evt_melee

	is_triggered_only = yes

	option = {
		name = EVTOPTA3626 #I accept!
		FROM = {
			opinion = {
				modifier = opinion_delighted
				who = ROOT
				years = 1
			}
			reverse_opinion = {
				modifier = opinion_cautious
				who = ROOT
				years = 1
			}
		}
		random_list = {
			50 = {
				add_trait = wounded
				FROM = {
					character_event = {
						id = 3627
						tooltip = EVTTOOLTIP3627
					}
				}
			}
			50 = {
				prestige = 10
				FROM = {
					character_event = {
						id = 3628
						tooltip = EVTTOOLTIP3628
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB3626 #Never!
		add_character_modifier = {
			name = the_fainthearted
			duration = 365
		}
		FROM = {
			character_event = {
				id = 3629
				tooltip = EVTTOOLTIP3629
			}
		}
		if = {
			limit = {
				trait = duelist
			}
			random = {
				chance = 20

				remove_trait = duelist
			}
		}
	}
}

#Duelist: ROOT
character_event = {
	id = 3627
	desc = EVTDESC3627
	picture = GFX_evt_melee

	is_triggered_only = yes

	option = {
		name = EVTOPTA3627
		add_character_modifier = {
			name = master_duelist
			duration = 1825
		}
	}
}

#Duelist: ROOT
character_event = {
	id = 3628
	desc = EVTDESC3628
	picture = GFX_evt_melee

	is_triggered_only = yes

	option = {
		name = EVTOPTA3628
		prestige = -10
		random = {
			chance = 70
			add_trait = wounded
			hidden_tooltip = { character_event = { id = 38280 } }
		}
	}
}

#Duelist: ROOT
character_event = {
	id = 3629
	desc = EVTDESC3629
	picture = GFX_evt_melee

	is_triggered_only = yes

	option = {
		name = EVTOPTA3629
		add_character_modifier = {
			name = master_duelist
			duration = 1825
		}
	}
}

### Duelist: Start ###
character_event = {
	id = 3630
	desc = EVTDESC3630
	picture = GFX_evt_melee

	only_playable = yes
	only_men = yes
	min_age = 20
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes
	
	trigger = {
		trait = duelist
		in_command_trigger = no		
		NOR = {
			is_inaccessible_trigger = yes
			has_character_modifier = averted_duel
		}
		OR = {
			trait = brave
			NOT = {
				trait = craven
			}
		}
		OR = {
			is_married = yes
			any_courtier = {
				is_adult = yes
				in_command_trigger = no
				NOR = {
					is_inaccessible_trigger = yes
					trait = duelist
				}
				OR = {
					trait = craven
					martial = 6
				}
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 2
			trait = wounded
		}

		modifier = {
			factor = 0.1
			is_female = yes
		}

		modifier = {
			factor = 0.5
			trait = slothful
		}
	}

	option = {
		name = EVTOPTA3630
		trigger = {
			is_married = yes
		}
		spouse = {
			character_event = {
				id = 3631
				days = 2
				tooltip = EVTTOOLTIP3631
			}
		}
	}
	option = {
		name = EVTOPTA3630
		trigger = {
			is_married = no
		}
		random_courtier = {
			limit = {
				is_adult = yes
				in_command_trigger = no
				NOR = {
					is_inaccessible_trigger = yes
					trait = duelist
				}
				OR = {
					trait = craven
					martial = 6
				}
			}
			character_event = {
				id = 3632
				days = 2
				tooltip = EVTTOOLTIP3632
			}
		}
	}
	option = {
		name = EVTOPTB3630
		if = {
			limit = {
				is_married = yes
				spouse = {
					is_alive = yes
					prisoner = no
					is_abroad_trigger = no
				}
			}
			spouse = {
				opinion = {
					modifier = opinion_glad
					who = ROOT
					years = 5
				}
			}
		}
		random = {
			chance = 20

			remove_trait = duelist
			hidden_tooltip = {
				character_event = {
					id = 38292 #Notify
				}
			}
		}
	}
}

#Duelist: Spouse worries - intervention?
character_event = {
	id = 3631
	desc = EVTDESC3631
	picture = GFX_evt_melee

	is_triggered_only = yes

	option = {
		name = EVTOPTA3631 #Intervention!
		FROM = {
			character_event = {
				id = 3633
				tooltip = EVTTOOLTIP3633
			}
		}
	}
	option = {
		name = EVTOPTB3631
		add_trait = content
	}
}

#Duelist: Courtier worries - intervention?
character_event = {
	id = 3632
	desc = EVTDESC3632
	picture = GFX_evt_melee

	is_triggered_only = yes

	option = {
		name = EVTOPTA3632 #Intervention!
		prestige = 10
		FROM = {
			character_event = {
				id = 3633
				tooltip = EVTTOOLTIP3633
			}
		}
	}
	option = {
		name = EVTOPTB3632
		add_trait = content
	}
}

#Duelist: Intervention!
character_event = {
	id = 3633
	desc = EVTDESC3633
	picture = GFX_evt_quarrel

	is_triggered_only = yes

	option = {
		name = EVTOPTA3633
		add_character_modifier = {
			name = the_dour_duellist
			duration = 365
		}
		FROM = {
			opinion = {
				modifier = opinion_disappointed
				who = ROOT
				years = 2
			}
		}
	}
	option = {
		name = EVTOPTB3633
		add_character_modifier = {
			name = averted_duel
			duration = 365
		}
		FROM = {
			opinion = {
				modifier = opinion_relieved
				who = ROOT
				years = 2
			}
		}
	}
}

### Duelist: The unusual duel - Start ###
character_event = {
	id = 3635
	desc = EVTDESC3635
	picture = GFX_evt_melee

	only_playable = yes
	min_age = 20
	max_age = 65
	only_men = yes
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes
	
	trigger = {
		trait = duelist		
		in_command_trigger = no		
		OR = {
			tier = duke
			tier = count
		}
		NOR = {
			is_inaccessible_trigger = yes
			has_character_modifier = averted_duel
			has_character_modifier = master_duelist
		}
		top_liege = {
			any_realm_lord = {
				is_female = no
				age = 20
				OR = {
					tier = duke
					tier = count
				}
				can_be_maimed_trigger = yes
				NOR = {
					is_inaccessible_trigger = yes
					age = 65
					opinion = { who = ROOT value = -10 }
					trait = wounded
					trait = infirm
					trait = incapable
				}
				OR = {
					trait = duelist
					martial = 9
				}
			}
		}
	}
	
	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 2
			trait = brave
		}

		modifier = {
			factor = 0.5
			trait = craven
		}
	}

	immediate = {
		top_liege = {
			random_realm_province = {
				limit = {
					any_province_lord = {
						is_female = no
						age = 20
						OR = {
							tier = duke
							tier = count
						}
						can_be_maimed_trigger = yes
						NOR = {
							is_inaccessible_trigger = yes
							age = 65
							opinion = { who = ROOT value = -10 }
							trait = wounded
							trait = infirm
							trait = incapable
						}
						OR = {
							trait = duelist
							martial = 9
						}
					}
				}
				save_event_target_as = duel_location
			}
		}
	}
	
	option = {
		name = EVTOPTA3635
		event_target:duel_location = {
			random_province_lord = {
				limit = {
					is_female = no
					age = 20
					OR = {
						tier = duke
						tier = count
					}
					can_be_maimed_trigger = yes
					NOR = {
						is_inaccessible_trigger = yes
						trait = wounded
						trait = infirm
						trait = incapable
						age = 65
						opinion = { who = ROOT value = -10 }
					}
					OR = {
						trait = duelist
						martial = 9
					}
				}
				save_event_target_as = target_lord
			}
		}
		event_target:target_lord = {
			character_event = {
				id = 3636
				tooltip = EVTTOOLTIP3636
			}
		}
	}
	option = {
		name = EVTOPTB3635
		if = {
			limit = {
				NOR = {
					trait = craven
					trait = berserker
				}
			}
			add_trait = craven
		}
		random = {
			chance = 20

			remove_trait = duelist
			hidden_tooltip = {
				character_event = {
					id = 38292 #Notify
				}
			}
		}
	}
}

#Duelist: Unusual Duel - Noble
character_event = {
	id = 3636
	desc = EVTDESC3636
	picture = GFX_evt_melee

	is_triggered_only = yes
	
	immediate = {
		clear_event_target = target_lord
	}

	option = {
		name = EVTOPTA3636 #Moorish cannon
		FROM = {
			character_event = {
				id = 3637
				tooltip = EVTTOOLTIP3637
			}
		}
	}
	option = {
		name = EVTOPTB3636 #Forkful of pig dung
		FROM = {
			character_event = {
				id = 3638
				tooltip = EVTTOOLTIP3638
			}
		}
	}
	option = {
		name = EVTOPTC3636 #With swords
		FROM = {
			character_event = {
				id = 3639
				tooltip = EVTTOOLTIP3639
			}
		}
	}
}

#Duelist: Unusual Duel - ROOT
character_event = {
	id = 3637
	desc = EVTDESC3637
	picture = GFX_evt_melee

	is_triggered_only = yes

	option = {
		name = EVTOPTA3637 #Accept
		random_list = {
			50 = {
				add_trait = wounded
				hidden_tooltip = { character_event = { id = 38280 } }
			}
			50 = {
				add_maimed_trait_effect = yes
				hidden_tooltip = { character_event = { id = 38281 } }
			}
		}
		add_character_modifier = {
			name = master_duelist
			duration = 1825
		}
	}
	option = {
		name = EVTOPTB3637 #Refuse
		add_character_modifier = {
			name = averted_duel
			duration = 365
		}
	}
}

#Duelist: Unusual Duel - ROOT
character_event = {
	id = 3638
	desc = EVTDESC3638
	picture = GFX_evt_melee

	is_triggered_only = yes

	option = {
		name = EVTOPTA3638 #Accept
		random_list = {
			50 = {
				prestige = -20
			}
			50 = {
				add_character_modifier = {
					name = master_duelist
					duration = 365
				}
			}
		}
	}
	option = {
		name = EVTOPTB3638 #Refuse
		add_character_modifier = {
			name = averted_duel
			duration = 365
		}
	}
}

#Duelist: Unusual Duel - ROOT
character_event = {
	id = 3639
	desc = EVTDESC3639
	picture = GFX_evt_melee

	is_triggered_only = yes

	option = {
		name = EVTOPTA3639 #Accept
		random_list = {
			50 = {
				add_trait = wounded
				hidden_tooltip = { character_event = { id = 38280 } }
			}
			50 = {
				add_maimed_trait_effect = yes
				hidden_tooltip = { character_event = { id = 38281 } }
			}
		}
		add_character_modifier = {
			name = master_duelist
			duration = 365
		}
	}
	option = {
		name = EVTOPTB3639 #Refuse
		add_character_modifier = {
			name = averted_duel
			duration = 365
		}
	}
}

### HUNTER ###

### Hunter: Gain martial ###
character_event = {
	id = 3640
	desc = EVTDESC3640
	picture = GFX_evt_hunt

	only_playable = yes
	min_age = 20
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes 
	
	trigger = {
		trait = hunter		
		in_command_trigger = no		
		NOR = {
			is_inaccessible_trigger = yes
			martial = 15
			trait = slothful
			trait = craven
		}
		any_courtier = {
			is_adult = yes
			in_command_trigger = no
			NOT = { is_inaccessible_trigger = yes }
			OR = {
				martial = 10
				trait = hunter
			}
			has_job_action = no
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 2
			trait = ambitious
		}

		modifier = {
			factor = 2
			trait = diligent
		}

		modifier = {
			factor = 0.5
			trait = shy
		}

		modifier = {
			factor = 0.2
			trait = wroth
		}
	}
	
	immediate = {
		random_courtier = {
			limit = {
				is_adult = yes
				in_command_trigger = no
				NOT = { is_inaccessible_trigger = yes }
				OR = {
					martial = 10
					trait = hunter
				}
				has_job_action = no
			}
			save_event_target_as = fellow_hunter
		}
	}
	
	option = {
		name = EVTOPTA3640 #Demand
		piety = -10
		event_target:fellow_hunter = {
			set_character_flag = bribed_hunter
			character_event = {
				id = 3641
				days = 2
				tooltip = EVTTOOLTIP3641
			}
		}
	}
	option = {
		name = EVTOPTB3640 #Ask nicely
		prestige = -10
		event_target:fellow_hunter = {
			set_character_flag = bribed_hunter
			character_event = {
				id = 3641
				days = 2
				tooltip = EVTTOOLTIP3641
			}
		}
	}
	option = {
		name = EVTOPTC3640 #Bribe
		scaled_wealth = -0.10
		event_target:fellow_hunter = {
			set_character_flag = bribed_hunter
			character_event = {
				id = 3641
				days = 2
				tooltip = EVTTOOLTIP3641
			}
		}
	}
	option = {
		name = EVTOPTD3640 #Ignore
		add_trait = content
		random = {
			chance = 20

			remove_trait = hunter
			hidden_tooltip = {
				character_event = {
					id = 38293 #Notify
				}
			}
		}
	}
}

#Hunter: Courtier reacts to demands/bribes or being asked nicely
character_event = {
	id = 3641
	desc = EVTDESC3641
	picture = GFX_evt_hunt

	is_triggered_only = yes

	option = {
		name = EVTOPTA3641
		trigger = {
			has_character_flag = pressured_hunter
		}
		clr_character_flag = pressured_hunter
		FROM = {
			set_character_flag = irritated_hunter
			character_event = {
				id = 3642
				days = 7
				tooltip = EVTTOOLTIP3642
			}
		}
		opinion = {
			modifier = opinion_disgruntled
			who = ROOT
			years = 2
		}
	}

	option = {
		name = EVTOPTB3641
		trigger = {
			has_character_flag = asked_hunter
		}
		clr_character_flag = asked_hunter
		FROM = {
			set_character_flag = happy_hunter
			character_event = {
				id = 3642
				days = 7
				tooltip = EVTTOOLTIP3642
			}
		}
		opinion = {
			modifier = opinion_delighted
			who = ROOT
			years = 2
		}
	}
	option = {
		name = EVTOPTC3641
		trigger = {
			has_character_flag = bribed_hunter
		}
		clr_character_flag = bribed_hunter
		treasury = 10
		FROM = {
			set_character_flag = generous_hunter
			character_event = {
				id = 3642
				days = 7
				tooltip = EVTTOOLTIP3642
			}
		}
	}
}

#Hunter: ROOT get +martial
character_event = {
	id = 3642
	desc = EVTDESC3642
	picture = GFX_evt_hunt

	is_triggered_only = yes

	option = {
		name = EVTOPTA3642
		trigger = {
			has_character_flag = irritated_hunter
		}
		clr_character_flag = irritated_hunter
		FROM = {
			reverse_opinion = {
				modifier = opinion_disgruntled
				who = ROOT
				years = 2
			}
		}
		change_martial = 1
	}
	option = {
		name = EVTOPTA3642
		trigger = {
			has_character_flag = happy_hunter
		}
		clr_character_flag = happy_hunter
		FROM = {
			reverse_opinion = {
				modifier = opinion_delighted
				who = ROOT
				years = 2
			}
		}
		change_martial = 2
	}
	option = {
		name = EVTOPTA3642
		trigger = {
			has_character_flag = generous_hunter
		}
		clr_character_flag = generous_hunter
		change_martial = 1
	}
}

### Hunter: Invite for hunt - Start ###
character_event = {
	id = 3645
	desc = EVTDESC3645
	picture = GFX_evt_hunt

	only_playable = yes
	min_age = 20
	capable_only = yes
	prisoner = no
	is_triggered_only = yes

	trigger = {
		trait = hunter
		NOT = { is_inaccessible_trigger = yes }
		OR = {
			any_courtier = {
				is_adult = yes
				in_command_trigger = no
				is_councillor = yes
				OR = {
					trait = hunter
					trait = brave
					martial = 9
				}
				NOR = {
					trait = craven
					is_inaccessible_trigger = yes
				}
			}
			any_child = {
				age = 15
				OR = {
					trait = hunter
					trait = brave
					martial = 9
				}
				NOR = {
					trait = craven
					is_inaccessible_trigger = yes
				}
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 2
			trait = brave
		}
		modifier = {
			factor = 2
			trait = craven
		}
	}

	option = {
		name = EVTOPTA3645
		trigger = {
			job_marshal = {
				OR = {
					trait = hunter
					trait = brave
					martial = 9
				}
				NOR = {
					trait = craven
					is_inaccessible_trigger = yes
				}
			}
		}
		job_marshal = {
			character_event = {
				id = 3646
				days = 2
				tooltip = EVTTOOLTIP3646
			}
		}
	}
	option = {
		name = EVTOPTB3645
		trigger = {
			job_chancellor = {
				OR = {
					trait = hunter
					trait = brave
					martial = 9
				}
				NOR = {
					trait = craven
					is_inaccessible_trigger = yes
				}
			}
		}
		job_chancellor = {
			character_event = {
				id = 3646
				days = 2
				tooltip = EVTTOOLTIP3646
			}
		}
	}
	option = {
		name = EVTOPTC3645
		trigger = {
			job_spymaster = {
				OR = {
					trait = hunter
					trait = brave
					martial = 9
				}
				NOR = {
					trait = craven
					is_inaccessible_trigger = yes
				}
			}
		}
		job_spymaster = {
			character_event = {
				id = 3646
				days = 2
				tooltip = EVTTOOLTIP3646
			}
		}
	}
	option = {
		name = EVTOPTE3645
		trigger = {
			job_treasurer = {
				OR = {
					trait = hunter
					trait = brave
					martial = 9
				}
				NOR = {
					trait = craven
					is_inaccessible_trigger = yes
				}
			}
		}
		job_treasurer = {
			character_event = {
				id = 3646
				days = 2
				tooltip = EVTTOOLTIP3646
			}
		}
	}
	option = {
		name = EVTOPTF3645
		trigger = {
			job_spiritual = {
				OR = {
					trait = hunter
					trait = brave
					martial = 9
				}
				NOR = {
					trait = craven
					is_inaccessible_trigger = yes
				}
			}
		}
		job_spiritual = {
			character_event = {
				id = 3646
				days = 2
				tooltip = EVTTOOLTIP3646
			}
		}
	}
	option = {
		name = EVTOPTD3645
		trigger = {
			any_child = {
				age = 15
				is_alive = yes
				OR = {
					trait = hunter
					trait = brave
					martial = 9
				}
				NOR = {
					trait = craven
					is_inaccessible_trigger = yes
				}
			}
		}
		random_child = {
			limit = {
				age = 15
				is_alive = yes
				OR = {
					trait = hunter
					trait = brave
					martial = 9
				}
				NOR = {
					trait = craven
					is_inaccessible_trigger = yes
				}
			}
			character_event = {
				id = 3647
				days = 2
				tooltip = EVTTOOLTIP3647
			}
		}
	}
}

#Hunter: Courtier with job
character_event = {
	id = 3646
	desc = EVTDESC3646
	picture = GFX_evt_hunt

	is_triggered_only = yes

	option = {
		name = EVTOPTA3646 #Accept
		FROM = {
			opinion = {
				modifier = opinion_delighted
				who = ROOT
				years = 1
			}
			character_event = {
				id = 3648
				days = 1
				tooltip = EVTTOOLTIP3648
			}
		}
	}
	option = {
		name = EVTOPTB3646 #Refuse
		FROM = {
			opinion = {
				modifier = opinion_disappointed
				who = ROOT
				years = 1
			}
			character_event = {
				id = 3649
				days = 1
				tooltip = EVTTOOLTIP3649
			}
		}
	}
}

#Hunter: Child
character_event = {
	id = 3647
	desc = EVTDESC3647
	picture = GFX_evt_hunt

	is_triggered_only = yes

	option = {
		name = EVTOPTA3647 #Accept
		FROM = {
			opinion = {
				modifier = opinion_delighted
				who = ROOT
				years = 1
			}
			character_event = {
				id = 3648
				days = 1
				tooltip = EVTTOOLTIP3648
			}
		}
	}
	option = {
		name = EVTOPTB3647 #Refuse
		FROM = {
			opinion = {
				modifier = opinion_disappointed
				who = ROOT
				years = 1
			}
			character_event = {
				id = 3649
				days = 1
				tooltip = EVTTOOLTIP3649
			}
		}
	}
}

#Hunter: ROOT
character_event = {
	id = 3648
	desc = EVTDESC3648
	picture = GFX_evt_hunt

	is_triggered_only = yes

	option = {
		name = EVTOPTA3648
		FROM = {
			reverse_opinion = {
				modifier = opinion_delighted
				who = ROOT
				years = 1
			}
		}
	}
}

#Hunter: ROOT
character_event = {
	id = 3649
	desc = EVTDESC3649
	picture = GFX_evt_hunt

	is_triggered_only = yes

	option = {
		name = EVTOPTA3649
		FROM = {
			reverse_opinion = {
				modifier = opinion_disappointed
				who = ROOT
				years = 1
			}
		}
	}
}

### Hunter ###
character_event = {
	id = 3650
	desc = EVTDESC3650
	picture = GFX_evt_hunt

	only_playable = yes
	min_age = 20
	capable_only = yes
	prisoner = no
	war = no
	
	is_triggered_only = yes

	trigger = {
		NOR = {
			religion_group = muslim
			religion_group = jewish_group
			is_inaccessible_trigger = yes
			has_character_modifier = master_hunter
		}
		trait = hunter		
		in_command_trigger = no		
		OR = {
			trait = brave
			NOT = {
				trait = craven
			}
		}
		any_courtier = {
			is_adult = yes
			in_command_trigger = no
			NOT = { is_inaccessible_trigger = yes }
			OR = {
				has_job_title = job_marshal
				has_job_title = job_spymaster
			}
			has_job_action = no
			OR = {
				trait = ambitious
				trait = diligent
			}
		}
	}

	weight_multiplier = {
		factor = 1
	}

	option = {
		name = EVTOPTA3650
		trigger = {
			job_spymaster = {
				has_job_action = no
				NOT = { is_inaccessible_trigger = yes }
				OR = {
					trait = ambitious
					trait = diligent
				}
			}
		}
		job_spymaster = {
			character_event = {
				id = 3651
				tooltip = EVTTOOLTIPA3651
			}
		}
	}
	option = {
		name = EVTOPTB3650
		trigger = {
			job_marshal = {
				has_job_action = no
				NOT = { is_inaccessible_trigger = yes }
				OR = {
					trait = ambitious
					trait = diligent
				}
			}
		}
		job_marshal = {
			character_event = {
				id = 3651
				tooltip = EVTTOOLTIPB3651
			}
		}
	}
	option = {
		name = EVTOPTC3650 #Do it myself!
		character_event = {
			id = 3652
			tooltip = EVTTOOLTIP3652
		}
	}
	option = {
		name = EVTOPTD3650
		trigger = {
			any_child = {
				is_abroad_trigger = no
				prisoner = no
				NOT = { is_inaccessible_trigger = yes }
				is_female = no
				age = 14
				OR = {
					trait = brave
					trait = hunter
					martial = 7
				}
			}
		}
		random_child = {
			limit = {
				is_abroad_trigger = no
				prisoner = no
				NOT = { is_inaccessible_trigger = yes }
				is_female = no
				age = 14
				OR = {
					trait = brave
					trait = hunter
					martial = 7
				}
			}
			character_event = {
				id = 3651
				tooltip = EVTTOOLTIPB3651
			}
		}
	}
}

#Hunter: Courtier
character_event = {
	id = 3651
	desc = EVTDESC3651
	picture = GFX_evt_hunt

	is_triggered_only = yes

	option = {
		name = EVTOPTA3651
		ai_chance = { factor = 45 }
		random_list = {
			25 = {
				add_trait = wounded
				FROM = {
					set_character_flag = courtier_wounded
					character_event = {
						id = 3653
						tooltip = EVTTOOLTIP3653
					}
				}
			}
			25 = {
				add_maimed_trait_effect = yes
				FROM = {
					set_character_flag = courtier_maimed
					character_event = {
						id = 3653
						tooltip = EVTTOOLTIP3653
					}
				}
			}
			25 = {
				prestige = 15
				FROM = {
					set_character_flag = courtier_unharmed
					character_event = {
						id = 3653
						tooltip = EVTTOOLTIP3653
					}
				}
			}
			25 = {
				FROM = {
					set_character_flag = courtier_unharmed
					character_event = {
						id = 3653
						tooltip = EVTTOOLTIP3653
					}
				}
			}
		}
		FROM = {
			opinion = {
				modifier = opinion_delighted
				who = ROOT
				years = 1
			}
		}
		add_character_modifier = {
			name = master_hunter
			duration = 1825
		}
	}

	option = {
		name = EVTOPTB3651
		trigger = {
			NOT = {
				trait = brave
			}
		}
		ai_chance = { factor = 5 }
		FROM = {
			opinion = {
				modifier = opinion_disgruntled
				who = ROOT
				years = 1
			}
		}
		FROM = {
			character_event = {
				id = 3654
				tooltip = EVTTOOLTIP3654
			}
		}
	}
	option = {
		name = EVTOPTC3651 #Prof. hunter
		ai_chance = { factor = 50 }
		treasury = 10
		FROM = {
			set_character_flag = prof_hunter
			opinion = {
				modifier = opinion_satisfied
				who = ROOT
				years = 1
			}
			character_event = {
				id = 3653
				tooltip = EVTTOOLTIP3653
			}
		}
	}
}

#Hunter: ROOT
character_event = {
	id = 3652
	desc = EVTDESC3652
	picture = GFX_evt_hunt

	is_triggered_only = yes

	option = {
		name = EVTOPTA3652
		random_list = {
			60 = {
				add_trait = wounded
			}
			40 = {
				prestige = 15
			}
		}
		add_character_modifier = {
			name = master_hunter
			duration = 1825
		}
	}
	option = {
		name = EVTOPTB3652 #Prof. hunter
		treasury = 10
		add_character_modifier = {
			name = the_idle
			duration = 365
		}
	}
}

#Hunter: ROOT
character_event = {
	id = 3653
	desc = EVTDESC3653
	picture = GFX_evt_hunt

	is_triggered_only = yes

	option = {
		name = EVTOPTA3653
		trigger = {
			has_character_flag = prof_hunter
		}
		clr_character_flag = prof_hunter
		FROM = {
			reverse_opinion = {
				modifier = opinion_satisfied
				who = ROOT
				years = 2
			}
		}
	}
	option = {
		name = EVTOPTB3653
		trigger = {
			has_character_flag = courtier_unharmed
		}
		clr_character_flag = courtier_unharmed
		FROM = {
			reverse_opinion = {
				modifier = opinion_delighted
				who = ROOT
				years = 2
			}
		}
	}
	option = {
		name = EVTOPTC3653
		trigger = {
			has_character_flag = courtier_maimed
		}
		clr_character_flag = courtier_maimed
		FROM = {
			reverse_opinion = {
				modifier = opinion_delighted
				who = ROOT
				years = 2
			}
		}
	}
	option = {
		name = EVTOPTD3653
		trigger = {
			has_character_flag = courtier_wounded
		}
		clr_character_flag = courtier_wounded
		FROM = {
			reverse_opinion = {
				modifier = opinion_delighted
				who = ROOT
				years = 2
			}
		}
	}
}

#Hunter: ROOT
character_event = {
	id = 3654
	desc = EVTDESC3654
	picture = GFX_evt_hunt

	is_triggered_only = yes

	option = {
		name = EVTOPTA3654
		FROM = {
			opinion = {
				modifier = opinion_disgruntled
				who = ROOT
				years = 1
			}
		}
		character_event = {
			id = 3652
			tooltip = EVTTOOLTIP3652
		}
	}
	option = {
		name = EVTOPTB3654
		tooltip_info = wroth
		trigger = {
			trait = wroth
		}
		FROM = {
			prisoner = yes
		}
	}
	option = {
		name = EVTOPTC3654 #Prof. hunter
		treasury = 10
		add_character_modifier = {
			name = the_idle
			duration = 365
		}
	}
}

### Hunter: The Deceit - Start ###
character_event = {
	id = 3655
	desc = EVTDESC3655
	picture = GFX_evt_hunt

	only_playable = yes
	min_age = 20
	capable_only = yes
	prisoner = no
	religion_group = christian
	war = no
	
	is_triggered_only = yes

	trigger = {
		trait = hunter		
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		any_courtier = {
			is_adult = yes
			in_command_trigger = no
			NOT = { is_inaccessible_trigger = yes }
			is_councillor = yes
			has_job_action = no
			OR = {
				trait = trusting
				NOT = {
					trait = paranoid
				}
			}
			OR = {
				trait = zealous
				NOT = {
					trait = cynical
				}
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 2
			trait = deceitful
		}
		modifier = {
			factor = 2
			trait = kind
		}
	}

	option = {
		name = EVTOPTA3655
		trigger = {
			job_chancellor = {
				in_command_trigger = no
				has_job_action = no
				NOT = { is_inaccessible_trigger = yes }
				OR = {
					trait = trusting
					NOT = {
						trait = paranoid
					}
				}
				OR = {
					trait = zealous
					NOT = {
						trait = cynical
					}
				}
			}
		}
		job_chancellor = {
			character_event = {
				id = 3656
				tooltip = EVTTOOLTIP3656
			}
		}
	}
	option = {
		name = EVTOPTB3655
		trigger = {
			job_marshal = {
				in_command_trigger = no
				has_job_action = no
				NOT = { is_inaccessible_trigger = yes }
				OR = {
					trait = trusting
					NOT = {
						trait = paranoid
					}
				}
				OR = {
					trait = zealous
					NOT = {
						trait = cynical
					}
				}
			}
		}
		job_marshal = {
			character_event = {
				id = 3656
				tooltip = EVTTOOLTIP3656
			}
		}
	}
	option = {
		name = EVTOPTC3655
		trigger = {
			job_treasurer = {
				in_command_trigger = no
				has_job_action = no
				NOT = { is_inaccessible_trigger = yes }
				OR = {
					trait = trusting
					NOT = {
						trait = paranoid
					}
				}
				OR = {
					trait = zealous
					NOT = {
						trait = cynical
					}
				}
			}
		}
		job_treasurer = {
			character_event = {
				id = 3656
				tooltip = EVTTOOLTIP3656
			}
		}
	}
	option = {
		name = EVTOPTD3655
		trigger = {
			job_spymaster = {
				in_command_trigger = no
				has_job_action = no
				NOT = { is_inaccessible_trigger = yes }
				OR = {
					trait = trusting
					NOT = {
						trait = paranoid
					}
				}
				OR = {
					trait = zealous
					NOT = {
						trait = cynical
					}
				}
			}
		}
		job_spymaster = {
			character_event = {
				id = 3656
				tooltip = EVTTOOLTIP3656
			}
		}
	}
	option = {
		name = EVTOPTE3655
		trigger = {
			job_spiritual = {
				in_command_trigger = no
				has_job_action = no
				NOT = { is_inaccessible_trigger = yes }
				OR = {
					trait = trusting
					NOT = {
						trait = paranoid
					}
				}
				OR = {
					trait = zealous
					NOT = {
						trait = cynical
					}
				}
			}
		}
		job_spiritual = {
			character_event = {
				id = 3656
				tooltip = EVTTOOLTIP3656
			}
		}
	}
	option = {
		name = EVTOPTF3655
		trigger = {
			any_child = {
				age = 13
				is_abroad_trigger = no
				prisoner = no
				NOT = { is_inaccessible_trigger = yes }
				OR = {
					trait = craven
					trait = paranoid
				}
			}
		}
		random_child = {
			limit = {
				age = 13
				is_abroad_trigger = no
				prisoner = no
				NOT = { is_inaccessible_trigger = yes }
				OR = {
					trait = craven
					trait = paranoid
				}
			}
			character_event = {
				id = 3656
				tooltip = EVTTOOLTIP3656
			}
		}
	}
}

#Hunter: The Deceit - Courtier
character_event = {
	id = 3656
	desc = EVTDESC3656
	picture = GFX_evt_hunt

	is_triggered_only = yes

	option = {
		name = EVTOPTA3656 #You... bastard!
		FROM = {
			set_character_flag = angry_courtier
			reverse_opinion = {
				modifier = opinion_angry
				who = ROOT
				years = 2
			}
			character_event = {
				id = 3657
				tooltip = EVTTOOLTIP3657
			}
		}
	}
	option = {
		name = EVTOPTB3656 #Heh, you scared me!
		FROM = {
			set_character_flag = scared_courtier
			reverse_opinion = {
				modifier = opinion_shocked
				who = ROOT
				years = 2
			}
			character_event = {
				id = 3657
				tooltip = EVTTOOLTIP3657
			}
		}
	}
	option = {
		name = EVTOPTC3656 #Did you try to scare me?
		FROM = {
			set_character_flag = unimpressed_courtier
			opinion = {
				modifier = opinion_disgruntled
				who = ROOT
				years = 2
			}
			character_event = {
				id = 3657
				tooltip = EVTTOOLTIP3657
			}
		}
	}
}

#Hunter: The Deceit - ROOT
character_event = {
	id = 3657
	desc = EVTDESC3657
	picture = GFX_evt_hunt

	is_triggered_only = yes

	option = {
		name = EVTOPTA3657
		trigger = {
			has_character_flag = unimpressed_courtier
		}
		clr_character_flag = unimpressed_courtier
		FROM = {
			reverse_opinion = {
				modifier = opinion_disgruntled
				who = ROOT
				years = 2
			}
		}
	}
	option = {
		name = EVTOPTB3657
		trigger = {
			has_character_flag = scared_courtier
		}
		clr_character_flag = scared_courtier
		FROM = {
			opinion = {
				modifier = opinion_shocked
				who = ROOT
				years = 2
			}
		}
		add_character_modifier = {
			name = wild_hunter
			duration = 1825
		}
	}
	option = {
		name = EVTOPTC3657
		trigger = {
			has_character_flag = angry_courtier
		}
		clr_character_flag = angry_courtier
		FROM = {
			opinion = {
				modifier = opinion_angry
				who = ROOT
				years = 2
			}
		}
		add_character_modifier = {
			name = wild_hunter
			duration = 1825
		}
	}
}

###### POET ######

### Poet: Gain diplomacy ###
character_event = {
	id = 3660
	desc = EVTDESC3660
	picture = GFX_evt_courtiers_talking

	only_playable = yes
	min_age = 20
	capable_only = yes
	prisoner = no	
	war = no

	is_triggered_only = yes

	trigger = {
		trait = poet		
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		OR = {
			trait = charitable
			trait = gregarious
			NAND = {
				diplomacy = 15
				trait = content
			}
		}
		NOT = { has_character_flag = poet_3660_triggered }
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 2
			trait = ambitious
		}

		modifier = {
			factor = 2
			trait = diligent
		}

		modifier = {
			factor = 0.5
			trait = shy
		}

		modifier = {
			factor = 0.2
			trait = wroth
		}
	}

	option = {
		name = EVTOPTA3660 #Demand
		piety = -10
		create_character = {
			random_traits = yes
			diplomacy = 10
			dynasty = random
			culture = ROOT
			religion = ROOT
			trait = poet
			age = 30
			female = no
			has_nickname = nick_the_troubadour
		}
		new_character = {
			set_character_flag = pressured_poet
			character_event = {
				id = 3661
				days = 2
				tooltip = EVTTOOLTIP3661
			}
		}
		hidden_tooltip = { set_character_flag = poet_3660_triggered }
	}
	option = {
		name = EVTOPTB3660 #Ask nicely
		prestige = -10
		create_character = {
			random_traits = yes
			diplomacy = 10
			dynasty = random
			culture = ROOT
			religion = ROOT
			trait = poet
			age = 30
			female = no
			has_nickname = nick_the_troubadour
		}
		new_character = {
			set_character_flag = asked_poet
			character_event = {
				id = 3661
				days = 2
				tooltip = EVTTOOLTIP3661
			}
		}
		hidden_tooltip = { set_character_flag = poet_3660_triggered }
	}
	option = {
		name = EVTOPTC3660 #Bribe
		scaled_wealth = -0.10
		create_character = {
			random_traits = yes
			diplomacy = 10
			dynasty = random
			culture = ROOT
			religion = ROOT
			trait = poet
			age = 30
			female = no
			has_nickname = nick_the_troubadour
		}
		new_character = {
			set_character_flag = bribed_poet
			character_event = {
				id = 3661
				days = 2
				tooltip = EVTTOOLTIP3661
			}
		}
		hidden_tooltip = { set_character_flag = poet_3660_triggered }
	}
	option = {
		name = EVTOPTD3660 #Ignore
		add_trait = content
		create_character = {
			random_traits = yes
			diplomacy = 10
			dynasty = random
			culture = ROOT
			religion = ROOT
			trait = poet
			age = 30
			female = no
			has_nickname = nick_the_troubadour
		}
		hidden_tooltip = { set_character_flag = poet_3660_triggered }
	}
}

#Poet: Courtier reacts to demands/bribes or being asked nicely
character_event = {
	id = 3661
	desc = EVTDESC3661
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	option = {
		name = EVTOPTA3661
		trigger = {
			has_character_flag = pressured_poet
		}
		clr_character_flag = pressured_poet
		FROM = {
			set_character_flag = irritated_poet
			character_event = {
				id = 3662
				days = 7
				tooltip = EVTTOOLTIP3662
			}
		}
		opinion = {
			modifier = opinion_disgruntled
			who = ROOT
			years = 2
		}
	}

	option = {
		name = EVTOPTB3661
		trigger = {
			has_character_flag = asked_poet
		}
		clr_character_flag = asked_poet
		FROM = {
			set_character_flag = happy_poet
			character_event = {
				id = 3662
				days = 7
				tooltip = EVTTOOLTIP3662
			}
		}
		opinion = {
			modifier = opinion_delighted
			who = ROOT
			years = 2
		}
	}
	option = {
		name = EVTOPTC3661
		trigger = {
			has_character_flag = bribed_poet
		}
		clr_character_flag = bribed_poet
		treasury = 10
		FROM = {
			set_character_flag = generous_poet
			character_event = {
				id = 3662
				days = 7
				tooltip = EVTTOOLTIP3662
			}
		}
	}
}

#Poet: ROOT get +diplomacy
character_event = {
	id = 3662
	desc = EVTDESC3662
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	option = {
		name = EVTOPTA3662
		trigger = {
			has_character_flag = irritated_poet
		}
		clr_character_flag = irritated_poet
		FROM = {
			reverse_opinion = {
				modifier = opinion_disgruntled
				who = ROOT
				years = 2
			}
		}
		change_diplomacy = 1
	}
	option = {
		name = EVTOPTA3662
		trigger = {
			has_character_flag = happy_poet
		}
		clr_character_flag = happy_poet
		FROM = {
			reverse_opinion = {
				modifier = opinion_delighted
				who = ROOT
				years = 2
			}
		}
		change_diplomacy = 2
	}
	option = {
		name = EVTOPTA3662
		trigger = {
			has_character_flag = generous_poet
		}
		clr_character_flag = generous_poet
		change_diplomacy = 1
	}
}

### Poet: Entertain the court ###
character_event = {
	id = 3665
	desc = EVTDESC3665
	picture = GFX_evt_emissary

	only_playable = yes
	min_age = 20
	capable_only = yes
	prisoner = no
	war = no

	is_triggered_only = yes

	trigger = {		
		in_command_trigger = no
		trait = poet
		diplomacy = 6
		NOR = {
			is_inaccessible_trigger = yes
			trait = wroth
		}
		any_courtier = {
			is_adult = yes
			in_command_trigger = no
			NOT = { is_inaccessible_trigger = yes }
			OR = {
				trait = gluttonous
				trait = greedy
				trait = wroth
			}
		}
	}

	weight_multiplier = {
		factor = 1
	}

	option = {
		name = EVTOPTA3665
		piety = -10
		add_trait = lustful
	}
	option = {
		name = EVTOPTB3665
		random_courtier = {
			limit = {
				is_adult = yes
				in_command_trigger = no
				NOT = { is_inaccessible_trigger = yes }
				OR = {
					trait = gluttonous
					trait = greedy
					trait = wroth
				}
			}
			opinion = {
				modifier = opinion_upset
				who = ROOT
				years = 5
			}
		}
		if = {
			limit = {
				NOT = {
					trait = cynical
				}
			}
			add_trait = cynical
		}
		if = {
			limit = {
				trait = kind
			}
			remove_trait = kind
		}
	}
	option = {
		name = EVTOPTC3665
		piety = 10
		any_courtier = {
			limit = {
				is_adult = yes
				in_command_trigger = no
				NOT = { is_inaccessible_trigger = yes }
				trait = zealous
				OR = {
					trait = chaste
					trait = humble
					piety = 100
				}
			}
			opinion = {
				modifier = opinion_approves
				who = ROOT
				years = 5
			}
		}
		if = {
			limit = {
				NOT = {
					trait = zealous
				}
			}
			add_trait = zealous
		}
	}
	option = {
		name = EVTOPTD3665
		add_trait = wroth
	}
}

### Poet: Courtier asks for a poem ###
character_event = {
	id = 3675
	desc = EVTDESC3675
	picture = GFX_evt_courtiers_talking

	only_playable = yes
	min_age = 20
	capable_only = yes
	prisoner = no
	war = no

	is_triggered_only = yes

	trigger = {		
		in_command_trigger = no
		trait = poet
		has_lover = no
		any_courtier = {
			age = 20
			prisoner = no
			has_lover = no
			NOT = {
				trait = poet
			}
		}
	}

	weight_multiplier = {
		factor = 1
	}

	immediate = {
		random_courtier = {
			limit = {
				age = 20
				prisoner = no
				has_lover = no
				NOT = {
					trait = poet
				}
			}
			save_event_target_as = poem_customer
		}
	}
	
	option = {
		name = EVTOPTA3675
		hidden_tooltip = {
			add_character_modifier = {
				name = poetry_timer
				duration = 430
				hidden = yes
			}
		}
		add_trait = charitable
		event_target:poem_customer = {
			opinion = {
				modifier = opinion_grateful
				who = ROOT
				years = 5
			}
			hidden_tooltip = {
				add_character_modifier = {
					name = used_poetry_timer
					duration = 430
					hidden = yes
				}
			}
			hidden_tooltip = {
				if = {
					limit = {
						ROOT = {
							is_married = yes
							is_female = no
						}
						is_female = yes
						NOR = {
							trait = homosexual
							trait = celibate
							age = 30
						}
					}
					ROOT = {
						spouse = {
							character_event = {
								id = 3676
							}
						}
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB3675
		hidden_tooltip = {
			add_character_modifier = {
				name = poetry_timer
				duration = 430
				hidden = yes
			}
		}
		treasury = 10
		event_target:poem_customer = {
			hidden_tooltip = {
				add_character_modifier = {
					name = used_poetry_timer
					duration = 430
					hidden = yes
				}
			}
			opinion = {
				modifier = opinion_mildly_disappointed
				who = ROOT
				years = 5
			}
		}
	}
	option = {
		name = EVTOPTC3675
		prestige = 10
		event_target:poem_customer = {
			opinion = {
				modifier = opinion_disappointed
				who = ROOT
				years = 5
			}
		}
	}
}

#Poet: Spouse discover you gave poem to a courtier
character_event = {
	id = 3676
	desc = EVTDESC3676
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	option = {
		name = EVTOPTA3676
		opinion = {
			modifier = opinion_forgive
			who = FROM
			years = 1
		}
		hidden_tooltip = {
			FROM = {
				character_event = {
					id = 3677
				}
			}
		}
	}
	option = {
		name = EVTOPTB3676
		trigger = {
			FROM = {
				any_lover = { character = ROOT }
			}
		}
		opinion = {
			modifier = opinion_sad
			who = FROM
			years = 1
		}
		random_list = {
			70 = {
				FROM = {
					character_event = {
						id = 3677
						tooltip = EVTTOOLTIP3677
					}
				}
			}
			20 = {
			}
			10 = {
				character_event = {
					id = 64045
					tooltip = EVTTOOLTIP64045
				}
			}
		}
	}
}

#Poet: Spouse has discovered you gave poem to a courtier
character_event = {
	id = 3677
	desc = EVTDESC3677
	picture = GFX_evt_quarrel

	is_triggered_only = yes

	option = {
		name = EVTOPTA3677
		reverse_opinion = {
			modifier = opinion_forgive
			who = FROM
			years = 5
		}
	}
	option = {
		name = EVTOPTB3677
		scaled_wealth = 0.05
		reverse_opinion = {
			modifier = opinion_glad
			who = FROM
			years = 5
		}
	}
}

### Poet: Courtier might claim liege's poem is his/hers! ###
character_event = {
	id = 3680
	desc = EVTDESC3680
	picture = GFX_evt_scandal

	only_playable = yes
	min_age = 20
	capable_only = yes
	prisoner = no
	only_men = yes
	war = no

	is_triggered_only = yes

	trigger = {		
		in_command_trigger = no
		has_lover = no
		has_character_modifier = used_poetry_timer
		trait = deceitful
		any_courtier = {
			is_adult = yes
			has_character_modifier = poetry_timer
			war = no
			in_command_trigger = no
			prisoner = no
		}
		NOR = {
			trait = eunuch
			trait = celibate
			trait = homosexual
		}
		any_courtier = {
			is_female = yes
			NOR = {
				trait = celibate
				trait = eunuch
				trait = homosexual
			}
			prisoner = no
			is_abroad_trigger = no
			age = 20
			has_lover = no
			opinion = { who = ROOT value = 20 }
			reverse_opinion = { who = ROOT value = 20 }
		}
	}

	weight_multiplier = {
		factor = 1
	}

	immediate = {
		random_courtier = {
			limit = {
				is_female = yes
				NOR = {
					trait = eunuch
					trait = celibate
					trait = homosexual
				}
				prisoner = no
				is_abroad_trigger = no
				age = 20
				has_lover = no
				opinion = { who = ROOT value = 20 }
				reverse_opinion = { who = ROOT value = 20 }
			}
			save_event_target_as = sweetheart
		}
		random_courtier = {
			limit = {
				age = 16
				has_character_modifier = poetry_timer
				war = no
				in_command_trigger = no
				prisoner = no
			}
			save_event_target_as = poem_author
		}
	}
	
	option = {
		name = EVTOPTA3680
		event_target:sweetheart = {
			add_lover = ROOT
		}
		random = {
			chance = 10
			event_target:poem_author = {
				character_event = {
					id = 3681
					tooltip = EVTTOOLTIP3681
				}
			}
		}
	}
	option = {
		name = EVTOPTB3680
		prestige = -10
		remove_trait = deceitful
		
		event_target:sweetheart = {
			opinion = {
				modifier = opinion_glad
				who = ROOT
				years = 10
			}
		}
	}
}

#Poet: Poetry thief is confronted
character_event = {
	id = 3681
	desc = EVTDESC3681
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	option = {
		name = EVTOPTA3681 #Confront
		prestige = 5
		opinion = {
			modifier = opinion_irritated
			who = FROM
			years = 2
		}
		FROM = {
			character_event = {
				id = 3682
				tooltip = EVTTOOLTIP3682
			}
		}
	}
	option = {
		name = EVTOPTB3681 #Seduced my little girl!
		trigger = {
			any_child = {
				is_female = yes
				any_lover = { character = FROM }
				NOT = {
					spouse = {
						character = FROM
					}
				}
			}
		}
		FROM = {
			imprison = ROOT
		}
		hidden_tooltip = {
			FROM = {
				set_character_flag = seduced_daughter
				character_event = {
					id = 3683
				}
			}
		}
	}
	option = {
		name = EVTOPTC3681 #Seduced my wife!
		trigger = {
			spouse = {
				is_female = yes
				is_alive = yes
				any_lover = { character = FROM }
			}
		}
		FROM = {
			imprison = ROOT
		}
		hidden_tooltip = {
			FROM = {
				set_character_flag = seduced_wife
				character_event = {
					id = 3683
				}
			}
		}
	}
	option = {
		name = EVTOPTD3681 #Forgive
		prestige = -5
		opinion = {
			modifier = opinion_forgive
			who = FROM
			years = 5
		}
	}
}

#Poet: ROOT gets his/her vengeance
character_event = {
	id = 3682
	desc = EVTDESC3682
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	option = {
		name = EVTOPTA3682
		prestige = -20
		reverse_opinion = {
			modifier = opinion_irritated
			who = FROM
			years = 2
		}
	}
}

#Poet: ROOT gets his/her vengeance
character_event = {
	id = 3683
	desc = EVTDESC3683
	picture = GFX_evt_scandal

	is_triggered_only = yes

	option = {
		name = EVTOPTA3683
		trigger = {
			has_character_flag = seduced_daughter
		}
		clr_character_flag = seduced_daughter
		opinion = {
			modifier = opinion_dislike
			who = FROM
			years = 5
		}
	}
	option = {
		name = EVTOPTB3683
		trigger = {
			has_character_flag = seduced_wife
		}
		clr_character_flag = seduced_wife
		prestige = 10
		opinion = {
			modifier = opinion_dislike
			who = FROM
			years = 5
		}
	}
}

### I have lost my inspiration ###
character_event = {
	id = 3685
	desc = EVTDESC3685
	picture = GFX_evt_recieve_letter

	only_playable = yes
	min_age = 20
	capable_only = yes
	war = no

	is_triggered_only = yes

	trigger = {
		trait = poet		
		in_command_trigger = no
		has_lover = no
		OR = {
			trait = slothful
			trait = content
			NAND = {
				trait = ambitious
				trait = diligent
			}
		}
	}

	weight_multiplier = {
		factor = 1
	}

	option = {
		name = EVTOPTA3685
		character_event = {
			id = 3686
			tooltip = EVTTOOLTIP3686
		}
	}
	option = {
		name = EVTOPTB3685
		random = {
			chance = 20

			remove_trait = poet
			hidden_tooltip = {
				character_event = {
					id = 38294 #Notify remove Poet
				}
			}
		}
	}
	option = {
		name = EVTOPTC3685
		random_list = {
			20 = {
				character_event = {
					id = 3686
					tooltip = EVTTOOLTIP3686
				}
			}
			20 = {
				remove_trait = poet
				hidden_tooltip = {
					character_event = {
						id = 38294 #Notify remove Poet
					}
				}
			}
			20 = {
				add_trait = diligent
				hidden_tooltip = {
					character_event = {
						id = 38256 #Notify Diligent
					}
				}
			}
			20 = {
				add_trait = ambitious
				hidden_tooltip = {
					character_event = {
						id = 38278 #Notify Ambitious
					}
				}
			}
		}
	}
}

#Poet: Found a muse?
character_event = {
	id = 3686
	desc = EVTDESC3686
	picture = GFX_evt_lovers

	is_triggered_only = yes

	option = {
		name = EVTOPTA3686
		trigger = {
			has_lover = no
			any_courtier = {
				is_adult = yes
				in_command_trigger = no
				has_lover = no
				prisoner = no
				is_opposite_sex = ROOT
				NOR = {
					trait = celibate
					trait = homosexual
				}
				NOT = { trait = eunuch }
				is_valid_attraction = ROOT
				
				opinion = { who = ROOT value = 20 }
				reverse_opinion = { who = ROOT value = 20 }
			}
		}
		random_courtier = {
			limit = {
				is_adult = yes
				in_command_trigger = no
				prisoner = no
				is_opposite_sex = ROOT
				NOR = {
					trait = celibate
					trait = homosexual
					trait = eunuch
				}
				
				is_valid_attraction = ROOT
				
				opinion = { who = ROOT value = 20 }
				reverse_opinion = { who = ROOT value = 20 }
			}
			character_event = {
				id = 3687
				tooltip = EVTTOOLTIP3687
			}
		}
	}
	option = {
		name = EVTOPTB3686
		trigger = {
			is_married = yes
			has_lover = no
			spouse = {
				is_alive = yes
				prisoner = no
				is_abroad_trigger = no
				has_lover = no
				opinion = { who = ROOT value = 10 }
				reverse_opinion = { who = ROOT value = 10 }
			}
		}
		set_character_flag = poet_spouse_muse
		character_event = {
			id = 64025
			tooltip = EVTTOOLTIP64025
		}
	}
	option = {
		name = EVTOPTC3686
		if = {
			limit = {
				NOT = {
					trait = content
				}
			}
			add_trait = content
		}
		random = {
			chance = 70

			remove_trait = poet
			hidden_tooltip = {
				character_event = {
					id = 38294 #Notify remove Poet
				}
			}
		}
	}
}

#Poet: Am I the muse for him/her?
character_event = {
	id = 3687
	desc = EVTDESC3687
	picture = GFX_evt_lovers

	is_triggered_only = yes

	option = {
		name = EVTOPTA3687
		add_lover = from
		hidden_tooltip = {
			FROM = {
				character_event = {
					id = 3688
				}
			}
		}
	}
	option = {
		name = EVTOPTB3687
		opinion = {
			modifier = opinion_disgusted
			who = FROM
			years = 5
		}
		hidden_tooltip = {
			FROM = {
				character_event = {
					id = 3689
				}
			}
		}
	}
}

#Poet: New muse!
character_event = {
	id = 3688
	desc = EVTDESC3688
	picture = GFX_evt_lovers

	is_triggered_only = yes

	option = {
		name = EVTOPTA3688
		add_lover = from
	}
}

#Poet: Rejected by muse
character_event = {
	id = 3689
	desc = EVTDESC3689
	picture = GFX_evt_library

	is_triggered_only = yes

	option = {
		name = EVTOPTA3689
		FROM = {
			opinion = {
				modifier = opinion_disgusted
				who = ROOT
				years = 5
			}
		}
		opinion = {
			modifier = opinion_sad
			who = FROM
			years = 5
		}
	}
}

###### FALCONER ######

#### Falconer: Bring-your-kids-to-hunt-day ###
character_event = {
	id = 3690
	desc = EVTDESC3690
	picture = GFX_evt_falconing

	only_playable = yes
	min_age = 20
	prisoner = no
	capable_only = yes
	war = no
	is_married = yes

	is_triggered_only = yes

	trigger = {
		in_command_trigger = no
		
		NOT = { is_inaccessible_trigger = yes }
		trait = falconer
		spouse = {
			is_alive = yes
			NOT = { is_inaccessible_trigger = yes }
		}
		num_of_children = 3
		any_child = {
			age = 13
			NOR = {
				age = 20
				is_inaccessible_trigger = yes
			}
			is_abroad_trigger = no
			prisoner = no
		}
	}

	weight_multiplier = {
		factor = 1
	}
	
	immediate = {
		random_child = {
			limit = {
				age = 13
				NOT = {
					age = 20
					is_inaccessible_trigger = yes
				}
				is_abroad_trigger = no
				prisoner = no
			}
			save_event_target_as = hunting_child
		}
	}
	
	option = {
		name = EVTOPTA3690
		event_target:hunting_child = {
			character_event = {
				id = 3691
				tooltip = EVTTOOLTIP3691
			}
		}
	}

	option = {
		name = EVTOPTB3690
		spouse = {
			opinion = {
				modifier = opinion_disappointed
				who = ROOT
				years = 5
			}
		}
		event_target:hunting_child = {
			character_event = {
				id = 3692
				tooltip = EVTTOOLTIP3691
			}
		}
	}
	option = {
		name = EVTOPTC3690
		spouse = {
			opinion = {
				modifier = opinion_angry
				who = ROOT
				years = 5
			}
		}
		event_target:hunting_child = {
			opinion = {
				modifier = opinion_disappointed
				who = ROOT
				years = 1
			}
		}
	}
	option = {
		name = EVTOPTD3690
		trigger = {
			spouse = {
				is_alive = yes
				trait = falconer
			}
			event_target:hunting_child = {
				trait = brave
				martial = 10
			}
		}
		character_event = {
			id = 3697
			tooltip = EVTTOOLTIP3697
		}
	}
}

#Falconer: Child is welcome to hunt with parent
character_event = {
	id = 3691
	desc = EVTDESC3691
	picture = GFX_evt_falconing

	is_triggered_only = yes

	option = {
		name = EVTOPTA3691
		opinion = {
			modifier = opinion_glad
			who = FROM
			years = 5
		}
		FROM = {
			random_list = {
				20 = {
					character_event = {
						id = 3693
						tooltip = EVTTOOLTIP3693 #Good hunt!
					}
				}
				30 = {
					character_event = {
						id = 3694
						tooltip = EVTTOOLTIP3693 #You shame me!
					}
				}
				20 = {
					character_event = {
						id = 3695
						tooltip = EVTTOOLTIP3694 #I am impressed!
					}
				}
				30 = {
					character_event = {
						id = 3696
						tooltip = EVTTOOLTIP3695 #Plucking flowers? What for?
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB3691
		change_martial = -1
		change_stewardship = 1
		reverse_opinion = {
			modifier = opinion_disappointed
			who = FROM
			years = 5
		}
		FROM = {
			character_event = {
				id = 3698
				tooltip = EVTTOOLTIP3698
			}
		}
	}
}

#Falconer: Child is NOT welcome to hunt with parent
character_event = {
	id = 3692
	desc = EVTDESC3692
	picture = GFX_evt_falconing

	is_triggered_only = yes

	option = {
		name = EVTOPTA3692
		opinion = {
			modifier = opinion_disappointed
			who = FROM
			years = 5
		}
		FROM = {
			random_list = {
				20 = {
					modifier = {
						factor = 0
						event_target:hunting_child = {
							martial = 10
						}
					}
					character_event = {
						id = 3693
						tooltip = EVTTOOLTIP3693 #Good hunt!
					}
				}
				30 = {
					character_event = {
						id = 3694
						tooltip = EVTTOOLTIP3694 #You shame me!
					}
				}
				20 = {
					modifier = {
						factor = 0
						event_target:hunting_child = {
							trait = brave
						}
					}
					character_event = {
						id = 3695
						tooltip = EVTTOOLTIP3694 #I am impressed!
					}
				}
				30 = {
					modifier = {
						factor = 0
						event_target:hunting_child = {
							learning = 10
						}
					}
					character_event = {
						id = 3696
						tooltip = EVTTOOLTIP3695 #Plucking flowers? What for?
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB3692
		change_martial = -1
		change_stewardship = 2
		opinion = {
			modifier = opinion_disappointed
			who = FROM
			years = 5
		}
		FROM = {
			character_event = {
				id = 3698
				tooltip = EVTTOOLTIP3698
			}
		}
	}
}

#Falconer: Good Hunt!
character_event = {
	id = 3693
	desc = EVTDESC3693
	picture = GFX_evt_falconing

	is_triggered_only = yes

	option = {
		name = EVTOPTA3693
		change_martial = 1
		event_target:hunting_child = {
			opinion = {
				modifier = opinion_glad
				who = ROOT
				years = 5
			}
			change_martial = 1
		}
	}
}

#Falconer: You shame me!
character_event = {
	id = 3694
	desc = EVTDESC3694
	picture = GFX_evt_falconing

	is_triggered_only = yes

	option = {
		name = EVTOPTA3694
		event_target:hunting_child = {
			reverse_opinion = {
				modifier = opinion_disappointed
				who = ROOT
				years = 5
			}
			if = {
				limit = {
					NOT = {
						trait = shy
					}
				}
				add_trait = shy
			}
		}
	}
}

#Falconer: I am impressed! No one has ever killed so many hares!
character_event = {
	id = 3695
	desc = EVTDESC3695
	picture = GFX_evt_falconing

	is_triggered_only = yes

	option = {
		name = EVTOPTA3695
		prestige = 10
		event_target:hunting_child = {
			random = {
				chance = 20
				add_trait = brave
				hidden_tooltip = {
					character_event = {
						id = 38270
					}
				}
			}
			change_martial = 1
			opinion = {
				modifier = opinion_happy
				who = ROOT
				years = 5
			}
		}
	}
}

#Falconer: Why did you pluck all those flowers for?
character_event = {
	id = 3696
	desc = EVTDESC3696
	picture = GFX_evt_falconing

	is_triggered_only = yes

	option = {
		name = EVTOPTA3696
		event_target:hunting_child = {
			opinion = {
				modifier = opinion_sad
				who = ROOT
				years = 5
			}
			change_learning = 1
		}
	}
}

#Falconer: Family event!
character_event = {
	id = 3697
	desc = EVTDESC3697
	picture = GFX_evt_falconing

	is_triggered_only = yes

	option = {
		name = EVTOPTA3697
		prestige = 100
	}
}

#Falconer: Child does NOT join
character_event = {
	id = 3698
	desc = EVTDESC3698
	picture = GFX_evt_falconing

	is_triggered_only = yes

	option = {
		name = EVTOPTA3698
		prestige = -10
		opinion = {
			modifier = opinion_disappointed
			who = FROM
			years = 5
		}
	}
}

### Falconer: Courtier asks for help with bird ###
character_event = {
	id = 3700
	desc = EVTDESC3700
	picture = GFX_evt_falconing

	only_playable = yes
	min_age = 20
	prisoner = no
	capable_only = yes
	war = no
	
	is_triggered_only = yes
	
	trigger = {
		in_command_trigger = no
		
		NOT = { is_inaccessible_trigger = yes }
		trait = falconer
		any_courtier = {
			prisoner = no
			opinion = { who = ROOT value = 20 }
			is_adult = yes
			NOR = {
				is_inaccessible_trigger = yes
				trait = falconer
				trait = craven
			}
			martial = 6
		}
	}

	weight_multiplier = {
		factor = 1
	}
	
	immediate = {
		random_courtier = {
			limit = {
				prisoner = no
				opinion = { who = ROOT value = 20 }
				age = 16
				NOR = {
					is_inaccessible_trigger = yes
					trait = falconer
					trait = craven
				}
				martial = 6
			}
			save_event_target_as = falcon_help
		}
	}

	option = {
		name = EVTOPTA3700
		if = {
			limit = {
				NOT = {
					trait = deceitful
				}
			}
			add_trait = deceitful
			
		}
		event_target:falcon_help = {
			set_character_flag = sold_falcon
			opinion = {
				modifier = opinion_happy
				who = ROOT
				years = 5
			}
		}
		random_list = {
			40 = {
				character_event = {
					id = 3701
					tooltip = EVTTOOLTIP3701
				}
			}
			30 = {
				character_event = {
					id = 3702
					tooltip = EVTTOOLTIP3702
				}
			}
			20 = {
			}
			10 = {
				change_intrigue = 1
			}
		}
	}
	option = {
		name = EVTOPTB3700
		treasury = 10
		event_target:falcon_help = {
			opinion = {
				modifier = opinion_glad
				who = ROOT
				years = 5
			}
		}
		random_list = {
			30 = {
			}
			20 = {
				prestige = 10
			}
			10 = {
				add_trait = wounded
				hidden_tooltip = {
					character_event = {
						id = 38280 #Notify wounded
					}
				}
			}
			20 = {
				add_trait = charitable
				hidden_tooltip = {
					character_event = {
						id = 38273 #Notify Charitable
					}
				}
			}
			20 = {
				add_trait = greedy
				hidden_tooltip = {
					character_event = {
						id = 38252 #Notify Greedy
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTC3700
		event_target:falcon_help = {
			set_character_flag = trained_falcon
			opinion = {
				modifier = opinion_delighted
				who = ROOT
				years = 5
			}
		}
		random_list = {
			40 = {
				set_character_flag = good_bird
				character_event = {
					id = 3701
					days = 14
					tooltip = EVTTOOLTIP3701
				}
			}
			30 = {
				set_character_flag = bad_bird
				character_event = {
					id = 3702
					days = 14
					tooltip = EVTTOOLTIP3702
				}
			}
		}
	}
	option = {
		name = EVTOPTD3700
		prestige = -5
		event_target:falcon_help = {
			add_friend = ROOT
			set_character_flag = deceitful_falconer
		}
		hidden_tooltip = {
			character_event = {
				id = 3703
				days = 10
				random = 20
			}
		}
	}
}

#Falconer: Good bird!
character_event = {
	id = 3701
	desc = EVTDESC3701
	picture = GFX_evt_falconing

	is_triggered_only = yes

	option = {
		name = EVTOPTA3701 #Keep it
		trigger = {
			NOT = {
				has_character_flag = good_bird
			}
		}
		prestige = 10
		event_target:falcon_help = {
			clr_character_flag = sold_falcon
			random = {
				chance = 20

				set_character_flag = falcon_kept
				character_event = {
					id = 3704
					tooltip = EVTTOOLTIP3704
				}
			}
		}
	}
	option = {
		name = EVTOPTB3701 #Train it and sell it
		trigger = {
			NOT = {
				has_character_flag = good_bird
			}
		}
		treasury = 20
		random_courtier = {
			limit = {
				has_character_flag = sold_falcon
			}
			clr_character_flag = sold_falcon
			random = {
				chance = 45

				set_character_flag = falcon_sold
				character_event = {
					id = 3704
					tooltip = EVTTOOLTIP3704
				}
			}
		}
	}
	option = {
		name = EVTOPTC3701 #Good bird!
		trigger = {
			has_character_flag = good_bird
		}
		prestige = 20
		clr_character_flag = good_bird
		random_courtier = {
			limit = {
				has_character_flag = trained_falcon
			}
			clr_character_flag = trained_falcon
			opinion = {
				modifier = opinion_grateful
				who = ROOT
				years = 1
			}
			character_event = {
				id = 3707
				tooltip = EVTTOOLTIP3707
			}
		}
	}
}

#Falconer: Bad bird!
character_event = {
	id = 3702
	desc = EVTDESC3702
	picture = GFX_evt_falconing

	is_triggered_only = yes

	option = {
		name = EVTOPTA3702
		trigger = {
			has_character_flag = bad_bird
		}
		add_trait = wounded
		event_target:falcon_help = {
			clr_character_flag = trained_falcon
			opinion = {
				modifier = opinion_sad
				who = ROOT
				years = 1
			}
			set_character_flag = untrainable_bird
			character_event = {
				id = 3705
				tooltip = EVTTOOLTIPA3705
			}
		}
	}
	option = {
		name = EVTOPTB3702
		trigger = {
			has_character_flag = bad_bird
		}
		add_trait = wounded
		random_list = {
			50 = {
				add_trait = cruel
				hidden_tooltip = {
					character_event = {
						id = 38259 #Notify Cruel
					}
				}
			}
			50 = {
				add_trait = wroth
				hidden_tooltip = {
					character_event = {
						id = 38254 #Notify Wroth
					}
				}
			}
		}
		event_target:falcon_help = {
			clr_character_flag = trained_falcon
			opinion = {
				modifier = opinion_angry
				who = ROOT
				years = 1
			}
			set_character_flag = killed_bird
			character_event = {
				id = 3705
				tooltip = EVTTOOLTIPA3705
			}
		}
	}
	option = {
		name = EVTOPTC3702 #Sell it back
		trigger = {
			NOT = {
				has_character_flag = bad_bird
			}
		}
		add_trait = wounded
		treasury = 10
		event_target:falcon_help = {
			opinion = {
				modifier = opinion_disappointed
				who = ROOT
				years = 1
			}
			character_event = {
				id = 3705
				tooltip = EVTTOOLTIPB3705
			}
		}
	}
	option = {
		name = EVTOPTD3702 #Kill bird
		trigger = {
			any_courtier = {
				has_character_flag = sold_falcon
			}
		}
		add_trait = wounded
		random_list = {
			50 = {
				add_trait = cruel
				hidden_tooltip = {
					character_event = {
						id = 38259 #Notify Cruel
					}
				}
			}
			50 = {
				add_trait = wroth
				hidden_tooltip = {
					character_event = {
						id = 38254 #Notify Wroth
					}
				}
			}
		}
		event_target:falcon_help = {
			clr_character_flag = sold_falcon
			random = {
				chance = 20

				set_character_flag = killed_falcon
				character_event = {
					id = 3705
					tooltip = EVTTOOLTIPB3705
				}
			}
		}
	}
}

#Falconer:
character_event = {
	id = 3703
	desc = EVTDESC3703
	picture = GFX_evt_falconing

	is_triggered_only = yes

	option = {
		name = EVTOPTA3703
		event_target:falcon_help = {
			imprison = ROOT
			hidden_tooltip = {
				character_event = {
					id = 3706
				}
			}
		}
	}
	option = {
		name = EVTOPTB3703
		prestige = -10
		if = {
			limit = {
				NOT = {
					trait = content
				}
			}
			add_trait = content
		}
		if = {
			limit = {
				trait = content
				NOT = {
					trait = slothful
				}
			}
			add_trait = slothful
		}
	}
	option = {
		name = EVTOPTC3703
		event_target:falcon_help = {
			reverse_opinion = {
				modifier = opinion_angry
				who = ROOT
				years = 1
			}
			character_event = {
				id = 3706
				tooltip = EVTTOOLTIP3706
			}
		}
	}
}

#Falconer: Courtier is informed about finished training Good Bird!
character_event = {
	id = 3704
	desc = EVTDESC3704
	picture = GFX_evt_falconing

	is_triggered_only = yes

	option = {
		name = EVTOPTA3704
		trigger = {
			has_character_flag = falcon_kept
		}
		clr_character_flag = falcon_kept
		opinion = {
			modifier = opinion_liar
			who = FROM
			years = 5
		}
	}
	option = {
		name = EVTOPTB3704
		trigger = {
			has_character_flag = sold_falcon
		}
		clr_character_flag = sold_falcon
		opinion = {
			modifier = opinion_irritated
			who = FROM
			years = 5
		}
	}
}

#Falconer: Courtier is informed about finished training Bad Bird!
character_event = {
	id = 3705
	desc = EVTDESC3705
	picture = GFX_evt_falconing

	is_triggered_only = yes

	option = {
		name = EVTOPTA3705
		trigger = {
			has_character_flag = untrainable_bird
			NOT = {
				has_character_flag = killed_bird
			}
		}
		clr_character_flag = untrainable_bird
		opinion = {
			modifier = opinion_sad
			who = FROM
			years = 4
		}
	}
	option = {
		name = EVTOPTB3705
		trigger = {
			has_character_flag = killed_bird
			NOT = {
				has_character_flag = untrainable_bird
			}
		}
		clr_character_flag = killed_bird
		opinion = {
			modifier = opinion_angry
			who = FROM
			years = 4
		}
	}
	option = {
		name = EVTOPTC3705
		trigger = {
			has_character_flag = killed_falcon
		}
		clr_character_flag = killed_falcon
		opinion = {
			modifier = opinion_sad
			who = FROM
			years = 4
		}
	}
	option = {
		name = EVTOPTD3705
		trigger = {
			has_character_flag = sold_falcon
		}
		clr_character_flag = sold_falcon
		treasury = -10
		opinion = {
			modifier = opinion_disappointed
			who = FROM
			years = 4
		}
	}
}

#Falconer: Friend is confronted
character_event = {
	id = 3706
	desc = EVTDESC3706
	picture = GFX_evt_falconing

	is_triggered_only = yes

	option = {
		name = EVTOPTA3706
		prestige = -5
		reverse_opinion = {
			modifier = opinion_angry
			who = FROM
			years = 4
		}
	}
}

#Falconer: Courtier is informed about finished training Good Bird!
character_event = {
	id = 3707
	desc = EVTDESC3707
	picture = GFX_evt_falconing

	is_triggered_only = yes

	option = {
		name = EVTOPTA3707
		opinion = {
			modifier = opinion_grateful
			who = FROM
			years = 4
		}
		hidden_tooltip = {
			if = {
				limit = {
					in_command_trigger = no
					war = no
					martial = 8
					NOR = {
						lifestyle_traits = 1
						has_character_flag = LE_ST
					}
				}
				change_variable = { which = lifestyle_diplomacy value = 1 }
			}
		}
	}
}

### GREGARIOUS ###

### Vassal does NOT support liege ###
character_event = {
	id = 3710
	desc = EVTDESC3710
	picture = GFX_evt_emissary

	only_playable = yes
	prisoner = no
	capable_only = yes
	war = no

	is_triggered_only = yes

	trigger = {
		trait = gregarious
		
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		any_vassal = {
			prisoner = no
			war = no
			in_command_trigger = no
			NOR = {
				is_inaccessible_trigger = yes
				opinion = { who = ROOT value = -10 }
			}
		}
		OR = {
			trait = diligent
			trait = ambitious
			NOT = {
				trait = slothful
			}
			NOT = {
				trait = content
			}
		}
	}

	weight_multiplier = {
		factor = 1
	}

	immediate = {
		random_vassal = {
			limit = {
				prisoner = no
				war = no
				in_command_trigger = no
				NOR = {
					is_inaccessible_trigger = yes
					opinion = { who = ROOT value = -10 }
				}
			}
			save_event_target_as = nonsupportive_vassal
		}
	}
	
	option = {
		name = EVTOPTA3710
		event_target:nonsupportive_vassal = {
			character_event = {
				id = 3711
				tooltip = EVTTOOLTIP3711
			}
		}
	}
	option = {
		name = EVTOPTB3710
		prestige = 10
		event_target:nonsupportive_vassal = {
			opinion = {
				modifier = opinion_upset
				who = ROOT
				years = 5
			}
		}
	}
}

#Liege talks to vassal, vassal reacts
character_event = {
	id = 3711
	desc = EVTDESC3711
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	option = {
		name = EVTOPTA3711
		opinion = {
			modifier = opinion_irritated
			who = FROM
			years = 1
		}
		FROM = {
			opinion = {
				modifier = opinion_stubborn
				who = ROOT
				years = 1
			}
			set_character_flag = vassal_stubborn
			character_event = {
				id = 3712
				tooltip = EVTTOOLTIPA3712
			}
		}
	}
	option = {
		name = EVTOPTB3711
		opinion = {
			modifier = opinion_convinced
			who = FROM
			years = 1
		}
		FROM = {
			opinion = {
				modifier = opinion_glad
				who = ROOT
				years = 1
			}
			set_character_flag = vassal_relented
			character_event = {
				id = 3712
				tooltip = EVTTOOLTIPB3712
			}
		}
	}
}

#Liege gets vassals reaction
character_event = {
	id = 3712
	desc = EVTDESC3712
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	option = {
		name = EVTOPTA3712
		trigger = {
			has_character_flag = vassal_stubborn
		}
		clr_character_flag = vassal_stubborn
		prestige = -10
	}
	option = {
		name = EVTOPTB3712
		trigger = {
			has_character_flag = vassal_relented
		}
		prestige = 10
		clr_character_flag = vassal_relented
		opinion = {
			modifier = opinion_glad
			who = FROM
			years = 4
		}
		FROM = {
			opinion = {
				modifier = opinion_convinced
				who = ROOT
				years = 1
			}
		}
	}
}

### Gregarious character's child is shy! ###
character_event = {
	id = 3715
	desc = EVTDESC3715
	picture = GFX_evt_guardian

	prisoner = no
	capable_only = yes
	war = no

	is_triggered_only = yes

	trigger = {
		trait = gregarious		
		in_command_trigger = no
		any_child = {
			is_abroad_trigger = no
			prisoner = no
			trait = shy
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 2
			trait = trusting
		}
		modifier = {
			factor = 0.5
			trait = paranoid
		}
		modifier = {
			factor = 0.5
			trait = cynical
		}
	}

	immediate = {
		random_child = {
			limit = {
				is_abroad_trigger = no
				prisoner = no
				trait = shy
			}
			save_event_target_as = shy_child
		}
	}
	
	option = {
		name = EVTOPTA3715
		event_target:shy_child = {
			random_list = {
				25 = {
					remove_trait = shy
					hidden_tooltip = {
						character_event = {
							id = 38295 #Nofify Remove Shy
						}
					}
				}
				25 = {
					add_trait = gregarious
					hidden_tooltip = {
						character_event = {
							id = 38265 #Nofify Gregarious
						}
					}
				}
				30 = {
					add_trait = paranoid
					hidden_tooltip = {
						character_event = {
							id = 38275 #Nofify Paranoid
						}
					}
				}
				20 = {
					modifier = {
						factor = 0
						trait = stressed
					}
					modifier = {
						factor = 0
						trait = depressed
					}
					add_trait = stressed
					hidden_tooltip = {
						character_event = {
							id = 38282 #Nofify Stressed
						}
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB3715
		event_target:shy_child = {
			random_list = {
				30 = {
				}
				25 = {
					add_trait = paranoid
					hidden_tooltip = {
						character_event = {
							id = 38275 #Nofify Paranoid
						}
					}
				}
				25 = {
					add_trait = cynical
					hidden_tooltip = {
						character_event = {
							id = 38258 #Nofify Cynical
						}
					}
				}
				20 = {
					change_intrigue = 1
				}
			}
		}
		if = {
			limit = {
				NOT = {
					trait = cynical
				}
			}
			random = {
				chance = 25

				add_trait = cynical
				hidden_tooltip = {
					character_event = {
						id = 38258 #Nofify Cynical
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTC3715
		event_target:shy_child = {
			random_list = {
				20 = {
				}
				10 = {
					opinion = {
						modifier = opinion_unhappy
						who = ROOT
						years = 5
					}
				}
				20 = {
					add_trait = depressed
					hidden_tooltip = {
						character_event = {
							id = 38288 #Nofify Depressed
						}
					}
				}
				25 = {
					change_learning = 1
				}
				25 = {
					remove_trait = shy
					hidden_tooltip = {
						character_event = {
							id = 38295 #Nofify Remove Shy
						}
					}
				}
			}
		}
		if = {
			limit = {
				NOT = {
					trait = content
				}
			}
			random = {
				chance = 25

				add_trait = content
				hidden_tooltip = {
					character_event = {
						id = 38279 #Nofify Cynical
					}
				}
			}
		}
	}
}

### Take care of a courtier? ###
character_event = {
	id = 3720
	desc = EVTDESC3720
	picture = GFX_evt_courtiers_talking

	prisoner = no
	only_rulers = yes
	capable_only = yes
	war = no

	is_triggered_only = yes

	trigger = {		
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		trait = gregarious
		any_courtier = {
			is_adult = yes
			in_command_trigger = no
			NOT = { is_inaccessible_trigger = yes }
			trait = proud
			opinion = { who = ROOT value = 10 }
			OR = {
				trait = shy
				trait = paranoid
				trait = cynical
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 2
			trait = zealous
		}
	}

	immediate = {
		random_courtier = {
			limit = {
				is_adult = yes
				in_command_trigger = no
				NOT = { is_inaccessible_trigger = yes }
				trait = proud
				opinion = { who = ROOT value = 10 }
				OR = {
					trait = shy
					trait = paranoid
					trait = cynical
				}
			}
			save_event_target_as = proud_courtier
		}
	}
	
	option = {
		name = EVTOPTA3720
		event_target:proud_courtier = {
			character_event = {
				id = 3721
				tooltip = EVTTOOLTIP3721
			}
		}
	}
	option = {
		name = EVTOPTB3720
		if = {
			limit = {
				NOT = {
					trait = slothful
				}
			}
			random = {
				chance = 25

				add_trait = slothful
				hidden_tooltip = {
					character_event = {
						id = 38251 #Notify Slothful
					}
				}
			}
		}
		if = {
			limit = {
				trait = slothful
				NOT = {
					trait = content
				}
			}
			random = {
				chance = 25

				add_trait = content
				hidden_tooltip = {
					character_event = {
						id = 38279 #Notify Content
					}
				}
			}
		}
		if = {
			limit = {
				trait = content
				trait = slothful
			}
			random = {
				chance = 25

				remove_trait = gregarious
				hidden_tooltip = {
					character_event = {
						id = 38279 #Notify Remove Gregarious
					}
				}
			}
		}
		event_target:proud_courtier = {
			opinion = {
				modifier = opinion_upset
				who = ROOT
				years = 5
			}
		}
	}
	option = {
		name = EVTOPTC3720
		event_target:proud_courtier = {
			opinion = {
				modifier = opinion_grateful
				who = ROOT
				years = 5
			}
		}
		if = {
			limit = {
				trait = slothful
			}
			random = {
				chance = 25

				remove_trait = slothful
				hidden_tooltip = {
					character_event = {
						id = 38298 #Notify Remove Slothful
					}
				}
			}
		}
		if = {
			limit = {
				trait = content
			}
			random = {
				chance = 25

				remove_trait = content
				hidden_tooltip = {
					character_event = {
						id = 38299 #Notify Remove Content
					}
				}
			}
		}
	}
}

#Courtier reacts
character_event = {
	id = 3721
	desc = EVTDESC3721
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	option = {
		name = EVTOPTA3721
		opinion = {
			modifier = opinion_insulted
			who = FROM
			years = 1
		}
		FROM = {
			set_character_flag = courtier_insulted
			character_event = {
				id = 3722
				tooltip = EVTTOOLTIPA3722
			}
		}
	}
	option = {
		name = EVTOPTB3721
		prestige = -5
		random_list = {
			20 = {
			}
			40 = {
				remove_trait = proud
				hidden_tooltip = {
					character_event = {
						id = 38300 #Notify Remove Proud
					}
				}
			}
			40 = {
				change_learning = 1
			}
		}
		opinion = {
			modifier = opinion_grateful
			who = FROM
			years = 1
		}
		FROM = {
			set_character_flag = courtier_grateful
			character_event = {
				id = 3722
				tooltip = EVTTOOLTIPB3722
			}
		}
	}
}

#Courtier reacts, liege gets answer
character_event = {
	id = 3722
	desc = EVTDESC3722
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	option = {
		name = EVTOPTA3722
		trigger = {
			has_character_flag = courtier_insulted
		}
		prestige = -10
		clr_character_flag = courtier_insulted
		reverse_opinion = {
			modifier = opinion_insulted
			who = FROM
			years = 4
		}
	}
	option = {
		name = EVTOPTB3722
		trigger = {
			has_character_flag = courtier_grateful
		}
		prestige = 10
		clr_character_flag = courtier_grateful
		opinion = {
			modifier = opinion_grateful
			who = FROM
			years = 4
		}
	}
}

### Gregarious character ###
character_event = {
	id = 3725
	desc = EVTDESC3725
	picture = GFX_evt_scandal

	only_rulers = yes
	prisoner = no
	capable_only = yes
	war = no

	is_triggered_only = yes

	trigger = {		
		in_command_trigger = no
		trait = gregarious
		OR = {
			tier = duke
			tier = king
			tier = emperor
		}
		any_courtier = {
			is_adult = yes
			in_command_trigger = no
			NOT = {
				trait = gregarious
			}
		}
	}

	weight_multiplier = {
		factor = 1
	}

	option = {
		name = EVTOPTA3725
		prestige = 10
		any_courtier = {
			limit = {
				is_adult = yes
				in_command_trigger = no
				NOT = {
					trait = gregarious
				}
			}
			opinion = {
				modifier = opinion_lost_respect
				who = ROOT
				years = 5
			}
		}
		if = {
			limit = {
				NOR = {
					trait = stressed
					trait = depressed
				}
			}
			random = {
				chance = 25

				add_trait = stressed
				hidden_tooltip = {
					character_event = {
						id = 38282 #Notify Stressed
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB3725
		any_courtier = {
			limit = {
				is_adult = yes
				in_command_trigger = no
				NOT = {
					trait = gregarious
				}
			}
			opinion = {
				modifier = opinion_gained_respect
				who = ROOT
				years = 5
			}
		}
		random = {
			chance = 25

			remove_trait = gregarious
			hidden_tooltip = {
				character_event = {
					id = 38297 #Notify Remove Gregarious
				}
			}
		}
	}
	option = {
		name = EVTOPTC3725
		random = {
			chance = 25

			change_intrigue = 1
			add_trait = deceitful
			hidden_tooltip = {
				character_event = {
					id = 38255 #Notify Deceitful
				}
			}
		}
	}
}

### Muslim Events ###

### Wroth - Muslim: Start ###
character_event = {
	id = 3730
	desc = EVTDESC3730
	picture = GFX_evt_scandal

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	religion_group = muslim
	war = no
	
	is_triggered_only = yes 

	trigger = {		
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		trait = wroth
		any_courtier = {
			is_adult = yes
			prisoner = no
			is_abroad_trigger = no
			NOR = {
				is_inaccessible_trigger = yes
				trait = incapable
				trait = wroth
				trait = patient
			}
			OR = {
				trait = kind
				trait = charitable
				prestige = 60
			}
		}
	}
	
	immediate = {
		random_courtier = {
			limit = {
				age = 16
				prisoner = no
				is_abroad = no
				NOR = {
					is_inaccessible_trigger = yes
					trait = incapable
					trait = wroth
					trait = patient
				}
				OR = {
					trait = kind
					trait = charitable
					prestige = 60
				}
			}
			save_event_target_as = wroth_onlooker
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 4.0
			is_priest = no
		}
		modifier = {
			factor = 5.0
			is_weak_trigger = yes
		}

		modifier = {
			factor = 0.5
			trait = scholarly_theologian
		}
		modifier = {
			factor = 0.3
			trait = mastermind_theologian
		}
	}

	option = {
		name = EVTOPTA3730
		event_target:wroth_onlooker = {
			character_event = {
				id = 3731
				days = 1
				tooltip = EVTTOOLTIP3731
			}
		}
	}
}

#Wroth: Courtier
character_event = {
	id = 3731
	desc = EVTDESC3731
	picture = GFX_evt_scandal

	is_triggered_only = yes

	option = {
		name = EVTOPTA3731
		FROM = {
			reverse_opinion = {
				modifier = wroth_neg
				who = ROOT
				years = 2
			}
			opinion = {
				modifier = opinion_irritated
				who = ROOT
				years = 2
			}
			character_event = {
				id = 3732
				days = 1
				tooltip = EVTTOOLTIP3732
			}
		}
	}
	option = {
		name = EVTOPTB3731
		FROM = {
			reverse_opinion = {
				modifier = wroth_pos
				who = ROOT
				years = 2
			}
			opinion = {
				modifier = opinion_pleased
				who = ROOT
				years = 2
			}
			character_event = {
				id = 3733
				days = 1
				tooltip = EVTTOOLTIP3733
			}
		}
	}
}

#Wroth neg: ROOT
character_event = {
	id = 3732
	desc = EVTDESC3732
	picture = GFX_evt_scandal

	is_triggered_only = yes

	option = {
		name = EVTOPTA3732
		opinion = {
			modifier = opinion_irritated
			who = FROM
			years = 2
		}
		FROM = {
			opinion = {
				modifier = wroth_neg
				who = ROOT
				years = 2
			}
		}
	}
}

#Wroth pos: ROOT
character_event = {
	id = 3733
	desc = EVTDESC3733
	picture = GFX_evt_courtiers_talking

	is_triggered_only = yes

	option = {
		name = EVTOPTA3733
		opinion = {
			modifier = opinion_pleased
			who = FROM
			years = 2
		}
		FROM = {
			opinion = {
				modifier = wroth_pos
				who = ROOT
				years = 2
			}
		}
	}
}

### Craven - Muslim ###
character_event = {
	id = 3735
	desc = EVTDESC3735
	picture = GFX_evt_bishop

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	religion_group = muslim
	war = no
	
	is_triggered_only = yes 
	
	trigger = {
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		trait = craven
		OR = {
			NOT = { demesne_size = 1 }
			tier = count
		}
		any_courtier = {
			is_adult = yes
			prisoner = no
			OR = {
				is_priest = yes
				has_job_title = job_spiritual
			}
			NOR = {
				is_inaccessible_trigger = yes
				character = ROOT
				trait = incapable
			}
			OR = {
				trait = craven
				NOT = {
					trait = brave
				}
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.4
			trait = gluttonous
		}
		modifier = {
			factor = 0.4
			trait = wroth
		}

		modifier = {
			factor = 2.0
			trait = kind
		}
		modifier = {
			factor = 5.0
			trait = humble
		}
	}

	option = {
		name = EVTOPTA3735
		random_courtier = {
			limit = {
				is_adult = yes
				prisoner = no
				NOR = {
					is_inaccessible_trigger = yes
					character = ROOT
					trait = incapable
				}
				OR = {
					trait = craven
					NOT = {
						trait = brave
					}
				}
			}
			character_event = {
				id = 3736
				tooltip = EVTTOOLTIP3736
			}
		}
	}
}

#Courtier
character_event = {
	id = 3736
	desc = EVTDESC3736
	picture = GFX_evt_bishop

	is_triggered_only = yes

	option = {
		name = EVTOPTA3736
		FROM = {
			reverse_opinion = {
				modifier = craven_pos
				who = ROOT
				years = 2
			}
			character_event = {
				id = 3737
				tooltip = EVTTOOLTIP3737
			}
		}
	}
}

#ROOT
character_event = {
	id = 3737
	desc = EVTDESC3737
	picture = GFX_evt_bishop

	is_triggered_only = yes

	option = {
		name = EVTOPTA3737
		FROM = {
			opinion = {
				modifier = craven_pos
				who = ROOT
				years = 2
			}
		}
	}
}

### Brave positive - Muslim ###
character_event = {
	id = 3740
	desc = EVTDESC3740
	picture = GFX_evt_jerusalem

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	is_triggered_only = yes
	religion_group = muslim
	war = no

	trigger = {		
		in_command_trigger = no
		NOT = { is_inaccessible_trigger = yes }
		trait = brave
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.5
			trait = proud
		}
		modifier = {
			factor = 0.5
			trait = lustful
		}

		modifier = {
			factor = 5.0
			trait = humble
		}
		modifier = {
			factor = 5.0
			trait = chaste
		}
	}

	option = {
		name = EVTOPTA3740
		piety = 15
	}
}

### Content positive ###
character_event = {
	id = 3745
	desc = EVTDESC3745
	picture = GFX_evt_bishop

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	religion_group = muslim
	war = no
	
	is_triggered_only = yes 
	
	trigger = {		
		in_command_trigger = no		
		trait = content
		NOT = { is_inaccessible_trigger = yes }
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.4
			trait = gluttonous
		}
		modifier = {
			factor = 0.4
			trait = wroth
		}

		modifier = {
			factor = 4.0
			trait = charitable
		}
		modifier = {
			factor = 5.0
			trait = humble
		}
	}

	option = {
		name = EVTOPTA3745
		piety = 15
	}
}

### Zealous negative - Muslim: Start ###
character_event = {
	id = 3750
	desc = EVTDESC3750
	picture = GFX_evt_jerusalem

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	religion_group = muslim
	
	is_triggered_only = yes 
	
	trigger = {
		trait = zealous		
		in_command_trigger = no		
		OR = {
			spouse = {
				is_alive = yes
				is_abroad_trigger = no
				NOT = {
					trait = zealous
				}
				opinion = { who = ROOT value = 100 }
			}
			any_child = {
				age = 15
				NOT = {
					trait = zealous
				}
				opinion = { who = ROOT value = 100 }
			}
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 4.0
			trait = gluttonous
		}
		modifier = {
			factor = 3.0
			trait = envious
		}

		modifier = {
			factor = 0.2
			trait = kind
		}
		modifier = {
			factor = 0.5
			trait = humble
		}
	}

	option = {
		name = EVTOPTA3750
		trigger = {
			spouse = {
				is_alive = yes
				is_abroad_trigger = no
				NOT = {
					trait = zealous
				}
				opinion = { who = ROOT value = 100 }
			}
		}
		spouse = {
			character_event = {
				id = 3751
				tooltip = EVTTOOLTIP3751
			}
		}
	}
	option = {
		name = EVTOPTB3750
		trigger = {
			any_child = {
				age = 15
				NOT = {
					trait = zealous
				}
				opinion = { who = ROOT value = 100 }
			}
		}
		random_child = {
			limit = {
				age = 15
				NOT = {
					trait = zealous
				}
				opinion = { who = ROOT value = 100 }
			}
			character_event = {
				id = 3751
				tooltip = EVTTOOLTIP3751
			}
		}
	}
}

#Spouse
character_event = {
	id = 3751
	desc = EVTDESC3751
	picture = GFX_evt_quarrel

	is_triggered_only = yes

	option = {
		name = {
			text = EVTOPTA3751
			trigger = {
				FROM = {
					is_female = yes
					spouse = {
						character = ROOT
					}
				}
			}
		}
		name = {
			text = EVTOPTB3751
			trigger = {
				FROM = {
					is_female = no
					spouse = {
						character = ROOT
					}
				}
			}
		}
		name = {
			text = EVTOPTC3751
			trigger = {
				father = {
					character = FROM
				}
			}
		}
		name = {
			text = EVTOPTD3751
			trigger = {
				mother = {
					character = FROM
				}
			}
		}
		FROM = {
			reverse_opinion = {
				modifier = zealous_neg
				who = ROOT
				years = 2
			}
			character_event = {
				id = 3752
				tooltip = EVTTOOLTIP3752
			}
		}
	}
}

#Root
character_event = {
	id = 3752
	desc = EVTDESC3752
	picture = GFX_evt_jerusalem

	is_triggered_only = yes

	option = {
		name = EVTOPTA3752
		FROM = {
			opinion = {
				modifier = zealous_neg
				who = ROOT
				years = 2
			}
		}
	}
}

### Zealous negative - Muslim ###
character_event = {
	id = 3755
	desc = EVTDESC3755
	picture = GFX_evt_jerusalem

	only_playable = yes
	min_age = 16
	capable_only = yes
	prisoner = no
	war = no
	religion_group = muslim
	
	is_triggered_only = yes 
	
	trigger = {		
		in_command_trigger = no
		scaled_wealth = 0.5
		trait = zealous
		NOT = {
			trait = greedy
		}
	}

	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 3.0
			trait = envious
		}
		modifier = {
			factor = 5.0
			trait = lustful
		}

		modifier = {
			factor = 0.5
			trait = temperate
		}
		modifier = {
			factor = 0.2
			trait = kind
		}
		modifier = {
			factor = 0.5
			trait = charitable
		}
		modifier = {
			factor = 0.2
			trait = honest
		}
	}

	option = {
		name = EVTOPTA3755
		scaled_wealth = -0.025
	}
}