namespace = Plus

#reserved: Plus.435 to Plus.459

########################################
# LIFESTYLE EVENTS
########################################

# completely re-written from the vanilla events
# written by Rylock

# Hunter
character_event = {
	id = Plus.435
	desc = EVTDESC_Plus_435
	picture = GFX_evt_hunt

	is_triggered_only = yes

	min_age = 25
	prisoner = no
	only_capable = yes

	trigger = {
		lifestyle_traits < 1
		martial >= 5

		OR = {
			trait = brave
			is_strong_trigger = yes
			martial >= 12
			check_variable = { which = lifestyle_martial value >= 1 }
		}

		is_weak_trigger = no
		is_inaccessible_trigger = no

		NOR = {
			trait = craven
			religion = jain
			religion = cathar
			has_character_flag = lifestyle_hunter_no
		}

		trigger_if = {
			limit = { is_female = yes }

			OR = {
				trait = martial_lady
				trait = martial_lady_tengri
				trait = martial_lady_pagan
				trait = shieldmaiden
				has_law = status_of_women_4
				has_gender_equal_game_rule_trigger = yes
			}
		}
	}

	weight_multiplier = {
		days = 1

		mult_modifier = {
			factor = 0.75
			has_dlc = "Way of Life"
		}

		mult_modifier = {
			factor = 5.0
			has_ambition = obj_adopt_a_lifestyle
		}

		mult_modifier = {
			factor = 1.5
			trait = diligent
		}

		mult_modifier = {
			factor = 1.5
			trait = brave
		}

		mult_modifier = {
			factor = 1.5
			is_strong_trigger = yes
		}

		mult_modifier = {
			factor = 1.5
			martial >= 10
		}

		mult_modifier = {
			factor = 1.5
			martial >= 15
		}

		mult_modifier = {
			factor = 1.5
			martial >= 20
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_martial value >= 1 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_martial value >= 2 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_martial value >= 3 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_martial value >= 4 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_martial value >= 5 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_martial value >= 6 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_martial value >= 7 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_martial value >= 8 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_martial value >= 9 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_martial value >= 10 }
		}
	}

	option = {
		name = EVTOPTA_Plus_435 # I'm a hunter

		add_trait = hunter

		ai_chance = {
			factor = 60

			mult_modifier = {
				factor = 2

				OR = {
					trait = brave
					is_strong_trigger = yes
				}
			}

			mult_modifier = {
				factor = 2
				religion_group = pagan_group
			}
		}
	}

	option = {
		name = EVTOPTB_Plus_435 # That lifestyle is not for me

		set_character_flag = lifestyle_hunter_no

		ai_chance = {
			factor = 40

			trigger = {
				NOT = { has_ambition = obj_adopt_a_lifestyle }
				check_variable = { which = lifestyle_martial value < 1 }
			}
		}
	}
}

# Falconer
character_event = {
	id = Plus.436
	desc = EVTDESC_Plus_436
	picture = GFX_evt_falconing

	is_triggered_only = yes

	min_age = 25
	prisoner = no
	only_capable = yes

	trigger = {
		lifestyle_traits < 1
		diplomacy >= 5
		intrigue >= 5

		OR = {
			trait = diligent
			trait = deceitful
			diplomacy >= 12
			intrigue >= 12
			check_variable = { which = lifestyle_diplomacy value >= 1 }
			check_variable = { which = lifestyle_intrigue value >= 1 }
		}

		is_inaccessible_trigger = no

		NOR = {
			trait = shy
			trait = slothful
			religion = jain
			has_character_flag = lifestyle_falconer_no
		}

	}

	weight_multiplier = {
		days = 1

		mult_modifier = {
			factor = 0.75
			has_dlc = "Way of Life"
		}

		mult_modifier = {
			factor = 5.0
			has_ambition = obj_adopt_a_lifestyle
		}

		mult_modifier = {
			factor = 1.5
			trait = diligent
		}

		mult_modifier = {
			factor = 1.5
			trait = gregarious
		}

		mult_modifier = {
			factor = 1.5
			diplomacy >= 10
		}

		mult_modifier = {
			factor = 1.5
			diplomacy >= 15
		}

		mult_modifier = {
			factor = 1.5
			diplomacy >= 20
		}

		mult_modifier = {
			factor = 1.5
			intrigue >= 10
		}

		mult_modifier = {
			factor = 1.5
			intrigue >= 15
		}

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

	option = {
		name = EVTOPTA_Plus_436 # I'm a falconer

		add_trait = falconer

		ai_chance = {
			factor = 60

			mult_modifier = {
				factor = 2

				OR = {
					trait = diligent
					trait = gregarious
				}
			}
		}
	}

	option = {
		name = EVTOPTB_Plus_435 # That lifestyle is not for me

		set_character_flag = lifestyle_falconer_no

		ai_chance = {
			factor = 40

			trigger = {
				NOT = { has_ambition = obj_adopt_a_lifestyle }
				check_variable = { which = lifestyle_diplomacy value < 1 }
			}
		}
	}
}

# Scholar
character_event = {
	id = Plus.437
	desc = EVTDESC_Plus_437
	picture = GFX_evt_library

	is_triggered_only = yes

	min_age = 25
	prisoner = no
	only_capable = yes

	trigger = {
		lifestyle_traits < 1
		learning >= 5

		OR = {
			trait = shy
			is_smart_trigger = yes
			is_priest = yes
			learning >= 12
			check_variable = { which = lifestyle_learning value >= 1 }
		}

		is_dumb_trigger = no
		is_inaccessible_trigger = no

		NOR = {
			trait = gregarious
			has_character_flag = lifestyle_scholar_no
		}
	}

	weight_multiplier = {
		days = 1

		mult_modifier = {
			factor = 0.75
			has_dlc = "Way of Life"
		}

		mult_modifier = {
			factor = 5.0
			has_ambition = obj_adopt_a_lifestyle
		}

		mult_modifier = {
			factor = 1.5
			trait = diligent
		}

		mult_modifier = {
			factor = 1.5
			is_smart_trigger = yes
		}

		mult_modifier = {
			factor = 1.5
			trait = shy
		}

		mult_modifier = {
			factor = 1.5
			learning >= 10
		}

		mult_modifier = {
			factor = 1.5
			learning >= 15
		}

		mult_modifier = {
			factor = 1.5
			learning >= 20
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_learning value >= 1 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_learning value >= 2 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_learning value >= 3 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_learning value >= 4 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_learning value >= 5 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_learning value >= 6 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_learning value >= 7 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_learning value >= 8 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_learning value >= 9 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_learning value >= 10 }
		}
	}

	option = {
		name = EVTOPTA_Plus_437 # I'm a scholar

		add_trait = scholar

		ai_chance = {
			factor = 60

			mult_modifier = {
				factor = 2

				OR = {
					trait = shy
					is_smart_trigger = yes
				}
			}
		}
	}

	option = {
		name = EVTOPTB_Plus_435 # That lifestyle is not for me

		set_character_flag = lifestyle_scholar_no

		ai_chance = {
			factor = 40

			trigger = {
				check_variable = { which = lifestyle_learning value < 1 }
				NOT = { has_ambition = obj_adopt_a_lifestyle }
			}
		}
	}
}

# Mystic
character_event = {
	id = Plus.438
	desc = EVTDESC_Plus_438
	picture = GFX_evt_library

	is_triggered_only = yes

	min_age = 25
	prisoner = no
	only_capable = yes

	trigger = {
		lifestyle_traits < 1
		learning >= 5

		OR = {
			trait = cynical
			religion_group = pagan_group
			learning >= 12
			check_variable = { which = lifestyle_learning value >= 1 }
		}

		is_inaccessible_trigger = no

		NOR = {
			trait = zealous
			has_character_flag = lifestyle_mystic_no
		}
	}

	weight_multiplier = {
		days = 1

		mult_modifier = {
			factor = 0.75
			has_dlc = "Way of Life"
		}

		mult_modifier = {
			factor = 5.0
			has_ambition = obj_adopt_a_lifestyle
		}

		mult_modifier = {
			factor = 1.5
			trait = diligent
		}

		mult_modifier = {
			factor = 1.5
			trait = deceitful
		}

		mult_modifier = {
			factor = 1.5
			trait = paranoid
		}

		mult_modifier = {
			factor = 1.5
			intrigue = 10
		}

		mult_modifier = {
			factor = 1.5
			intrigue = 15
		}

		mult_modifier = {
			factor = 1.5
			intrigue = 20
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_learning value >= 1 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_learning value >= 2 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_learning value >= 3 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_learning value >= 4 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_learning value >= 5 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_learning value >= 6 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_learning value >= 7 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_learning value >= 8 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_learning value >= 9 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_learning value >= 10 }
		}
	}

	option = {
		name = EVTOPTA_Plus_438 # I'm a mystic

		add_trait = mystic

		ai_chance = {
			factor = 20

			mult_modifier = {
				factor = 2

				OR = {
					trait = cynical
					religion_group = pagan_group
				}
			}
		}
	}

	option = {
		name = EVTOPTB_Plus_435 # That lifestyle is not for me

		set_character_flag = lifestyle_mystic_no

		ai_chance = {
			factor = 80

			trigger = {
				check_variable = { which = lifestyle_learning value < 1 }
				NOT = { has_ambition = obj_adopt_a_lifestyle }
			}
		}
	}
}

# Impaler
character_event = {
	id = Plus.439
	desc = EVTDESC_Plus_439
	picture = GFX_evt_pale_rider

	is_triggered_only = yes

	min_age = 25
	prisoner = no
	only_capable = yes

	trigger = {
		lifestyle_traits < 1
		martial >= 5

		OR = {
			trait = cruel
			trait = wroth
			martial >= 12
			check_variable = { which = lifestyle_martial value >= 1 }
		}

		is_inaccessible_trigger = no

		NOR = {
			trait = kind
			trait = charitable
			religion = jain
			religion = cathar
			has_character_flag = lifestyle_impaler_no
		}
	}

	weight_multiplier = {
		days = 1

		mult_modifier = {
			factor = 0.75
			has_dlc = "Way of Life"
		}

		mult_modifier = {
			factor = 5.0
			has_ambition = obj_adopt_a_lifestyle
		}

		mult_modifier = {
			factor = 1.5
			trait = diligent
		}

		mult_modifier = {
			factor = 1.5
			trait = cruel
		}

		mult_modifier = {
			factor = 1.5
			trait = wroth
		}

		mult_modifier = {
			factor = 1.5
			intrigue >= 10
		}

		mult_modifier = {
			factor = 1.5
			intrigue >= 15
		}

		mult_modifier = {
			factor = 1.5
			intrigue >= 20
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_martial value >= 1 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_martial value >= 2 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_martial value >= 3 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_martial value >= 4 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_martial value >= 5 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_martial value >= 6 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_martial value >= 7 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_martial value >= 8 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_martial value >= 9 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_martial value >= 10 }
		}
	}

	option = {
		name = EVTOPTA_Plus_439 # I'm an impaler

		add_trait = impaler

		ai_chance = {
			factor = 60

			mult_modifier = {
				factor = 2

				OR = {
					trait = cruel
					trait = wroth
				}
			}
		}
	}

	option = {
		name = EVTOPTB_Plus_435 # That lifestyle is not for me

		set_character_flag = lifestyle_impaler_no

		ai_chance = {
			factor = 40

			trigger = {
				check_variable = { which = lifestyle_martial value < 1 }
				NOT = { has_ambition = obj_adopt_a_lifestyle }
			}
		}
	}
}

# Gardener
character_event = {
	id = Plus.440
	desc = "EVTDESC_Plus_440"
	picture = "GFX_evt_garden"

	is_triggered_only = yes

	min_age = 25
	prisoner = no
	only_capable = yes

	trigger = {
		lifestyle_traits < 1
		stewardship >= 5

		OR = {
			trait = temperate
			trait = patient
			trait = diligent
			stewardship >= 12
			check_variable = { which = lifestyle_stewardship value >= 1 }
		}

		is_inaccessible_trigger = no

		NOR = {
			trait = slothful
			trait = wroth
			has_character_flag = lifestyle_gardener_no
		}
	}

	weight_multiplier = {
		days = 1

		mult_modifier = {
			factor = 0.75
			has_dlc = "Way of Life"
		}

		mult_modifier = {
			factor = 5.0
			has_ambition = obj_adopt_a_lifestyle
		}

		mult_modifier = {
			factor = 1.5
			trait = diligent
		}

		mult_modifier = {
			factor = 1.5
			trait = patient
		}

		mult_modifier = {
			factor = 1.5
			trait = temperate
		}

		mult_modifier = {
			factor = 1.5
			stewardship >= 10
		}

		mult_modifier = {
			factor = 1.5
			stewardship >= 15
		}

		mult_modifier = {
			factor = 1.5
			stewardship >= 20
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_stewardship value >= 1 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_stewardship value >= 2 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_stewardship value >= 3 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_stewardship value >= 4 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_stewardship value >= 5 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_stewardship value >= 6 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_stewardship value >= 7 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_stewardship value >= 8 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_stewardship value >= 9 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_stewardship value >= 10 }
		}
	}

	option = {
		name = EVTOPTA_Plus_440 # I'm a gardener

		add_trait = gardener

		ai_chance = {
			factor = 60

			mult_modifier = {
				factor = 2

				OR = {
					trait = temperate
					trait = patient
					trait = diligent
				}
			}
		}
	}

	option = {
		name = EVTOPTB_Plus_435 # That lifestyle is not for me

		set_character_flag = lifestyle_gardener_no

		ai_chance = {
			factor = 40

			trigger = {
				check_variable = { which = lifestyle_stewardship value < 1 }
				NOT = { has_ambition = obj_adopt_a_lifestyle }
			}
		}
	}
}

# Poet
character_event = {
	id = Plus.441
	desc = EVTDESC_Plus_441
	picture = GFX_evt_courtly_love

	is_triggered_only = yes

	min_age = 25
	prisoner = no
	only_capable = yes

	trigger = {
		lifestyle_traits < 1
		diplomacy >= 5

		OR = {
			trait = shy
			trait = kind
			diplomacy >= 12
			check_variable = { which = lifestyle_diplomacy value >= 1 }
		}

		is_inaccessible_trigger = no

		NOR = {
			trait = cruel
			trait = envious
			trait = gregarious
			has_character_flag = lifestyle_poet_no
		}
	}

	weight_multiplier = {
		days = 1

		mult_modifier = {
			factor = 0.75
			has_dlc = "Way of Life"
		}

		mult_modifier = {
			factor = 5.0
			has_ambition = obj_adopt_a_lifestyle
		}

		mult_modifier = {
			factor = 1.5
			trait = shy
		}

		mult_modifier = {
			factor = 1.5
			trait = kind
		}

		mult_modifier = {
			factor = 1.5
			trait = lustful
		}

		mult_modifier = {
			factor = 1.5
			diplomacy >= 10
		}

		mult_modifier = {
			factor = 1.5
			diplomacy >= 15
		}

		mult_modifier = {
			factor = 1.5
			diplomacy >= 20
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_diplomacy value >= 1 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_diplomacy value >= 2 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_diplomacy value >= 3 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_diplomacy value >= 4 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_diplomacy value >= 5 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_diplomacy value >= 6 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_diplomacy value >= 7 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_diplomacy value >= 8 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_diplomacy value >= 9 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_diplomacy value >= 10 }
		}
	}

	option = {
		name = EVTOPTA_Plus_441 # I'm a poet

		add_trait = poet

		ai_chance = {
			factor = 60

			mult_modifier = {
				factor = 2

				OR = {
					trait = shy
					trait = kind
				}
			}
		}
	}

	option = {
		name = EVTOPTB_Plus_435 # That lifestyle is not for me

		set_character_flag = lifestyle_poet_no

		ai_chance = {
			factor = 40

			trigger = {
				check_variable = { which = lifestyle_diplomacy value < 1 }
				NOT = { has_ambition = obj_adopt_a_lifestyle }
			}
		}
	}
}

# Administrator
character_event = {
	id = Plus.442
	desc = EVTDESC_Plus_442
	picture = GFX_evt_royal_court

	is_triggered_only = yes

	min_age = 25
	prisoner = no
	only_capable = yes

	trigger = {
		lifestyle_traits < 1
		stewardship >= 5

		OR = {
			trait = diligent
			trait = shy
			trait = content
			stewardship >= 12
			check_variable = { which = lifestyle_stewardship value >= 1 }
		}

		is_inaccessible_trigger = no

		NOR = {
			trait = slothful
			trait = gregarious
			has_character_flag = lifestyle_administrator_no
		}
	}

	weight_multiplier = {
		days = 1

		mult_modifier = {
			factor = 0.75
			has_dlc = "Way of Life"
		}

		mult_modifier = {
			factor = 5.0
			has_ambition = obj_adopt_a_lifestyle
		}

		mult_modifier = {
			factor = 1.5
			trait = temperate
		}

		mult_modifier = {
			factor = 1.5
			trait = shy
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_stewardship value >= 1 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_stewardship value >= 2 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_stewardship value >= 3 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_stewardship value >= 4 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_stewardship value >= 5 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_stewardship value >= 6 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_stewardship value >= 7 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_stewardship value >= 8 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_stewardship value >= 9 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_stewardship value >= 10 }
		}
	}

	option = {
		name = EVTOPTA_Plus_442 # I'm an administrator

		add_trait = administrator

		ai_chance = {
			factor = 60

			mult_modifier = {
				factor = 2

				OR = {
					trait = diligent
					trait = shy
					trait = content
				}
			}
		}
	}

	option = {
		name = EVTOPTB_Plus_435 # That lifestyle is not for me

		set_character_flag = lifestyle_administrator_no

		ai_chance = {
			factor = 40

			trigger = {
				check_variable = { which = lifestyle_stewardship value < 1 }
				NOT = { has_ambition = obj_adopt_a_lifestyle }
			}
		}
	}
}

# Hedonist
character_event = {
	id = Plus.443
	desc = EVTDESC_Plus_443
	picture = GFX_evt_brothel

	is_triggered_only = yes

	min_age = 25
	prisoner = no
	only_capable = yes

	trigger = {
		lifestyle_traits < 1
		trait = lustful

		OR = {
			trait = drunkard
			trait = gluttonous
			trait = greedy
			check_variable = { which = lifestyle_hedonist value >= 1 }
		}

		is_inaccessible_trigger = no

		NOR = {
			trait = temperate
			trait = shy
			has_character_flag = lifestyle_hedonist_no
		}
	}

	weight_multiplier = {
		days = 1

		mult_modifier = {
			factor = 0.75
			has_dlc = "Way of Life"
		}

		mult_modifier = {
			factor = 5.0
			has_ambition = obj_adopt_a_lifestyle
		}

		mult_modifier = {
			factor = 1.5
			trait = drunkard
		}

		mult_modifier = {
			factor = 1.5
			trait = gluttonous
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_hedonist value >= 1 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_hedonist value >= 2 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_hedonist value >= 3 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_hedonist value >= 4 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_hedonist value >= 5 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_hedonist value >= 6 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_hedonist value >= 7 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_hedonist value >= 8 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_hedonist value >= 9 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_hedonist value >= 10 }
		}
	}

	option = {
		name = EVTOPTA_Plus_443 # I'm a hedonist

		add_trait = hedonist

		ai_chance = {
			factor = 60

			mult_modifier = {
				factor = 2

				OR = {
					trait = drunkard
					trait = gluttonous
					trait = greedy
				}
			}
		}
	}

	option = {
		name = EVTOPTB_Plus_435 # That lifestyle is not for me

		set_character_flag = lifestyle_hedonist_no

		ai_chance = {
			factor = 40

			trigger = {
				check_variable = { which = lifestyle_hedonist value < 1 }
				NOT = { has_ambition = obj_adopt_a_lifestyle }
			}
		}
	}
}

# Duelist
character_event = {
	id = Plus.444
	desc = EVTDESC_Plus_444
	picture = GFX_evt_joust

	is_triggered_only = yes

	min_age = 25
	prisoner = no
	only_capable = yes

	trigger = {
		lifestyle_traits < 1
		martial >= 5

		OR = {
			trait = wroth
			trait = brave
			trait = ambitious
			martial >= 12
			check_variable = { which = lifestyle_martial value >= 1 }
		}

		is_weak_trigger = no
		is_inaccessible_trigger = no

		NOR = {
			trait = content
			trait = kind
			trait = craven
			has_character_flag = lifestyle_duelist_no
		}

		trigger_if = {
			limit = { is_female = yes }

			OR = {
				trait = martial_lady
				trait = martial_lady_tengri
				trait = martial_lady_pagan
				trait = shieldmaiden
				has_gender_equal_game_rule_trigger = yes
			}
		}
	}

	weight_multiplier = {
		days = 1

		mult_modifier = {
			factor = 0.75
			has_dlc = "Way of Life"
		}

		mult_modifier = {
			factor = 5.0
			has_ambition = obj_adopt_a_lifestyle
		}

		mult_modifier = {
			factor = 1.5
			trait = diligent
		}

		mult_modifier = {
			factor = 1.5
			trait = wroth
		}

		mult_modifier = {
			factor = 1.5
			trait = brave
		}

		mult_modifier = {
			factor = 1.5
			is_strong_trigger = yes
		}

		mult_modifier = {
			factor = 1.5
			martial = 10
		}

		mult_modifier = {
			factor = 1.5
			martial = 15
		}

		mult_modifier = {
			factor = 1.5
			martial = 20
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_martial value >= 1 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_martial value >= 2 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_martial value >= 3 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_martial value >= 4 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_martial value >= 5 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_martial value >= 6 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_martial value >= 7 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_martial value >= 8 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_martial value >= 9 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_martial value >= 10 }
		}
	}

	option = {
		name = EVTOPTA_Plus_444 # I'm a duelist

		add_trait = duelist
		pacifists_lose_piety_effect = yes

		ai_chance = {
			factor = 60

			mult_modifier = {
				factor = 2

				OR = {
					trait = wroth
					trait = brave
					trait = ambitious
				}
			}

			mult_modifier = {
				factor = 0.5

				OR = {
					religion = jain
					religion = cathar
					secret_religion = jain
					secret_religion = cathar
				}
			}
		}
	}

	option = {
		name = EVTOPTB_Plus_435 # That lifestyle is not for me

		set_character_flag = lifestyle_duelist_no

		ai_chance = {
			factor = 40

			trigger = {
				check_variable = { which = lifestyle_martial value < 1 }
				NOT = { has_ambition = obj_adopt_a_lifestyle }
			}
		}
	}
}

# Faqih
character_event = {
	id = Plus.445
	desc = "EVTDESC_Plus_445"
	picture = GFX_evt_shadowy_cabal

	is_triggered_only = yes

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

	trigger = {
		lifestyle_traits < 1
		learning >= 5

		OR = {
			trait = just
			trait = zealous
			learning >= 12
			check_variable = { which = lifestyle_learning value > 1 }
		}

		is_inaccessible_trigger = no

		NOR = {
			trait = cynical
			trait = slothful
			trait = hafiz
			has_character_flag = lifestyle_faqih_no

			has_alternate_start_parameter = {
				key = religion_names
				value = random
			}
		}
	}

	weight_multiplier = {
		days = 1

		mult_modifier = {
			factor = 0.75
			has_dlc = "Way of Life"
		}

		mult_modifier = {
			factor = 5.0
			has_ambition = obj_adopt_a_lifestyle
		}

		mult_modifier = {
			factor = 1.5
			trait = diligent
		}

		mult_modifier = {
			factor = 1.5
			trait = just
		}

		mult_modifier = {
			factor = 1.5
			trait = zealous
		}

		mult_modifier = {
			factor = 1.5
			learning >= 10
		}

		mult_modifier = {
			factor = 1.5
			learning >= 15
		}

		mult_modifier = {
			factor = 1.5
			learning >= 20
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_learning value >= 1 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_learning value >= 2 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_learning value >= 3 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_learning value >= 4 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_learning value >= 5 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_learning value >= 6 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_learning value >= 7 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_learning value >= 8 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_learning value >= 9 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_learning value >= 10 }
		}
	}

	option = {
		name = EVTOPTA_Plus_445 # I have become faqih

		add_trait = faqih

		ai_chance = {
			factor = 60

			mult_modifier = {
				factor = 2

				OR = {
					trait = just
					trait = zealous
				}
			}
		}
	}

	option = {
		name = EVTOPTB_Plus_435 # That lifestyle is not for me

		set_character_flag = lifestyle_faqih_no

		ai_chance = {
			factor = 40

			trigger = {
				check_variable = { which = lifestyle_learning value < 1 }
				NOT = { has_ambition = obj_adopt_a_lifestyle }
			}
		}
	}
}

# Architect
character_event = {
	id = Plus.446
	desc = "EVTDESC_Plus_446"
	picture = "GFX_evt_castle_construction"

	is_triggered_only = yes

	min_age = 25
	prisoner = no
	only_capable = yes

	trigger = {
		lifestyle_traits < 1
		stewardship >= 5

		OR = {
			trait = patient
			trait = ambitious
			trait = proud
			stewardship >= 12
			check_variable = { which = lifestyle_stewardship value >= 1 }
		}

		is_inaccessible_trigger = no

		NOR = {
			trait = wroth
			trait = content
			trait = humble
			has_character_flag = lifestyle_architect_no
		}
	}

	weight_multiplier = {
		days = 1

		mult_modifier = {
			factor = 0.75
			has_dlc = "Way of Life"
		}

		mult_modifier = {
			factor = 5.0
			has_ambition = obj_adopt_a_lifestyle
		}

		mult_modifier = {
			factor = 1.5
			trait = patient
		}

		mult_modifier = {
			factor = 1.5
			trait = ambitious
		}

		mult_modifier = {
			factor = 1.5
			trait = proud
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_stewardship value >= 1 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_stewardship value >= 2 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_stewardship value >= 3 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_stewardship value >= 4 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_stewardship value >= 5 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_stewardship value >= 6 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_stewardship value >= 7 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_stewardship value >= 8 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_stewardship value >= 9 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_stewardship value >= 10 }
		}
	}

	option = {
		name = EVTOPTA_Plus_446 # I'm an architect

		add_trait = architect

		ai_chance = {
			factor = 60

			mult_modifier = {
				factor = 2

				OR = {
					trait = patient
					trait = ambitious
					trait = proud
				}
			}
		}
	}

	option = {
		name = EVTOPTB_Plus_435 # That lifestyle is not for me

		set_character_flag = lifestyle_architect_no

		ai_chance = {
			factor = 40

			trigger = {
				check_variable = { which = lifestyle_stewardship value < 1 }
				NOT = { has_ambition = obj_adopt_a_lifestyle }
			}
		}
	}
}

# Strategist
character_event = {
	id = Plus.447
	desc = EVTDESC_Plus_447
	picture = GFX_evt_large_army

	is_triggered_only = yes

	min_age = 25
	prisoner = no
	only_capable = yes

	trigger = {
		lifestyle_traits < 1
		martial >= 5

		OR = {
			trait = patient
			trait = ambitious
			trait = paranoid
			martial >= 12
			check_variable = { which = lifestyle_martial value >= 1 }
		}

		is_inaccessible_trigger = no

		NOR = {
			trait = wroth
			trait = content
			trait = trusting
			has_character_flag = lifestyle_strategist_no
		}
	}

	weight_multiplier = {
		days = 1

		mult_modifier = {
			factor = 0.75
			has_dlc = "Way of Life"
		}

		mult_modifier = {
			factor = 5.0
			has_ambition = obj_adopt_a_lifestyle
		}

		mult_modifier = {
			factor = 1.5
			trait = patient
		}

		mult_modifier = {
			factor = 1.5
			trait = ambitious
		}

		mult_modifier = {
			factor = 1.5
			trait = paranoid
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_martial value >= 1 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_martial value >= 2 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_martial value >= 3 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_martial value >= 4 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_martial value >= 5 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_martial value >= 6 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_martial value >= 7 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_martial value >= 8 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_martial value >= 9 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_martial value >= 10 }
		}
	}

	option = {
		name = EVTOPTA_Plus_447 # I'm a strategist

		add_trait = strategist

		ai_chance = {
			factor = 60

			mult_modifier = {
				factor = 2

				OR = {
					trait = patient
					trait = ambitious
					trait = paranoid
				}
			}
		}
	}

	option = {
		name = EVTOPTB_Plus_435 # That lifestyle is not for me

		set_character_flag = lifestyle_strategist_no

		ai_chance = {
			factor = 40

			trigger = {
				check_variable = { which = lifestyle_martial value < 1 }
				NOT = { has_ambition = obj_adopt_a_lifestyle }
			}
		}
	}
}

# Socializer
character_event = {
	id = Plus.448
	desc = EVTDESC_Plus_448
	picture = GFX_evt_feast

	is_triggered_only = yes

	min_age = 25
	prisoner = no
	only_capable = yes

	trigger = {
		lifestyle_traits < 1
		diplomacy >= 5

		OR = {
			trait = gregarious
			trait = attractive
			diplomacy >= 12
			check_variable = { which = lifestyle_diplomacy value >= 1 }
		}

		is_inaccessible_trigger = no

		NOR = {
			trait = shy
			trait = ugly
			trait = paranoid
			has_character_flag = lifestyle_socializer_no
		}
	}

	weight_multiplier = {
		days = 1

		mult_modifier = {
			factor = 0.75
			has_dlc = "Way of Life"
		}

		mult_modifier = {
			factor = 5.0
			has_ambition = obj_adopt_a_lifestyle
		}

		mult_modifier = {
			factor = 1.5
			trait = gregarious
		}

		mult_modifier = {
			factor = 1.5
			trait = proud
		}

		mult_modifier = {
			factor = 1.5
			trait = attractive
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_diplomacy value >= 1 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_diplomacy value >= 2 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_diplomacy value >= 3 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_diplomacy value >= 4 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_diplomacy value >= 5 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_diplomacy value >= 6 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_diplomacy value >= 7 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_diplomacy value >= 8 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_diplomacy value >= 9 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_diplomacy value >= 10 }
		}
	}

	option = {
		name = EVTOPTA_Plus_448 # I'm a socializer

		add_trait = socializer

		ai_chance = {
			factor = 60

			mult_modifier = {
				factor = 2

				OR = {
					trait = gregarious
					trait = attractive
				}
			}
		}
	}

	option = {
		name = EVTOPTB_Plus_435 # That lifestyle is not for me

		set_character_flag = lifestyle_socializer_no

		ai_chance = {
			factor = 40

			trigger = {
				check_variable = { which = lifestyle_diplomacy value < 1 }
				NOT = { has_ambition = obj_adopt_a_lifestyle }
			}
		}
	}
}

# Schemer
character_event = {
	id = Plus.449
	desc = EVTDESC_Plus_449
	picture = GFX_evt_whispers

	is_triggered_only = yes

	min_age = 25
	prisoner = no
	only_capable = yes

	trigger = {
		lifestyle_traits < 1
		intrigue >= 5

		OR = {
			trait = paranoid
			trait = deceitful
			intrigue >= 12
			check_variable = { which = lifestyle_intrigue value > 1 }
		}

		is_inaccessible_trigger = no

		NOR = {
			trait = trusting
			trait = honest
			has_character_flag = lifestyle_schemer_no
		}
	}

	weight_multiplier = {
		days = 1

		mult_modifier = {
			factor = 0.75
			has_dlc = "Way of Life"
		}

		mult_modifier = {
			factor = 5.0
			has_ambition = obj_adopt_a_lifestyle
		}

		mult_modifier = {
			factor = 1.5
			trait = paranoid
		}

		mult_modifier = {
			factor = 1.5
			trait = deceitful
		}

		mult_modifier = {
			factor = 1.5
			trait = patient
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_intrigue value >= 1 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_intrigue value >= 2 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_intrigue value >= 3 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_intrigue value >= 4 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_intrigue value >= 5 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_intrigue value >= 6 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_intrigue value >= 7 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_intrigue value >= 8 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_intrigue value >= 9 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_intrigue value >= 10 }
		}
	}

	option = {
		name = EVTOPTA_Plus_449 # I'm a schemer

		add_trait = master_schemer

		ai_chance = {
			factor = 60

			mult_modifier = {
				factor = 2

				OR = {
					trait = paranoid
					trait = deceitful
				}
			}
		}
	}

	option = {
		name = EVTOPTB_Plus_435 # That lifestyle is not for me

		set_character_flag = lifestyle_strategist_no

		ai_chance = {
			factor = 40

			trigger = {
				check_variable = { which = lifestyle_intrigue value < 1 }
				NOT = { has_ambition = obj_adopt_a_lifestyle }
			}
		}
	}
}

# Gamer
character_event = {
	id = Plus.450
	desc = EVTDESC_Plus_450
	picture = GFX_evt_market

	is_triggered_only = yes

	min_age = 25
	prisoner = no
	only_capable = yes

	trigger = {
		lifestyle_traits < 1
		intrigue >= 5

		OR = {
			trait = patient
			trait = just
			intrigue >= 12
			check_variable = { which = lifestyle_intrigue value >= 1 }
		}

		is_inaccessible_trigger = no

		NOR = {
			trait = wroth
			trait = arbitrary
			has_character_flag = lifestyle_gamer_no
		}
	}

	weight_multiplier = {
		days = 1

		mult_modifier = {
			factor = 0.75
			has_dlc = "Way of Life"
		}

		mult_modifier = {
			factor = 5.0
			has_ambition = obj_adopt_a_lifestyle
		}

		mult_modifier = {
			factor = 1.5
			trait = patient
		}

		mult_modifier = {
			factor = 1.5
			trait = just
		}

		mult_modifier = {
			factor = 1.5
			trait = gluttonous
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_intrigue value >= 1 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_intrigue value >= 2 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_intrigue value >= 3 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_intrigue value >= 4 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_intrigue value >= 5 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_intrigue value >= 6 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_intrigue value >= 7 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_intrigue value >= 8 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_intrigue value >= 9 }
		}

		mult_modifier = {
			factor = 2.0
			check_variable = { which = lifestyle_intrigue value >= 10 }
		}
	}

	option = {
		name = EVTOPTA_Plus_450 # I'm a gamer

		add_trait = game_master

		ai_chance = {
			factor = 60

			mult_modifier = {
				factor = 2

				OR = {
					trait = patient
					trait = just
				}
			}
		}
	}

	option = {
		name = EVTOPTB_Plus_435 # That lifestyle is not for me

		set_character_flag = lifestyle_gamer_no

		ai_chance = {
			factor = 40

			trigger = {
				check_variable = { which = lifestyle_intrigue value < 1 }
				NOT = { has_ambition = obj_adopt_a_lifestyle }
			}
		}
	}
}

### GAIN LIFESTYLE AMBITION EVENTS

# A traveling merchant visits during a storm
character_event = {
	id = Plus.451
	desc = EVTDESC_Plus_451
	picture = GFX_evt_emissary

	is_triggered_only = yes

	only_rulers = yes
	only_capable = yes
	min_age = 25
	war = no
	prisoner = no

	trigger = {
		lifestyle_traits < 1
		diplomacy >= 5

		is_ill = no
		is_inaccessible_trigger = no
		check_variable = { which = lifestyle_diplomacy value < 2 }
		NOT = { has_character_flag = lifestyle_diplomacy1_check }
	}

	weight_multiplier = {
		days = 1

		mult_modifier = {
			factor = 0.75
			has_dlc = "Way of Life"
		}

		mult_modifier = {
			factor = 5.0
			has_ambition = obj_adopt_a_lifestyle
		}

		mult_modifier = {
			factor = 1.5
			diplomacy >= 12
		}

		mult_modifier = {
			factor = 1.25
			age >= 30
		}

		mult_modifier = {
			factor = 1.25
			age >= 35
		}

		mult_modifier = {
			factor = 1.25
			age >= 40
		}

		mult_modifier = {
			factor = 1.25
			age >= 45
		}
	}

	immediate = {
		set_character_flag = lifestyle_diplomacy1_check
	}

	option = {
		name = EVTOPTA_Plus_451 # Diplomacy

		hidden_effect = {
			change_variable = {
				which = lifestyle_diplomacy
				value = 1
			}
		}

		random = {
			chance = 20
			change_diplomacy = 1
		}

		ai_chance = {
			factor = 10

			mult_modifier = {
				factor = 2
				diplomacy >= 12
			}

			mult_modifier = {
				factor = 1.5
				trait = naive_appeaser
			}

			mult_modifier = {
				factor = 2.0
				trait = underhanded_rogue
			}

			mult_modifier = {
				factor = 3.0
				trait = charismatic_negotiator
			}

			mult_modifier = {
				factor = 4.0
				trait = grey_eminence
			}
		}
	}

	option = {
		name = EVTOPTB_Plus_451 # Martial

		hidden_effect = {
			change_variable = {
				which = lifestyle_martial
				value = 1
			}
		}

		random = {
			chance = 20
			change_martial = 1
		}

		ai_chance = {
			factor = 10

			trigger = { martial >= 5 }

			mult_modifier = {
				factor = 2
				martial >= 12
			}

			mult_modifier = {
				factor = 1.5
				trait = misguided_warrior
			}

			mult_modifier = {
				factor = 2.0
				trait = tough_soldier
			}

			mult_modifier = {
				factor = 3.0
				trait = skilled_tactician
			}

			mult_modifier = {
				factor = 4.0
				trait = brilliant_strategist
			}
		}
	}

	option = {
		name = EVTOPTC_Plus_451 # Learning

		hidden_effect = {
			change_variable = {
				which = lifestyle_learning
				value = 1
			}
		}

		random = {
			chance = 20
			change_learning = 1
		}

		ai_chance = {
			factor = 10

			trigger = { learning > 5 }

			mult_modifier = {
				factor = 2
				learning >= 12
			}

			mult_modifier = {
				factor = 1.5
				trait = detached_priest
			}

			mult_modifier = {
				factor = 2.0
				trait = dutiful_cleric
			}

			mult_modifier = {
				factor = 3.0
				trait = scholarly_theologian
			}

			mult_modifier = {
				factor = 4.0
				trait = mastermind_theologian
			}
		}
	}

	option = {
		name = EVTOPTD_Plus_451 # None of the above

		random = {
			chance = 20
			remove_trait_silently_stressed_effect = yes
		}

		random = {
			chance = 20
			remove_trait_silently_depressed_effect = yes
		}

		ai_chance = { factor = 10 }
	}
}

# A function is happening in the capital
character_event = {
	id = Plus.452
	desc = EVTDESC_Plus_452
	picture = GFX_evt_jugglers

	is_triggered_only = yes

	min_age = 25
	only_capable = yes
	war = no
	prisoner = no

	trigger = {
		lifestyle_traits < 1
		diplomacy >= 5
		is_inaccessible_trigger = no
		check_variable = { which = lifestyle_diplomacy value < 2 }
		NOT = { has_character_flag = lifestyle_diplomacy2_check }
	}

	weight_multiplier = {
		days = 1

		mult_modifier = {
			factor = 0.75
			has_dlc = "Way of Life"
		}

		mult_modifier = {
			factor = 5.0
			has_ambition = obj_adopt_a_lifestyle
		}

		mult_modifier = {
			factor = 1.5
			diplomacy >= 12
		}

		mult_modifier = {
			factor = 1.25
			age >= 30
		}

		mult_modifier = {
			factor = 1.25
			age >= 35
		}

		mult_modifier = {
			factor = 1.25
			age >= 40
		}

		mult_modifier = {
			factor = 1.25
			age >= 45
		}
	}

	immediate = {
		set_character_flag = lifestyle_diplomacy2_check
	}

	option = {
		name = EVTOPTA_Plus_452 # Diplomacy

		hidden_effect = {
			change_variable = {
				which = lifestyle_diplomacy
				value = 1
			}
		}

		random = {
			chance = 20
			change_diplomacy = 1
		}

		ai_chance = {
			factor = 10

			mult_modifier = {
				factor = 2
				diplomacy >= 12
			}

			mult_modifier = {
				factor = 1.5
				trait = naive_appeaser
			}

			mult_modifier = {
				factor = 2.0
				trait = underhanded_rogue
			}

			mult_modifier = {
				factor = 3.0
				trait = charismatic_negotiator
			}

			mult_modifier = {
				factor = 4.0
				trait = grey_eminence
			}
		}
	}

	option = {
		name = EVTOPTB_Plus_452 # Intrigue

		hidden_effect = {
			change_variable = {
				which = lifestyle_intrigue
				value = 1
			}
		}

		random = {
			chance = 20
			change_intrigue = 1
		}

		ai_chance = {
			factor = 10

			trigger = { intrigue >= 5 }

			mult_modifier = {
				factor = 2
				intrigue >= 12
			}

			mult_modifier = {
				factor = 1.5
				trait = amateurish_plotter
			}

			mult_modifier = {
				factor = 2.0
				trait = flamboyant_schemer
			}

			mult_modifier = {
				factor = 3.0
				trait = intricate_webweaver
			}

			mult_modifier = {
				factor = 4.0
				trait = elusive_shadow
			}
		}
	}

	option = {
		name = EVTOPTC_Plus_452 # Stewardship

		hidden_effect = {
			change_variable = {
				which = lifestyle_stewardship
				value = 1
			}
		}

		random = {
			chance = 20
			change_stewardship = 1
		}

		ai_chance = {
			factor = 10

			trigger = { stewardship >= 5 }

			mult_modifier = {
				factor = 2
				stewardship >= 12
			}

			mult_modifier = {
				factor = 1.5
				trait = indulgent_wastrel
			}

			mult_modifier = {
				factor = 2.0
				trait = thrifty_clerk
			}

			mult_modifier = {
				factor = 3.0
				trait = fortune_builder
			}

			mult_modifier = {
				factor = 4.0
				trait = midas_touched
			}
		}
	}

	option = {
		name = EVTOPTD_Plus_452 # None of the above

		random = {
			chance = 20
			remove_trait_silently_stressed_effect = yes
		}

		random = {
			chance = 20
			remove_trait_silently_depressed_effect = yes
		}
	}
}

# See your knights sparring together
character_event = {
	id = Plus.453
	desc = EVTDESC_Plus_453
	picture = GFX_evt_melee

	is_triggered_only = yes

	only_rulers = yes
	only_capable = yes
	war = no
	min_age = 25
	prisoner = no

	trigger = {
		lifestyle_traits < 1
		martial >= 5
		is_inaccessible_trigger = no
		check_variable = { which = lifestyle_martial value < 2 }
		NOT = { has_character_flag = lifestyle_martial1_check }
	}

	weight_multiplier = {
		days = 1

		mult_modifier = {
			factor = 0.75
			has_dlc = "Way of Life"
		}

		mult_modifier = {
			factor = 5.0
			has_ambition = obj_adopt_a_lifestyle
		}

		mult_modifier = {
			factor = 1.5
			martial >= 12
		}

		mult_modifier = {
			factor = 1.25
			age >= 30
		}

		mult_modifier = {
			factor = 1.25
			age >= 35
		}

		mult_modifier = {
			factor = 1.25
			age >= 40
		}

		mult_modifier = {
			factor = 1.25
			age >= 45
		}
	}

	immediate = {
		set_character_flag = lifestyle_martial1_check
	}

	option = {
		name = EVTOPTA_Plus_453 # Martial

		hidden_effect = {
			change_variable = {
				which = lifestyle_martial
				value = 1
			}
		}

		random = {
			chance = 20
			change_martial = 1
		}

		ai_chance = {
			factor = 10

			mult_modifier = {
				factor = 2
				martial >= 12
			}

			mult_modifier = {
				factor = 1.5
				trait = misguided_warrior
			}

			mult_modifier = {
				factor = 2.0
				trait = tough_soldier
			}

			mult_modifier = {
				factor = 3.0
				trait = skilled_tactician
			}

			mult_modifier = {
				factor = 4.0
				trait = brilliant_strategist
			}
		}
	}

	option = {
		name = EVTOPTB_Plus_453 # Diplomacy

		hidden_effect = {
			change_variable = {
				which = lifestyle_diplomacy
				value = 1
			}
		}

		random = {
			chance = 20
			change_diplomacy = 1
		}

		ai_chance = {
			factor = 10

			trigger = { diplomacy >= 5 }

			mult_modifier = {
				factor = 2
				diplomacy >= 12
			}

			mult_modifier = {
				factor = 1.5
				trait = naive_appeaser
			}

			mult_modifier = {
				factor = 2.0
				trait = underhanded_rogue
			}

			mult_modifier = {
				factor = 3.0
				trait = charismatic_negotiator
			}

			mult_modifier = {
				factor = 4.0
				trait = grey_eminence
			}
		}
	}

	option = {
		name = EVTOPTC_Plus_453 # Learning

		hidden_effect = {
			change_variable = {
				which = lifestyle_learning
				value = 1
			}
		}

		random = {
			chance = 20
			change_learning = 1
		}

		ai_chance = {
			factor = 10

			trigger = { learning >= 5 }

			mult_modifier = {
				factor = 2
				learning >= 12
			}

			mult_modifier = {
				factor = 1.5
				trait = detached_priest
			}

			mult_modifier = {
				factor = 2.0
				trait = dutiful_cleric
			}

			mult_modifier = {
				factor = 3.0
				trait = scholarly_theologian
			}

			mult_modifier = {
				factor = 4.0
				trait = mastermind_theologian
			}
		}
	}

	option = {
		name = EVTOPTD_Plus_453 # None of the above

		random = {
			chance = 20
			health = 0.25
		}
	}
}

#Courtiers arguing about the war
character_event = {
	id = Plus.454
	desc = EVTDESC_Plus_454
	picture = GFX_evt_warrior_banners

	is_triggered_only = yes

	war = yes
	only_capable = yes
	min_age = 25
	prisoner = no

	trigger = {
		lifestyle_traits < 1
		martial >= 5
		is_inaccessible_trigger = no
		check_variable = { which = lifestyle_martial value < 2 }
		NOT = { has_character_flag = lifestyle_martial2_check }
	}

	weight_multiplier = {
		days = 1

		mult_modifier = {
			factor = 0.75
			has_dlc = "Way of Life"
		}

		mult_modifier = {
			factor = 5.0
			has_ambition = obj_adopt_a_lifestyle
		}

		mult_modifier = {
			factor = 1.5
			martial >= 12
		}

		mult_modifier = {
			factor = 1.25
			age >= 30
		}

		mult_modifier = {
			factor = 1.25
			age >= 35
		}

		mult_modifier = {
			factor = 1.25
			age >= 40
		}

		mult_modifier = {
			factor = 1.25
			age >= 45
		}
	}

	immediate = {
		set_character_flag = lifestyle_martial2_check
	}

	option = {
		name = EVTOPTA_Plus_454 # Martial

		hidden_effect = {
			change_variable = {
				which = lifestyle_martial
				value = 1
			}
		}

		random = {
			chance = 20
			change_martial = 1
		}

		ai_chance = {
			factor = 10

			mult_modifier = {
				factor = 2
				martial >= 12
			}

			mult_modifier = {
				factor = 1.5
				trait = misguided_warrior
			}

			mult_modifier = {
				factor = 2.0
				trait = tough_soldier
			}

			mult_modifier = {
				factor = 3.0
				trait = skilled_tactician
			}

			mult_modifier = {
				factor = 4.0
				trait = brilliant_strategist
			}
		}
	}

	option = {
		name = EVTOPTB_Plus_454 # Intrigue

		hidden_effect = {
			change_variable = {
				which = lifestyle_intrigue
				value = 1
			}
		}

		random = {
			chance = 20
			change_intrigue = 1
		}

		ai_chance = {
			factor = 10

			trigger = { intrigue >= 5 }

			mult_modifier = {
				factor = 2
				intrigue >= 12
			}

			mult_modifier = {
				factor = 1.5
				trait = amateurish_plotter
			}

			mult_modifier = {
				factor = 2.0
				trait = flamboyant_schemer
			}

			mult_modifier = {
				factor = 3.0
				trait = intricate_webweaver
			}

			mult_modifier = {
				factor = 4.0
				trait = elusive_shadow
			}
		}
	}

	option = {
		name = EVTOPTC_Plus_454 # Stewardship

		hidden_effect = {
			change_variable = {
				which = lifestyle_stewardship
				value = 1
			}
		}

		random = {
			chance = 20
			change_stewardship = 1
		}

		ai_chance = {
			factor = 10

			trigger = { stewardship >= 5 }

			mult_modifier = {
				factor = 2
				stewardship >= 12
			}

			mult_modifier = {
				factor = 1.5
				trait = indulgent_wastrel
			}

			mult_modifier = {
				factor = 2.0
				trait = thrifty_clerk
			}

			mult_modifier = {
				factor = 3.0
				trait = fortune_builder
			}

			mult_modifier = {
				factor = 4.0
				trait = midas_touched
			}
		}
	}

	option = {
		name = EVTOPTD_Plus_454 # None of the above

		random = {
			chance = 20
			health = 0.25
		}
	}
}

# A day of peace for a ruler
character_event = {
	id = Plus.455
	desc = EVTDESC_Plus_455
	picture = GFX_evt_battle

	is_triggered_only = yes

	only_rulers = yes
	war = no
	min_age = 25
	prisoner = no
	only_capable = yes

	trigger = {
		lifestyle_traits < 1
		stewardship > 5
		is_inaccessible_trigger = no
		check_variable = { which = lifestyle_stewardship value < 2 }

		NOR = {
			any_liege = { war = yes }
			has_character_flag = lifestyle_stewardship1_check
		}
	}

	weight_multiplier = {
		days = 1

		mult_modifier = {
			factor = 0.75
			has_dlc = "Way of Life"
		}

		mult_modifier = {
			factor = 5.0
			has_ambition = obj_adopt_a_lifestyle
		}

		mult_modifier = {
			factor = 1.5
			stewardship >= 12
		}

		mult_modifier = {
			factor = 1.25
			age >= 30
		}

		mult_modifier = {
			factor = 1.25
			age >= 35
		}

		mult_modifier = {
			factor = 1.25
			age >= 40
		}

		mult_modifier = {
			factor = 1.25
			age >= 45
		}
	}

	immediate = {
		set_character_flag = lifestyle_stewardship1_check
	}

	option = {
		name = EVTOPTA_Plus_455 # Stewardship

		hidden_effect = {
			change_variable = {
				which = lifestyle_stewardship
				value = 1
			}
		}

		random = {
			chance = 20
			change_stewardship = 1
		}

		ai_chance = {
			factor = 10

			mult_modifier = {
				factor = 2
				stewardship >= 12
			}

			mult_modifier = {
				factor = 1.5
				trait = indulgent_wastrel
			}

			mult_modifier = {
				factor = 2.0
				trait = thrifty_clerk
			}

			mult_modifier = {
				factor = 3.0
				trait = fortune_builder
			}

			mult_modifier = {
				factor = 4.0
				trait = midas_touched
			}
		}
	}

	option = {
		name = EVTOPTB_Plus_455 # Martial

		hidden_effect = {
			change_variable = {
				which = lifestyle_martial
				value = 1
			}
		}

		random = {
			chance = 20
			change_martial = 1
		}

		ai_chance = {
			factor = 10

			trigger = { martial >= 5 }

			mult_modifier = {
				factor = 2
				martial = 12
			}

			mult_modifier = {
				factor = 1.5
				trait = misguided_warrior
			}

			mult_modifier = {
				factor = 2.0
				trait = tough_soldier
			}

			mult_modifier = {
				factor = 3.0
				trait = skilled_tactician
			}

			mult_modifier = {
				factor = 4.0
				trait = brilliant_strategist
			}
		}
	}

	option = {
		name = EVTOPTC_Plus_455 # Learning

		hidden_effect = {
			change_variable = {
				which = lifestyle_learning
				value = 1
			}
		}

		random = {
			chance = 20
			change_learning = 1
		}

		ai_chance = {
			factor = 10

			trigger = { learning >= 5 }

			mult_modifier = {
				factor = 2
				learning >= 12
			}

			mult_modifier = {
				factor = 1.5
				trait = detached_priest
			}

			mult_modifier = {
				factor = 2.0
				trait = dutiful_cleric
			}

			mult_modifier = {
				factor = 3.0
				trait = scholarly_theologian
			}

			mult_modifier = {
				factor = 4.0
				trait = mastermind_theologian
			}
		}
	}

	option = {
		name = EVTOPTD_Plus_455 # None of the above

		random_courtier = {
			show_scope_change = no

			limit = {
				OR = {
					is_close_relative = ROOT
					is_consort = ROOT
					is_lover = ROOT
				}
			}

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

# A disturbance in the market
character_event = {
	id = Plus.456
	desc = EVTDESC_Plus_456
	picture = GFX_evt_riots_byzantine

	is_triggered_only = yes

	only_rulers = yes
	war = no
	min_age = 25
	prisoner = no
	only_capable = yes

	trigger = {
		lifestyle_traits < 1
		stewardship >= 5
		is_inaccessible_trigger = no
		check_variable = { which = lifestyle_stewardship value < 2 }
		NOT = { has_character_flag = lifestyle_stewardship2_check }
	}

	weight_multiplier = {
		days = 1

		mult_modifier = {
			factor = 0.75
			has_dlc = "Way of Life"
		}

		mult_modifier = {
			factor = 5.0
			has_ambition = obj_adopt_a_lifestyle
		}

		mult_modifier = {
			factor = 1.5
			stewardship >= 12
		}

		mult_modifier = {
			factor = 1.25
			age >= 30
		}

		mult_modifier = {
			factor = 1.25
			age >= 35
		}

		mult_modifier = {
			factor = 1.25
			age >= 40
		}

		mult_modifier = {
			factor = 1.25
			age >= 45
		}
	}

	immediate = {
		set_character_flag = lifestyle_stewardship2_check
	}

	option = {
		name = EVTOPTA_Plus_456 # Stewardship

		hidden_effect = {
			change_variable = {
				which = lifestyle_stewardship
				value = 1
			}
		}

		random = {
			chance = 20
			change_stewardship = 1
		}

		ai_chance = {
			factor = 10

			mult_modifier = {
				factor = 2
				stewardship >= 12
			}

			mult_modifier = {
				factor = 1.5
				trait = indulgent_wastrel
			}

			mult_modifier = {
				factor = 2.0
				trait = thrifty_clerk
			}

			mult_modifier = {
				factor = 3.0
				trait = fortune_builder
			}

			mult_modifier = {
				factor = 4.0
				trait = midas_touched
			}
		}
	}

	option = {
		name = EVTOPTB_Plus_456 # Diplomacy

		hidden_effect = {
			change_variable = {
				which = lifestyle_diplomacy
				value = 1
			}
		}

		random = {
			chance = 20
			change_diplomacy = 1
		}

		ai_chance = {
			factor = 10

			trigger = { diplomacy >= 5 }

			mult_modifier = {
				factor = 2
				diplomacy >= 12
			}

			mult_modifier = {
				factor = 1.5
				trait = naive_appeaser
			}

			mult_modifier = {
				factor = 2.0
				trait = underhanded_rogue
			}

			mult_modifier = {
				factor = 3.0
				trait = charismatic_negotiator
			}

			mult_modifier = {
				factor = 4.0
				trait = grey_eminence
			}
		}
	}

	option = {
		name = EVTOPTC_Plus_456 # Intrigue

		hidden_effect = {
			change_variable = {
				which = lifestyle_intrigue
				value = 1
			}
		}

		random = {
			chance = 20
			change_intrigue = 1
		}

		ai_chance = {
			factor = 10

			trigger = { intrigue >= 5 }

			mult_modifier = {
				factor = 2
				intrigue >= 12
			}

			mult_modifier = {
				factor = 1.5
				trait = amateurish_plotter
			}

			mult_modifier = {
				factor = 2.0
				trait = flamboyant_schemer
			}

			mult_modifier = {
				factor = 3.0
				trait = intricate_webweaver
			}

			mult_modifier = {
				factor = 4.0
				trait = elusive_shadow
			}
		}
	}

	option = {
		name = EVTOPTD_Plus_456 # None of the above

		add_character_modifier = {
			name = attentive_liege
			years = 1
		}
	}
}

# Wondering about rival
character_event = {
	id = Plus.457
	desc = EVTDESC_Plus_457
	picture = GFX_evt_shadow

	is_triggered_only = yes

	rivals = yes
	min_age = 25
	prisoner = no
	only_capable = yes

	trigger = {
		lifestyle_traits < 1
		intrigue = 5
		is_inaccessible_trigger = no
		check_variable = { which = lifestyle_intrigue value < 2 }
		NOT = { has_character_flag = lifestyle_intrigue1_check }
	}

	weight_multiplier = {
		days = 1

		mult_modifier = {
			factor = 0.75
			has_dlc = "Way of Life"
		}

		mult_modifier = {
			factor = 5.0
			has_ambition = obj_adopt_a_lifestyle
		}

		mult_modifier = {
			factor = 1.5
			intrigue >= 12
		}

		mult_modifier = {
			factor = 1.25
			age >= 30
		}

		mult_modifier = {
			factor = 1.25
			age >= 35
		}

		mult_modifier = {
			factor = 1.25
			age >= 40
		}

		mult_modifier = {
			factor = 1.25
			age >= 45
		}
	}

	immediate = {
		set_character_flag = lifestyle_intrigue1_check

		random_rival = {
			save_event_target_as = target_rival
		}
	}

	option = {
		name = EVTOPTA_Plus_457 # Intrigue

		hidden_effect = {
			change_variable = {
				which = lifestyle_intrigue
				value = 1
			}
		}

		random = {
			chance = 20
			change_intrigue = 1
		}

		ai_chance = {
			factor = 10

			mult_modifier = {
				factor = 2
				intrigue >= 12
			}

			mult_modifier = {
				factor = 1.5
				trait = amateurish_plotter
			}

			mult_modifier = {
				factor = 2.0
				trait = flamboyant_schemer
			}

			mult_modifier = {
				factor = 3.0
				trait = intricate_webweaver
			}

			mult_modifier = {
				factor = 4.0
				trait = elusive_shadow
			}
		}
	}

	option = {
		name = EVTOPTB_Plus_457 # Martial

		hidden_effect = {
			change_variable = {
				which = lifestyle_martial
				value = 1
			}
		}

		random = {
			chance = 20
			change_martial = 1
		}

		ai_chance = {
			factor = 10

			trigger = { martial >= 5 }

			mult_modifier = {
				factor = 2
				martial >= 12
			}

			mult_modifier = {
				factor = 1.5
				trait = misguided_warrior
			}

			mult_modifier = {
				factor = 2.0
				trait = tough_soldier
			}

			mult_modifier = {
				factor = 3.0
				trait = skilled_tactician
			}

			mult_modifier = {
				factor = 4.0
				trait = brilliant_strategist
			}
		}
	}

	option = {
		name = EVTOPTC_Plus_457 # Diplomacy

		hidden_effect = {
			change_variable = {
				which = lifestyle_diplomacy
				value = 1
			}
		}

		random = {
			chance = 20
			change_diplomacy = 1
		}

		ai_chance = {
			factor = 10

			trigger = { diplomacy >= 5 }

			mult_modifier = {
				factor = 2
				diplomacy >= 12
			}

			mult_modifier = {
				factor = 1.5
				trait = naive_appeaser
			}

			mult_modifier = {
				factor = 2.0
				trait = underhanded_rogue
			}

			mult_modifier = {
				factor = 3.0
				trait = charismatic_negotiator
			}

			mult_modifier = {
				factor = 4.0
				trait = grey_eminence
			}
		}
	}

	option = {
		name = EVTOPTD_Plus_457 # None of the above

		piety = 25

		random = {
			chance = 20

			if = {
				limit = { trait = wroth }
				remove_trait = wroth
			}
			else_if = {
				limit = { NOT = { trait = patient } }
				add_trait = patient
			}
		}
	}
}

# Thinking about the plot
character_event = {
	id = Plus.458
	desc = EVTDESC_Plus_458
	picture = GFX_evt_shadowy_cabal

	is_triggered_only = yes

	is_part_of_plot = yes
	min_age = 25
	prisoner = no
	only_capable = yes

	trigger = {
		lifestyle_traits < 1
		intrigue >= 5
		is_inaccessible_trigger = no
		check_variable = { which = lifestyle_intrigue value < 2 }
		NOT = { has_character_flag = lifestyle_intrigue2_check }
	}

	weight_multiplier = {
		days = 1

		mult_modifier = {
			factor = 0.75
			has_dlc = "Way of Life"
		}

		mult_modifier = {
			factor = 5.0
			has_ambition = obj_adopt_a_lifestyle
		}

		mult_modifier = {
			factor = 1.5
			intrigue >= 12
		}

		mult_modifier = {
			factor = 1.25
			age >= 30
		}

		mult_modifier = {
			factor = 1.25
			age >= 35
		}

		mult_modifier = {
			factor = 1.25
			age >= 40
		}

		mult_modifier = {
			factor = 1.25
			age >= 45
		}
	}

	immediate = {
		set_character_flag = lifestyle_intrigue2_check
	}

	option = {
		name = EVTOPTA_Plus_458 # Intrigue

		hidden_effect = {
			change_variable = {
				which = lifestyle_intrigue
				value = 1
			}
		}

		random = {
			chance = 20
			change_intrigue = 1
		}

		ai_chance = {
			factor = 10

			mult_modifier = {
				factor = 2
				intrigue >= 12
			}

			mult_modifier = {
				factor = 1.5
				trait = amateurish_plotter
			}

			mult_modifier = {
				factor = 2.0
				trait = flamboyant_schemer
			}

			mult_modifier = {
				factor = 3.0
				trait = intricate_webweaver
			}

			mult_modifier = {
				factor = 4.0
				trait = elusive_shadow
			}
		}
	}

	option = {
		name = EVTOPTB_Plus_458 # Learning

		hidden_effect = {
			change_variable = {
				which = lifestyle_learning
				value = 1
			}
		}

		random = {
			chance = 20
			change_learning = 1
		}

		ai_chance = {
			factor = 10

			trigger = { learning >= 5 }

			mult_modifier = {
				factor = 2
				learning >= 12
			}

			mult_modifier = {
				factor = 1.5
				trait = detached_priest
			}

			mult_modifier = {
				factor = 2.0
				trait = dutiful_cleric
			}

			mult_modifier = {
				factor = 3.0
				trait = scholarly_theologian
			}

			mult_modifier = {
				factor = 4.0
				trait = mastermind_theologian
			}
		}
	}

	option = {
		name = EVTOPTC_Plus_458 # Stewardship

		hidden_effect = {
			change_variable = {
				which = lifestyle_stewardship
				value = 1
			}
		}

		random = {
			chance = 20
			change_stewardship = 1
		}

		ai_chance = {
			factor = 10

			trigger = { stewardship >= 5 }

			mult_modifier = {
				factor = 2
				stewardship >= 12
			}

			mult_modifier = {
				factor = 1.5
				trait = indulgent_wastrel
			}

			mult_modifier = {
				factor = 2.0
				trait = thrifty_clerk
			}

			mult_modifier = {
				factor = 3.0
				trait = fortune_builder
			}

			mult_modifier = {
				factor = 4.0
				trait = midas_touched
			}
		}
	}

	option = {
		name = EVTOPTD_Plus_458 # None of the above

		if = {
			limit = {
				NOR = {
					has_character_modifier = plot_assisted_spying
					has_character_modifier = plot_assisted_spying2
					has_character_modifier = plot_assisted_spying3
					has_character_modifier = plot_assisted_spying4
					has_character_modifier = plot_assisted_spying5
				}
			}

			add_character_modifier = {
				name = plot_assisted_spying
				months = 3
			}
		}

		if = {
			limit = { NOT = { trait = wroth } }

			random = {
				chance = 20
				add_trait_wroth_effect = yes
				remove_trait_silently_patient_effect = yes
			}
		}
	}
}

# Debate with a zealous courtier
character_event = {
	id = Plus.434
	desc = EVTDESC_Plus_434
	picture = GFX_evt_bishop

	is_triggered_only = yes

	only_rulers = yes
	war = no
	min_age = 25
	prisoner = no
	only_capable = yes

	trigger = {
		lifestyle_traits < 1
		learning >= 5

		any_vassal = {
			is_adult = yes

			OR = {
				trait = zealous
				learning >= 12
			}
		}

		is_inaccessible_trigger = no
		NOT = { has_character_flag = lifestyle_learning1_check }
		check_variable = { which = lifestyle_learning value < 2 }
	}

	weight_multiplier = {
		days = 1

		mult_modifier = {
			factor = 0.75
			has_dlc = "Way of Life"
		}

		mult_modifier = {
			factor = 5.0
			has_ambition = obj_adopt_a_lifestyle
		}

		mult_modifier = {
			factor = 1.5
			learning >= 12
		}

		mult_modifier = {
			factor = 1.25
			age >= 30
		}

		mult_modifier = {
			factor = 1.25
			age >= 35
		}

		mult_modifier = {
			factor = 1.25
			age >= 40
		}

		mult_modifier = {
			factor = 1.25
			age >= 45
		}
	}

	immediate = {
		set_character_flag = lifestyle_learning1_check

		random_vassal = {
			limit = {
				is_adult = yes

				OR = {
					trait = zealous
					learning >= 12
				}
			}

			save_event_target_as = debater
		}
	}

	option = {
		name = EVTOPTA_Plus_434 # Learning

		hidden_effect = {
			change_variable = {
				which = lifestyle_learning
				value = 1
			}
		}

		random = {
			chance = 20
			change_learning = 1
		}

		ai_chance = {
			factor = 10

			mult_modifier = {
				factor = 2
				learning >= 12
			}

			mult_modifier = {
				factor = 1.5
				trait = detached_priest
			}

			mult_modifier = {
				factor = 2.0
				trait = dutiful_cleric
			}

			mult_modifier = {
				factor = 3.0
				trait = scholarly_theologian
			}

			mult_modifier = {
				factor = 4.0
				trait = mastermind_theologian
			}
		}
	}

	option = {
		name = EVTOPTB_Plus_434 # Diplomacy

		hidden_effect = {
			change_variable = {
				which = lifestyle_diplomacy
				value = 1
			}
		}

		random = {
			chance = 20
			change_diplomacy = 1
		}

		ai_chance = {
			factor = 10

			trigger = { diplomacy >= 5 }

			mult_modifier = {
				factor = 2
				diplomacy >= 12
			}

			mult_modifier = {
				factor = 1.5
				trait = naive_appeaser
			}

			mult_modifier = {
				factor = 2.0
				trait = underhanded_rogue
			}

			mult_modifier = {
				factor = 3.0
				trait = charismatic_negotiator
			}

			mult_modifier = {
				factor = 4.0
				trait = grey_eminence
			}
		}
	}

	option = {
		name = EVTOPTC_Plus_434 # Intrigue

		hidden_effect = {
			change_variable = {
				which = lifestyle_intrigue
				value = 1
			}
		}

		random = {
			chance = 20
			change_intrigue = 1
		}

		ai_chance = {
			factor = 10

			trigger = { intrigue >= 5 }

			mult_modifier = {
				factor = 2
				intrigue >= 12
			}

			mult_modifier = {
				factor = 1.5
				trait = amateurish_plotter
			}

			mult_modifier = {
				factor = 2.0
				trait = flamboyant_schemer
			}

			mult_modifier = {
				factor = 3.0
				trait = intricate_webweaver
			}

			mult_modifier = {
				factor = 4.0
				trait = elusive_shadow
			}
		}
	}

	option = {
		name = EVTOPTD_Plus_434 # None of the above

		event_target:debater = {
			show_scope_change = no

			if = {
				limit = { is_rival = ROOT }
				remove_rival = ROOT
			}
			else = {
				opinion = {
					name = good_speech
					who = ROOT
					years = 3
				}
			}
		}
	}
}

# Bookseller comes to court
character_event = {
	id = Plus.459
	desc = EVTDESC_Plus_459
	picture = GFX_evt_library

	is_triggered_only = yes

	war = no
	min_age = 25
	prisoner = no
	only_capable = yes

	trigger = {
		lifestyle_traits < 1
		learning >= 5
		is_inaccessible_trigger = no
		check_variable = { which = lifestyle_learning value < 2 }
		NOT = { has_character_flag = lifestyle_learning2_check }
	}

	weight_multiplier = {
		days = 1

		mult_modifier = {
			factor = 0.75
			has_dlc = "Way of Life"
		}

		mult_modifier = {
			factor = 5.0
			has_ambition = obj_adopt_a_lifestyle
		}

		mult_modifier = {
			factor = 1.5
			learning >= 12
		}

		mult_modifier = {
			factor = 1.25
			age >= 30
		}

		mult_modifier = {
			factor = 1.25
			age >= 35
		}

		mult_modifier = {
			factor = 1.25
			age >= 40
		}

		mult_modifier = {
			factor = 1.25
			age >= 45
		}
	}

	immediate = {
		set_character_flag = lifestyle_learning2_check
	}

	option = {
		name = EVTOPTA_Plus_459 # Learning

		hidden_effect = {
			change_variable = {
				which = lifestyle_learning
				value = 1
			}
		}

		random = {
			chance = 20
			change_learning = 1
		}

		ai_chance = {
			factor = 10

			mult_modifier = {
				factor = 2
				learning >= 12
			}

			mult_modifier = {
				factor = 1.5
				trait = detached_priest
			}

			mult_modifier = {
				factor = 2.0
				trait = dutiful_cleric
			}

			mult_modifier = {
				factor = 3.0
				trait = scholarly_theologian
			}

			mult_modifier = {
				factor = 4.0
				trait = mastermind_theologian
			}
		}
	}

	option = {
		name = EVTOPTB_Plus_459 # Martial

		hidden_effect = {
			change_variable = {
				which = lifestyle_martial
				value = 1
			}
		}

		random = {
			chance = 20
			change_martial = 1
		}

		ai_chance = {
			factor = 10

			trigger = { martial >= 5 }

			mult_modifier = {
				factor = 2
				martial >= 12
			}

			mult_modifier = {
				factor = 1.5
				trait = misguided_warrior
			}

			mult_modifier = {
				factor = 2.0
				trait = tough_soldier
			}

			mult_modifier = {
				factor = 3.0
				trait = skilled_tactician
			}

			mult_modifier = {
				factor = 4.0
				trait = brilliant_strategist
			}
		}
	}

	option = {
		name = EVTOPTC_Plus_459 # Stewardship

		hidden_effect = {
			change_variable = {
				which = lifestyle_stewardship
				value = 1
			}
		}

		random = {
			chance = 20
			change_stewardship = 1
		}

		ai_chance = {
			factor = 10

			trigger = { stewardship >= 5 }

			mult_modifier = {
				factor = 2
				stewardship >= 12
			}

			mult_modifier = {
				factor = 1.5
				trait = indulgent_wastrel
			}

			mult_modifier = {
				factor = 2.0
				trait = thrifty_clerk
			}

			mult_modifier = {
				factor = 3.0
				trait = fortune_builder
			}

			mult_modifier = {
				factor = 4.0
				trait = midas_touched
			}
		}
	}

	option = {
		name = EVTOPTD_Plus_459 # None of the above

		scaled_wealth = 0.1
	}
}