#########################################################
#
# Way of Life - Seduction Events
#
# Written by Henrik Fåhraeus
#
# ID Range: WoL.1 to WoL.999
#
# Seduction skill "levels up", first with
# character modifiers: wol_seducer_1 to wol_seducer_2,
# then the Seducer or Seductress trait.
#
#########################################################

namespace = WoL

######################################
# SEDUCE DECISION START EVENTS
######################################

# Seduce Decision event start - Normal
character_event = {
	id = WoL.100
	title = EVTTITLE_WOL_100
	desc = EVTDESC_WOL_100
	picture = GFX_evt_lovers
	border = GFX_event_normal_frame_intrigue
	
	capable_only = yes
	prisoner = no
	
	is_triggered_only = yes
	
	immediate = {
		FROM = {
			save_event_target_as = target_seduced
		}
		save_event_target_as = target_seducer
		set_character_flag = seduction_confirmed
	}
	
	option = {
		name = EVTOPTA_WOL_100
		character_event = { id = WoL.110 days = 20 random = 20 tooltip = EVTTOOLTIP_WoL_110 }
#		log = "WoL.100: [Root.GetTitledName] begins seduction of [From.GetTitledName]"
	}
}

# Seduce Decision event start - Age scandal risk
character_event = {
	id = WoL.101
	title = EVTTITLE_WOL_100
	desc = EVTDESC_WOL_101
	picture = GFX_evt_lovers
	border = GFX_event_normal_frame_intrigue
	
	capable_only = yes
	prisoner = no
	
	is_triggered_only = yes
	
	immediate = {
		FROM = {
			save_event_target_as = target_seduced
		}
		save_event_target_as = target_seducer
		set_character_flag = seduction_confirmed
	}
	
	option = {
		name = EVTOPTB_WOL_101
		ai_chance = {
			factor = 100
		}
		trigger = {
			NOT = { is_older_than = FROM }
		}
		character_event = { id = WoL.110 days = 20 random = 20 tooltip = EVTTOOLTIP_WoL_110 }
#		log = "WoL.101: [Root.GetTitledName] begins seduction of [From.GetTitledName]"
	}
	option = {
		name = EVTOPTA_WOL_101
		ai_chance = {
			factor = 100
		}
		trigger = {
			is_older_than = FROM
		}
		character_event = { id = WoL.110 days = 20 random = 20 tooltip = EVTTOOLTIP_WoL_110 }
#		log = "WoL.101: [Root.GetTitledName] begins seduction of [From.GetTitledName]"
	}
	option = {
		name = EVTOPTC_WOL_101
		ai_chance = {
			factor = 0
		}
		hidden_tooltip = {
			remove_opinion = {
				who = FROM
				modifier = opinion_seducing
			}
		}
	}
}

# Seduce Decision event start - Incest scandal risk
character_event = {
	id = WoL.102
	title = EVTTITLE_WOL_102
	desc = EVTDESC_WOL_102
	picture = GFX_evt_lovers
	border = GFX_event_normal_frame_intrigue
	
	capable_only = yes
	prisoner = no
	
	is_triggered_only = yes
	
	immediate = {
		FROM = {
			save_event_target_as = target_seduced
		}
		save_event_target_as = target_seducer
		set_character_flag = seduction_confirmed
	}
	
	option = {
		name = EVTOPTA_WOL_102
		ai_chance = {
			factor = 100
		}
		character_event = { id = WoL.110 days = 20 random = 20 tooltip = EVTTOOLTIP_WoL_110 }
#		log = "WoL.102: [Root.GetTitledName] begins seduction of [From.GetTitledName]"
	}
	option = {
		name = EVTOPTB_WOL_102
		ai_chance = {
			factor = 0
		}
		hidden_tooltip = {
			remove_opinion = {
				who = FROM
				modifier = opinion_seducing
			}
		}
	}
}

# Seduce Decision event start - Priest scandal risk
character_event = {
	id = WoL.103
	title = EVTTITLE_WOL_100
	desc = EVTDESC_WOL_103
	picture = GFX_evt_lovers
	border = GFX_event_normal_frame_intrigue
	
	capable_only = yes
	prisoner = no
	
	is_triggered_only = yes
	
	immediate = {
		FROM = {
			save_event_target_as = target_seduced
		}
		save_event_target_as = target_seducer
		set_character_flag = seduction_confirmed
	}
	
	option = {
		name = EVTOPTA_WOL_103
		ai_chance = {
			factor = 100
		}
		character_event = { id = WoL.110 days = 20 random = 20 tooltip = EVTTOOLTIP_WoL_110 }
#		log = "WoL.103: [Root.GetTitledName] begins seduction of [From.GetTitledName]"
	}
	option = {
		name = EVTOPTB_WOL_103
		ai_chance = {
			factor = 0
		}
		hidden_tooltip = {
			remove_opinion = {
				who = FROM
				modifier = opinion_seducing
			}
		}
	}
}

# Seduce Decision event start - Homo scandal risk
character_event = {
	id = WoL.104
	title = EVTTITLE_WOL_100
	desc = EVTDESC_WOL_104
	picture = GFX_evt_lovers
	border = GFX_event_normal_frame_intrigue
	
	capable_only = yes
	prisoner = no
	
	is_triggered_only = yes
	
	immediate = {
		FROM = {
			save_event_target_as = target_seduced
		}
		save_event_target_as = target_seducer
		set_character_flag = seduction_confirmed
	}
	
	option = {
		name = EVTOPTA_WOL_104
		ai_chance = {
			factor = 100
		}
		character_event = { id = WoL.110 days = 20 random = 20 tooltip = EVTTOOLTIP_WoL_110 }
#		log = "WoL.104: [Root.GetTitledName] begins seduction of [From.GetTitledName]"
	}
	option = {
		name = EVTOPTB_WOL_104
		ai_chance = {
			factor = 0
		}
		hidden_tooltip = {
			remove_opinion = {
				who = FROM
				modifier = opinion_seducing
			}
		}
	}
}

######################################
# SEDUCE DECISION CORE EVENTS
######################################

# Lover's disease notification
character_event = {
	id = WoL.40
	picture = GFX_evt_bad_news
	border = GFX_event_normal_frame_religion
	
	is_triggered_only = yes
	
	trigger = {
		NOR = {
			has_character_modifier = minor_disease_herpes
			trait = lovers_pox
		}
	}
	
	desc = {
		text = EVTDESC_WOL_40
		trigger = {
			religion_group = christian
		}
	}
	desc = {
		text = EVTDESC_WOL_40_NC
		trigger = {
			NOT = { religion_group = christian }
		}
	}
	
	option = {
		name = CURSES
		add_trait = lovers_pox
	}
}

# Target: Scandal check after Tumble
character_event = {
	id = WoL.50
	
	hide_window = yes
	
	is_triggered_only = yes
	
	immediate = {
		random_courtier = {
			limit = {
				prisoner = no
				has_regent = no
				in_command_trigger = no
				is_adult = yes
				NOT = { trait = blinded }
				NOT = { character = FROM }
				NOT = { character = ROOT }
				NOR = {
					any_spouse = {
						OR = {
							character = FROM
							character = ROOT
						}
					}
					any_consort = {
						OR = {
							character = FROM
							character = ROOT
						}
					}
				}
				OR = {
					is_close_relative = ROOT
					is_close_relative = FROM
					is_liege_of = ROOT
					is_rival = FROM
					is_rival = ROOT
					is_lover = FROM
					is_lover = ROOT
					has_opinion_modifier = {
						who = FROM
						modifier = opinion_chasing_friend
					}
				}
				OR = {
					AND = {
						attribute_diff = {
							attribute = intrigue
							character = ROOT
							value = 0
						}
						attribute_diff = {
							attribute = intrigue
							character = FROM
							value = 0
						}
					}
					has_opinion_modifier = {
						who = FROM
						modifier = opinion_chasing_friend
					}
					has_opinion_modifier = {
						who = FROM
						modifier = opinion_chasing_child
					}
					has_opinion_modifier = {
						who = FROM
						modifier = opinion_chasing_spouse
					}
				}
			}
			if = {
				limit = {
					OR = {
						AND = {
							attribute_diff = {
								attribute = intrigue
								character = ROOT
								value = 3
							}
							attribute_diff = {
								attribute = intrigue
								character = FROM
								value = 3
							}
						}
						has_opinion_modifier = {
							who = FROM
							modifier = opinion_chasing_friend
						}
						has_opinion_modifier = {
							who = FROM
							modifier = opinion_chasing_child
						}
						has_opinion_modifier = {
							who = FROM
							modifier = opinion_chasing_spouse
						}
					}
				}
				random = {
					chance = 50
					character_event = { id = WoL.55 days = 4 random = 7 }
				}
				break = yes
			}
			random = {
				chance = 25
				character_event = { id = WoL.55 days = 4 random = 7 }
			}
		}
	}
}

# Courtier discovers the affair
character_event = {
	id = WoL.55
	title = EVTTITLE_WOL_55
	
	picture = GFX_evt_scandal
	border = GFX_event_normal_frame_intrigue
	
	is_triggered_only = yes
	
	immediate = {
		
		FROMFROM = {
			save_event_target_as = target_lover_1
		}
		
		if = {
			limit = {
				OR = {
					any_spouse = {
						character = FROM
					}
					any_consort = {
						character = FROM
					}
				}
			}
			if = {
				limit = { is_female = no }
				opinion = {
					who = FROM
					modifier = opinion_unfaithful_wife
				}
				if = {
					limit = { FROMFROM = { is_female = no } }
					opinion = {
						who = FROMFROM
						modifier = opinion_cuckolded
					}
				}
			}
			if = {
				limit = { is_female = yes }
				if = {
					limit = { gender_equality_trigger = no }
					opinion = {
						who = FROM
						modifier = opinion_unfaithful_husband
					}
				}
				if = {
					limit = { gender_equality_trigger = yes }
					opinion = {
						who = FROM
						modifier = opinion_unfaithful_husband_crime
					}
				}
				if = {
					limit = { FROMFROM = { is_female = yes } }
					add_rival = FROMFROM
					opinion = {
						who = FROMFROM
						modifier = slut_seductress
					}
				}
			}
		}
		
		if = {
			limit = {
				OR = {
					any_spouse = {
						character = FROMFROM
					}
					any_consort = {
						character = FROMFROM
					}
				}
			}
			if = {
				limit = { is_female = no }
				opinion = {
					who = FROMFROM
					modifier = opinion_unfaithful_wife
				}
				if = {
					limit = { FROM = { is_female = no } }
					opinion = {
						who = FROM
						modifier = opinion_cuckolded
					}
				}
			}
			if = {
				limit = { is_female = yes }
				if = {
					limit = { gender_equality_trigger = no }
					opinion = {
						who = FROMFROM
						modifier = opinion_unfaithful_husband
					}
				}
				if = {
					limit = { gender_equality_trigger = yes }
					opinion = {
						who = FROMFROM
						modifier = opinion_unfaithful_husband_crime
					}
				}
				if = {
					limit = { FROM = { is_female = yes } }
					add_rival = FROM
					opinion = {
						who = FROM
						modifier = slut_seductress
					}
				}
			}
		}
		
		if = {
			limit = {
				FROM = {
					is_close_relative = event_target:target_lover_1
					is_bs_marriage_religion_trigger = no
				}
			}
			set_character_flag = scandal_temp_incest
			break = yes
		}
		if = {
			limit = {
				FROM = {
					is_female = no
					same_sex = event_target:target_lover_1 
				}
			}
			set_character_flag = scandal_temp_m_homo
			break = yes
		}
		if = {
			limit = {
				FROM = {
					is_female = yes
					same_sex = event_target:target_lover_1 
				}
			}
			set_character_flag = scandal_temp_f_homo
			break = yes
		}
		if = {
			limit = {
				FROM = {
					religion_group = christian
					OR = {
						is_priest = yes
						is_ascetic_trigger = yes
					}
				}
			}
			set_character_flag = scandal_temp_priest
			break = yes
		}
		if = {
			limit = {
				FROM = {
					age_diff = {
						who = event_target:target_lover_1
						years = 25
					}
				}
			}
			set_character_flag = scandal_temp_age
			break = yes
		}
		if = {
			limit = {
				FROM = {
					is_female = yes
					OR = {
						is_married = yes
						is_consort = yes
					}
				}
			}
			set_character_flag = scandal_temp_f_married
			break = yes
		}
		if = {
			limit = {
				FROMFROM = {
					is_female = yes
					OR = {
						is_married = yes
						is_consort = yes
					}
				}
			}
			set_character_flag = scandal_temp_ff_married
			break = yes
		}
		
		set_character_flag = scandal_temp_adultery
	}
	
	desc = {
		text = EVTDESC_WOL_55_CR
		trigger = { has_character_flag = scandal_temp_incest }
	}
	desc = {
		text = EVTDESC_WOL_55_M_HOMO
		trigger = { has_character_flag = scandal_temp_m_homo }
	}
	desc = {
		text = EVTDESC_WOL_55_F_HOMO
		trigger = { has_character_flag = scandal_temp_f_homo }
	}
	desc = {
		text = EVTDESC_WOL_55_PRIEST
		trigger = { has_character_flag = scandal_temp_priest }
	}
	desc = {
		text = EVTDESC_WOL_55_AGE_YOUNG
		trigger = {
			has_character_flag = scandal_temp_age 
			FROM = { NOT = { is_older_than = ROOT_FROMFROM } }
		}
	}
	desc = {
		text = EVTDESC_WOL_55_AGE_OLD
		trigger = {
			has_character_flag = scandal_temp_age 
			FROM = { is_older_than = ROOT_FROMFROM }
		}
	}
	desc = {
		text = EVTDESC_WOL_55_F_MARRIED
		trigger = {
			has_character_flag = scandal_temp_f_married
		}
	}
	desc = {
		text = EVTDESC_WOL_55_FF_MARRIED
		trigger = {
			has_character_flag = scandal_temp_ff_married
			NOT = { has_character_flag = scandal_temp_f_married }
		}
	}
	desc = {
		text = EVTDESC_WOL_55
		trigger = { has_character_flag = scandal_temp_adultery }
	}
	
	option = {
		name = EVTOPTA_WOL_55 # Expose them!
		trigger = {
			NOT = {
				OR = {
					has_character_flag = scandal_temp_incest
					has_character_flag = scandal_temp_m_homo
					has_character_flag = scandal_temp_f_homo
					has_character_flag = scandal_temp_priest
				}
			}
		}
		ai_chance = {
			factor = 100
		}
		
		if = {
			limit = {
				is_lover = FROM
			}
			remove_lover = FROM
		}
		if = {
			limit = {
				is_lover = FROMFROM
			}
			remove_lover = FROMFROM
		}
		
		FROMFROM = { character_event = { id = WoL.60 tooltip = EVTTOOLTIP_WoL_60 } }
		
		clr_character_flag = scandal_temp_age
		clr_character_flag = scandal_temp_f_married
		clr_character_flag = scandal_temp_ff_married
		clr_character_flag = scandal_temp_adultery
	}
	
	option = {
		name = EVTOPTA_WOL_55_UNHOLY # Expose the unholy sinners!
		trigger = {
			OR = {
				has_character_flag = scandal_temp_incest
				has_character_flag = scandal_temp_m_homo
				has_character_flag = scandal_temp_f_homo
				has_character_flag = scandal_temp_priest
			}
		}
		ai_chance = {
			factor = 100
		}
		
		if = {
			limit = {
				is_lover = FROM
			}
			remove_lover = FROM
		}
		if = {
			limit = {
				is_lover = FROMFROM
			}
			remove_lover = FROMFROM
		}
		
		FROMFROM = { character_event = { id = WoL.60 tooltip = EVTTOOLTIP_WoL_60 } }
		
		clr_character_flag = scandal_temp_incest
		clr_character_flag = scandal_temp_m_homo
		clr_character_flag = scandal_temp_f_homo
		clr_character_flag = scandal_temp_priest
	}
	
	option = {
		name = EVTOPTB_WOL_55 # let it pass
		ai_chance = {
			factor = 100
			modifier = {
				factor = 0
				OR = {
					is_rival = FROM
					is_rival = FROMFROM
				}
			}
			modifier = {
				factor = 0
				OR = {
					is_consort = FROM
					is_consort = FROMFROM
					any_spouse = {
						OR = {
							character = FROM
							character = FROMFROM
						}
					}
				}
			}
			modifier = {
				factor = 0.1
				trait = cruel
			}
			modifier = {
				factor = 0.1
				trait = zealous
			}
			modifier = {
				factor = 1.5
				trait = charitable
			}
			modifier = {
				factor = 3.0
				trait = kind
			}
		}
		
		if = {
			limit = {
				is_lover = FROM
			}
			remove_lover = FROM
		}
		if = {
			limit = {
				is_lover = FROMFROM
			}
			remove_lover = FROMFROM
		}
		
		clr_character_flag = scandal_temp_incest
		clr_character_flag = scandal_temp_m_homo
		clr_character_flag = scandal_temp_f_homo
		clr_character_flag = scandal_temp_priest
		clr_character_flag = scandal_temp_age
		clr_character_flag = scandal_temp_f_married
		clr_character_flag = scandal_temp_ff_married
		clr_character_flag = scandal_temp_adultery
	}
	
	option = {
		name = EVTOPTC_WOL_55 # Blackmail the seducer
		trigger = {
			NOT = { is_father = FROM }
			NOT = { is_mother = FROM }
			NOT = { is_consort = FROM }
			NOT = { is_consort = FROMFROM }
			NOT = {
				any_spouse = {
					OR = {
						character = FROM
						character = FROMFROM
					}
				}
			}
			OR = {
				FROMFROM = { is_female = yes }
				FROMFROM = { is_married = yes }
				has_character_flag = scandal_temp_incest
				has_character_flag = scandal_temp_m_homo
				has_character_flag = scandal_temp_priest
				has_character_flag = scandal_temp_f_married
			}
		}
		ai_chance = {
			factor = 100
			modifier = {
				factor = 10.0
				trait = greedy
			}
			modifier = {
				factor = 0.1
				trait = zealous
			}
		}
		
		if = {
			limit = {
				is_lover = FROM
			}
			remove_lover = FROM
		}
		if = {
			limit = {
				is_lover = FROMFROM
			}
			remove_lover = FROMFROM
		}
		
		FROMFROM = { letter_event = { id = WoL.56 days = 3 tooltip = EVTTOOLTIP_WoL_56 } }
	}
}

# The seducer is blackmailed
letter_event = {
	id = WoL.56
	desc = {
		text = EVTDESC_WOL_56
		trigger = {
			FROM = {
				NOT = {
					OR = {
						has_character_flag = scandal_temp_incest
						has_character_flag = scandal_temp_m_homo
						has_character_flag = scandal_temp_f_homo
					}
				}
			}
		}
	}
	desc = {
		text = EVTDESC_WOL_56_CR
		trigger = { FROM = { has_character_flag = scandal_temp_incest } }
	}
	desc = {
		text = EVTDESC_WOL_56_HOMO
		trigger = {
			FROM = {
				OR = {
					has_character_flag = scandal_temp_m_homo
					has_character_flag = scandal_temp_f_homo
				}
			}
		}
	}
	
	border = GFX_event_letter_frame_intrigue
	
	is_triggered_only = yes
	
	option = {
		name = EVTOPTA_WOL_56 # Pay
		ai_chance = {
			factor = 100
		}
		tooltip = {
			transfer_scaled_wealth = {
				to = FROM
				value = 0.2
			}
		}
		if = {
			limit = {
				FROM = {
					OR = {
						has_character_flag = scandal_temp_m_homo
						has_character_flag = scandal_temp_f_homo
					}
				}
			}
			set_character_flag = gay_blackmailed_by_@FROM
			FROMFROM = { set_character_flag = gay_blackmailed_by_@FROM }
		}
		FROM = { letter_event = { id = WoL.57 days = 3 tooltip = EVTTOOLTIP_WoL_57 } }
	}
	option = {
		name = EVTOPTB_WOL_56 # Refuse!
		ai_chance = {
			factor = 10
		}
		hidden_tooltip = {
			FROMFROM = { character_event = { id = WoL.58 days = 3 } }
		}
	}
}

# Blackmailer: The seducer pays
letter_event = {
	id = WoL.57
	desc = EVTDESC_WOL_57
	
	border = GFX_event_letter_frame_intrigue
	
	is_triggered_only = yes
	
	immediate = {
		clr_character_flag = scandal_temp_incest
		clr_character_flag = scandal_temp_m_homo
		clr_character_flag = scandal_temp_f_homo
		clr_character_flag = scandal_temp_priest
		clr_character_flag = scandal_temp_age
		clr_character_flag = scandal_temp_f_married
		clr_character_flag = scandal_temp_ff_married
		clr_character_flag = scandal_temp_adultery
	}
	
	option = {
		name = EVTOPTA_WOL_57
		FROM = {
			transfer_scaled_wealth = {
				to = ROOT
				value = 0.2
			}
		}
	}
}

# Blackmailer: The seducer refuses to pay. Ping by the target first.
character_event = {
	id = WoL.58
	
	hide_window = yes
	
	is_triggered_only = yes
	
	immediate = {
		FROMFROM = { letter_event = { id = WoL.59 } }
	}
}

# Blackmailer: The seducer refuses to pay
letter_event = {
	id = WoL.59
	desc = EVTDESC_WOL_59
	
	border = GFX_event_letter_frame_intrigue
	
	is_triggered_only = yes
	
	option = {
		name = EVTOPTA_WOL_59 # Expose them!
		ai_chance = {
			factor = 100
		}
		
		FROMFROM = { character_event = { id = WoL.60 tooltip = EVTTOOLTIP_WoL_60 } }
		
		clr_character_flag = scandal_temp_incest
		clr_character_flag = scandal_temp_m_homo
		clr_character_flag = scandal_temp_f_homo
		clr_character_flag = scandal_temp_priest
		clr_character_flag = scandal_temp_age
		clr_character_flag = scandal_temp_f_married
		clr_character_flag = scandal_temp_ff_married
		clr_character_flag = scandal_temp_adultery
	}
	
	option = {
		name = EVTOPTB_WOL_59 # Keep quiet anyway
		ai_chance = {
			factor = 10
		}
		
		clr_character_flag = scandal_temp_incest
		clr_character_flag = scandal_temp_m_homo
		clr_character_flag = scandal_temp_f_homo
		clr_character_flag = scandal_temp_priest
		clr_character_flag = scandal_temp_age
		clr_character_flag = scandal_temp_f_married
		clr_character_flag = scandal_temp_ff_married
		clr_character_flag = scandal_temp_adultery
	}
}

# Seducer: the scandal breaks!
character_event = {
	id = WoL.60
	title = EVTTITLE_WOL_60
	desc = EVTDESC_WOL_60
	
	picture = GFX_evt_scandal
	border = GFX_event_normal_frame_intrigue
	
	is_triggered_only = yes
	
	immediate = {
		save_event_target_as = target_adulterer
		FROMFROM = {
			character_event = { id = 20 } # Adultery fallout
			character_event = { id = WoL.61 } # Notification to my lover
		}
		
		any_spouse = {
			limit = {
				NOT = { character = FROMFROM }
				NOT = { character = FROM }
			}
			character_event = { id = WoL.62 }
		}
	}
	
	option = {
		name = {
			text = EVTOPTA_WOL_60_F
			trigger = {
				FROMFROM = { is_female = yes }
			}
		}
		name = {
			text = EVTOPTA_WOL_60_M
			trigger = {
				FROMFROM = { is_female = no }
			}
		}
		
		if = {
			limit = {
				same_sex = FROMFROM
			}
			out_homosexual_effect = yes
			if = {
				limit = { is_female = no }
				tooltip = {
					if = {
						limit = {
							is_pagan_religion = yes
						}
						add_character_modifier = {
							name = known_sodomite_pagan
							years = 20
						}
					}
					if = {
						limit = {
							is_pagan_religion = no
						}
						add_character_modifier = {
							name = known_sodomite
							years = 20
						}
					}
				}
				prestige = -500
				piety = -250
			}
			if = {
				limit = { is_female = yes }
				prestige = -100
				piety = -50
			}
		}
		
		if = {
			limit = {
				age_diff = {
					who = FROMFROM
					years = 25
				}
				is_older_than = FROMFROM
			}
			tooltip = {
				add_character_modifier = {
					name = cradle_robber
					years = 5
				}
			}
		}
		
		if = {
			limit = {
				religion_group = christian
				OR = {
					AND = {
						is_ruler = yes
						is_theocracy = yes
					}
					is_ascetic_trigger = yes
				}
			}
			tooltip = {
				add_character_modifier = {
					name = adulterous_priest
					years = 20
				}
			}
			piety = -100
		}
		
		if = {
			limit = {
				is_close_relative = FROMFROM
				is_bs_marriage_religion_trigger = no
			}
			if = {
				limit = {
					is_female = yes
				}
				tooltip = {
					add_character_modifier = {
						name = incestuous_adulteress
						years = 20
					}
				}
			}
			if = {
				limit = {
					is_female = no
				}
				tooltip = {
					add_character_modifier = {
						name = incestuous_adulterer
						years = 20
					}
				}
			}
			
			piety = -100
			prestige = -50
			
			break = yes
		}
		
		if = {
			limit = {
				is_female = no
				is_married = yes
				is_pagan_religion = no
			}
			tooltip = {
				add_character_modifier = {
					name = adulterer
					years = 20
				}
			}
		}
		
		if = {
			limit = {
				is_female = yes
			}
			tooltip = {
				add_character_modifier = {
					name = adulteress
					years = 20
				}
			}
			if = {
				limit = { is_married = no }
				piety = -50
			}
			if = {
				limit = { is_married = yes }
				piety = -100
			}
		}
		
		if = {
			limit = {
				is_female = no
				is_opposite_sex = FROMFROM
				FROMFROM = { is_playable = yes }
			}
			if = {
				limit = { FROMFROM = { tier = COUNT } }
				prestige = 25
			}
			if = {
				limit = { FROMFROM = { tier = DUKE } }
				prestige = 50
			}
			if = {
				limit = { FROMFROM = { tier = KING } }
				prestige = 100
			}
			if = {
				limit = { FROMFROM = { tier = EMPEROR } }
				prestige = 200
			}
		}
	}
}

# Seduced: the scandal breaks!
character_event = {
	id = WoL.61
	title = EVTTITLE_WOL_60
	desc = EVTDESC_WOL_61
	
	picture = GFX_evt_scandal
	border = GFX_event_normal_frame_intrigue
	
	is_triggered_only = yes
	
	immediate = {
		any_spouse = {
			limit = {
				NOT = { character = FROMFROM }
				NOT = { character = FROM }
			}
			character_event = { id = WoL.63 }
		}
		any_consort = {
			limit = {
				NOT = { character = FROMFROM }
				NOT = { character = FROM }
			}
			character_event = { id = WoL.63 }
		}
	}
	
	option = {
		name = {
			text = EVTOPTA_WOL_61_F
			trigger = {
				is_female = yes
			}
		}
		name = {
			text = EVTOPTA_WOL_60_M
			trigger = {
				is_female = no
			}
		}
		
		if = {
			limit = {
				age_diff = {
					who = FROM
					years = 25
				}
				is_older_than = FROM
			}
			tooltip = {
				add_character_modifier = {
					name = cradle_robber
					years = 5
				}
			}
		}
		
		if = {
			limit = {
				religion_group = christian
				OR = {
					is_priest = yes
					is_ascetic_trigger = yes
				}
			}
			tooltip = {
				add_character_modifier = {
					name = adulterous_priest
					years = 20
				}
			}
		}
		
		if = {
			limit = {
				same_sex = FROM				
			}
			out_homosexual_effect = yes
			if = {
				limit = { is_female = no }
				tooltip = {
					if = {
						limit = {
							is_pagan_religion = yes
						}
						add_character_modifier = {
							name = known_sodomite_pagan
							years = 20
						}
					}
					if = {
						limit = {
							is_pagan_religion = no
						}
						add_character_modifier = {
							name = known_sodomite
							years = 20
						}
					}
				}
			}
		}
		
		if = {
			limit = {
				is_close_relative = FROM
			}
			if = {
				limit = {
					is_female = yes
				}
				tooltip = {
					add_character_modifier = {
						name = incestuous_adulteress
						years = 20
					}
				}
			}
			if = {
				limit = {
					is_female = no
				}
				tooltip = {
					add_character_modifier = {
						name = incestuous_adulterer
						years = 20
					}
				}
			}
			break = yes
		}
		
		if = {
			limit = {
				is_female = no
				is_married = yes
			}
			tooltip = {
				add_character_modifier = {
					name = adulterer
					years = 20
				}
			}
		}
		if = {
			limit = {
				is_female = yes
			}
			tooltip = {
				add_character_modifier = {
					name = adulteress
					years = 20
				}
			}
		}
	}
}

# Spouse/Consort of Seducer: the scandal breaks!
character_event = {
	id = WoL.62
	title = EVTTITLE_WOL_60
	desc = EVTDESC_WOL_62
	
	picture = GFX_evt_scandal
	border = GFX_event_normal_frame_intrigue
	
	is_triggered_only = yes
	
	option = {
		name = {
			text = EVTOPTA_WOL_62_CR
			trigger = {
				event_target:target_adulterer = {
					is_close_relative = FROMFROMFROM 
					NOT = { is_lover = FROMFROMFROM }
				}
			}
		}
		name = {
			text = EVTOPTA_WOL_62
			trigger = {
				event_target:target_adulterer = { 
					OR = {
						NOT = { is_close_relative = FROMFROMFROM } 
						is_lover = FROMFROMFROM
					}
				}
			}
		}
	}
}

# Spouse/Consort of Seduced: the scandal breaks!
character_event = {
	id = WoL.63
	title = EVTTITLE_WOL_60
	desc = EVTDESC_WOL_63
	
	picture = GFX_evt_scandal
	border = GFX_event_normal_frame_intrigue
	
	is_triggered_only = yes
	
	option = {
		name = {
			text = EVTOPTA_WOL_63_CR
			trigger = {
				FROM = { 
					is_close_relative = event_target:target_adulterer
					NOT = { is_lover = event_target:target_adulterer }
				}
			}
		}
		name = {
			text = EVTOPTA_WOL_62
			trigger = {
				FROM = { 
					OR = {
						NOT = { is_close_relative = event_target:target_adulterer } 
						is_lover = event_target:target_adulterer
					}
				}
			}
		}
	}
}

# Chance of Intrigue boost
character_event = {
	id = WoL.80
	
	hide_window = yes
	
	is_triggered_only = yes
	
	immediate = {
		if = {
			limit = {
				trait = amateurish_plotter
			}
			random = {
				chance = 10
				set_character_flag = int_ed_boost
				character_event = { id = WoL.81 }
			}
			break = yes
		}
		if = {
			limit = {
				trait = flamboyant_schemer
			}
			random = {
				chance = 5
				set_character_flag = int_ed_boost
				character_event = { id = WoL.81 }
			}
			break = yes
		}
		if = {
			limit = {
				trait = intricate_webweaver
			}
			random = {
				chance = 1
				set_character_flag = int_ed_boost
				character_event = { id = WoL.81 }
			}
			break = yes
		}
		
		if = {
			limit = {
				NOT = { has_character_modifier = wol_court_vixen }
				NOT = { has_character_modifier = wol_court_tomcat }
			}
			random = {
				chance = 5
				set_character_flag = int_fox_boost
				character_event = { id = WoL.81 }
			}
		}
	}
}

character_event = {
	id = WoL.81
	
	picture = GFX_evt_lovers
	border = GFX_event_normal_frame_intrigue
	
	desc = {
		text = EVTDESC_WOL_81_HOMO
		trigger = {
			trait = homosexual
		}
	}
	desc = {
		text = EVTDESC_WOL_81_F
		trigger = {
			is_female = yes
			NOT = { trait = homosexual }
		}
	}
	desc = {
		text = EVTDESC_WOL_81_M
		trigger = {
			is_female = no
			NOT = { trait = homosexual }
		}
	}
	
	is_triggered_only = yes
	
	option = {
		name = EVTOPTA_WOL_81
		
		if = {
			limit = {
				has_character_flag = int_ed_boost
				trait = amateurish_plotter
			}
			hidden_tooltip = { remove_trait = amateurish_plotter }
			add_trait = flamboyant_schemer
			clr_character_flag = int_ed_boost
			break = yes
		}
		if = {
			limit = {
				has_character_flag = int_ed_boost
				trait = flamboyant_schemer
			}
			hidden_tooltip = { remove_trait = flamboyant_schemer }
			add_trait = intricate_webweaver
			clr_character_flag = int_ed_boost
			break = yes
		}
		if = {
			limit = {
				has_character_flag = int_ed_boost
				trait = intricate_webweaver
			}
			hidden_tooltip = { remove_trait = intricate_webweaver }
			add_trait = elusive_shadow
			clr_character_flag = int_ed_boost
			break = yes
		}
		
		if = {
			limit = {
				is_female = yes
				has_character_flag = int_fox_boost
			}
			add_character_modifier = {
				modifier = wol_court_vixen
				duration = -1
			}
			clr_character_flag = int_fox_boost
			break = yes
		}
		if = {
			limit = {
				is_female = no
				has_character_flag = int_fox_boost
			}
			add_character_modifier = {
				modifier = wol_court_tomcat
				duration = -1
			}
			clr_character_flag = int_fox_boost
			break = yes
		}
	}
}

# Tumble impregnation chance event - ping back to female
character_event = {
	id = WoL.97
	
	hide_window = yes
	
	is_triggered_only = yes
	
	immediate = {
		FROM = { character_event = { id = WoL.98 } }
	}
}

# Tumble impregnation chance event
character_event = {
	id = WoL.98
	
	hide_window = yes
	
	is_triggered_only = yes
	
	immediate = {
		# STD transmission
		hidden_tooltip = {
			random = {
				chance = 50
				venereal_disease_effect = yes
			}
		}
		
		# AI affair pregnancy limiter
		if = {
			limit = {
				ai = yes
				FROM = { ai = yes }
				has_character_modifier = lustful_affair_timer
			}
			break = yes
		}
		add_character_modifier = {
			name = lustful_affair_timer
			duration = 2190
			hidden = yes
		}
		
		if = {
			limit = {
				OR = {
					is_female = no
					age = 45
					is_pregnant = yes
					FROM = { is_female = yes }
					NOT = { fertility = 0.2 }
					NOT = { FROM = { fertility = 0.2 } }
				}
			}
			break  = yes
		}
		
		if = {
			limit = {
				OR = {
					is_pregnant = yes
					FROM = { is_pregnant = yes }
				}
			}
			break = yes
		}
	
		# Chance of impregnation
		if = {
			limit = {
				fertility = 0.6
				OR = {
					ai = no
					NOT = { num_of_children = 4 }
				}
				FROM = {
					fertility = 0.6
					OR = {
						ai = no
						NOT = { num_of_children = 4 }
					}
				}
			}
			random = {
				chance = 50
				if = {
					limit = {
						is_married = no
						is_consort = no
					}
					impregnate = FROM
					break = yes
				}
				impregnate_cuckoo = FROM
			}
			break = yes
		}
		if = {
			limit = {
				fertility = 0.5
				OR = {
					ai = no
					NOT = { num_of_children = 6 }
				}
				FROM = {
					fertility = 0.5
					OR = {
						ai = no
						NOT = { num_of_children = 6 }
					}
				}
			}
			random = {
				chance = 33
				if = {
					limit = {
						is_married = no
						is_consort = no
					}
					impregnate = FROM
					break = yes
				}
				impregnate_cuckoo = FROM
			}
			break = yes
		}
		if = {
			limit = {
				fertility = 0.34
				FROM = { fertility = 0.34 }
			}
			random = {
				chance = 15
				if = {
					limit = {
						is_married = no
						is_consort = no
					}
					impregnate = FROM
					break = yes
				}
				impregnate_cuckoo = FROM
			}
			break = yes
		}
		
		random = {
			chance = 5
			if = {
				limit = {
					is_married = no
					is_consort = no
				}
				impregnate = FROM
				break = yes
			}
			impregnate_cuckoo = FROM
		}
	}
}

# Seducer / Seductress level up chance
character_event = {
	id = WoL.96
	
	hide_window = yes
	
	is_triggered_only = yes
	
	immediate = {
		
		# Chance of trait adjustments
		if = {
			limit = {
				NOT = { trait = chaste }
				NOT = { trait = lustful }
				random = 85 # 15% chance
			}
			add_trait = lustful
			character_event = { id = 38272 } # Lustful notification
		}
		
		if = {
			limit = {
				trait = chaste
				random = 50
			}
			remove_trait = chaste
			character_event = { id = 38303 } # Chaste loss notification
		}
		
		# Chance of various Intrigue boosters
		character_event = { id = WoL.80 days = 7 } 
		
		# Chance of levelling up Seducer skills
		if = {
			limit = {
				has_character_modifier = wol_seducer_2
			}
			random = {
				chance = 10
				character_event = { id = WoL.99 days = 4 } # Gain the Master Seducer trait
			}
			break = yes
		}
		if = {
			limit = {
				has_character_modifier = wol_seducer_1
			}
			random = {
				chance = 20
				remove_character_modifier = wol_seducer_1
				add_character_modifier = {
					modifier = wol_seducer_2
					duration = -1
				}
			}
			break = yes
		}
		
		if = {
			limit = {
				NOR = {
					trait = seducer
					trait = seductress
				}
			}
			random = {
				chance = 50
				add_character_modifier = {
					modifier = wol_seducer_1
					duration = -1
				}
			}
		}
	}
}

# Seducer / Seductress or Hedonist trait gained!
character_event = {
	id = WoL.99
	desc = EVTDESC_WOL_99
	
	picture = GFX_evt_lovers
	border = GFX_event_normal_frame_intrigue
	
	is_triggered_only = yes
	
	trigger = {
		NOT = { lifestyle_traits = 1 }
		NOT = { has_character_flag = wol_no_to_seducer_trait }
	}
	
	immediate = {
		if = {
			limit = {
				has_nickname = no
			}
			if = {
				limit = {
					is_female = yes
				}
				random_list = {
					34 = { give_nickname = nick_the_temptress }
					33 = { give_nickname = nick_the_beguiling }
					33 = { give_nickname = nick_the_wicked }
				}
			}
			if = {
				limit = {
					is_female = no
				}
				random_list = {
					34 = { give_nickname = nick_the_seducer }
					33 = { give_nickname = nick_the_lewd }
					33 = { give_nickname = nick_the_lecher }
				}
			}
		}
	}
	
	option = {
		name = EVTOPTA_WOL_99
		trigger = {
			is_female = yes
			NOT = { religion_group = muslim }
			NOT = { religion_group = zoroastrian_group }
			NOT = { religion_group = indian_group }
		}
		ai_chance = {
			factor = 100
		}
		remove_character_modifier = wol_seducer_2
		add_trait = seductress
#		log = "WoL.99: [Root.GetTitledName] achieves the lifestyle Seductress!"
	}
	
	option = {
		name = EVTOPTA_WOL_99_PERS
		trigger = {
			is_female = yes
			OR = {
				religion_group = muslim
				religion_group = zoroastrian_group
				religion_group = indian_group
			}
		}
		ai_chance = {
			factor = 100
		}
		remove_character_modifier = wol_seducer_2
		add_trait = seductress
#		log = "WoL.99: [Root.GetTitledName] achieves the lifestyle Seductress!"
	}
	
	option = {
		name = EVTOPTB_WOL_99
		trigger = {
			is_female = no
		}
		ai_chance = {
			factor = 100
		}
		remove_character_modifier = wol_seducer_2
		add_trait = seducer
#		log = "WoL.99: [Root.GetTitledName] achieves the lifestyle Seducer!"
	}
	
	option = {
		name = EVTOPTC_WOL_99
		add_trait = hedonist
		ai_chance = {
			factor = 20
			modifier = {
				factor = 5.0
				trait = arbitrary
			}
		}
#		log = "WoL.99: [Root.GetTitledName] achieves the lifestyle Hedonist!"
	}
	
	option = {
		name = EVTOPTD_WOL_99
		ai_chance = {
			factor = 0
		}
		set_character_flag = wol_no_to_seducer_trait
	}
}

# Hidden 'outcome tombola' event
character_event = {
	id = WoL.110
	hide_window = yes
	
	is_triggered_only = yes
	
	immediate = {
		if = {
			limit = {
				prisoner = yes # I have become imprisoned
			}
			character_event = { id = WoL.118 }
			break = yes # Stop execution here
		}
		
		if = {
			limit = {
				trait = incapable # I have become incapable
			}
			character_event = { id = WoL.118 }
			break = yes
		}
		
		if = {
			limit = {
				NOT = { has_focus = focus_seduction } # I have changed my focus
				OR = {
					num_of_lovers = 1
					NOT = {
						trait = seducer
						trait = seductress
						trait = lustful
					}
				}				
			}
			if = {
				limit = {
					ai = no
				}
				log = "Seduction got canceled, ROOT is [Root.GetBestName] FROM is [From.GetBestName]"
			}
			character_event = { id = WoL.118 }
			break = yes
		}
		
		if = {
			limit = {
				NOT = {
					has_opinion_modifier = {
						who = FROMFROM
						modifier = opinion_seducing
					}
				}
			}
			break = yes # I have stopped trying to seduce this character
		}
		
		if = {
			limit = {
				FROMFROM = {
					OR = {
						is_married = ROOT
						is_consort = ROOT
						is_lover = ROOT
					}
				}
			}
			character_event = { id = WoL.114 }
			break = yes
		}
		
		if = {
			limit = {
				FROMFROM = {
					is_alive = no
				}
			}
			character_event = { id = WoL.111 }
			break = yes
		}
		
		if = {
			limit = {
				FROMFROM = {
					prisoner = yes
				}
			}
			character_event = { id = WoL.112 }
			break = yes
		}
		
		if = {
			limit = {
				FROMFROM = {
					trait = incapable
				}
			}
			character_event = { id = WoL.113 }
			break = yes
		}
		
		if = {
			limit = {
				OR = {
					has_regent = yes
					is_inaccessible_trigger = yes
					in_command_trigger = yes
					FROMFROM = {
						OR = {
							trait = on_hajj
							trait = on_pilgrimage
							trait = in_hiding
							in_command_trigger = yes
							has_character_modifier = in_meditation
							has_character_modifier = doing_penance
							AND = {
								OR = {
									has_character_modifier = in_seclusion
									ROOT = { has_character_modifier = in_seclusion }
								}
								NOT = { at_location = ROOT }
							}
						}
					}
				}
			}
			repeat_event = { id = WoL.110 days = 20 random = 20 } # Fire again with no scope changes
			
			random = {
				chance = 80
				character_event = { id = WoL.115 } # Time to give up?
			}
			
			break = yes
		}
		
		# Slow this down versus distant targets
		if = {
			limit = {
				location = { FROMFROM = { location = { distance = { where = PREVPREV value = 200 } } } }
			}
			random_list = {
				100 = {
					modifier = {
						factor = 2.0
						location = { FROMFROM = { location = { distance = { where = PREVPREV value = 300 } } } }
					}
					modifier = {
						factor = 2.0
						location = { FROMFROM = { location = { distance = { where = PREVPREV value = 400 } } } }
					}
					modifier = {
						factor = 2.0
						location = { FROMFROM = { location = { distance = { where = PREVPREV value = 500 } } } }
					}
					repeat_event = { id = WoL.110 days = 20 random = 20 } # Fire again with no scope changes
					
					random = {
						chance = 66
						character_event = { id = WoL.115 } # Time to give up?
					}
					
					break = yes
				}
				100 = {
					#continue
				}
			}
		}
		
		if = {
			# The target likes me
			limit = {
				FROMFROM = {
					personal_opinion = {
						who = ROOT
						value = 40
					}
				}
			}
			random_list = {
				100 = {
					if = {
						limit = {
							NOT = { has_character_flag = wol_seduce_dance }
						}
						FROMFROM = { character_event = { id = WoL.300 } } # Dance
						break = yes
					}
					if = {
						limit = {
							NOT = { has_character_flag = wol_seduce_chance_meeting }
						}
						FROMFROM = { character_event = { id = WoL.350 } } # Chance Meeting
						break = yes
					}
					if = {
						limit = {
							NOT = { has_character_flag = wol_seduce_picnic }
						}
						FROMFROM = { character_event = { id = WoL.400 } } # Picnic
						break = yes
					}
					FROMFROM = { character_event = { id = WoL.300 } } # Dance
				}
				100 = {
					if = {
						limit = {
							NOT = { has_character_flag = wol_seduce_chance_meeting }
						}
						FROMFROM = { character_event = { id = WoL.350 } } # Chance Meeting
						break = yes
					}
					if = {
						limit = {
							NOT = { has_character_flag = wol_seduce_picnic }
						}
						FROMFROM = { character_event = { id = WoL.400 } } # Picnic
						break = yes
					}
					if = {
						limit = {
							NOT = { has_character_flag = wol_seduce_dance }
						}
						FROMFROM = { character_event = { id = WoL.300 } } # Dance
						break = yes
					}
					FROMFROM = { character_event = { id = WoL.350 } } # Chance Meeting
				}
				100 = {
					if = {
						limit = {
							NOT = { has_character_flag = wol_seduce_picnic }
						}
						FROMFROM = { character_event = { id = WoL.400 } } # Picnic
						break = yes
					}
					if = {
						limit = {
							NOT = { has_character_flag = wol_seduce_dance }
						}
						FROMFROM = { character_event = { id = WoL.300 } } # Dance
						break = yes
					}
					if = {
						limit = {
							NOT = { has_character_flag = wol_seduce_chance_meeting }
						}
						FROMFROM = { character_event = { id = WoL.350 } } # Chance Meeting
						break = yes
					}
					FROMFROM = { character_event = { id = WoL.400 } } # Picnic
				}
			}
			break = yes
		}
		
		if = {
			# The target does not like me much
			limit = {
				FROMFROM = {
					personal_opinion = {
						who = ROOT
						value = 0
					}
				}
			}
			
			random_list = {
				# Seduction attempts
				13 = {
					if = {
						limit = {
							NOT = { has_character_flag = wol_seduce_dance }
						}
						FROMFROM = { character_event = { id = WoL.300 } } # Dance
						break = yes
					}
					if = {
						limit = {
							NOT = { has_character_flag = wol_seduce_chance_meeting }
						}
						FROMFROM = { character_event = { id = WoL.350 } } # Chance Meeting
						break = yes
					}
					if = {
						limit = {
							NOT = { has_character_flag = wol_seduce_picnic }
						}
						FROMFROM = { character_event = { id = WoL.400 } } # Picnic
						break = yes
					}
					FROMFROM = { character_event = { id = WoL.300 } } # Dance
				}
				13 = {
					if = {
						limit = {
							NOT = { has_character_flag = wol_seduce_chance_meeting }
						}
						FROMFROM = { character_event = { id = WoL.350 } } # Chance Meeting
						break = yes
					}
					if = {
						limit = {
							NOT = { has_character_flag = wol_seduce_picnic }
						}
						FROMFROM = { character_event = { id = WoL.400 } } # Picnic
						break = yes
					}
					if = {
						limit = {
							NOT = { has_character_flag = wol_seduce_dance }
						}
						FROMFROM = { character_event = { id = WoL.300 } } # Dance
						break = yes
					}
					FROMFROM = { character_event = { id = WoL.350 } } # Chance Meeting
				}
				13 = {
					if = {
						limit = {
							NOT = { has_character_flag = wol_seduce_picnic }
						}
						FROMFROM = { character_event = { id = WoL.400 } } # Picnic
						break = yes
					}
					if = {
						limit = {
							NOT = { has_character_flag = wol_seduce_dance }
						}
						FROMFROM = { character_event = { id = WoL.300 } } # Dance
						break = yes
					}
					if = {
						limit = {
							NOT = { has_character_flag = wol_seduce_chance_meeting }
						}
						FROMFROM = { character_event = { id = WoL.350 } } # Chance Meeting
						break = yes
					}
					FROMFROM = { character_event = { id = WoL.400 } } # Picnic
				}
				# Gifts/wooing
				21 = {
					if = {
						limit = {
							NOT = { has_character_flag = wol_seduce_love_letter }
						}
						FROMFROM = { character_event = { id = WoL.200 } } # Love letter
						break = yes
					}
					if = {
						limit = {
							NOT = { has_character_flag = wol_seduce_gift }
						}
						FROMFROM = { character_event = { id = WoL.210 } } # Necklace / Sword
						break = yes
					}
					if = {
						limit = {
							NOT = { has_character_flag = wol_seduce_gossip }
						}
						FROMFROM = { character_event = { id = WoL.220 } } # Gossiping Maid/Squire
						break = yes
					}
					FROMFROM = { character_event = { id = WoL.200 } } # Love letter
				}
				20 = {
					if = {
						limit = {
							NOT = { has_character_flag = wol_seduce_gift }
						}
						FROMFROM = { character_event = { id = WoL.210 } } # Necklace / Sword
						break = yes
					}
					if = {
						limit = {
							NOT = { has_character_flag = wol_seduce_gossip }
						}
						FROMFROM = { character_event = { id = WoL.220 } } # Gossiping Maid/Squire
						break = yes
					}
					if = {
						limit = {
							NOT = { has_character_flag = wol_seduce_love_letter }
						}
						FROMFROM = { character_event = { id = WoL.200 } } # Love letter
						break = yes
					}
					FROMFROM = { character_event = { id = WoL.210 } } # Necklace / Sword
				}
				20 = {
					if = {
						limit = {
							NOT = { has_character_flag = wol_seduce_gossip }
						}
						FROMFROM = { character_event = { id = WoL.220 } } # Gossiping Maid/Squire
						break = yes
					}
					if = {
						limit = {
							NOT = { has_character_flag = wol_seduce_love_letter }
						}
						FROMFROM = { character_event = { id = WoL.200 } } # Love letter
						break = yes
					}
					if = {
						limit = {
							NOT = { has_character_flag = wol_seduce_gift }
						}
						FROMFROM = { character_event = { id = WoL.210 } } # Necklace / Sword
						break = yes
					}
					FROMFROM = { character_event = { id = WoL.220 } } # Gossiping Maid/Squire
				}
			}
			
			break = yes
		}
		
		if = {
			# The target dislikes me
			limit = {
				FROMFROM = {
					NOT = {
						personal_opinion = {
							who = ROOT
							value = 0
						}
					}
				}
			}
			
			random_list = {
				# Gifts/wooing
				34 = {
					if = {
						limit = {
							NOT = { has_character_flag = wol_seduce_love_letter }
						}
						FROMFROM = { character_event = { id = WoL.200 } } # Love letter
						break = yes
					}
					if = {
						limit = {
							NOT = { has_character_flag = wol_seduce_gift }
						}
						FROMFROM = { character_event = { id = WoL.210 } } # Necklace / Sword
						break = yes
					}
					if = {
						limit = {
							NOT = { has_character_flag = wol_seduce_gossip }
						}
						FROMFROM = { character_event = { id = WoL.220 } } # Gossiping Maid/Squire
						break = yes
					}
					FROMFROM = { character_event = { id = WoL.200 } } # Love letter
				}
				33 = {
					if = {
						limit = {
							NOT = { has_character_flag = wol_seduce_gift }
						}
						FROMFROM = { character_event = { id = WoL.210 } } # Necklace / Sword
						break = yes
					}
					if = {
						limit = {
							NOT = { has_character_flag = wol_seduce_gossip }
						}
						FROMFROM = { character_event = { id = WoL.220 } } # Gossiping Maid/Squire
						break = yes
					}
					if = {
						limit = {
							NOT = { has_character_flag = wol_seduce_love_letter }
						}
						FROMFROM = { character_event = { id = WoL.200 } } # Love letter
						break = yes
					}
					FROMFROM = { character_event = { id = WoL.210 } } # Necklace / Sword
				}
				33 = {
					if = {
						limit = {
							NOT = { has_character_flag = wol_seduce_gossip }
						}
						FROMFROM = { character_event = { id = WoL.220 } } # Gossiping Maid/Squire
						break = yes
					}
					if = {
						limit = {
							NOT = { has_character_flag = wol_seduce_love_letter }
						}
						FROMFROM = { character_event = { id = WoL.200 } } # Love letter
						break = yes
					}
					if = {
						limit = {
							NOT = { has_character_flag = wol_seduce_gift }
						}
						FROMFROM = { character_event = { id = WoL.210 } } # Necklace / Sword
						break = yes
					}
					FROMFROM = { character_event = { id = WoL.220 } } # Gossiping Maid/Squire
				}
			}
		}
	}
}

# My object of seduction has died!
character_event = {
	id = WoL.111
	
	desc = EVTDESC_WOL_111
	picture = GFX_evt_death
	border = GFX_event_normal_frame_intrigue
	
	show_from_from_from = yes
	
	is_triggered_only = yes
	
	immediate = {
		character_event = { id = WoL.118 }
	}
	
	option = {
		name = EVTOPTA_WOL_111
	}
}

# My object of seduction has been imprisoned!
character_event = {
	id = WoL.112
	
	desc = EVTDESC_WOL_112
	picture = GFX_evt_into_the_dungeon
	border = GFX_event_normal_frame_intrigue
	
	show_from_from_from = yes
	
	is_triggered_only = yes
	
	immediate = {
		character_event = { id = WoL.118 }
	}
	
	option = {
		name = EVTOPTA_WOL_112
	}
}

# My object of seduction has become incapable!
character_event = {
	id = WoL.113
	
	desc = EVTDESC_WOL_113
	picture = GFX_evt_illness
	border = GFX_event_normal_frame_intrigue
	
	show_from_from_from = yes
	
	is_triggered_only = yes
	
	immediate = {
		character_event = { id = WoL.118 }
	}
	
	option = {
		name = EVTOPTA_WOL_113
	}
}

# My object of seduction has become my spouse or concubine
character_event = {
	id = WoL.114
	
	desc = EVTDESC_WOL_114
	picture = GFX_evt_marriage
	border = GFX_event_normal_frame_intrigue
	
	show_from_from_from = yes
	
	is_triggered_only = yes
	
	immediate = {
		character_event = { id = WoL.118 }
	}
	
	option = {
		name = EVTOPTA_WOL_114
	}
}

# This is taking too long. Give up?
character_event = {
	id = WoL.115
	
	desc = {
		text = EVTDESC_WOL_115_BUSY
		trigger = {
			OR = {
				has_regent = yes
				in_command_trigger = yes
			}
		}
	}
	
	desc = {
		text = EVTDESC_WOL_115_UNAVAILABLE
		trigger = {
			FROMFROMFROM = {
				OR = {
					trait = on_hajj
					trait = on_pilgrimage
					trait = in_hiding
					in_command_trigger = yes
					has_character_modifier = in_meditation
					has_character_modifier = doing_penance
					AND = {
						has_character_modifier = in_seclusion
						NOT = { at_location = ROOT }
					}
				}
			}
		}
	}
	
	desc = {
		text = EVTDESC_WOL_115
		trigger = {
			NOR = {
				has_regent = yes
				in_command_trigger = yes
				FROMFROMFROM = {
					OR = {
						trait = on_hajj
						trait = on_pilgrimage
						trait = in_hiding
						in_command_trigger = yes
						has_character_modifier = in_meditation
						has_character_modifier = doing_penance
						AND = {
							has_character_modifier = in_seclusion
							NOT = { at_location = ROOT }
						}
					}
				}
			}
		}
	}
	
	picture = GFX_evt_lovers
	border = GFX_event_normal_frame_intrigue
	
	show_from_from_from = yes
	
	is_triggered_only = yes
	
	option = {
		name = EVTOPTB_WOL_115 # Keep trying
		ai_chance = {
			factor = 100
			modifier = {
				factor = 0
				FROMFROMFROM = { has_character_modifier = lustful_affair_timer }
			}
		}
	}
	
	option = {
		name = EVTOPTA_WOL_115 # Give up
		ai_chance = {
			factor = 5
		}
		hidden_tooltip = {
			character_event = { id = WoL.118 }
		}
	}
}

# End of Seduction event to clear out flags, etc
character_event = {
	id = WoL.118
	hide_window = yes
	
	is_triggered_only = yes
	
	immediate = {
		remove_opinion = {
			who = event_target:target_seduced
			modifier = opinion_seducing
		}
		
		clear_delayed_event = { id = WoL.110 }
		
		clr_character_flag = wol_seduce_love_letter
		clr_character_flag = wol_seduce_gift
		clr_character_flag = wol_seduce_gossip
		clr_character_flag = wol_seduce_dance
		clr_character_flag = wol_seduce_chance_meeting
		clr_character_flag = wol_seduce_picnic
		clr_character_flag = wol_rebuffed_once
		clr_character_flag = wol_rebuffed_twice
		clr_character_flag = wol_rebuffed_thrice
		clr_character_flag = seduction_confirmed
	}
}



######################################
# SEDUCE DECISION OPINION BOOSTERS
#
# AI response in these is NOT
# opinion driven, but based on traits
# and other factors.
#
######################################

# Opinion booster - Love Letter 
character_event = {
	id = WoL.200
	title = EVTTITLE_WOL_200
	
	picture = GFX_evt_gift
	border = GFX_event_normal_frame_intrigue
	
	desc = {
		text = EVTDESC_WOL_200
		trigger = {
			OR = {
				NOT = { is_close_relative = FROM }
				has_opinion_modifier = {
					who = FROM
					modifier = opinion_seduced_attracted
				}
			}
		}
	}
	desc = {
		text = EVTDESC_WOL_200_CR
		trigger = {
			is_close_relative = FROM
			NOT = {
				has_opinion_modifier = {
					who = FROM
					modifier = opinion_seduced_attracted
				}
			}
		}
	}
	
	is_triggered_only = yes
	
	immediate = {
		FROM = { set_character_flag = wol_seduce_love_letter }
	}
	
	option = {
		name = EVTOPTA_WOL_200 # How romantic!
		trigger = {
			NOT = { is_close_relative = FROM }
		}
		
		ai_chance = {
			factor = 100
			modifier = {
				factor = 0.1
				NOT = { trait = homosexual }
				same_sex = FROM
			}
			modifier = {
				factor = 0.5
				NOT = { religion = FROM }
			}
			modifier = {
				factor = 0.5
				NOT = { culture = FROM }
			}
			modifier = {
				factor = 0.5
				NOT = { culture_group = FROM }
			}
			modifier = {
				factor = 0.2
				trait = chaste
			}
			modifier = {
				factor = 0.5
				trait = fair
			}
			modifier = {
				factor = 0.5
				FROM = { trait = ugly }
			}
			modifier = {
				factor = 0.5
				FROM = { trait = leper }
			}
			modifier = {
				factor = 0.5
				FROM = { trait = imbecile }
			}
			modifier = {
				factor = 0.5
				FROM = { trait = inbred }
			}
			modifier = {
				factor = 0.75
				FROM = { trait = harelip }
			}
			modifier = {
				factor = 0.75
				FROM = { trait = hunchback }
			}
			modifier = {
				factor = 0.75
				FROM = { trait = dwarf }
			}
			modifier = {
				factor = 0.75
				trait = cynical
			}
			modifier = {
				factor = 0.75
				trait = paranoid
			}
			modifier = {
				factor = 1.25
				trait = arbitrary
			}
			modifier = {
				factor = 1.25
				trait = trusting
			}
			modifier = {
				factor = 1.25
				trait = kind
			}
			modifier = {
				factor = 1.5
				FROM = { has_character_modifier = wol_seducer_1 }
			}
			modifier = {
				factor = 2.25
				FROM = { has_character_modifier = wol_seducer_2 }
			}
			modifier = {
				factor = 5.0
				FROM = {
					OR = {
						trait = seducer
						trait = seductress
					}
				}
			}
			modifier = {
				factor = 1.25
				trait = harelip
			}
			modifier = {
				factor = 1.25
				trait = hunchback
			}
			modifier = {
				factor = 1.25
				trait = dwarf
			}
			modifier = {
				factor = 2.0
				trait = ugly
			}
			modifier = {
				factor = 2.0
				trait = imbecile
			}
			modifier = {
				factor = 2.0
				trait = inbred
			}
			modifier = {
				factor = 2.0
				trait = leper
			}
			modifier = {
				factor = 2.0
				trait = hedonist
			}
			modifier = {
				factor = 3.0
				trait = lustful
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_opinion_modifier = {
						who = FROM
						modifier = opinion_seduced_repelled
					}
				}
			}
			opinion = {
				who = FROM
				modifier = opinion_seduced_attracted
			}
		}
		
		if = {
			limit = {
				has_opinion_modifier = {
					who = FROM
					modifier = opinion_seduced_repelled
				}
			}
			remove_opinion = {
				who = FROM
				modifier = opinion_seduced_repelled
			}
		}
		
		FROM = { character_event = { id = WoL.201 tooltip = EVTTOOLTIP_WoL_201 } }
	}
	option = {
		name = EVTOPTB_WOL_200 # How delightfully perverted!
		trigger = {
			is_close_relative = FROM
		}
		
		ai_chance = {
			factor = 100
			modifier = {
				factor = 0.1
				NOT = { trait = homosexual }
				same_sex = FROM
			}
			modifier = {
				factor = 0.5
				NOT = { religion = FROM }
			}
			modifier = {
				factor = 0.5
				NOT = { culture = FROM }
			}
			modifier = {
				factor = 0.5
				NOT = { culture_group = FROM }
			}
			modifier = {
				factor = 0.2
				trait = chaste
			}
			modifier = {
				factor = 0.5
				trait = fair
			}
			modifier = {
				factor = 0.1
				is_bs_marriage_religion_trigger = no
				NOT = {
					OR = {
						trait = arbitrary
						trait = lustful
						trait = hedonist
					}
				}
			}
			modifier = {
				factor = 0.5
				FROM = { trait = ugly }
			}
			modifier = {
				factor = 0.5
				FROM = { trait = leper }
			}
			modifier = {
				factor = 0.5
				FROM = { trait = imbecile }
			}
			modifier = {
				factor = 0.5
				FROM = { trait = inbred }
			}
			modifier = {
				factor = 0.75
				FROM = { trait = harelip }
			}
			modifier = {
				factor = 0.75
				FROM = { trait = hunchback }
			}
			modifier = {
				factor = 0.75
				FROM = { trait = dwarf }
			}
			modifier = {
				factor = 0.75
				trait = cynical
			}
			modifier = {
				factor = 0.75
				trait = paranoid
			}
			modifier = {
				factor = 1.25
				trait = trusting
			}
			modifier = {
				factor = 1.25
				trait = kind
			}
			modifier = {
				factor = 1.5
				FROM = { has_character_modifier = wol_seducer_1 }
			}
			modifier = {
				factor = 2.25
				FROM = { has_character_modifier = wol_seducer_2 }
			}
			modifier = {
				factor = 5.0
				FROM = {
					OR = {
						trait = seducer
						trait = seductress
					}
				}
			}
			modifier = {
				factor = 1.25
				trait = harelip
			}
			modifier = {
				factor = 1.25
				trait = hunchback
			}
			modifier = {
				factor = 1.25
				trait = dwarf
			}
			modifier = {
				factor = 2.0
				trait = ugly
			}
			modifier = {
				factor = 2.0
				trait = imbecile
			}
			modifier = {
				factor = 2.0
				trait = inbred
			}
			modifier = {
				factor = 2.0
				trait = leper
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_opinion_modifier = {
						who = FROM
						modifier = opinion_seduced_repelled
					}
				}
			}
			opinion = {
				who = FROM
				modifier = opinion_seduced_attracted
			}
		}
		
		if = {
			limit = {
				has_opinion_modifier = {
					who = FROM
					modifier = opinion_seduced_repelled
				}
			}
			remove_opinion = {
				who = FROM
				modifier = opinion_seduced_repelled
			}
		}
		FROM = { character_event = { id = WoL.201 tooltip = EVTTOOLTIP_WoL_201 } }
	}
	option = {
		name = EVTOPTC_WOL_200 # What a fool!
		trigger = {
			is_married = no
			is_consort = no
		}
		
		ai_chance = {
			factor = 100
			modifier = {
				factor = 2.0
				trait = cruel
			}
		}
		
		FROM = { character_event = { id = WoL.202 tooltip = EVTTOOLTIP_WoL_202 } }
	}
	option = {
		name = EVTOPTD_WOL_200 # I am married!
		trigger = {
			OR = {
				is_married = yes
				is_consort = yes
			}
		}
		
		ai_chance = {
			factor = 100
			modifier = {
				factor = 2.0
				trait = cruel
			}
			modifier = {
				factor = 2.0
				NOT = {
					OR = {
						trait = lustful 
						trait = deceitful
						trait = arbitrary
						trait = hedonist
					}
				}
				spouse = {
					reverse_personal_opinion = {
						who = ROOT
						value = 25
					}
				}
			}
			modifier = {
				factor = 2.0
				NOT = {
					OR = {
						trait = lustful 
						trait = deceitful
						trait = arbitrary
						trait = hedonist
					}
				}
				spouse = {
					reverse_personal_opinion = {
						who = ROOT
						value = 50
					}
				}
			}
			modifier = {
				factor = 2.0
				NOT = {
					OR = {
						trait = lustful 
						trait = deceitful
						trait = arbitrary
						trait = hedonist
					}
				}
				spouse = {
					is_lover = ROOT
				}
			}
		}
		
		FROM = { character_event = { id = WoL.202 tooltip = EVTTOOLTIP_WoL_202 } }
	}
	option = {
		name = EVTOPTE_WOL_200 # I am offended
		trigger = {
			NOT = { is_close_relative = FROM }
		}
		
		ai_chance = {
			factor = 50
			modifier = {
				factor = 2.0
				NOT = { trait = homosexual }
				same_sex = FROM
			}
			modifier = {
				factor = 2.0
				trait = cruel
			}
			modifier = {
				factor = 2.0
				OR = {
					trait = cynical
					trait = paranoid
				}
				OR = {
					trait = ugly
					trait = leper
					trait = dwarf
					trait = harelip
					trait = hunchback
				}
				FROM = {
					NOT = {
						OR = {
							trait = ugly
							trait = leper
							trait = dwarf
							trait = harelip
							trait = hunchback
							trait = inbred
							trait = imbecile
						}
					}
				}
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_opinion_modifier = {
						who = FROM
						modifier = opinion_seduced_attracted
					}
				}
			}
			opinion = {
				who = FROM
				modifier = opinion_seduced_repelled
			}
		}
		
		if = {
			limit = {
				has_opinion_modifier = {
					who = FROM
					modifier = opinion_seduced_attracted
				}
			}
			remove_opinion = {
				who = FROM
				modifier = opinion_seduced_attracted
			}
		}
		
		FROM = { character_event = { id = WoL.203 tooltip = EVTTOOLTIP_WoL_203 } }
	}
	option = {
		name = EVTOPTF_WOL_200 # This is sick!
		trigger = {
			is_close_relative = FROM
		}
		
		ai_chance = {
			factor = 100
			modifier = {
				factor = 2.0
				NOT = { trait = homosexual }
				same_sex = FROM
			}
			modifier = {
				factor = 2.0
				trait = cruel
			}
			modifier = {
				factor = 2.0
				NOT = {
					OR = {
						trait = arbitrary
						trait = lustful
						trait = hedonist
					}
				}
			}
			modifier = {
				factor = 2.0
				OR = {
					trait = cynical
					trait = paranoid
				}
				OR = {
					trait = ugly
					trait = leper
					trait = dwarf
					trait = harelip
					trait = hunchback
				}
				FROM = {
					NOT = {
						OR = {
							trait = ugly
							trait = leper
							trait = dwarf
							trait = harelip
							trait = hunchback
							trait = inbred
							trait = imbecile
						}
					}
				}
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_opinion_modifier = {
						who = FROM
						modifier = opinion_seduced_attracted
					}
				}
			}
			opinion = {
				who = FROM
				modifier = opinion_seduced_repelled
			}
		}
		
		if = {
			limit = {
				has_opinion_modifier = {
					who = FROM
					modifier = opinion_seduced_attracted
				}
			}
			remove_opinion = {
				who = FROM
				modifier = opinion_seduced_attracted
			}
		}
		
		FROM = { character_event = { id = WoL.203 tooltip = EVTTOOLTIP_WoL_203 } }
	}
}

# Opinion booster - Love Letter - Positive response
character_event = {
	id = WoL.201
	title = EVTTITLE_WOL_201
	desc = EVTDESC_WOL_201
	
	picture = GFX_evt_gift
	border = GFX_event_normal_frame_intrigue
	
	is_triggered_only = yes
	
	option = {
		name = EVTOPTA_WOL_201 # Great!
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				is_female = no
				FROM = {
					is_female = yes
					OR = {
						higher_tier_than = duke
						any_spouse = { higher_tier_than = duke }
						any_consort = { higher_tier_than = duke }
					}
				}
			}
			hidden_tooltip = {
				character_event = { id = WoL.110 days = 60 random = 30 } # Back to the tombola
			}
			break = yes
		}
		character_event = { id = WoL.110 days = 20 random = 20 tooltip = EVTTOOLTIP_WoL_110 } # Back to the tombola
	}
	option = {
		name = EVTOPTB_WOL_201 # I have tired of this sport
		ai_chance = {
			factor = 1
		}
		
		# End the seduction
		custom_tooltip = {
			text = WOL_SEDUCE_END_TOOLTIP
		}
		hidden_tooltip = {
			if = {
				limit = { ai = yes }
				remove_character_modifier = seduction_timer
				add_character_modifier = {
					name = seduction_timer
					duration = 365
					hidden = yes
				}
			}
			character_event = { id = WoL.118 }
		}
	}
}

# Opinion booster - Love Letter - No response
character_event = {
	id = WoL.202
	title = EVTTITLE_WOL_201
	desc = EVTDESC_WOL_202
	
	picture = GFX_evt_gift
	border = GFX_event_normal_frame_intrigue
	
	is_triggered_only = yes
	
	option = {
		name = EVTOPTA_WOL_202 # Disappointing!
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				is_female = no
				FROM = {
					is_female = yes
					OR = {
						higher_tier_than = duke
						any_spouse = { higher_tier_than = duke }
						any_consort = { higher_tier_than = duke }
					}
				}
			}
			hidden_tooltip = {
				character_event = { id = WoL.110 days = 60 random = 30 } # Back to the tombola
			}
			break = yes
		}
		character_event = { id = WoL.110 days = 20 random = 20 tooltip = EVTTOOLTIP_WoL_110 } # Back to the tombola
	}
	option = {
		name = EVTOPTB_WOL_202 # I have tired of this sport
		ai_chance = {
			factor = 1
			modifier = {
				factor = 200
				FROM = { ai = no }
			}
		}
		# End the seduction
		custom_tooltip = {
			text = WOL_SEDUCE_END_TOOLTIP
		}
		hidden_tooltip = {
			if = {
				limit = { ai = yes }
				remove_character_modifier = seduction_timer
				add_character_modifier = {
					name = seduction_timer
					duration = 365
					hidden = yes
				}
			}
			character_event = { id = WoL.118 }
		}
	}
}

# Opinion booster - Love Letter - Negative response
character_event = {
	id = WoL.203
	title = EVTTITLE_WOL_201
	desc = EVTDESC_WOL_203
	
	picture = GFX_evt_gift
	border = GFX_event_normal_frame_intrigue
	
	is_triggered_only = yes
	
	immediate = {
		if = {
			limit = {
				has_character_flag = wol_rebuffed_once
				has_character_flag = wol_rebuffed_twice
				NOT = { has_character_flag = wol_rebuffed_thrice }
			}
			set_character_flag = wol_rebuffed_thrice
		}
		if = {
			limit = {
				has_character_flag = wol_rebuffed_once
				NOT = { has_character_flag = wol_rebuffed_twice }
			}
			set_character_flag = wol_rebuffed_twice
		}
		if = {
			limit = { NOT = { has_character_flag = wol_rebuffed_once } }
			set_character_flag = wol_rebuffed_once
		}
	}
	
	option = {
		name = EVTOPTA_WOL_203 # Disappointing!
		trigger = {
			OR = {
				NOT = { has_character_flag = rebuffed_twice }
				trait = seducer
				trait = seductress
			}
			NOT = { has_character_flag = wol_rebuffed_thrice }
		}
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				is_female = no
				FROM = {
					is_female = yes
					OR = {
						higher_tier_than = duke
						any_spouse = { higher_tier_than = duke }
						any_consort = { higher_tier_than = duke }
					}
				}
			}
			hidden_tooltip = {
				character_event = { id = WoL.110 days = 60 random = 30 } # Back to the tombola
			}
			break = yes
		}
		character_event = { id = WoL.110 days = 20 random = 20 tooltip = EVTTOOLTIP_WoL_110 } # Back to the tombola
	}
	option = {
		name = EVTOPTB_WOL_203 # I have tired of this sport
		ai_chance = {
			factor = 1
			modifier = {
				factor = 200
				FROM = { ai = no }
			}
		}
		# End the seduction
		custom_tooltip = {
			text = WOL_SEDUCE_END_TOOLTIP
		}
		hidden_tooltip = {
			if = {
				limit = { ai = yes }
				remove_character_modifier = seduction_timer
				add_character_modifier = {
					name = seduction_timer
					duration = 365
					hidden = yes
				}
			}
			character_event = { id = WoL.118 }
		}
	}
}

# Opinion booster - Gift (necklace or sword)
character_event = {
	id = WoL.210
	title = EVTTITLE_WOL_210
	
	picture = GFX_evt_gift
	border = GFX_event_normal_frame_intrigue
	
	desc = {
		text = EVTDESC_WOL_210
		trigger = {
			is_female = yes
			OR = {
				NOT = { is_close_relative = FROM }
				has_opinion_modifier = {
					who = FROM
					modifier = opinion_seduced_attracted
				}
			}
		}
	}
	
	desc = {
		text = EVTDESC_WOL_210_CR
		trigger = {
			is_female = yes
			is_close_relative = FROM
			NOT = {
				has_opinion_modifier = {
					who = FROM
					modifier = opinion_seduced_attracted
				}
			}
		}
	}
	
	desc = {
		text = EVTDESC_WOL_210_M
		trigger = {
			is_female = no
			OR = {
				NOT = { is_close_relative = FROM }
				has_opinion_modifier = {
					who = FROM
					modifier = opinion_seduced_attracted
				}
			}
		}
	}
	
	desc = {
		text = EVTDESC_WOL_210_CR_M
		trigger = {
			is_female = no
			is_close_relative = FROM
			NOT = {
				has_opinion_modifier = {
					who = FROM
					modifier = opinion_seduced_attracted
				}
			}
		}
	}
	
	is_triggered_only = yes
	
	immediate = {
		FROM = { set_character_flag = wol_seduce_gift }
	}
	
	option = {
		name = EVTOPTA_WOL_210 # How romantic!
		trigger = {
			NOT = { is_close_relative = FROM }
		}
		
		ai_chance = {
			factor = 100
			modifier = {
				factor = 0.1
				NOT = { trait = homosexual }
				same_sex = FROM
			}
			modifier = {
				factor = 0.5
				NOT = { religion = FROM }
			}
			modifier = {
				factor = 0.5
				NOT = { culture = FROM }
			}
			modifier = {
				factor = 0.5
				NOT = { culture_group = FROM }
			}
			modifier = {
				factor = 0.2
				trait = chaste
			}
			modifier = {
				factor = 0.5
				trait = fair
			}
			modifier = {
				factor = 0.5
				FROM = { trait = ugly }
			}
			modifier = {
				factor = 0.5
				FROM = { trait = leper }
			}
			modifier = {
				factor = 0.5
				FROM = { trait = imbecile }
			}
			modifier = {
				factor = 0.5
				FROM = { trait = inbred }
			}
			modifier = {
				factor = 0.75
				FROM = { trait = harelip }
			}
			modifier = {
				factor = 0.75
				FROM = { trait = hunchback }
			}
			modifier = {
				factor = 0.75
				FROM = { trait = dwarf }
			}
			modifier = {
				factor = 0.75
				trait = cynical
			}
			modifier = {
				factor = 0.75
				trait = paranoid
			}
			modifier = {
				factor = 1.25
				trait = arbitrary
			}
			modifier = {
				factor = 1.25
				trait = trusting
			}
			modifier = {
				factor = 1.25
				trait = kind
			}
			modifier = {
				factor = 1.5
				FROM = { has_character_modifier = wol_seducer_1 }
			}
			modifier = {
				factor = 2.25
				FROM = { has_character_modifier = wol_seducer_2 }
			}
			modifier = {
				factor = 5.0
				FROM = {
					OR = {
						trait = seducer
						trait = seductress
					}
				}
			}
			modifier = {
				factor = 1.25
				trait = harelip
			}
			modifier = {
				factor = 1.25
				trait = hunchback
			}
			modifier = {
				factor = 1.25
				trait = dwarf
			}
			modifier = {
				factor = 2.0
				trait = ugly
			}
			modifier = {
				factor = 2.0
				trait = imbecile
			}
			modifier = {
				factor = 2.0
				trait = inbred
			}
			modifier = {
				factor = 2.0
				trait = leper
			}
			modifier = {
				factor = 2.0
				trait = hedonist
			}
			modifier = {
				factor = 3.0
				trait = lustful
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_opinion_modifier = {
						who = FROM
						modifier = opinion_seduced_repelled
					}
				}
			}
			opinion = {
				who = FROM
				modifier = opinion_seduced_attracted
			}
		}
		
		if = {
			limit = {
				has_opinion_modifier = {
					who = FROM
					modifier = opinion_seduced_repelled
				}
			}
			remove_opinion = {
				who = FROM
				modifier = opinion_seduced_repelled
			}
		}
		
		FROM = { character_event = { id = WoL.211 tooltip = EVTTOOLTIP_WoL_201 } }
	}
	option = {
		name = EVTOPTB_WOL_210 # How delightfully perverted!
		trigger = {
			is_close_relative = FROM
		}
		ai_chance = {
			factor = 100
			modifier = {
				factor = 0.1
				NOT = { trait = homosexual }
				same_sex = FROM
			}
			modifier = {
				factor = 0.5
				NOT = { religion = FROM }
			}
			modifier = {
				factor = 0.5
				NOT = { culture = FROM }
			}
			modifier = {
				factor = 0.5
				NOT = { culture_group = FROM }
			}
			modifier = {
				factor = 0.2
				trait = chaste
			}
			modifier = {
				factor = 0.5
				trait = fair
			}
			modifier = {
				factor = 0.1
				is_bs_marriage_religion_trigger = no
				NOT = {
					OR = {
						trait = arbitrary
						trait = lustful
						trait = hedonist
					}
				}
			}
			modifier = {
				factor = 0.5
				FROM = { trait = ugly }
			}
			modifier = {
				factor = 0.5
				FROM = { trait = leper }
			}
			modifier = {
				factor = 0.5
				FROM = { trait = imbecile }
			}
			modifier = {
				factor = 0.5
				FROM = { trait = inbred }
			}
			modifier = {
				factor = 0.75
				FROM = { trait = harelip }
			}
			modifier = {
				factor = 0.75
				FROM = { trait = hunchback }
			}
			modifier = {
				factor = 0.75
				FROM = { trait = dwarf }
			}
			modifier = {
				factor = 0.75
				trait = cynical
			}
			modifier = {
				factor = 0.75
				trait = paranoid
			}
			modifier = {
				factor = 1.25
				trait = trusting
			}
			modifier = {
				factor = 1.25
				trait = kind
			}
			modifier = {
				factor = 1.5
				FROM = { has_character_modifier = wol_seducer_1 }
			}
			modifier = {
				factor = 2.25
				FROM = { has_character_modifier = wol_seducer_2 }
			}
			modifier = {
				factor = 5.0
				FROM = {
					OR = {
						trait = seducer
						trait = seductress
					}
				}
			}
			modifier = {
				factor = 1.25
				trait = harelip
			}
			modifier = {
				factor = 1.25
				trait = hunchback
			}
			modifier = {
				factor = 1.25
				trait = dwarf
			}
			modifier = {
				factor = 2.0
				trait = ugly
			}
			modifier = {
				factor = 2.0
				trait = imbecile
			}
			modifier = {
				factor = 2.0
				trait = inbred
			}
			modifier = {
				factor = 2.0
				trait = leper
			}
		}
		if = {
			limit = {
				NOT = {
					has_opinion_modifier = {
						who = FROM
						modifier = opinion_seduced_repelled
					}
				}
			}
			opinion = {
				who = FROM
				modifier = opinion_seduced_attracted
			}
		}
		
		if = {
			limit = {
				has_opinion_modifier = {
					who = FROM
					modifier = opinion_seduced_repelled
				}
			}
			remove_opinion = {
				who = FROM
				modifier = opinion_seduced_repelled
			}
		}
		FROM = { character_event = { id = WoL.211 tooltip = EVTTOOLTIP_WoL_201 } }
	}
	option = {
		name = EVTOPTC_WOL_200 # What a fool!
		trigger = {
			is_married = no
			is_consort = no
		}
		ai_chance = {
			factor = 100
			modifier = {
				factor = 2.0
				trait = cruel
			}
		}
		FROM = { character_event = { id = WoL.212 tooltip = EVTTOOLTIP_WoL_202 } }
	}
	option = {
		name = EVTOPTD_WOL_200 # I am married
		trigger = {
			OR = {
				is_married = yes
				is_consort = yes
			}
		}
		ai_chance = {
			factor = 100
			modifier = {
				factor = 2.0
				trait = cruel
			}
			modifier = {
				factor = 2.0
				NOT = {
					OR = {
						trait = lustful 
						trait = deceitful
						trait = arbitrary
						trait = hedonist
					}
				}
				spouse = {
					reverse_personal_opinion = {
						who = ROOT
						value = 25
					}
				}
			}
			modifier = {
				factor = 2.0
				NOT = {
					OR = {
						trait = lustful 
						trait = deceitful
						trait = arbitrary
						trait = hedonist
					}
				}
				spouse = {
					reverse_personal_opinion = {
						who = ROOT
						value = 50
					}
				}
			}
			modifier = {
				factor = 2.0
				NOT = {
					OR = {
						trait = lustful 
						trait = deceitful
						trait = arbitrary
						trait = hedonist
					}
				}
				spouse = {
					is_lover = ROOT
				}
			}
		}
		FROM = { character_event = { id = WoL.212 tooltip = EVTTOOLTIP_WoL_202 } }
	}
	option = {
		name = EVTOPTE_WOL_200 # I am offended
		trigger = {
			NOT = { is_close_relative = FROM }
		}
		ai_chance = {
			factor = 50
			modifier = {
				factor = 2.0
				NOT = { trait = homosexual }
				same_sex = FROM
			}
			modifier = {
				factor = 2.0
				trait = cruel
			}
			modifier = {
				factor = 2.0
				OR = {
					trait = cynical
					trait = paranoid
				}
				OR = {
					trait = ugly
					trait = leper
					trait = dwarf
					trait = harelip
					trait = hunchback
				}
				FROM = {
					NOT = {
						OR = {
							trait = ugly
							trait = leper
							trait = dwarf
							trait = harelip
							trait = hunchback
							trait = inbred
							trait = imbecile
						}
					}
				}
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_opinion_modifier = {
						who = FROM
						modifier = opinion_seduced_attracted
					}
				}
			}
			opinion = {
				who = FROM
				modifier = opinion_seduced_repelled
			}
		}
		
		if = {
			limit = {
				has_opinion_modifier = {
					who = FROM
					modifier = opinion_seduced_attracted
				}
			}
			remove_opinion = {
				who = FROM
				modifier = opinion_seduced_attracted
			}
		}
		
		FROM = { character_event = { id = WoL.213 tooltip = EVTTOOLTIP_WoL_203 } }
	}
	option = {
		name = EVTOPTF_WOL_200 # This is sick!
		trigger = {
			is_close_relative = FROM
		}
		ai_chance = {
			factor = 100
			modifier = {
				factor = 2.0
				NOT = { trait = homosexual }
				same_sex = FROM
			}
			modifier = {
				factor = 2.0
				trait = cruel
			}
			modifier = {
				factor = 2.0
				NOT = {
					OR = {
						trait = arbitrary
						trait = lustful
						trait = hedonist
					}
				}
			}
			modifier = {
				factor = 2.0
				OR = {
					trait = cynical
					trait = paranoid
				}
				OR = {
					trait = ugly
					trait = leper
					trait = dwarf
					trait = harelip
					trait = hunchback
				}
				FROM = {
					NOT = {
						OR = {
							trait = ugly
							trait = leper
							trait = dwarf
							trait = harelip
							trait = hunchback
							trait = inbred
							trait = imbecile
						}
					}
				}
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_opinion_modifier = {
						who = FROM
						modifier = opinion_seduced_attracted
					}
				}
			}
			opinion = {
				who = FROM
				modifier = opinion_seduced_repelled
			}
		}
		
		if = {
			limit = {
				has_opinion_modifier = {
					who = FROM
					modifier = opinion_seduced_attracted
				}
			}
			remove_opinion = {
				who = FROM
				modifier = opinion_seduced_attracted
			}
		}
		
		FROM = { character_event = { id = WoL.213 tooltip = EVTTOOLTIP_WoL_203 } }
	}
}

# Opinion booster - Gift - Positive response
character_event = {
	id = WoL.211
	title = EVTTITLE_WOL_211
	
	desc = {
		text = EVTDESC_WOL_211
		trigger = {
			FROM = { is_female = yes }
		}
	}
	desc = {
		text = EVTDESC_WOL_211_M
		trigger = {
			FROM = { is_female = no }
		}
	}
	
	picture = GFX_evt_gift
	border = GFX_event_normal_frame_intrigue
	
	is_triggered_only = yes
	
	option = {
		name = EVTOPTA_WOL_211 # Great!
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				is_female = no
				FROM = {
					is_female = yes
					OR = {
						higher_tier_than = duke
						any_spouse = { higher_tier_than = duke }
						any_consort = { higher_tier_than = duke }
					}
				}
			}
			hidden_tooltip = {
				character_event = { id = WoL.110 days = 60 random = 30 } # Back to the tombola
			}
			break = yes
		}
		character_event = { id = WoL.110 days = 20 random = 20 tooltip = EVTTOOLTIP_WoL_110 } # Back to the tombola
	}
	option = {
		name = EVTOPTB_WOL_211 # I have tired of this sport
		ai_chance = {
			factor = 1
		}
		# End the seduction
		custom_tooltip = {
			text = WOL_SEDUCE_END_TOOLTIP
		}
		hidden_tooltip = {
			if = {
				limit = { ai = yes }
				remove_character_modifier = seduction_timer
				add_character_modifier = {
					name = seduction_timer
					duration = 365
					hidden = yes
				}
			}
			character_event = { id = WoL.118 }
		}
	}
}

# Opinion booster - Gift - No response
character_event = {
	id = WoL.212
	title = EVTTITLE_WOL_211
	
	desc = {
		text = EVTDESC_WOL_212
		trigger = {
			FROM = { is_female = yes }
		}
	}
	desc = {
		text = EVTDESC_WOL_212_M
		trigger = {
			FROM = { is_female = no }
		}
	}
	
	picture = GFX_evt_gift
	border = GFX_event_normal_frame_intrigue
	
	is_triggered_only = yes
	
	option = {
		name = EVTOPTA_WOL_212 # Disappointing!
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				is_female = no
				FROM = {
					is_female = yes
					OR = {
						higher_tier_than = duke
						any_spouse = { higher_tier_than = duke }
						any_consort = { higher_tier_than = duke }
					}
				}
			}
			hidden_tooltip = {
				character_event = { id = WoL.110 days = 60 random = 30 } # Back to the tombola
			}
			break = yes
		}
		character_event = { id = WoL.110 days = 20 random = 20 tooltip = EVTTOOLTIP_WoL_110 } # Back to the tombola
	}
	option = {
		name = EVTOPTB_WOL_212 # I have tired of this sport
		ai_chance = {
			factor = 1
			modifier = {
				factor = 200
				FROM = { ai = no }
			}
		}
		# End the seduction
		custom_tooltip = {
			text = WOL_SEDUCE_END_TOOLTIP
		}
		hidden_tooltip = {
			if = {
				limit = { ai = yes }
				remove_character_modifier = seduction_timer
				add_character_modifier = {
					name = seduction_timer
					duration = 365
					hidden = yes
				}
			}
			character_event = { id = WoL.118 }
		}
	}
}

# Opinion booster - Gift - Negative response
character_event = {
	id = WoL.213
	title = EVTTITLE_WOL_211
	desc = {
		text = EVTDESC_WOL_213
		trigger = {
			FROM = { is_female = yes }
		}
	}
	desc = {
		text = EVTDESC_WOL_213_M
		trigger = {
			FROM = { is_female = no }
		}
	}
	
	picture = GFX_evt_gift
	border = GFX_event_normal_frame_intrigue
	
	is_triggered_only = yes
	
	immediate = {
		if = {
			limit = {
				has_character_flag = wol_rebuffed_once
				has_character_flag = wol_rebuffed_twice
				NOT = { has_character_flag = wol_rebuffed_thrice }
			}
			set_character_flag = wol_rebuffed_thrice
		}
		if = {
			limit = {
				has_character_flag = wol_rebuffed_once
				NOT = { has_character_flag = wol_rebuffed_twice }
			}
			set_character_flag = wol_rebuffed_twice
		}
		if = {
			limit = { NOT = { has_character_flag = wol_rebuffed_once } }
			set_character_flag = wol_rebuffed_once
		}
	}
	
	option = {
		name = EVTOPTA_WOL_213 # Disappointing!
		trigger = {
			OR = {
				NOT = { has_character_flag = rebuffed_twice }
				trait = seducer
				trait = seductress
			}
			NOT = { has_character_flag = wol_rebuffed_thrice }
		}
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				is_female = no
				FROM = {
					is_female = yes
					OR = {
						higher_tier_than = duke
						any_spouse = { higher_tier_than = duke }
						any_consort = { higher_tier_than = duke }
					}
				}
			}
			hidden_tooltip = {
				character_event = { id = WoL.110 days = 60 random = 30 } # Back to the tombola
			}
			break = yes
		}
		character_event = { id = WoL.110 days = 20 random = 20 tooltip = EVTTOOLTIP_WoL_110 } # Back to the tombola
	}
	option = {
		name = EVTOPTB_WOL_211 # I have tired of this sport
		ai_chance = {
			factor = 1
			modifier = {
				factor = 200
				FROM = { ai = no }
			}
		}
		# End the seduction
		custom_tooltip = {
			text = WOL_SEDUCE_END_TOOLTIP
		}
		hidden_tooltip = {
			if = {
				limit = { ai = yes }
				remove_character_modifier = seduction_timer
				add_character_modifier = {
					name = seduction_timer
					duration = 365
					hidden = yes
				}
			}
			character_event = { id = WoL.118 }
		}
	}
}

# Opinion booster - Gossip
character_event = {
	id = WoL.220
	title = EVTTITLE_WOL_220
	
	picture = GFX_evt_gift
	border = GFX_event_normal_frame_intrigue
	
	desc = {
		text = EVTDESC_WOL_220
		trigger = {
			is_female = yes
			OR = {
				NOT = { is_close_relative = FROM }
				has_opinion_modifier = {
					who = FROM
					modifier = opinion_seduced_attracted
				}
			}
		}
	}
	
	desc = {
		text = EVTDESC_WOL_220_CR
		trigger = {
			is_female = yes
			is_close_relative = FROM
			NOT = {
				has_opinion_modifier = {
					who = FROM
					modifier = opinion_seduced_attracted
				}
			}
		}
	}
	
	desc = {
		text = EVTDESC_WOL_220_M
		trigger = {
			is_female = no
			OR = {
				NOT = { is_close_relative = FROM }
				has_opinion_modifier = {
					who = FROM
					modifier = opinion_seduced_attracted
				}
			}
		}
	}
	
	desc = {
		text = EVTDESC_WOL_220_CR_M
		trigger = {
			is_female = no
			is_close_relative = FROM
			NOT = {
				has_opinion_modifier = {
					who = FROM
					modifier = opinion_seduced_attracted
				}
			}
		}
	}
	
	is_triggered_only = yes
	
	immediate = {
		FROM = { set_character_flag = wol_seduce_gossip }
	}
	
	option = {
		name = EVTOPTA_WOL_220 # How romantic!
		trigger = {
			NOT = { is_close_relative = FROM }
		}
		
		ai_chance = {
			factor = 100
			modifier = {
				factor = 0.1
				NOT = { trait = homosexual }
				same_sex = FROM
			}
			modifier = {
				factor = 0.5
				NOT = { religion = FROM }
			}
			modifier = {
				factor = 0.5
				NOT = { culture = FROM }
			}
			modifier = {
				factor = 0.5
				NOT = { culture_group = FROM }
			}
			modifier = {
				factor = 0.2
				trait = chaste
			}
			modifier = {
				factor = 0.5
				trait = fair
			}
			modifier = {
				factor = 0.5
				trait = cruel
			}
			modifier = {
				factor = 0.5
				FROM = { trait = ugly }
			}
			modifier = {
				factor = 0.5
				FROM = { trait = leper }
			}
			modifier = {
				factor = 0.5
				FROM = { trait = imbecile }
			}
			modifier = {
				factor = 0.5
				FROM = { trait = inbred }
			}
			modifier = {
				factor = 0.75
				FROM = { trait = harelip }
			}
			modifier = {
				factor = 0.75
				FROM = { trait = hunchback }
			}
			modifier = {
				factor = 0.75
				FROM = { trait = dwarf }
			}
			modifier = {
				factor = 0.75
				trait = cynical
			}
			modifier = {
				factor = 0.75
				trait = paranoid
			}
			modifier = {
				factor = 1.25
				trait = arbitrary
			}
			modifier = {
				factor = 1.25
				trait = trusting
			}
			modifier = {
				factor = 1.25
				trait = kind
			}
			modifier = {
				factor = 1.5
				FROM = { has_character_modifier = wol_seducer_1 }
			}
			modifier = {
				factor = 2.25
				FROM = { has_character_modifier = wol_seducer_2 }
			}
			modifier = {
				factor = 5.0
				FROM = {
					OR = {
						trait = seducer
						trait = seductress
					}
				}
			}
			modifier = {
				factor = 1.25
				trait = harelip
			}
			modifier = {
				factor = 1.25
				trait = hunchback
			}
			modifier = {
				factor = 1.25
				trait = dwarf
			}
			modifier = {
				factor = 2.0
				trait = ugly
			}
			modifier = {
				factor = 2.0
				trait = imbecile
			}
			modifier = {
				factor = 2.0
				trait = inbred
			}
			modifier = {
				factor = 2.0
				trait = leper
			}
			modifier = {
				factor = 2.0
				trait = hedonist
			}
			modifier = {
				factor = 3.0
				trait = lustful
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_opinion_modifier = {
						who = FROM
						modifier = opinion_seduced_repelled
					}
				}
			}
			opinion = {
				who = FROM
				modifier = opinion_seduced_attracted
			}
		}
		
		if = {
			limit = {
				has_opinion_modifier = {
					who = FROM
					modifier = opinion_seduced_repelled
				}
			}
			remove_opinion = {
				who = FROM
				modifier = opinion_seduced_repelled
			}
		}
		
		FROM = { character_event = { id = WoL.221 tooltip = EVTTOOLTIP_WoL_201 } }
	}
	option = {
		name = EVTOPTB_WOL_220 # How delightfully perverted!
		trigger = {
			is_close_relative = FROM
		}
		ai_chance = {
			factor = 100
			modifier = {
				factor = 0.1
				NOT = { trait = homosexual }
				same_sex = FROM
			}
			modifier = {
				factor = 0.5
				NOT = { religion = FROM }
			}
			modifier = {
				factor = 0.5
				NOT = { culture = FROM }
			}
			modifier = {
				factor = 0.5
				NOT = { culture_group = FROM }
			}
			modifier = {
				factor = 0.2
				trait = chaste
			}
			modifier = {
				factor = 0.5
				trait = fair
			}
			modifier = {
				factor = 0.1
				is_bs_marriage_religion_trigger = no
				NOT = {
					OR = {
						trait = arbitrary
						trait = lustful
						trait = hedonist
					}
				}
			}
			modifier = {
				factor = 0.5
				FROM = { trait = ugly }
			}
			modifier = {
				factor = 0.5
				FROM = { trait = leper }
			}
			modifier = {
				factor = 0.5
				FROM = { trait = imbecile }
			}
			modifier = {
				factor = 0.5
				FROM = { trait = inbred }
			}
			modifier = {
				factor = 0.75
				FROM = { trait = harelip }
			}
			modifier = {
				factor = 0.75
				FROM = { trait = hunchback }
			}
			modifier = {
				factor = 0.75
				FROM = { trait = dwarf }
			}
			modifier = {
				factor = 0.75
				trait = cynical
			}
			modifier = {
				factor = 0.75
				trait = paranoid
			}
			modifier = {
				factor = 1.25
				trait = trusting
			}
			modifier = {
				factor = 1.25
				trait = kind
			}
			modifier = {
				factor = 1.5
				FROM = { has_character_modifier = wol_seducer_1 }
			}
			modifier = {
				factor = 2.25
				FROM = { has_character_modifier = wol_seducer_2 }
			}
			modifier = {
				factor = 5.0
				FROM = {
					OR = {
						trait = seducer
						trait = seductress
					}
				}
			}
			modifier = {
				factor = 1.25
				trait = harelip
			}
			modifier = {
				factor = 1.25
				trait = hunchback
			}
			modifier = {
				factor = 1.25
				trait = dwarf
			}
			modifier = {
				factor = 2.0
				trait = ugly
			}
			modifier = {
				factor = 2.0
				trait = imbecile
			}
			modifier = {
				factor = 2.0
				trait = inbred
			}
			modifier = {
				factor = 2.0
				trait = leper
			}
		}
		if = {
			limit = {
				NOT = {
					has_opinion_modifier = {
						who = FROM
						modifier = opinion_seduced_repelled
					}
				}
			}
			opinion = {
				who = FROM
				modifier = opinion_seduced_attracted
			}
		}
		
		if = {
			limit = {
				has_opinion_modifier = {
					who = FROM
					modifier = opinion_seduced_repelled
				}
			}
			remove_opinion = {
				who = FROM
				modifier = opinion_seduced_repelled
			}
		}
		FROM = { character_event = { id = WoL.221 tooltip = EVTTOOLTIP_WoL_201 } }
	}
	option = {
		name = EVTOPTC_WOL_200 # What a fool!
		trigger = {
			is_married = no
			is_consort = no
		}
		ai_chance = {
			factor = 100
			modifier = {
				factor = 2.0
				trait = cruel
			}
		}
		FROM = { character_event = { id = WoL.222 tooltip = EVTTOOLTIP_WoL_202 } }
	}
	option = {
		name = EVTOPTD_WOL_200 # I am married
		trigger = {
			OR = {
				is_married = yes
				is_consort = yes
			}
		}
		ai_chance = {
			factor = 100
			modifier = {
				factor = 2.0
				trait = cruel
			}
			modifier = {
				factor = 2.0
				NOT = {
					OR = {
						trait = lustful 
						trait = deceitful
						trait = arbitrary
						trait = hedonist
					}
				}
				spouse = {
					reverse_personal_opinion = {
						who = ROOT
						value = 25
					}
				}
			}
			modifier = {
				factor = 2.0
				NOT = {
					OR = {
						trait = lustful 
						trait = deceitful
						trait = arbitrary
						trait = hedonist
					}
				}
				spouse = {
					reverse_personal_opinion = {
						who = ROOT
						value = 50
					}
				}
			}
			modifier = {
				factor = 2.0
				NOT = {
					OR = {
						trait = lustful 
						trait = deceitful
						trait = arbitrary
						trait = hedonist
					}
				}
				spouse = {
					is_lover = ROOT
				}
			}
		}
		FROM = { character_event = { id = WoL.222 tooltip = EVTTOOLTIP_WoL_202 } }
	}
	option = {
		name = EVTOPTE_WOL_200 # I am offended
		trigger = {
			NOT = { is_close_relative = FROM }
		}
		ai_chance = {
			factor = 50
			modifier = {
				factor = 2.0
				NOT = { trait = homosexual }
				same_sex = FROM
			}
			modifier = {
				factor = 2.0
				trait = cruel
			}
			modifier = {
				factor = 2.0
				OR = {
					trait = cynical
					trait = paranoid
				}
				OR = {
					trait = ugly
					trait = leper
					trait = dwarf
					trait = harelip
					trait = hunchback
				}
				FROM = {
					NOT = {
						OR = {
							trait = ugly
							trait = leper
							trait = dwarf
							trait = harelip
							trait = hunchback
							trait = inbred
							trait = imbecile
						}
					}
				}
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_opinion_modifier = {
						who = FROM
						modifier = opinion_seduced_attracted
					}
				}
			}
			opinion = {
				who = FROM
				modifier = opinion_seduced_repelled
			}
		}
		
		if = {
			limit = {
				has_opinion_modifier = {
					who = FROM
					modifier = opinion_seduced_attracted
				}
			}
			remove_opinion = {
				who = FROM
				modifier = opinion_seduced_attracted
			}
		}
		
		FROM = { character_event = { id = WoL.223 tooltip = EVTTOOLTIP_WoL_203 } }
	}
	option = {
		name = EVTOPTF_WOL_200 # This is sick!
		trigger = {
			is_close_relative = FROM
		}
		ai_chance = {
			factor = 100
			modifier = {
				factor = 2.0
				NOT = { trait = homosexual }
				same_sex = FROM
			}
			modifier = {
				factor = 2.0
				trait = cruel
			}
			modifier = {
				factor = 2.0
				NOT = {
					OR = {
						trait = arbitrary
						trait = lustful
						trait = hedonist
					}
				}
			}
			modifier = {
				factor = 2.0
				OR = {
					trait = cynical
					trait = paranoid
				}
				OR = {
					trait = ugly
					trait = leper
					trait = dwarf
					trait = harelip
					trait = hunchback
				}
				FROM = {
					NOT = {
						OR = {
							trait = ugly
							trait = leper
							trait = dwarf
							trait = harelip
							trait = hunchback
							trait = inbred
							trait = imbecile
						}
					}
				}
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_opinion_modifier = {
						who = FROM
						modifier = opinion_seduced_attracted
					}
				}
			}
			opinion = {
				who = FROM
				modifier = opinion_seduced_repelled
			}
		}
		
		if = {
			limit = {
				has_opinion_modifier = {
					who = FROM
					modifier = opinion_seduced_attracted
				}
			}
			remove_opinion = {
				who = FROM
				modifier = opinion_seduced_attracted
			}
		}
		
		FROM = { character_event = { id = WoL.223 tooltip = EVTTOOLTIP_WoL_203 } }
	}
}

# Opinion booster - Gossip - Positive response
character_event = {
	id = WoL.221
	title = EVTTITLE_WOL_221
	desc = EVTDESC_WOL_221
	
	picture = GFX_evt_gift
	border = GFX_event_normal_frame_intrigue
	
	is_triggered_only = yes
	
	option = {
		name = EVTOPTA_WOL_221 # Great!
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				is_female = no
				FROM = {
					is_female = yes
					OR = {
						higher_tier_than = duke
						any_spouse = { higher_tier_than = duke }
						any_consort = { higher_tier_than = duke }
					}
				}
			}
			hidden_tooltip = {
				character_event = { id = WoL.110 days = 60 random = 30 } # Back to the tombola
			}
			break = yes
		}
		character_event = { id = WoL.110 days = 20 random = 20 tooltip = EVTTOOLTIP_WoL_110 } # Back to the tombola
	}
	option = {
		name = EVTOPTB_WOL_221 # I have tired of this sport
		ai_chance = {
			factor = 1
		}
		# End the seduction
		custom_tooltip = {
			text = WOL_SEDUCE_END_TOOLTIP
		}
		hidden_tooltip = {
			if = {
				limit = { ai = yes }
				remove_character_modifier = seduction_timer
				add_character_modifier = {
					name = seduction_timer
					duration = 365
					hidden = yes
				}
			}
			character_event = { id = WoL.118 }
		}
	}
}

# Opinion booster - Gossip - No response
character_event = {
	id = WoL.222
	title = EVTTITLE_WOL_221
	
	desc = EVTDESC_WOL_222
	
	picture = GFX_evt_gift
	border = GFX_event_normal_frame_intrigue
	
	is_triggered_only = yes
	
	option = {
		name = EVTOPTA_WOL_222 # Disappointing!
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				is_female = no
				FROM = {
					is_female = yes
					OR = {
						higher_tier_than = duke
						any_spouse = { higher_tier_than = duke }
						any_consort = { higher_tier_than = duke }
					}
				}
			}
			hidden_tooltip = {
				character_event = { id = WoL.110 days = 60 random = 30 } # Back to the tombola
			}
			break = yes
		}
		character_event = { id = WoL.110 days = 20 random = 20 tooltip = EVTTOOLTIP_WoL_110 } # Back to the tombola
	}
	option = {
		name = EVTOPTB_WOL_221 # I have tired of this sport
		ai_chance = {
			factor = 1
			modifier = {
				factor = 200
				FROM = { ai = no }
			}
		}
		# End the seduction
		custom_tooltip = {
			text = WOL_SEDUCE_END_TOOLTIP
		}
		hidden_tooltip = {
			if = {
				limit = { ai = yes }
				remove_character_modifier = seduction_timer
				add_character_modifier = {
					name = seduction_timer
					duration = 365
					hidden = yes
				}
			}
			character_event = { id = WoL.118 }
		}
	}
}

# Opinion booster - Gossip - Negative response
character_event = {
	id = WoL.223
	title = EVTTITLE_WOL_211
	desc = EVTDESC_WOL_223
	
	picture = GFX_evt_gift
	border = GFX_event_normal_frame_intrigue
	
	is_triggered_only = yes
	
	immediate = {
		if = {
			limit = {
				has_character_flag = wol_rebuffed_once
				has_character_flag = wol_rebuffed_twice
				NOT = { has_character_flag = wol_rebuffed_thrice }
			}
			set_character_flag = wol_rebuffed_thrice
		}
		if = {
			limit = {
				has_character_flag = wol_rebuffed_once
				NOT = { has_character_flag = wol_rebuffed_twice }
			}
			set_character_flag = wol_rebuffed_twice
		}
		if = {
			limit = { NOT = { has_character_flag = wol_rebuffed_once } }
			set_character_flag = wol_rebuffed_once
		}
	}
	
	option = {
		name = EVTOPTA_WOL_223 # Disappointing!
		trigger = {
			OR = {
				NOT = { has_character_flag = rebuffed_twice }
				trait = seducer
				trait = seductress
			}
			NOT = { has_character_flag = wol_rebuffed_thrice }
		}
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				is_female = no
				FROM = {
					is_female = yes
					OR = {
						higher_tier_than = duke
						any_spouse = { higher_tier_than = duke }
						any_consort = { higher_tier_than = duke }
					}
				}
			}
			hidden_tooltip = {
				character_event = { id = WoL.110 days = 60 random = 30 } # Back to the tombola
			}
			break = yes
		}
		character_event = { id = WoL.110 days = 20 random = 20 tooltip = EVTTOOLTIP_WoL_110 } # Back to the tombola
	}
	option = {
		name = EVTOPTB_WOL_223
		ai_chance = {
			factor = 1
			modifier = {
				factor = 200
				FROM = { ai = no }
			}
		}
		
		# End the seduction
		custom_tooltip = {
			text = WOL_SEDUCE_END_TOOLTIP
		}
		hidden_tooltip = {
			if = {
				limit = { ai = yes }
				remove_character_modifier = seduction_timer
				add_character_modifier = {
					name = seduction_timer
					duration = 365
					hidden = yes
				}
			}
			character_event = { id = WoL.118 }
		}
	}
}



######################################
# SEDUCE DECISION SEDUCTION ATTEMPTS
#
# AI response in these is almost
# purely opinion driven.
#
######################################

######################################################
# Seduction - Dance
######################################################
character_event = {
	id = WoL.300
	title = EVTTITLE_WOL_300
	
	picture = GFX_evt_dancing
	border = GFX_event_normal_frame_intrigue
	
	desc = {
		text = EVTDESC_WOL_300
		trigger = {
			FROM = { is_female = no }
			OR = {
				NOT = { is_close_relative = FROM }
				has_opinion_modifier = {
					who = FROM
					modifier = opinion_seduced_attracted
				}
			}
		}
	}
	desc = {
		text = EVTDESC_WOL_300_CR
		trigger = {
			is_close_relative = FROM
			NOT = {
				has_opinion_modifier = {
					who = FROM
					modifier = opinion_seduced_attracted
				}
			}
		}
	}
	desc = {
		text = EVTDESC_WOL_300_M
		trigger = {
			FROM = { is_female = yes }
			OR = {
				NOT = { is_close_relative = FROM }
				has_opinion_modifier = {
					who = FROM
					modifier = opinion_seduced_attracted
				}
			}
		}
	}
	
	is_triggered_only = yes
	
	immediate = {
		FROM = { set_character_flag = wol_seduce_dance }
	}
	
	option = { # Encourage
		name = {
			text = EVTOPTA_WOL_300 # Male. Encourage this.
			trigger = {
				is_female = no
				NOT = { is_close_relative = FROM }
			}
		}
		name = {
			text = EVTOPTA_WOL_300_F # Female. Encourage this.
			trigger = {
				is_female = yes
				NOT = { is_close_relative = FROM }
			}
		}
		name = {
			text = EVTOPTA_WOL_300_CR # Encourage the pervert
			trigger = {
				is_close_relative = FROM
			}
		}
		
		ai_chance = {
			factor = 75
			modifier = {
				factor = 0.75
				is_married = yes
				NOT = { is_married = FROM }
				any_spouse = { reverse_opinion = { who = ROOT value = 25 } }
			}
			modifier = {
				factor = 0.75
				is_married = yes
				NOT = { is_married = FROM }
				any_spouse = { reverse_opinion = { who = ROOT value = 50 } }
			}
			modifier = {
				factor = 0.5
				is_married = yes
				NOT = { is_married = FROM }
				any_spouse = { reverse_opinion = { who = ROOT value = 75 } }
			}
			modifier = {
				factor = 1.25
				is_married = yes
				NOT = { is_married = FROM }
				NOT = { any_spouse = { reverse_opinion = { who = ROOT value = -25 } } }
			}
			modifier = {
				factor = 1.25
				is_married = yes
				NOT = { is_married = FROM }
				NOT = { any_spouse = { reverse_opinion = { who = ROOT value = -50 } } }
			}
			modifier = {
				factor = 1.5
				is_married = yes
				NOT = { is_married = FROM }
				NOT = { any_spouse = { reverse_opinion = { who = ROOT value = -75 } } }
			}
			modifier = {
				factor = 0.5
				has_lover = yes
				any_lover = { reverse_opinion = { who = ROOT value = 25 } }
				NOT = {
					trait = lustful
					trait = hedonist
					trait = deceitful
				}
			}
			modifier = {
				factor = 1.2
				FROM = { diplomacy = 12 }
			}
			modifier = {
				factor = 1.2
				FROM = { diplomacy = 15 }
			}
			modifier = {
				factor = 1.2
				FROM = { diplomacy = 18 }
			}
			modifier = {
				factor = 0.8
				FROM = { NOT = { diplomacy = 8 } }
			}
			modifier = {
				factor = 0.8
				FROM = { NOT = { diplomacy = 6 } }
			}
			modifier = {
				factor = 0.8
				FROM = { NOT = { diplomacy = 4 } }
			}
			modifier = {
				factor = 0.5
				FROM = { NOT = { diplomacy = 2 } }
			}
			modifier = {
				factor = 0.1
				NOT = { trait = homosexual }
				same_sex = FROM
			}
			modifier = {
				factor = 0.5
				NOT = { religion = FROM }
			}
			modifier = {
				factor = 0.5
				NOT = { culture = FROM }
			}
			modifier = {
				factor = 0.5
				NOT = { culture_group = FROM }
			}
			modifier = {
				factor = 0.5
				NOT = {
					personal_opinion = {
						who = FROM
						value = 20
					}
				}
			}
			modifier = {
				factor = 0.1
				is_close_relative = FROM
				is_bs_marriage_religion_trigger = no
				NOT = {
					OR = {
						trait = arbitrary
						trait = lustful
						trait = hedonist
					}
				}
			}
			modifier = {
				factor = 1.5
				personal_opinion = {
					who = FROM
					value = 40
				}
			}
			modifier = {
				factor = 2.0
				personal_opinion = {
					who = FROM
					value = 60
				}
			}
			modifier = {
				factor = 1.5
				FROM = { has_character_modifier = wol_seducer_1 }
			}
			modifier = {
				factor = 2.25
				FROM = { has_character_modifier = wol_seducer_2 }
			}
			modifier = {
				factor = 5.0
				FROM = {
					OR = {
						trait = seducer
						trait = seductress
					}
				}
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_opinion_modifier = {
						who = FROM
						modifier = opinion_seduced_repelled
					}
				}
			}
			opinion = {
				who = FROM
				modifier = opinion_seduced_attracted
			}
		}
		
		if = {
			limit = {
				has_opinion_modifier = {
					who = FROM
					modifier = opinion_seduced_repelled
				}
			}
			remove_opinion = {
				who = FROM
				modifier = opinion_seduced_repelled
			}
		}
		FROM = { character_event = { id = WoL.301 tooltip = EVTTOOLTIP_WoL_301 } }
	}
	option = {
		name = EVTOPTB_WOL_300 # Rebuff
		trigger = {
			is_married = no
			is_consort = no
			NOT = {
				age_diff = {
					who = FROM
					years = 25
				}
			}
			OR = {
				NOT = { is_close_relative = FROM }
				has_opinion_modifier = {
					who = FROM
					modifier = opinion_seduced_attracted
				}
			}
		}
		ai_chance = {
			factor = 100
		}
		FROM = { character_event = { id = WoL.302 tooltip = EVTTOOLTIP_WoL_302 } }
	}
	option = {
		name = EVTOPTB_WOL_300_MAR # Rebuff - I am married!
		trigger = {
			OR = {
				is_married = yes
				is_consort = yes
			}
			OR = {
				NOT = { is_close_relative = FROM }
				has_opinion_modifier = {
					who = FROM
					modifier = opinion_seduced_attracted
				}
			}
		}
		ai_chance = {
			factor = 100
			modifier = {
				factor = 5.0
				is_female = yes
				NOT = { trait = lustful }
				NOT = { trait = hedonist }
				NOT = { trait = seducer }
				NOT = { trait = seductress }
				NOT = { trait = arbitrary }
				is_dumb_trigger = no
				NOT = { has_focus = focus_seduction }
				OR = {
					trait = craven
					trait = chaste
					any_spouse = {
						OR = {
							is_lover = ROOT
							ROOT = {
								opinion_diff = {
									first = PREV
									second = FROM
									value = 10
								}
							}
						}
					}
				}
			}
		}
		FROM = { character_event = { id = WoL.302 tooltip = EVTTOOLTIP_WoL_302 } }
	}
	option = {
		name = EVTOPTB_WOL_300_OLD # Rebuff - I'm too old!
		trigger = {
			is_married = no
			is_consort = no
			age_diff = {
				who = FROM
				years = 25
			}
			is_older_than = FROM
			OR = {
				NOT = { is_close_relative = FROM }
				has_opinion_modifier = {
					who = FROM
					modifier = opinion_seduced_attracted
				}
			}
		}
		ai_chance = {
			factor = 100
		}
		FROM = { character_event = { id = WoL.302 tooltip = EVTTOOLTIP_WoL_302 } }
	}
	option = {
		name = EVTOPTB_WOL_300_YOUNG # Rebuff - I'm too young!
		trigger = {
			is_married = no
			is_consort = no
			age_diff = {
				who = FROM
				years = 25
			}
			NOT = { is_older_than = FROM }
			OR = {
				NOT = { is_close_relative = FROM }
				has_opinion_modifier = {
					who = FROM
					modifier = opinion_seduced_attracted
				}
			}
		}
		ai_chance = {
			factor = 100
		}
		FROM = { character_event = { id = WoL.302 tooltip = EVTTOOLTIP_WoL_302 } }
	}
	option = {
		name = EVTOPTB_WOL_300_CR # Rebuff - Pervert!
		trigger = {
			is_close_relative = FROM
			NOT = {
				has_opinion_modifier = {
					who = FROM
					modifier = opinion_seduced_attracted
				}
			}
		}
		ai_chance = {
			factor = 100
			modifier = {
				factor = 5.0
				is_female = yes
				OR = {
					is_married = yes
					is_consort = yes
				}
				NOT = { trait = lustful }
				NOT = { trait = hedonist }
				NOT = { trait = seducer }
				NOT = { trait = seductress }
				NOT = { trait = arbitrary }
				is_dumb_trigger = no
				NOT = { has_focus = focus_seduction }
				OR = {
					trait = craven
					trait = chaste
					any_spouse = {
						OR = {
							is_lover = ROOT
							ROOT = {
								opinion_diff = {
									first = PREV
									second = FROM
									value = 10
								}
							}
						}
					}
				}
			}
		}
		FROM = { character_event = { id = WoL.302 tooltip = EVTTOOLTIP_WoL_302 } }
	}
}

# Seducer: Seduction - Dance - Advance Encouraged
character_event = {
	id = WoL.301
	title = EVTTITLE_WOL_300
	
	picture = GFX_evt_dancing
	border = GFX_event_normal_frame_intrigue
	
	desc = {
		text = EVTDESC_WOL_301
		trigger = {
			same_realm = FROM
		}
	}
	desc = {
		text = EVTDESC_WOL_301_DISTANT
		trigger = {
			NOT = { same_realm = FROM }
		}
	}
	
	is_triggered_only = yes
	
	option = { # Attempt tumble
		name = EVTOPTA_WOL_301
		FROM = { character_event = { id = WoL.303 days = 1 tooltip = EVTTOOLTIP_WoL_303 } }
		
		ai_chance = {
			factor = 100
			modifier = {
				factor = 0.1
				is_female = yes
			}
		}
	}
	option = { # Charm / increase opinion
		name = EVTOPTB_WOL_301
		FROM = { character_event = { id = WoL.304 days = 1 tooltip = EVTTOOLTIP_WoL_304 } }
		ai_chance = {
			factor = 10
			modifier = {
				factor = 0
				trait = lustful
			}
		}
		if = {
			limit = {
				is_female = no
				FROM = {
					is_female = yes
					OR = {
						higher_tier_than = duke
						any_spouse = { higher_tier_than = duke }
						any_consort = { higher_tier_than = duke }
					}
				}
			}
			hidden_tooltip = {
				character_event = { id = WoL.110 days = 60 random = 30 } # Back to the tombola
			}
			break = yes
		}
		character_event = { id = WoL.110 days = 20 random = 20 tooltip = EVTTOOLTIP_WoL_110 } # Back to the tombola
	}
	option = { # End it, I'm bored
		name = EVTOPTC_WOL_301
		ai_chance = {
			factor = 1
			modifier = {
				factor = 0
				trait = lustful
			}
		}
		custom_tooltip = {
			text = WOL_SEDUCE_END_TOOLTIP
		}
		hidden_tooltip = {
			if = {
				limit = { ai = yes }
				remove_character_modifier = seduction_timer
				add_character_modifier = {
					name = seduction_timer
					duration = 365
					hidden = yes
				}
			}
			character_event = { id = WoL.118 }
			FROM = { character_event = { id = WoL.305 days = 1 } }
		}
	}
}

# Seducer: Seduction - Dance - Advance Rebuffed
character_event = {
	id = WoL.302
	title = EVTTITLE_WOL_300
	desc = EVTDESC_WOL_302
	
	picture = GFX_evt_dancing
	border = GFX_event_normal_frame_intrigue
	
	is_triggered_only = yes
	
	immediate = {
		if = {
			limit = {
				has_character_flag = wol_rebuffed_once
				has_character_flag = wol_rebuffed_twice
				NOT = { has_character_flag = wol_rebuffed_thrice }
			}
			set_character_flag = wol_rebuffed_thrice
		}
		if = {
			limit = {
				has_character_flag = wol_rebuffed_once
				NOT = { has_character_flag = wol_rebuffed_twice }
			}
			set_character_flag = wol_rebuffed_twice
		}
		if = {
			limit = { NOT = { has_character_flag = wol_rebuffed_once } }
			set_character_flag = wol_rebuffed_once
		}
	}
	
	option = {
		name = EVTOPTA_WOL_302 # Fine. Back to the drawing board.
		trigger = {
			OR = {
				NOT = { has_character_flag = rebuffed_twice }
				trait = seducer
				trait = seductress
			}
			NOT = { has_character_flag = wol_rebuffed_thrice }
		}
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				is_female = no
				FROM = {
					is_female = yes
					OR = {
						higher_tier_than = duke
						any_spouse = { higher_tier_than = duke }
						any_consort = { higher_tier_than = duke }
					}
				}
			}
			hidden_tooltip = {
				character_event = { id = WoL.110 days = 60 random = 30 } # Back to the tombola
			}
			break = yes
		}		
		character_event = { id = WoL.110 days = 20 random = 20 tooltip = EVTTOOLTIP_WoL_110 } # Back to the tombola
	}
	option = { # End it, I'm bored
		name = EVTOPTB_WOL_307
		ai_chance = {
			factor = 1
			modifier = {
				factor = 0
				trait = lustful
				FROM = { ai = yes }
			}
			modifier = {
				factor = 200
				FROM = { ai = no }
			}
		}
		custom_tooltip = {
			text = WOL_SEDUCE_END_TOOLTIP
		}
		hidden_tooltip = {
			if = {
				limit = { ai = yes }
				remove_character_modifier = seduction_timer
				add_character_modifier = {
					name = seduction_timer
					duration = 365
					hidden = yes
				}
			}
			character_event = { id = WoL.118 }
		}
	}
}

# Target: Seduction - Dance - Advance Encouraged - Tumble Attempt
character_event = {
	id = WoL.303
	title = EVTTITLE_WOL_300
	
	desc = {
		text = EVTDESC_WOL_303
		trigger = { is_female = no }
	}
	desc = {
		text = EVTDESC_WOL_303_F
		trigger = { is_female = yes }
	}
	
	picture = GFX_evt_dancing
	border = GFX_event_normal_frame_intrigue
	
	is_triggered_only = yes
	
	option = { # The flesh is weak
		name = EVTOPTA_WOL_303
		
		ai_chance = {
			factor = 75
			modifier = {
				factor = 1.2
				FROM = { diplomacy = 12 }
			}
			modifier = {
				factor = 1.2
				FROM = { diplomacy = 15 }
			}
			modifier = {
				factor = 1.2
				FROM = { diplomacy = 18 }
			}
			modifier = {
				factor = 0.8
				FROM = { NOT = { diplomacy = 8 } }
			}
			modifier = {
				factor = 0.8
				FROM = { NOT = { diplomacy = 6 } }
			}
			modifier = {
				factor = 0.8
				FROM = { NOT = { diplomacy = 4 } }
			}
			modifier = {
				factor = 0.5
				FROM = { NOT = { diplomacy = 2 } }
			}
			modifier = {
				factor = 0.5
				NOT = { trait = homosexual }
				same_sex = FROM
			}
			modifier = {
				factor = 0.75
				NOT = { religion = FROM }
			}
			modifier = {
				factor = 0.75
				NOT = { culture = FROM }
			}
			modifier = {
				factor = 0.75
				NOT = { culture_group = FROM }
			}
			modifier = {
				factor = 2.0
				OR = {
					is_female = no
					age = 45
				}
			}
			modifier = {
				factor = 0.25
				NOT = {
					personal_opinion = {
						who = FROM
						value = 20
					}
				}
			}
			modifier = {
				factor = 0.1
				is_close_relative = FROM
				is_bs_marriage_religion_trigger = no
				NOT = {
					OR = {
						trait = arbitrary
						trait = lustful
						trait = hedonist
					}
				}
			}
			modifier = {
				factor = 1.5
				personal_opinion = {
					who = FROM
					value = 40
				}
			}
			modifier = {
				factor = 2.0
				personal_opinion = {
					who = FROM
					value = 60
				}
			}
			modifier = {
				factor = 1.5
				FROM = { has_character_modifier = wol_seducer_1 }
			}
			modifier = {
				factor = 2.25
				FROM = { has_character_modifier = wol_seducer_2 }
			}
			modifier = {
				factor = 5.0
				FROM = {
					OR = {
						trait = seducer
						trait = seductress
					}
				}
			}
		}
		if = {
			limit = {
				same_sex = FROM
				NOT = { trait = homosexual }
			}
			random = {
				chance = 20
				add_trait = homosexual
			}
		}
		if = {
			limit = {
				ai = yes
				has_lover = yes
				NOT = {
					trait = lustful
					trait = hedonist
					trait = deceitful
					trait = seducer
					trait = seductress
				}
			}
			random_lover = {
				limit = {
					NOT = { character = FROM }
					NOT = { any_spouse = { character = ROOT } }
					NOT = { any_consort = { character = ROOT } }
				}
				character_event = { id = WoL.1103 days = 1 } # break up
			}
		}
		FROM = { character_event = { id = WoL.306 days = 1 tooltip = EVTTOOLTIP_WoL_306 } }
	}
	option = { # Rebuff
		name = EVTOPTB_WOL_303
		ai_chance = {
			factor = 100
			modifier = {
				factor = 0
				trait = lustful
			}
			modifier = {
				factor = 0.01
				trait = cruel
			}
		}
		hidden_tooltip = {
			FROM = { character_event = { id = WoL.307 days = 1 } }
		}
	}
	option = { # Cruel rebuff
		name = EVTOPTC_WOL_303
		ai_chance = {
			factor = 100
			modifier = {
				factor = 0
				trait = lustful
			}
			modifier = {
				factor = 0
				NOT = { trait = cruel }
			}
		}
		trigger = {
			is_female = no
		}
		hidden_tooltip = {
			FROM = { character_event = { id = WoL.308 days = 1 } }
		}
	}
	option = { # Cruel rebuff
		name = EVTOPTC_WOL_303_F
		ai_chance = {
			factor = 100
			modifier = {
				factor = 0
				trait = lustful
			}
			modifier = {
				factor = 0
				NOT = { trait = cruel }
			}
		}
		trigger = {
			is_female = yes
		}
		hidden_tooltip = {
			FROM = { character_event = { id = WoL.308 days = 1 } }
		}
	}
}

# Target: Seduction - Dance - Advance Encouraged - Left yearning
character_event = {
	id = WoL.304
	title = EVTTITLE_WOL_300
	desc = EVTDESC_WOL_304
	
	picture = GFX_evt_dancing
	border = GFX_event_normal_frame_intrigue
	
	is_triggered_only = yes
	
	option = {
		name = EVTOPTA_WOL_304
		opinion = {
			who = FROM
			modifier = opinion_seduced_yearning
			months = 24
		}
	}
}

# Target: Seduction - Dance - Advance Encouraged - Chase ended
character_event = {
	id = WoL.305
	title = EVTTITLE_WOL_300
	desc = EVTDESC_WOL_305
	
	picture = GFX_evt_dancing
	border = GFX_event_normal_frame_intrigue
	
	is_triggered_only = yes
	
	option = {
		name = EVTOPTA_WOL_305
	}
}

# Seducer: Seduction - bed games - End
character_event = {
	id = WoL.306
	
	desc = {
		text = EVTDESC_WOL_306_CR
		trigger = {
			is_close_relative = FROM
		}
	}
	
	desc = {
		text = EVTDESC_WOL_306
		trigger = {
			NOT = { is_close_relative = FROM }
		}
	}
	
	picture = GFX_evt_lovers
	border = GFX_event_normal_frame_intrigue
	
	is_triggered_only = yes
	
	immediate = {
		# Chance of levelling up Seduction skill
		character_event = { id = WoL.96 } 
	
		# End the Seduction
		character_event = { id = WoL.118 }
		
		# Scandal check
		FROM = { character_event = { id = WoL.50 } }
		
		# Chance of impregnation
		if = {
			limit = { is_female = yes }
			FROM = { character_event = { id = WoL.97 } }
		}
		if = {
			limit = { is_female = no }
			FROM = { character_event = { id = WoL.98 } }
		}
		
		if = {
			limit = { ai = yes }
			remove_character_modifier = seduction_timer
			add_character_modifier = {
				name = seduction_timer
				duration = 365
				hidden = yes
			}
		}
	}
	
	option = {
		name = EVTOPTA_WOL_306 # Love and leave
		ai_chance = {
			factor = 10
			modifier = {
				factor = 0.1
				NOT = { num_of_lovers = 1 }
			}
			modifier = {
				factor = 0.5
				trait = kind
			}
			modifier = {
				factor = 10
				num_of_lovers = 1
			}
			modifier = {
				factor = 10
				num_of_lovers = 2
			}
			modifier = {
				factor = 10
				num_of_lovers = 3
			}
			modifier = {
				factor = 10
				num_of_lovers = 4
			}
			modifier = {
				factor = 10
				trait = cruel
			}
			modifier = {
				factor = 2
				trait = arbitrary
			}
			modifier = {
				factor = 2
				same_sex = FROM
			}
			modifier = {
				factor = 2
				OR = {
					is_married = yes
					FROM = { is_married = yes }
				}
			}
		}
		custom_tooltip = { text = EVTOPTA_WOL_306_CUSTOM }
	}
	option = {
		name = EVTOPTB_WOL_306 # Our love must grow
		trigger = {
			OR = {
				AND = {
					FROM = { trait = homosexual }
					trait = homosexual
					same_sex = FROM
				}
				AND = {
					FROM = { NOT = { trait = homosexual } }
					NOT = { trait = homosexual }
					is_opposite_sex = FROM
				}
			}
		}
		ai_chance = {
			factor = 100
		}
		add_lover = FROM
	}
}

# Seducer: Seduction - Dance - Rebuff End
character_event = {
	id = WoL.307
	title = EVTTITLE_WOL_300
	desc = EVTDESC_WOL_307
	
	picture = GFX_evt_dancing
	border = GFX_event_normal_frame_intrigue
	
	is_triggered_only = yes
	
	immediate = {
		if = {
			limit = {
				has_character_flag = wol_rebuffed_once
				has_character_flag = wol_rebuffed_twice
				NOT = { has_character_flag = wol_rebuffed_thrice }
			}
			set_character_flag = wol_rebuffed_thrice
		}
		if = {
			limit = {
				has_character_flag = wol_rebuffed_once
				NOT = { has_character_flag = wol_rebuffed_twice }
			}
			set_character_flag = wol_rebuffed_twice
		}
		if = {
			limit = { NOT = { has_character_flag = wol_rebuffed_once } }
			set_character_flag = wol_rebuffed_once
		}
	}
	
	option = {
		name = EVTOPTA_WOL_307
		trigger = {
			OR = {
				NOT = { has_character_flag = rebuffed_twice }
				trait = seducer
				trait = seductress
			}
			NOT = { has_character_flag = wol_rebuffed_thrice }
		}
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				is_female = no
				FROM = {
					is_female = yes
					OR = {
						higher_tier_than = duke
						any_spouse = { higher_tier_than = duke }
						any_consort = { higher_tier_than = duke }
					}
				}
			}
			hidden_tooltip = {
				character_event = { id = WoL.110 days = 60 random = 30 } # Back to the tombola
			}
			break = yes
		}		
		character_event = { id = WoL.110 days = 20 random = 20 tooltip = EVTTOOLTIP_WoL_110 } # Back to the tombola
	}
	option = { # End it, I'm bored
		name = EVTOPTB_WOL_307
		ai_chance = {
			factor = 1
			modifier = {
				factor = 0
				trait = lustful
				FROM = { ai = yes }
			}
			modifier = {
				factor = 200
				FROM = { ai = no }
			}
		}
		custom_tooltip = {
			text = WOL_SEDUCE_END_TOOLTIP
		}
		hidden_tooltip = {
			if = {
				limit = { ai = yes }
				remove_character_modifier = seduction_timer
				add_character_modifier = {
					name = seduction_timer
					duration = 365
					hidden = yes
				}
			}
			character_event = { id = WoL.118 }
		}
	}
}

# Seducer: Seduction - Dance - Cruel Rebuff End
character_event = {
	id = WoL.308
	title = EVTTITLE_WOL_300
	desc = EVTDESC_WOL_308
	
	picture = GFX_evt_quarrel
	border = GFX_event_normal_frame_intrigue
	
	is_triggered_only = yes
	
	immediate = {
		if = {
			limit = {
				has_character_flag = wol_rebuffed_once
				has_character_flag = wol_rebuffed_twice
				NOT = { has_character_flag = wol_rebuffed_thrice }
			}
			set_character_flag = wol_rebuffed_thrice
		}
		if = {
			limit = {
				has_character_flag = wol_rebuffed_once
				NOT = { has_character_flag = wol_rebuffed_twice }
			}
			set_character_flag = wol_rebuffed_twice
		}
		if = {
			limit = { NOT = { has_character_flag = wol_rebuffed_once } }
			set_character_flag = wol_rebuffed_once
		}
	}
	
	option = {
		name = EVTOPTA_WOL_308
		trigger = {
			OR = {
				trait = seducer
				trait = seductress
			}
			NOT = { has_character_flag = wol_rebuffed_twice }
			NOT = { has_character_flag = wol_rebuffed_thrice }
		}
		
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				is_female = no
				FROM = {
					is_female = yes
					OR = {
						higher_tier_than = duke
						any_spouse = { higher_tier_than = duke }
						any_consort = { higher_tier_than = duke }
					}
				}
			}
			hidden_tooltip = {
				character_event = { id = WoL.110 days = 60 random = 30 } # Back to the tombola
			}
			break = yes
		}		
		character_event = { id = WoL.110 days = 20 random = 20 tooltip = EVTTOOLTIP_WoL_110 } # Back to the tombola
	}
	option = { # End this
		name = {
			text = EVTOPTB_WOL_308
			trigger = { FROM = { is_female = no } }
		}
		name = {
			text = EVTOPTB_WOL_308_F
			trigger = { FROM = { is_female = yes } }
		}
		
		ai_chance = {
			factor = 1
			modifier = {
				factor = 0
				trait = lustful
				FROM = { ai = yes }
			}
			modifier = {
				factor = 500
				FROM = { ai = no }
			}
		}
		custom_tooltip = {
			text = WOL_SEDUCE_END_TOOLTIP
		}
		hidden_tooltip = {
			if = {
				limit = { ai = yes }
				remove_character_modifier = seduction_timer
				add_character_modifier = {
					name = seduction_timer
					duration = 365
					hidden = yes
				}
			}
			character_event = { id = WoL.118 }
		}
	}
}



######################################################
# Seduction - "Chance" meeting late in the kitchen
######################################################
character_event = {
	id = WoL.350
	hide_window = yes
	is_triggered_only = yes
	
	immediate = {
		FROM = { character_event = { id = WoL.351 } }
	}
}

# Seducer: Attraction in the kitchen
character_event = {
	id = WoL.351
	title = EVTTITLE_WOL_351
	
	picture = GFX_evt_lovers
	border = GFX_event_normal_frame_intrigue
	
	desc = {
		text = EVTDESC_WOL_351
		trigger = {
			same_realm = FROM
		}
	}
	desc = {
		text = EVTDESC_WOL_351_DISTANT
		trigger = {
			NOT = { same_realm = FROM }
		}
	}
	
	is_triggered_only = yes
	
	option = { # Confess Love
		name = EVTOPTA_WOL_351
		ai_chance = {
			factor = 100
		}
		FROM = {
			set_character_flag = seduction_whisper_love
			character_event = { id = WoL.352 days = 1 tooltip = EVTTOOLTIP_WoL_352_LOVE }
		}
	}
	option = { # Lewd suggestion
		name = EVTOPTB_WOL_351
		ai_chance = {
			factor = 100
		}
		FROM = {
			set_character_flag = seduction_whisper_lewd
			character_event = { id = WoL.352 days = 1 tooltip = EVTTOOLTIP_WoL_352_LEWD }
		}
	}
	option = { # Quote Poet
		name = EVTOPTC_WOL_351
		ai_chance = {
			factor = 100
		}
		FROM = {
			set_character_flag = seduction_whisper_poet
			character_event = { id = WoL.352 days = 1 tooltip = EVTTOOLTIP_WoL_352_POET }
		}
	}
	option = { # Breathe out softly
		name = EVTOPTD_WOL_351
		trigger = {
			trait = seducer
		}
		tooltip_info = seducer
		ai_chance = {
			factor = 10000
		}
		FROM = {
			set_character_flag = seduction_whisper_breath
			character_event = { id = WoL.352 days = 1 tooltip = EVTTOOLTIP_WoL_352_BREATH }
		}
	}
	option = { # Breathe out softly
		name = EVTOPTD_WOL_351
		trigger = {
			trait = seductress
		}
		tooltip_info = seductress
		ai_chance = {
			factor = 10000
		}
		FROM = {
			set_character_flag = seduction_whisper_breath
			character_event = { id = WoL.352 days = 1 tooltip = EVTTOOLTIP_WoL_352_BREATH }
		}
	}
	option = { # Ask about star sign
		name = EVTOPTE_WOL_351
		trigger = {
			society_member_of = hermetics
		}

		custom_tooltip = { text = because_member_of_society_tt }
		tooltip_info = yes
		ai_chance = {
			factor = 10000
		}
		FROM = {
			set_character_flag = seduction_whats_your_zodiac # nyast
			character_event = { id = WoL.352 days = 1 tooltip = EVTTOOLTIP_WoL_352_ASTROLOGY }
		}
	}
}

# Target: Confession of love
character_event = {
	id = WoL.352
	title = EVTTITLE_WOL_351
	
	picture = GFX_evt_lovers
	border = GFX_event_normal_frame_intrigue
	
	desc = {
		text = EVTDESC_WOL_352_CR
		trigger = {
			is_close_relative = FROM
		}
	}
	desc = {
		text = EVTDESC_WOL_352_HOMO
		trigger = {
			NOT = { is_close_relative = FROM }
			same_sex = FROM
		}
	}
	desc = {
		text = EVTDESC_WOL_352
		trigger = {
			NOT = { is_close_relative = FROM }
			is_opposite_sex = FROM
			same_realm = FROM
		}
	}
	desc = {
		text = EVTDESC_WOL_352_DISTANT
		trigger = {
			NOT = { is_close_relative = FROM }
			is_opposite_sex = FROM
			NOT = { same_realm = FROM }
		}
	}
	
	is_triggered_only = yes
	
	option = { # Fall for poesy
		name = EVTOPTA_WOL_352_POET
		trigger = { has_character_flag = seduction_whisper_poet }		
		ai_chance = {
			factor = 50 # Lower base chance
			modifier = {
				factor = 0.25
				NOT = {
					personal_opinion = {
						who = FROM
						value = 20
					}
				}
			}
			modifier = {
				factor = 0.1
				is_close_relative = FROM
				is_bs_marriage_religion_trigger = no
				NOT = {
					OR = {
						trait = arbitrary
						trait = lustful
						trait = hedonist
					}
				}
			}
			modifier = {
				factor = 1.5
				personal_opinion = {
					who = FROM
					value = 40
				}
			}
			modifier = {
				factor = 2.0
				personal_opinion = {
					who = FROM
					value = 60
				}
			}
			modifier = {
				factor = 1.25
				FROM = { has_character_modifier = wol_seducer_1 }
			}
			modifier = {
				factor = 1.5
				FROM = { has_character_modifier = wol_seducer_2 }
			}
			modifier = {
				factor = 2.0
				FROM = {
					OR = {
						trait = seducer
						trait = seductress
					}
				}
			}
			modifier = {
				factor = 0.1
				NOT = { learning = 5 }
				NOT = { trait = scholar }
				NOT = { trait = mystic }
				NOT = { trait = poet }
				NOT = { trait = mastermind_theologian }
				NOT = { trait = scholarly_theologian }
			}
			modifier = {
				factor = 0.25
				NOT = { age = 25 }
				NOT = { trait = scholar }
				NOT = { trait = mystic }
				NOT = { trait = poet }
				NOT = { trait = mastermind_theologian }
				NOT = { trait = scholarly_theologian }
			}
			modifier = {
				factor = 10.0
				trait = poet
			}
			modifier = {
				factor = 5.0
				trait = scholar
			}
			modifier = {
				factor = 3.0
				trait = mystic
			}
			modifier = {
				factor = 1.5
				learning = 10
			}
			modifier = {
				factor = 1.5
				learning = 12
			}
			modifier = {
				factor = 1.5
				learning = 15
			}
			modifier = {
				factor = 4.0
				OR = {
					trait = mastermind_theologian
					trait = scholarly_theologian
				}
			}
			modifier = {
				factor = 2.0
				OR = {
					trait = detached_priest
					trait = martial_cleric
				}
			}
			modifier = {
				factor = 0.5
				trait = wroth
			}
		}
		if = {
			limit = {
				same_sex = FROM
				NOT = { trait = homosexual }
			}
			random = {
				chance = 20
				add_trait = homosexual
			}
		}
		if = {
			limit = {
				ai = yes
				has_lover = yes
				NOT = {
					trait = lustful
					trait = hedonist
					trait = deceitful
					trait = seducer
					trait = seductress
				}
			}
			random_lover = {
				limit = {
					NOT = { character = FROM }
					NOT = { any_spouse = { character = ROOT } }
					NOT = { any_consort = { character = ROOT } }
				}
				character_event = { id = WoL.1103 days = 1 } # break up
			}
		}
		FROM = { character_event = { id = WoL.306 days = 1 tooltip = EVTTOOLTIP_WoL_306_2 } }
		clr_character_flag = seduction_whisper_poet
	}
	option = { # Fall for lewdness
		name = EVTOPTA_WOL_352_LEWD
		trigger = { has_character_flag = seduction_whisper_lewd }	
		ai_chance = {
			factor = 100
			modifier = {
				factor = 0.25
				NOT = {
					personal_opinion = {
						who = FROM
						value = 20
					}
				}
			}
			modifier = {
				factor = 0.1
				is_close_relative = FROM
				is_bs_marriage_religion_trigger = no
				NOT = {
					OR = {
						trait = arbitrary
						trait = lustful
						trait = hedonist
					}
				}
			}
			modifier = {
				factor = 1.5
				personal_opinion = {
					who = FROM
					value = 40
				}
			}
			modifier = {
				factor = 2.0
				personal_opinion = {
					who = FROM
					value = 60
				}
			}
			modifier = {
				factor = 1.25
				FROM = { has_character_modifier = wol_seducer_1 }
			}
			modifier = {
				factor = 1.5
				FROM = { has_character_modifier = wol_seducer_2 }
			}
			modifier = {
				factor = 2.0
				FROM = {
					OR = {
						trait = seducer
						trait = seductress
					}
				}
			}
			modifier = {
				factor = 2.0
				trait = hedonist
			}
			modifier = {
				factor = 3.0
				trait = lustful
			}
			modifier = {
				factor = 2.0
				trait = gregarious
			}
			modifier = {
				factor = 1.5
				trait = deceitful
			}
			modifier = {
				factor = 0.25
				is_female = yes
				NOT = { age = 25 }
				NOT = { trait = lustful }
			}
			modifier = {
				factor = 0.75
				trait = kind
			}
			modifier = {
				factor = 0.75
				trait = honest
			}
			modifier = {
				factor = 0.75
				trait = zealous
			}
			modifier = {
				factor = 0.25
				trait = shy
			}
		}
		if = {
			limit = {
				same_sex = FROM
				NOT = { trait = homosexual }
			}
			random = {
				chance = 20
				add_trait = homosexual
			}
		}
		if = {
			limit = {
				ai = yes
				has_lover = yes
				NOT = {
					trait = lustful
					trait = hedonist
					trait = deceitful
					trait = seducer
					trait = seductress
				}
			}
			random_lover = {
				limit = {
					NOT = { character = FROM }
					NOT = { any_spouse = { character = ROOT } }
					NOT = { any_consort = { character = ROOT } }
				}
				character_event = { id = WoL.1103 days = 1 } # break up
			}
		}
		FROM = { character_event = { id = WoL.306 days = 1 tooltip = EVTTOOLTIP_WoL_306_2 } }
		clr_character_flag = seduction_whisper_lewd
	}
	option = { # Fall for words of love
		name = EVTOPTA_WOL_352_LOVE
		trigger = { has_character_flag = seduction_whisper_love }		
		ai_chance = {
			factor = 100
			modifier = {
				factor = 0.25
				NOT = {
					personal_opinion = {
						who = FROM
						value = 20
					}
				}
			}
			modifier = {
				factor = 0.1
				is_close_relative = FROM
				is_bs_marriage_religion_trigger = no
				NOT = {
					OR = {
						trait = arbitrary
						trait = lustful
						trait = hedonist
					}
				}
			}
			modifier = {
				factor = 1.5
				personal_opinion = {
					who = FROM
					value = 40
				}
			}
			modifier = {
				factor = 2.0
				personal_opinion = {
					who = FROM
					value = 60
				}
			}
			modifier = {
				factor = 1.25
				FROM = { has_character_modifier = wol_seducer_1 }
			}
			modifier = {
				factor = 1.5
				FROM = { has_character_modifier = wol_seducer_2 }
			}
			modifier = {
				factor = 2.0
				FROM = {
					OR = {
						trait = seducer
						trait = seductress
					}
				}
			}
			modifier = {
				factor = 0.25
				trait = cynical
			}
			modifier = {
				factor = 0.25
				trait = paranoid
			}
			modifier = {
				factor = 0.5
				trait = gregarious
			}
			modifier = {
				factor = 0.5
				trait = deceitful
			}
			modifier = {
				factor = 0.5
				age = 25
			}
			modifier = {
				factor = 2.0
				NOT = { age = 25 }
			}
			modifier = {
				factor = 1.25
				trait = kind
			}
			modifier = {
				factor = 1.25
				trait = honest
			}
			modifier = {
				factor = 1.5
				trait = zealous
			}
			modifier = {
				factor = 1.5
				trait = shy
			}
			modifier = {
				factor = 2.0
				trait = trusting
			}
		}
		if = {
			limit = {
				same_sex = FROM
				NOT = { trait = homosexual }
			}
			random = {
				chance = 20
				add_trait = homosexual
			}
		}
		if = {
			limit = {
				ai = yes
				has_lover = yes
				NOT = {
					trait = lustful
					trait = hedonist
					trait = deceitful
					trait = seducer
					trait = seductress
				}
			}
			random_lover = {
				limit = {
					NOT = { character = FROM }
					NOT = { any_spouse = { character = ROOT } }
					NOT = { any_consort = { character = ROOT } }
				}
				character_event = { id = WoL.1103 days = 1 } # break up
			}
		}		
		FROM = { character_event = { id = WoL.306 days = 1 tooltip = EVTTOOLTIP_WoL_306_2 } }
		clr_character_flag = seduction_whisper_love
	}
	option = { # Fall for seduction trick
		name = EVTOPTA_WOL_352_BREATH
		trigger = { has_character_flag = seduction_whisper_breath }
		
		ai_chance = {
			factor = 500 # Much higher base chance
			modifier = {
				factor = 0.25
				NOT = {
					personal_opinion = {
						who = FROM
						value = 20
					}
				}
			}
			modifier = {
				factor = 0.1
				is_close_relative = FROM
				is_bs_marriage_religion_trigger = no
				NOT = {
					OR = {
						trait = arbitrary
						trait = lustful
						trait = hedonist
					}
				}
			}
			modifier = {
				factor = 1.5
				personal_opinion = {
					who = FROM
					value = 40
				}
			}
			modifier = {
				factor = 2.0
				personal_opinion = {
					who = FROM
					value = 60
				}
			}
			modifier = {
				factor = 1.25
				FROM = { has_character_modifier = wol_seducer_1 }
			}
			modifier = {
				factor = 1.5
				FROM = { has_character_modifier = wol_seducer_2 }
			}
			modifier = {
				factor = 2.0
				FROM = {
					OR = {
						trait = seducer
						trait = seductress
					}
				}
			}
		}
		if = {
			limit = {
				same_sex = FROM
				NOT = { trait = homosexual }
			}
			random = {
				chance = 20
				add_trait = homosexual
			}
		}
		if = {
			limit = {
				ai = yes
				has_lover = yes
				NOT = {
					trait = lustful
					trait = hedonist
					trait = deceitful
					trait = seducer
					trait = seductress
				}
			}
			random_lover = {
				limit = {
					NOT = { character = FROM }
					NOT = { any_spouse = { character = ROOT } }
					NOT = { any_consort = { character = ROOT } }
				}
				character_event = { id = WoL.1103 days = 1 } # break up
			}
		}
		FROM = { character_event = { id = WoL.306 days = 1 tooltip = EVTTOOLTIP_WoL_306_2 } }
		clr_character_flag = seduction_whisper_breath
	}
	option = { # Fall for astrology
		name = {
			text = EVTOPTA_WOL_352_ASTROLOGY_compatible
			trigger = {
				FROM = { is_romantic_zodiac_match_with_root_trigger = yes }
			}
		}
		name = {
			text = EVTOPTA_WOL_352_ASTROLOGY_mismatch
			trigger = {
				FROM = { is_romantic_zodiac_match_with_root_trigger = no }
			}
		}

		if = { limit = { FROM = { is_romantic_zodiac_match_with_root_trigger = yes } }
			custom_tooltip = {
				text = EVTOPTA_WOL_352_ASTROLOGY_compatible_TT
			}
		}
		if = { limit = { FROM = { is_romantic_zodiac_match_with_root_trigger = no } }
			custom_tooltip = {
				text = EVTOPTA_WOL_352_ASTROLOGY_mismatch_TT
			}
		}

		trigger = { has_character_flag = seduction_whats_your_zodiac }
		
		ai_chance = {
			factor = 100
			modifier = {
				factor = 0.25
				NOT = {
					personal_opinion = {
						who = FROM
						value = 20
					}
				}
			}
			modifier = {
				factor = 0.5
				is_close_relative = FROM
				is_bs_marriage_religion_trigger = no
				NOT = {
					OR = {
						trait = arbitrary
						trait = lustful
						trait = hedonist
					}
				}
			}
			modifier = {
				factor = 1.5
				personal_opinion = {
					who = FROM
					value = 40
				}
			}
			modifier = {
				factor = 2.0
				personal_opinion = {
					who = FROM
					value = 60
				}
			}
			modifier = {
				factor = 1.25
				FROM = { has_character_modifier = wol_seducer_1 }
			}
			modifier = {
				factor = 1.5
				FROM = { has_character_modifier = wol_seducer_2 }
			}
			modifier = {
				factor = 1.5
				trait = mystic
			}
			modifier = {
				factor = 1.5
				trait = erudite
			}
			modifier = {
				factor = 1.5
				trait = scholar
			}
			modifier = {
				factor = 1.5
				society_member_of = hermetics
			}
			modifier = {
				factor = 1.5
				FROM = { society_rank >= 3 }
			}
			modifier = {
				factor = 2.0
				FROM = {
					OR = {
						trait = seducer
						trait = seductress
					}
				}
			}
		}
		
		FROM = { character_event = { id = WoL.306 days = 1 tooltip = EVTTOOLTIP_WoL_306_2 } }
		clr_character_flag = seduction_whats_your_zodiac
	}
	option = { # Spurn
		name = {
			text = EVTOPTB_WOL_352_POET
			trigger = { has_character_flag = seduction_whisper_poet }
		}
		name = {
			text = EVTOPTB_WOL_352_LEWD
			trigger = { has_character_flag = seduction_whisper_lewd }
		}
		name = {
			text = EVTOPTB_WOL_352_LOVE
			trigger = { has_character_flag = seduction_whisper_love }
		}
		name = {
			text = EVTOPTB_WOL_352_BREATH
			trigger = { has_character_flag = seduction_whisper_breath }
		}
		name = {
			text = EVTOPTB_WOL_352_ASTROLOGY_compatible
			trigger = {
				has_character_flag = seduction_whats_your_zodiac
				FROM = { is_romantic_zodiac_match_with_root_trigger = yes }
			}
		}
		name = {
			text = EVTOPTB_WOL_352_ASTROLOGY_mismatch
			trigger = {
				has_character_flag = seduction_whats_your_zodiac
				FROM = { is_romantic_zodiac_match_with_root_trigger = no }
			}
		}

		if = {
			limit = {
				has_character_flag = seduction_whats_your_zodiac
				FROM = { is_romantic_zodiac_match_with_root_trigger = yes }
			}
			custom_tooltip = {
				text = EVTOPTB_WOL_352_ASTROLOGY_compatible_TT
			}
		}
		if = {
			limit = {
				has_character_flag = seduction_whats_your_zodiac
				FROM = { is_romantic_zodiac_match_with_root_trigger = no }
			}
			custom_tooltip = {
				text = EVTOPTB_WOL_352_ASTROLOGY_mismatch_TT
			}
		}
		
		ai_chance = {
			factor = 125
			modifier = {
				factor = 10.0
				is_female = yes
				NOT = { trait = lustful }
				NOT = { trait = hedonist }
				NOT = { trait = seducer }
				NOT = { trait = seductress }
				NOT = { trait = arbitrary }
				is_dumb_trigger = no
				NOT = { has_focus = focus_seduction }
				OR = {
					trait = craven
					trait = chaste
					any_spouse = {
						OR = {
							is_lover = ROOT
							ROOT = {
								opinion_diff = {
									first = PREV
									second = FROM
									value = 10
								}
							}
						}
					}
					any_consort = {
						OR = {
							is_lover = ROOT
							ROOT = {
								opinion_diff = {
									first = PREV
									second = FROM
									value = 10
								}
							}
						}
					}
				}
			}
			modifier = {
				factor = 1.25
				is_married = yes
				NOT = { is_married = FROM }
				any_spouse = { reverse_opinion = { who = ROOT value = 25 } }
			}
			modifier = {
				factor = 1.25
				is_married = yes
				NOT = { is_married = FROM }
				any_spouse = { reverse_opinion = { who = ROOT value = 50 } }
			}
			modifier = {
				factor = 1.5
				is_married = yes
				NOT = { is_married = FROM }
				any_spouse = { reverse_opinion = { who = ROOT value = 75 } }
			}
			modifier = {
				factor = 0.75
				is_married = yes
				NOT = { is_married = FROM }
				NOT = { any_spouse = { reverse_opinion = { who = ROOT value = -25 } } }
			}
			modifier = {
				factor = 0.75
				is_married = yes
				NOT = { is_married = FROM }
				NOT = { any_spouse = { reverse_opinion = { who = ROOT value = -50 } } }
			}
			modifier = {
				factor = 0.5
				is_married = yes
				NOT = { is_married = FROM }
				NOT = { any_spouse = { reverse_opinion = { who = ROOT value = -75 } } }
			}
			modifier = {
				factor = 1.5
				has_lover = yes
				any_lover = { reverse_opinion = { who = ROOT value = 25 } }
				NOT = {
					trait = lustful
					trait = hedonist
					trait = deceitful
				}
			}
			modifier = {
				factor = 0.8
				FROM = { diplomacy = 12 }
			}
			modifier = {
				factor = 0.8
				FROM = { diplomacy = 15 }
			}
			modifier = {
				factor = 0.8
				FROM = { diplomacy = 18 }
			}
			modifier = {
				factor = 1.2
				FROM = { NOT = { diplomacy = 8 } }
			}
			modifier = {
				factor = 1.2
				FROM = { NOT = { diplomacy = 6 } }
			}
			modifier = {
				factor = 1.2
				FROM = { NOT = { diplomacy = 4 } }
			}
			modifier = {
				factor = 2
				FROM = { NOT = { diplomacy = 2 } }
			}
			modifier = {
				factor = 10
				NOT = { trait = homosexual }
				same_sex = FROM
			}
			modifier = {
				factor = 2
				NOT = { religion = FROM }
			}
			modifier = {
				factor = 2
				NOT = { culture = FROM }
			}
			modifier = {
				factor = 2
				NOT = { culture_group = FROM }
			}			
		}
		
		hidden_tooltip = {
			FROM = {
				set_character_flag = seduction_rebuff_351
				character_event = { id = WoL.353 days = 1 }
			}
		}
		
		clr_character_flag = seduction_whisper_love
		clr_character_flag = seduction_whisper_lewd
		clr_character_flag = seduction_whisper_poet
		clr_character_flag = seduction_whisper_breath
		clr_character_flag = seduction_whats_your_zodiac
	}
}

# Seducer: Seduction rebuffed!
character_event = {
	id = WoL.353
	
	title = {
		text = EVTTITLE_WOL_351
		trigger = {
			has_character_flag = seduction_rebuff_351
		}
	}
	title = {
		text = EVTTITLE_WOL_401
		trigger = {
			has_character_flag = seduction_rebuff_401
		}
	}
	
	desc = {
		text = EVTDESC_WOL_353_CR
		trigger = {
			is_close_relative = FROM
		}
	}
	desc = {
		text = EVTDESC_WOL_353_OLD_M
		trigger = {
			NOT = { is_close_relative = FROM }
			age_diff = {
				who = FROM
				years = 25
			}
			is_older_than = FROM
			is_female = no
		}
	}
	desc = {
		text = EVTDESC_WOL_353_OLD_F
		trigger = {
			NOT = { is_close_relative = FROM }
			age_diff = {
				who = FROM
				years = 25
			}
			is_older_than = FROM
			is_female = yes
		}
	}
	desc = {
		text = EVTDESC_WOL_353_YOUNG
		trigger = {
			NOT = { is_close_relative = FROM }
			age_diff = {
				who = FROM
				years = 25
			}
			NOT = { is_older_than = FROM }
		}
	}
	desc = {
		text = EVTDESC_WOL_353
		trigger = {
			NOT = { is_close_relative = FROM }
			NOT = {
				age_diff = {
					who = FROM
					years = 25
				}
			}
		}
	}
	
	picture = GFX_evt_lovers
	border = GFX_event_normal_frame_intrigue
	
	is_triggered_only = yes
	
	immediate = {
		if = {
			limit = {
				has_character_flag = wol_rebuffed_once
				has_character_flag = wol_rebuffed_twice
				NOT = { has_character_flag = wol_rebuffed_thrice }
			}
			set_character_flag = wol_rebuffed_thrice
		}
		if = {
			limit = {
				has_character_flag = wol_rebuffed_once
				NOT = { has_character_flag = wol_rebuffed_twice }
			}
			set_character_flag = wol_rebuffed_twice
		}
		if = {
			limit = { NOT = { has_character_flag = wol_rebuffed_once } }
			set_character_flag = wol_rebuffed_once
		}
	}
	
	option = {
		name = EVTOPTA_WOL_307
		trigger = {
			OR = {
				NOT = { has_character_flag = rebuffed_twice }
				trait = seducer
				trait = seductress
			}
			NOT = { has_character_flag = wol_rebuffed_thrice }
		}
		ai_chance = {
			factor = 100
		}
		
		clr_character_flag = seduction_rebuff_351
		clr_character_flag = seduction_rebuff_401
		
		if = {
			limit = {
				is_female = no
				FROM = {
					is_female = yes
					OR = {
						higher_tier_than = duke
						any_spouse = { higher_tier_than = duke }
						any_consort = { higher_tier_than = duke }
					}
				}
			}
			hidden_tooltip = {
				character_event = { id = WoL.110 days = 60 random = 30 } # Back to the tombola
			}
			break = yes
		}
		
		character_event = { id = WoL.110 days = 20 random = 20 tooltip = EVTTOOLTIP_WoL_110 } # Back to the tombola
	}
	option = { # End it, I'm bored
		name = EVTOPTB_WOL_307
		ai_chance = {
			factor = 1
			modifier = {
				factor = 0
				trait = lustful
				FROM = { ai = yes }
			}
			modifier = {
				factor = 200
				FROM = { ai = no }
			}
		}
		custom_tooltip = {
			text = WOL_SEDUCE_END_TOOLTIP
		}
		hidden_tooltip = {
			if = {
				limit = { ai = yes }
				remove_character_modifier = seduction_timer
				add_character_modifier = {
					name = seduction_timer
					duration = 365
					hidden = yes
				}
			}
			character_event = { id = WoL.118 }
		}
		
		clr_character_flag = seduction_rebuff_351
		clr_character_flag = seduction_rebuff_401
	}
}



######################################################
# Seduction - Court picnic in the wild
######################################################

character_event = {
	id = WoL.400
	hide_window = yes
	is_triggered_only = yes
	
	immediate = {
		FROM = { character_event = { id = WoL.401 } }
	}
}

# Seducer: Attempts to get target alone
character_event = {
	id = WoL.401
	title = EVTTITLE_WOL_401
	
	picture = GFX_evt_lovers
	border = GFX_event_normal_frame_intrigue
	
	desc = {
		text = EVTDESC_WOL_401
		trigger = {
			same_realm = FROM
			NOT = { is_close_relative = FROM }
			is_opposite_sex = FROM
		}
	}
	desc = {
		text = EVTDESC_WOL_401_DISTANT
		trigger = {
			NOT = { same_realm = FROM }
			NOT = { is_close_relative = FROM }
			is_opposite_sex = FROM
		}
	}
	desc = {
		text = EVTDESC_WOL_401_HOMO
		trigger = {
			NOT = { is_close_relative = FROM }
			same_sex = FROM
		}
	}
	desc = {
		text = EVTDESC_WOL_401_CR
		trigger = {
			is_close_relative = FROM
		}
	}
	
	is_triggered_only = yes
	
	option = { # Find an ally among target's friends
		name = EVTOPTA_WOL_401
		trigger = {
			NOT = { is_close_relative = FROM }
			is_opposite_sex = FROM
		}
		ai_chance = {
			factor = 100
		}

		hidden_tooltip = {
			FROM = {
				random_courtier = {
					limit = {
						prisoner = no
						ai = yes
						same_sex = PREV
						is_adult = yes
						NOR	= {
							character = ROOT
							is_lover = ROOT
							is_married = ROOT
							character = PREV
							trait = incapable
							trait = on_hajj
							is_inaccessible_trigger = yes
							has_character_modifier = in_meditation
							has_character_modifier = doing_penance
							trait = on_pilgrimage
							AND = {
								has_character_modifier = in_seclusion
								NOT = { at_location = PREV }
							}
							is_father = PREV
							is_mother = PREV
							is_lover = PREV
							is_rival = PREV
						}
					}
					character_event = { id = WoL.402 days = 1 }
					break = yes
				}
				character_event = { id = WoL.413 days = 1 } # Failed to find a courtier
			}
		}
	}
	option = { # Leave a note for target
		name = EVTOPTB_WOL_401
		trigger = {
			NOT = { is_close_relative = FROM }
			is_opposite_sex = FROM
		}
		ai_chance = {
			factor = 100
		}
		hidden_tooltip = {
			FROM = {
				random_courtier = {
					limit = {
						OR = {
							character = PREV # The target
							AND = {
								prisoner = no
								is_adult = yes
								NOT = { character = ROOT }
								NOT = { character = PREV }
								NOT = { trait = incapable }
								NOR = {
									trait = on_hajj
									trait = on_pilgrimage
									trait = in_hiding
									in_command_trigger = yes
									has_character_modifier = in_meditation
									has_character_modifier = doing_penance
								}
								at_location = PREV
								OR = {
									AND = {
										OR = {
											has_opinion_modifier = {
												who = ROOT
												modifier = opinion_chasing_friend
											}
											has_opinion_modifier = {
												who = ROOT
												modifier = opinion_chasing_spouse
											}
											has_opinion_modifier = {
												who = ROOT
												modifier = opinion_chasing_child
											}
										}
										random = 50 # 50% chance
									}
									AND = {
										OR = {
											any_spouse = { character = PREVPREV }
											is_father = PREV
											is_liege_of = PREV
										}
										random = 90 # 10% chance
									}
									random = 98 # 2% chance
								}
							}
						}
					}
					character_event = { id = WoL.417 days = 1 }
				}
			}
		}
	}
	option = { # Simply take a walk with target
		name = EVTOPTC_WOL_401
		trigger = {
			OR = {
				same_sex = FROM
				is_close_relative = FROM
			}
		}
		ai_chance = {
			factor = 100
		}
		
		hidden_tooltip = {
			character_event = { id = WoL.431 days = 1 }
		}
	}
	option = { # Take what chances I can to build attraction
		name = EVTOPTD_WOL_401
		trigger = {
			NOT = { is_close_relative = FROM }
			is_opposite_sex = FROM
		}
		ai_chance = {
			factor = 10
		}
		
		hidden_tooltip = {
			FROM = { character_event = { id = WoL.415 days = 1 } }
		}
	}
}

# Courtier approached for help
character_event = {
	id = WoL.402
	hide_window = yes
	is_triggered_only = yes
	
	option = {
		name = OK # Assist
		ai_chance = {
			factor = 200
		}
		
		FROM = { character_event = { id = WoL.403 } }
	}
	
	option = {
		name = OK # Refuse and become watchful
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				FROMFROM = {
					is_female = yes
					OR = {
						is_married = yes
						is_consort = yes
						NOT = { age = 35 }
					}
				}
			}
			opinion = {
				who = FROM
				modifier = opinion_chasing_friend
				months = 36
			}
		}
		
		FROMFROM = { character_event = { id = WoL.406 } }
	}
	option = {
		name = OK # Tip off spouse/consort
		trigger = {
			FROMFROM = {
				OR = {
					is_married = yes
					AND = {
						is_consort = yes
						is_female = yes
					}
				}
			}
		}
		ai_chance = {
			factor = 100
		}
		
		if = {
			limit = { FROMFROM = { is_female = yes } }
			opinion = {
				who = FROM
				modifier = opinion_chasing_friend
				months = 36
			}
		}
		
		FROMFROM = { character_event = { id = WoL.408 } }
	}
}

# Seducer: Friend assists
character_event = {
	id = WoL.403
	title = EVTTITLE_WOL_401
	
	picture = GFX_evt_lovers
	border = GFX_event_normal_frame_intrigue
	
	desc = EVTDESC_WOL_403
	
	is_triggered_only = yes
	
	option = { # Confess Love
		name = EVTOPTA_WOL_351
		ai_chance = {
			factor = 100
		}
		FROMFROMFROM = {
			set_character_flag = seduction_whisper_love
			character_event = { id = WoL.404 days = 1 tooltip = EVTTOOLTIP_WoL_352_LOVE }
		}
	}
	option = { # Lewd suggestion
		name = EVTOPTB_WOL_351
		ai_chance = {
			factor = 100
		}
		FROMFROMFROM = {
			set_character_flag = seduction_whisper_lewd
			character_event = { id = WoL.404 days = 1 tooltip = EVTTOOLTIP_WoL_352_LEWD }
		}
	}
	option = { # Quote Poet
		name = EVTOPTC_WOL_351
		ai_chance = {
			factor = 100
		}
		FROMFROMFROM = {
			set_character_flag = seduction_whisper_poet
			character_event = { id = WoL.404 days = 1 tooltip = EVTTOOLTIP_WoL_352_POET }
		}
	}
	option = { # Breathe out softly
		name = EVTOPTD_WOL_351
		trigger = {
			trait = seducer
		}
		tooltip_info = seducer
		ai_chance = {
			factor = 10000
		}
		FROMFROMFROM = {
			set_character_flag = seduction_whisper_breath
			character_event = { id = WoL.404 days = 1 tooltip = EVTTOOLTIP_WoL_352_BREATH }
		}
	}
	option = { # Breathe out softly
		name = EVTOPTD_WOL_351
		trigger = {
			trait = seductress
		}
		tooltip_info = seductress
		ai_chance = {
			factor = 10000
		}
		FROMFROMFROM = {
			set_character_flag = seduction_whisper_breath
			character_event = { id = WoL.404 days = 1 tooltip = EVTTOOLTIP_WoL_352_BREATH }
		}
	}
	option = { # Ask about star sign
		name = EVTOPTE_WOL_351_FROMFROMFROM
		trigger = {
			society_member_of = hermetics
		}

		custom_tooltip = { text = because_member_of_society_tt }
		tooltip_info = yes
		ai_chance = {
			factor = 10000
		}
		FROMFROMFROM = {
			set_character_flag = seduction_whats_your_zodiac #
			character_event = { id = WoL.404 days = 1 tooltip = EVTTOOLTIP_WoL_352_ASTROLOGY }
		}
	}
}

# Seducer: Taking a walk with the target (close relative or same sex)
character_event = {
	id = WoL.431
	title = EVTTITLE_WOL_401
	
	show_from_from = yes
	
	picture = GFX_evt_lovers
	border = GFX_event_normal_frame_intrigue
	
	desc = {
		text = EVTDESC_WOL_431
		trigger = {
			NOT = { is_close_relative = FROM }
		}
	}
	desc = {
		text = EVTDESC_WOL_431_CR
		trigger = {
			is_close_relative = FROM
		}
	}
	
	is_triggered_only = yes
	
	option = { # Confess Love
		name = EVTOPTA_WOL_351
		ai_chance = {
			factor = 100
		}
		FROMFROM = {
			set_character_flag = seduction_whisper_love
			character_event = { id = WoL.404 days = 1 tooltip = EVTTOOLTIP_WoL_352_LOVE }
		}
	}
	option = { # Lewd suggestion
		name = EVTOPTB_WOL_351
		ai_chance = {
			factor = 100
		}
		FROMFROM = {
			set_character_flag = seduction_whisper_lewd
			character_event = { id = WoL.404 days = 1 tooltip = EVTTOOLTIP_WoL_352_LEWD }
		}
	}
	option = { # Quote Poet
		name = EVTOPTC_WOL_351
		ai_chance = {
			factor = 100
		}
		FROMFROM = {
			set_character_flag = seduction_whisper_poet
			character_event = { id = WoL.404 days = 1 tooltip = EVTTOOLTIP_WoL_352_POET }
		}
	}
	option = { # Breathe out softly
		name = EVTOPTD_WOL_351
		trigger = {
			trait = seducer
		}
		tooltip_info = seducer
		ai_chance = {
			factor = 10000
		}
		FROMFROM = {
			set_character_flag = seduction_whisper_breath
			character_event = { id = WoL.404 days = 1 tooltip = EVTTOOLTIP_WoL_352_BREATH }
		}
	}
	option = { # Breathe out softly
		name = EVTOPTD_WOL_351
		trigger = {
			trait = seductress
		}
		tooltip_info = seductress
		ai_chance = {
			factor = 10000
		}
		FROMFROM = {
			set_character_flag = seduction_whisper_breath
			character_event = { id = WoL.404 days = 1 tooltip = EVTTOOLTIP_WoL_352_BREATH }
		}
	}
	option = { # Ask about star sign
		name = EVTOPTE_WOL_351_FROMFROM
		trigger = {
			society_member_of = hermetics
		}

		custom_tooltip = { text = because_member_of_society_tt }
		tooltip_info = yes
		ai_chance = {
			factor = 10000
		}
		FROMFROM = {
			set_character_flag = seduction_whats_your_zodiac #
			character_event = { id = WoL.404 days = 1 tooltip = EVTTOOLTIP_WoL_352_ASTROLOGY }
		}
	}
}

# Seduced: Seduction attempt
character_event = {
	id = WoL.404
	title = EVTTITLE_WOL_401
	
	picture = GFX_evt_lovers
	border = GFX_event_normal_frame_intrigue
	
	desc = {
		text = EVTDESC_WOL_404_CR
		trigger = {
			is_close_relative = FROM
			NOT = { has_character_flag = seduction_outing_note }
		}
	}
	desc = {
		text = EVTDESC_WOL_404_HOMO
		trigger = {
			NOT = { is_close_relative = FROM }
			same_sex = FROM
			NOT = { has_character_flag = seduction_outing_note }
		}
	}
	desc = {
		text = EVTDESC_WOL_404
		trigger = {
			NOT = { is_close_relative = FROM }
			is_opposite_sex = FROM
			same_realm = FROM
			NOT = { has_character_flag = seduction_outing_note }
		}
	}
	desc = {
		text = EVTDESC_WOL_404_DISTANT
		trigger = {
			NOT = { is_close_relative = FROM }
			is_opposite_sex = FROM
			NOT = { same_realm = FROM }
			NOT = { has_character_flag = seduction_outing_note }
		}
	}
	desc = {
		text = EVTDESC_WOL_404_HOMO_NOTE
		trigger = {
			same_sex = FROM
			has_character_flag = seduction_outing_note
		}
	}
	desc = {
		text = EVTDESC_WOL_404_NOTE
		trigger = {
			is_opposite_sex = FROM
			has_character_flag = seduction_outing_note
		}
	}
	
	is_triggered_only = yes
	
	option = { # Fall for poesy
		name = EVTOPTA_WOL_352_POET
		trigger = { has_character_flag = seduction_whisper_poet }		
		ai_chance = {
			factor = 50 # Lower base chance
			modifier = {
				factor = 0.25
				NOT = {
					personal_opinion = {
						who = FROM
						value = 20
					}
				}
			}
			modifier = {
				factor = 0.1
				is_close_relative = FROM
				is_bs_marriage_religion_trigger = no
				NOT = {
					OR = {
						trait = arbitrary
						trait = lustful
						trait = hedonist
					}
				}
			}
			modifier = {
				factor = 1.5
				personal_opinion = {
					who = FROM
					value = 40
				}
			}
			modifier = {
				factor = 2.0
				personal_opinion = {
					who = FROM
					value = 60
				}
			}
			modifier = {
				factor = 1.25
				FROM = { has_character_modifier = wol_seducer_1 }
			}
			modifier = {
				factor = 1.5
				FROM = { has_character_modifier = wol_seducer_2 }
			}
			modifier = {
				factor = 2.0
				FROM = {
					OR = {
						trait = seducer
						trait = seductress
					}
				}
			}
			modifier = {
				factor = 0.1
				NOT = { learning = 5 }
				NOT = { trait = scholar }
				NOT = { trait = mystic }
				NOT = { trait = poet }
				NOT = { trait = mastermind_theologian }
				NOT = { trait = scholarly_theologian }
			}
			modifier = {
				factor = 0.25
				NOT = { age = 25 }
				NOT = { trait = scholar }
				NOT = { trait = mystic }
				NOT = { trait = poet }
				NOT = { trait = mastermind_theologian }
				NOT = { trait = scholarly_theologian }
			}
			modifier = {
				factor = 10.0
				trait = poet
			}
			modifier = {
				factor = 5.0
				trait = scholar
			}
			modifier = {
				factor = 3.0
				trait = mystic
			}
			modifier = {
				factor = 1.5
				learning = 10
			}
			modifier = {
				factor = 1.5
				learning = 12
			}
			modifier = {
				factor = 1.5
				learning = 15
			}
			modifier = {
				factor = 4.0
				OR = {
					trait = mastermind_theologian
					trait = scholarly_theologian
				}
			}
			modifier = {
				factor = 2.0
				OR = {
					trait = detached_priest
					trait = martial_cleric
				}
			}
			modifier = {
				factor = 0.5
				trait = wroth
			}
		}
		if = {
			limit = {
				same_sex = FROM
				NOT = { trait = homosexual }
			}
			random = {
				chance = 20
				add_trait = homosexual
			}
		}
		if = {
			limit = {
				ai = yes
				has_lover = yes
				NOT = {
					trait = lustful
					trait = hedonist
					trait = deceitful
					trait = seducer
					trait = seductress
				}
			}
			random_lover = {
				limit = {
					NOT = { character = FROM }
					NOT = { any_spouse = { character = ROOT } }
					NOT = { any_consort = { character = ROOT } }
				}
				character_event = { id = WoL.1103 days = 1 } # break up
			}
		}
		FROM = { character_event = { id = WoL.405 days = 1 tooltip = EVTTOOLTIP_WoL_405 } }
		clr_character_flag = seduction_whisper_poet
		clr_character_flag = seduction_outing_note
	}
	option = { # Fall for lewdness
		name = EVTOPTA_WOL_352_LEWD
		trigger = { has_character_flag = seduction_whisper_lewd }
		ai_chance = {
			factor = 100
			modifier = {
				factor = 0.25
				NOT = {
					personal_opinion = {
						who = FROM
						value = 20
					}
				}
			}
			modifier = {
				factor = 0.1
				is_close_relative = FROM
				is_bs_marriage_religion_trigger = no
				NOT = {
					OR = {
						trait = arbitrary
						trait = lustful
						trait = hedonist
					}
				}
			}
			modifier = {
				factor = 1.5
				personal_opinion = {
					who = FROM
					value = 40
				}
			}
			modifier = {
				factor = 2.0
				personal_opinion = {
					who = FROM
					value = 60
				}
			}
			modifier = {
				factor = 1.25
				FROM = { has_character_modifier = wol_seducer_1 }
			}
			modifier = {
				factor = 1.5
				FROM = { has_character_modifier = wol_seducer_2 }
			}
			modifier = {
				factor = 2.0
				FROM = {
					OR = {
						trait = seducer
						trait = seductress
					}
				}
			}
			modifier = {
				factor = 2.0
				trait = hedonist
			}
			modifier = {
				factor = 3.0
				trait = lustful
			}
			modifier = {
				factor = 2.0
				trait = gregarious
			}
			modifier = {
				factor = 1.5
				trait = deceitful
			}
			modifier = {
				factor = 0.25
				is_female = yes
				NOT = { age = 25 }
				NOT = { trait = lustful }
			}
			modifier = {
				factor = 0.75
				trait = kind
			}
			modifier = {
				factor = 0.75
				trait = honest
			}
			modifier = {
				factor = 0.75
				trait = zealous
			}
			modifier = {
				factor = 0.25
				trait = shy
			}
		}
		if = {
			limit = {
				same_sex = FROM
				NOT = { trait = homosexual }
			}
			random = {
				chance = 20
				add_trait = homosexual
			}
		}
		if = {
			limit = {
				ai = yes
				has_lover = yes
				NOT = {
					trait = lustful
					trait = hedonist
					trait = deceitful
					trait = seducer
					trait = seductress
				}
			}
			random_lover = {
				limit = {
					NOT = { character = FROM }
					NOT = { any_spouse = { character = ROOT } }
					NOT = { any_consort = { character = ROOT } }
				}
				character_event = { id = WoL.1103 days = 1 } # break up
			}
		}
		FROM = { character_event = { id = WoL.405 days = 1 tooltip = EVTTOOLTIP_WoL_405 } }
		clr_character_flag = seduction_whisper_lewd
		clr_character_flag = seduction_outing_note
	}
	option = { # Fall for words of love
		name = EVTOPTA_WOL_352_LOVE
		trigger = { has_character_flag = seduction_whisper_love }		
		ai_chance = {
			factor = 100
			modifier = {
				factor = 0.25
				NOT = {
					personal_opinion = {
						who = FROM
						value = 20
					}
				}
			}
			modifier = {
				factor = 0.1
				is_close_relative = FROM
				is_bs_marriage_religion_trigger = no
				NOT = {
					OR = {
						trait = arbitrary
						trait = lustful
						trait = hedonist
					}
				}
			}
			modifier = {
				factor = 1.5
				personal_opinion = {
					who = FROM
					value = 40
				}
			}
			modifier = {
				factor = 2.0
				personal_opinion = {
					who = FROM
					value = 60
				}
			}
			modifier = {
				factor = 1.25
				FROM = { has_character_modifier = wol_seducer_1 }
			}
			modifier = {
				factor = 1.5
				FROM = { has_character_modifier = wol_seducer_2 }
			}
			modifier = {
				factor = 2.0
				FROM = {
					OR = {
						trait = seducer
						trait = seductress
					}
				}
			}
			modifier = {
				factor = 0.25
				trait = cynical
			}
			modifier = {
				factor = 0.25
				trait = paranoid
			}
			modifier = {
				factor = 0.5
				trait = gregarious
			}
			modifier = {
				factor = 0.5
				trait = deceitful
			}
			modifier = {
				factor = 0.5
				age = 25
			}
			modifier = {
				factor = 2.0
				NOT = { age = 25 }
			}
			modifier = {
				factor = 1.25
				trait = kind
			}
			modifier = {
				factor = 1.25
				trait = honest
			}
			modifier = {
				factor = 1.5
				trait = zealous
			}
			modifier = {
				factor = 1.5
				trait = shy
			}
			modifier = {
				factor = 2.0
				trait = trusting
			}
		}
		if = {
			limit = {
				same_sex = FROM
				NOT = { trait = homosexual }
			}
			random = {
				chance = 20
				add_trait = homosexual
			}
		}
		if = {
			limit = {
				ai = yes
				has_lover = yes
				NOT = {
					trait = lustful
					trait = hedonist
					trait = deceitful
					trait = seducer
					trait = seductress
				}
			}
			random_lover = {
				limit = {
					NOT = { character = FROM }
					NOT = { any_spouse = { character = ROOT } }
					NOT = { any_consort = { character = ROOT } }
				}
				character_event = { id = WoL.1103 days = 1 } # break up
			}
		}
		FROM = { character_event = { id = WoL.405 days = 1 tooltip = EVTTOOLTIP_WoL_405 } }
		clr_character_flag = seduction_whisper_love
		clr_character_flag = seduction_outing_note
	}
	option = { # Fall for seduction trick
		name = EVTOPTA_WOL_352_BREATH
		trigger = { has_character_flag = seduction_whisper_breath }
		ai_chance = {
			factor = 500 # Much higher base chance
			modifier = {
				factor = 0.25
				NOT = {
					personal_opinion = {
						who = FROM
						value = 20
					}
				}
			}
			modifier = {
				factor = 0.1
				is_close_relative = FROM
				is_bs_marriage_religion_trigger = no
				NOT = {
					OR = {
						trait = arbitrary
						trait = lustful
						trait = hedonist
					}
				}
			}
			modifier = {
				factor = 1.5
				personal_opinion = {
					who = FROM
					value = 40
				}
			}
			modifier = {
				factor = 2.0
				personal_opinion = {
					who = FROM
					value = 60
				}
			}
			modifier = {
				factor = 1.25
				FROM = { has_character_modifier = wol_seducer_1 }
			}
			modifier = {
				factor = 1.5
				FROM = { has_character_modifier = wol_seducer_2 }
			}
			modifier = {
				factor = 2.0
				FROM = {
					OR = {
						trait = seducer
						trait = seductress
					}
				}
			}
		}
		if = {
			limit = {
				same_sex = FROM
				NOT = { trait = homosexual }
			}
			random = {
				chance = 20
				add_trait = homosexual
			}
		}
		if = {
			limit = {
				ai = yes
				has_lover = yes
				NOT = {
					trait = lustful
					trait = hedonist
					trait = deceitful
					trait = seducer
					trait = seductress
				}
			}
			random_lover = {
				limit = {
					NOT = { character = FROM }
					NOT = { any_spouse = { character = ROOT } }
					NOT = { any_consort = { character = ROOT } }
				}
				character_event = { id = WoL.1103 days = 1 } # break up
			}
		}
		FROM = { character_event = { id = WoL.405 days = 1 tooltip = EVTTOOLTIP_WoL_405 } }
		clr_character_flag = seduction_whisper_breath
	}
	
	option = { # Fall for astrology
		name = {
			text = EVTOPTA_WOL_352_ASTROLOGY_compatible
			trigger = {
				FROM = { is_romantic_zodiac_match_with_root_trigger = yes }
			}
		}

		name = {
			text = EVTOPTA_WOL_352_ASTROLOGY_mismatch
			trigger = {
				FROM = { is_romantic_zodiac_match_with_root_trigger = no }
			}
		}

		if = {
			limit = { FROM = { is_romantic_zodiac_match_with_root_trigger = yes } }
			custom_tooltip = {
				text = EVTOPTA_WOL_352_ASTROLOGY_compatible_TT
			}
		}
		if = {
			limit = { FROM = { is_romantic_zodiac_match_with_root_trigger = no } }
			custom_tooltip = {
				text = EVTOPTA_WOL_352_ASTROLOGY_mismatch_TT
			}
		}

		trigger = { has_character_flag = seduction_whats_your_zodiac }
		
		ai_chance = {
			factor = 100
			modifier = {
				factor = 0.25
				NOT = {
					personal_opinion = {
						who = FROM
						value = 20
					}
				}
			}
			modifier = {
				factor = 0.5
				is_close_relative = FROM
				is_bs_marriage_religion_trigger = no
				NOT = {
					OR = {
						trait = arbitrary
						trait = lustful
						trait = hedonist
					}
				}
			}
			modifier = {
				factor = 1.5
				personal_opinion = {
					who = FROM
					value = 40
				}
			}
			modifier = {
				factor = 2.0
				personal_opinion = {
					who = FROM
					value = 60
				}
			}
			modifier = {
				factor = 1.25
				FROM = { has_character_modifier = wol_seducer_1 }
			}
			modifier = {
				factor = 1.5
				FROM = { has_character_modifier = wol_seducer_2 }
			}
			modifier = {
				factor = 1.5
				trait = mystic
			}
			modifier = {
				factor = 1.5
				trait = erudite
			}
			modifier = {
				factor = 1.5
				trait = scholar
			}
			modifier = {
				factor = 1.5
				society_member_of = hermetics
			}
			modifier = {
				factor = 1.5
				FROM = { society_rank >= 3 }
			}
			modifier = {
				factor = 2.0
				FROM = {
					OR = {
						trait = seducer
						trait = seductress
					}
				}
			}
		}
		
		FROM = { character_event = { id = WoL.405 days = 1 tooltip = EVTTOOLTIP_WoL_405 } }
		clr_character_flag = seduction_whats_your_zodiac
	}
	
	option = { # Spurn
		name = {
			text = EVTOPTB_WOL_352_POET
			trigger = { has_character_flag = seduction_whisper_poet }
		}
		name = {
			text = EVTOPTB_WOL_352_LEWD
			trigger = { has_character_flag = seduction_whisper_lewd }
		}
		name = {
			text = EVTOPTB_WOL_352_LOVE
			trigger = { has_character_flag = seduction_whisper_love }
		}
		name = {
			text = EVTOPTB_WOL_352_BREATH
			trigger = { has_character_flag = seduction_whisper_breath }
		}
		
		name = {
			text = EVTOPTB_WOL_352_ASTROLOGY_compatible
			trigger = {
				has_character_flag = seduction_whats_your_zodiac
				FROM = { is_romantic_zodiac_match_with_root_trigger = yes }
			}
		}
		name = {
			text = EVTOPTB_WOL_352_ASTROLOGY_mismatch
			trigger = {
				has_character_flag = seduction_whats_your_zodiac
				FROM = { is_romantic_zodiac_match_with_root_trigger = no }
			}
		}

		if = {
			limit = {
				has_character_flag = seduction_whats_your_zodiac
				FROM = { is_romantic_zodiac_match_with_root_trigger = yes }
			}
			custom_tooltip = {
				text = EVTOPTB_WOL_352_ASTROLOGY_compatible_TT
			}
		}
		if = {
			limit = {
				has_character_flag = seduction_whats_your_zodiac
				FROM = { is_romantic_zodiac_match_with_root_trigger = no }
			}
			custom_tooltip = {
				text = EVTOPTB_WOL_352_ASTROLOGY_mismatch_TT
			}
		}
		
		ai_chance = {
			factor = 125
			modifier = {
				factor = 10.0
				is_female = yes
				NOT = { trait = lustful }
				NOT = { trait = hedonist }
				NOT = { trait = seducer }
				NOT = { trait = seductress }
				NOT = { trait = arbitrary }
				is_dumb_trigger = no
				NOT = { has_focus = focus_seduction }
				OR = {
					trait = craven
					trait = chaste
					any_spouse = {
						OR = {
							is_lover = ROOT
							ROOT = {
								opinion_diff = {
									first = PREV
									second = FROM
									value = 10
								}
							}
						}
					}
					any_consort = {
						OR = {
							is_lover = ROOT
							ROOT = {
								opinion_diff = {
									first = PREV
									second = FROM
									value = 10
								}
							}
						}
					}
				}
			}
			modifier = {
				factor = 1.25
				is_married = yes
				NOT = { is_married = FROM }
				any_spouse = { reverse_opinion = { who = ROOT value = 25 } }
			}
			modifier = {
				factor = 1.25
				is_married = yes
				NOT = { is_married = FROM }
				any_spouse = { reverse_opinion = { who = ROOT value = 50 } }
			}
			modifier = {
				factor = 1.5
				is_married = yes
				NOT = { is_married = FROM }
				any_spouse = { reverse_opinion = { who = ROOT value = 75 } }
			}
			modifier = {
				factor = 0.75
				is_married = yes
				NOT = { is_married = FROM }
				NOT = { any_spouse = { reverse_opinion = { who = ROOT value = -25 } } }
			}
			modifier = {
				factor = 0.75
				is_married = yes
				NOT = { is_married = FROM }
				NOT = { any_spouse = { reverse_opinion = { who = ROOT value = -50 } } }
			}
			modifier = {
				factor = 0.5
				is_married = yes
				NOT = { is_married = FROM }
				NOT = { any_spouse = { reverse_opinion = { who = ROOT value = -75 } } }
			}
			modifier = {
				factor = 1.5
				has_lover = yes
				any_lover = { reverse_opinion = { who = ROOT value = 25 } }
				NOT = {
					trait = lustful
					trait = hedonist
					trait = deceitful
				}
			}
			modifier = {
				factor = 0.8
				FROM = { diplomacy = 12 }
			}
			modifier = {
				factor = 0.8
				FROM = { diplomacy = 15 }
			}
			modifier = {
				factor = 0.8
				FROM = { diplomacy = 18 }
			}
			modifier = {
				factor = 1.2
				FROM = { NOT = { diplomacy = 8 } }
			}
			modifier = {
				factor = 1.2
				FROM = { NOT = { diplomacy = 6 } }
			}
			modifier = {
				factor = 1.2
				FROM = { NOT = { diplomacy = 4 } }
			}
			modifier = {
				factor = 2
				FROM = { NOT = { diplomacy = 2 } }
			}
			modifier = {
				factor = 10
				NOT = { trait = homosexual }
				same_sex = FROM
			}
			modifier = {
				factor = 2
				NOT = { religion = FROM }
			}
			modifier = {
				factor = 2
				NOT = { culture = FROM }
			}
			modifier = {
				factor = 2
				NOT = { culture_group = FROM }
			}
		}
		
		hidden_tooltip = {
			FROM = {
				set_character_flag = seduction_rebuff_401
				character_event = { id = WoL.353 days = 1 }
			}
		}
		
		clr_character_flag = seduction_whisper_love
		clr_character_flag = seduction_whisper_lewd
		clr_character_flag = seduction_whisper_poet
		clr_character_flag = seduction_whisper_breath
		clr_character_flag = seduction_outing_note
	}
}

# Seducer: Success End
character_event = {
	id = WoL.405
	title = EVTTITLE_WOL_401
	
	desc = {
		text = EVTDESC_WOL_405_SIN
		trigger = {
			OR = {
				is_close_relative = FROM
				same_sex = FROM
			}
		}
	}
	desc = {
		text = EVTDESC_WOL_405
		trigger = {
			NOT = { is_close_relative = FROM }
			is_opposite_sex = FROM
		}
	}
	
	picture = GFX_evt_lovers
	border = GFX_event_normal_frame_intrigue
	
	is_triggered_only = yes
	
	immediate = {
		if = {
			limit = { ai = yes }
			remove_character_modifier = seduction_timer
			add_character_modifier = {
				name = seduction_timer
				duration = 365
				hidden = yes
			}
		}
		# Chance of levelling up Seduction skill
		character_event = { id = WoL.96 } 
		
		# End the Seduction
		character_event = { id = WoL.118 }
		
		# Scandal check
		FROM = { character_event = { id = WoL.50 } }
		
		# Chance of impregnation
		if = {
			limit = { is_female = yes }
			FROM = { character_event = { id = WoL.97 } }
			break = yes
		}
		FROM = { character_event = { id = WoL.98 } }
	}
	
	option = {
		name = EVTOPTA_WOL_306 # Love and leave
		ai_chance = {
			factor = 10
			modifier = {
				factor = 0.1
				NOT = { num_of_lovers = 1 }
			}
			modifier = {
				factor = 0.5
				trait = kind
			}
			modifier = {
				factor = 10
				num_of_lovers = 1
			}
			modifier = {
				factor = 10
				num_of_lovers = 2
			}
			modifier = {
				factor = 10
				num_of_lovers = 3
			}
			modifier = {
				factor = 10
				num_of_lovers = 4
			}
			modifier = {
				factor = 10
				trait = cruel
			}
			modifier = {
				factor = 2
				trait = arbitrary
			}
			modifier = {
				factor = 2
				same_sex = FROM
			}
			modifier = {
				factor = 2
				OR = {
					is_married = yes
					FROM = { is_married = yes }
				}
			}
			modifier = {
				factor = 0.1
				NOT = { has_focus = focus_seduction }
			}
		}
		custom_tooltip = {
			text = EVTOPTA_WOL_306_CUSTOM
			hidden_tooltip = {
				FROM = {
					if = {
						limit = { ai = no }
						add_character_modifier = {
							name = seduction_target_timer
							duration = 730
							hidden = yes
						}
					}
					if = {
						limit = { ai = yes }
						add_character_modifier = {
							name = seduction_target_timer
							duration = 90
							hidden = yes
						}
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB_WOL_306 # Our love must grow
		trigger = {
			OR = {
				AND = {
					FROM = { trait = homosexual }
					trait = homosexual
					same_sex = FROM
				}
				AND = {
					FROM = { NOT = { trait = homosexual } }
					NOT = { trait = homosexual }
					is_opposite_sex = FROM
				}
			}
		}
		ai_chance = {
			factor = 100
		}
		add_lover = FROM
	}
}

# Seduced: Courtier refuses to assist. Ping event.
character_event = {
	id = WoL.406
	hide_window = yes
	is_triggered_only = yes
	
	immediate = {
		FROMFROM = {
			character_event = { id = WoL.407 }
		}
	}
}

# Seducer: Courtier refuses to assist
character_event = {
	id = WoL.407
	title = EVTTITLE_WOL_401
	
	desc = EVTDESC_WOL_407
	
	picture = GFX_evt_lovers
	border = GFX_event_normal_frame_intrigue
	
	show_from_from = yes
	
	is_triggered_only = yes
	
	immediate = {
		if = {
			limit = {
				has_character_flag = wol_rebuffed_once
				has_character_flag = wol_rebuffed_twice
				NOT = { has_character_flag = wol_rebuffed_thrice }
			}
			set_character_flag = wol_rebuffed_thrice
		}
		if = {
			limit = {
				has_character_flag = wol_rebuffed_once
				NOT = { has_character_flag = wol_rebuffed_twice }
			}
			set_character_flag = wol_rebuffed_twice
		}
		if = {
			limit = { NOT = { has_character_flag = wol_rebuffed_once } }
			set_character_flag = wol_rebuffed_once
		}
	}
	
	option = {
		name = EVTOPTA_WOL_407
		trigger = {
			OR = {
				NOT = { has_character_flag = rebuffed_twice }
				trait = seducer
				trait = seductress
			}
			NOT = { has_character_flag = wol_rebuffed_thrice }
		}
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				is_female = no
				FROM = {
					is_female = yes
					OR = {
						higher_tier_than = duke
						any_spouse = { higher_tier_than = duke }
						any_consort = { higher_tier_than = duke }
					}
				}
			}
			hidden_tooltip = {
				character_event = { id = WoL.110 days = 60 random = 30 } # Back to the tombola
			}
			break = yes
		}
		character_event = { id = WoL.110 days = 20 random = 20 tooltip = EVTTOOLTIP_WoL_110 } # Back to the tombola
	}
	option = {
		name = EVTOPTB_WOL_407 # I have tired of this sport
		ai_chance = {
			factor = 1
			modifier = {
				factor = 0
				trait = lustful
				FROM = { ai = yes }
			}
			modifier = {
				factor = 200
				FROM = { ai = no }
			}
		}
		# End the seduction
		custom_tooltip = {
			text = WOL_SEDUCE_END_TOOLTIP
		}
		hidden_tooltip = {
			if = {
				limit = { ai = yes }
				remove_character_modifier = seduction_timer
				add_character_modifier = {
					name = seduction_timer
					duration = 365
					hidden = yes
				}
			}
			character_event = { id = WoL.118 }
		}
	}
}

# Seduced: Courtier tips off spouse/consort. Ping event.
character_event = {
	id = WoL.408
	hide_window = yes
	is_triggered_only = yes
	
	immediate = {
		any_spouse = {
			character_event = { id = WoL.409 }
		}
		any_consort = {
			character_event = { id = WoL.409 }
		}
	}
}

# Spouse/Consort of target: Courtier tip off
character_event = {
	id = WoL.409
	title = EVTTITLE_WOL_401
	desc = EVTDESC_WOL_409
	
	picture = GFX_evt_bad_news
	border = GFX_event_normal_frame_intrigue
	
	show_from_from = yes
	
	is_triggered_only = yes
	
	option = {
		name = {
			text = EVTOPTA_WOL_409_M
			trigger = {
				FROMFROMFROM = {
					is_female = no
					OR = {
						NOT = {
							age_diff = {
								who = ROOT
								years = 10
							}
						}
						NOT = { is_older_than = ROOT }
					}
				}
			}
		}
		name = {
			text = EVTOPTA_WOL_409_M_OLD
			trigger = {
				FROMFROMFROM = {
					is_female = no
					age_diff = {
						who = ROOT
						years = 10
					}
					is_older_than = ROOT
				}
			}
		}
		name = {
			text = EVTOPTA_WOL_409_F
			trigger = {
				FROMFROMFROM = {
					is_female = yes
					OR = {
						NOT = {
							age_diff = {
								who = ROOT
								years = 10
							}
						}
						NOT = { is_older_than = ROOT }
					}
				}
			}
		}
		name = {
			text = EVTOPTA_WOL_409_F_OLD
			trigger = {
				FROMFROMFROM = {
					is_female = yes
					age_diff = {
						who = ROOT
						years = 10
					}
					is_older_than = ROOT
				}
			}
		}
		
		add_rival = FROMFROMFROM
		opinion = {
			who = FROMFROMFROM
			modifier = opinion_chasing_spouse
			months = 36
		}
		
		hidden_tooltip = {
			FROMFROMFROM = { character_event = { id = WoL.410 } }
		}
	}
}

# Seducer: Ping to get the scopes right
character_event = {
	id = WoL.410
	hide_window = yes
	
	is_triggered_only = yes
	
	immediate = {
		FROMFROM = { character_event = { id = WoL.411 } }
	}
}

# Seduced: Ping to get the scopes right
character_event = {
	id = WoL.411
	hide_window = yes
	
	is_triggered_only = yes
	
	immediate = {
		FROM = { character_event = { id = WoL.412 } }
	}
}

# Seducer: Courtier tipped off the spouse
character_event = {
	id = WoL.412
	title = EVTTITLE_WOL_401
	desc = EVTDESC_WOL_412
	
	picture = GFX_evt_lovers
	border = GFX_event_normal_frame_intrigue
	
	show_from_from = yes
	
	is_triggered_only = yes
	
	immediate = {
		if = {
			limit = {
				has_character_flag = wol_rebuffed_once
				has_character_flag = wol_rebuffed_twice
				NOT = { has_character_flag = wol_rebuffed_thrice }
			}
			set_character_flag = wol_rebuffed_thrice
		}
		if = {
			limit = {
				has_character_flag = wol_rebuffed_once
				NOT = { has_character_flag = wol_rebuffed_twice }
			}
			set_character_flag = wol_rebuffed_twice
		}
		if = {
			limit = { NOT = { has_character_flag = wol_rebuffed_once } }
			set_character_flag = wol_rebuffed_once
		}
	}
	
	option = {
		name = EVTOPTA_WOL_407
		trigger = {
			OR = {
				NOT = { has_character_flag = rebuffed_twice }
				trait = seducer
				trait = seductress
			}
			NOT = { has_character_flag = wol_rebuffed_thrice }
		}
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				is_female = no
				FROM = {
					is_female = yes
					OR = {
						higher_tier_than = duke
						any_spouse = { higher_tier_than = duke }
						any_consort = { higher_tier_than = duke }
					}
				}
			}
			hidden_tooltip = {
				character_event = { id = WoL.110 days = 60 random = 30 } # Back to the tombola
			}
			break = yes
		}
		character_event = { id = WoL.110 days = 20 random = 20 tooltip = EVTTOOLTIP_WoL_110 } # Back to the tombola
	}
	option = {
		name = EVTOPTB_WOL_407 # I have tired of this sport
		ai_chance = {
			factor = 1
			modifier = {
				factor = 0
				trait = lustful
				FROM = { ai = yes }
			}
			modifier = {
				factor = 200
				FROM = { ai = no }
			}
		}
		# End the seduction
		custom_tooltip = {
			text = WOL_SEDUCE_END_TOOLTIP
		}
		hidden_tooltip = {
			if = {
				limit = { ai = yes }
				remove_character_modifier = seduction_timer
				add_character_modifier = {
					name = seduction_timer
					duration = 365
					hidden = yes
				}
			}
			character_event = { id = WoL.118 }
		}
	}
}

# Seduced: Could not find a sympathetic courtier. Ping to get the scopes right.
character_event = {
	id = WoL.413
	hide_window = yes
	
	is_triggered_only = yes
	
	immediate = {
		FROM = { character_event = { id = WoL.414 } }
	}
}

# Seducer: Could not find a sympathetic courtier
character_event = {
	id = WoL.414
	title = EVTTITLE_WOL_401
	desc = EVTDESC_WOL_414
	
	picture = GFX_evt_lovers
	border = GFX_event_normal_frame_intrigue
	
	show_from_from = yes
	
	is_triggered_only = yes
	
	immediate = {
		if = {
			limit = {
				has_character_flag = wol_rebuffed_once
				has_character_flag = wol_rebuffed_twice
				NOT = { has_character_flag = wol_rebuffed_thrice }
			}
			set_character_flag = wol_rebuffed_thrice
		}
		if = {
			limit = {
				has_character_flag = wol_rebuffed_once
				NOT = { has_character_flag = wol_rebuffed_twice }
			}
			set_character_flag = wol_rebuffed_twice
		}
		if = {
			limit = { NOT = { has_character_flag = wol_rebuffed_once } }
			set_character_flag = wol_rebuffed_once
		}
	}
	
	option = {
		name = EVTOPTA_WOL_414
		trigger = {
			OR = {
				NOT = { has_character_flag = rebuffed_twice }
				trait = seducer
				trait = seductress
			}
			NOT = { has_character_flag = wol_rebuffed_thrice }
		}
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				is_female = no
				FROM = {
					is_female = yes
					OR = {
						higher_tier_than = duke
						any_spouse = { higher_tier_than = duke }
						any_consort = { higher_tier_than = duke }
					}
				}
			}
			hidden_tooltip = {
				character_event = { id = WoL.110 days = 60 random = 30 } # Back to the tombola
			}
			break = yes
		}
		character_event = { id = WoL.110 days = 20 random = 20 tooltip = EVTTOOLTIP_WoL_110 } # Back to the tombola
	}
	option = {
		name = EVTOPTB_WOL_407 # I have tired of this sport
		ai_chance = {
			factor = 1
			modifier = {
				factor = 0
				trait = lustful
				FROM = { ai = yes }
			}
			modifier = {
				factor = 200
				FROM = { ai = no }
			}
		}
		# End the seduction
		custom_tooltip = {
			text = WOL_SEDUCE_END_TOOLTIP
		}
		hidden_tooltip = {
			if = {
				limit = { ai = yes }
				remove_character_modifier = seduction_timer
				add_character_modifier = {
					name = seduction_timer
					duration = 365
					hidden = yes
				}
			}
			character_event = { id = WoL.118 }
		}
	}
}

# Seduced: charmed
character_event = {
	id = WoL.415
	title = EVTTITLE_WOL_401
	
	picture = GFX_evt_lovers
	border = GFX_event_normal_frame_intrigue
	
	desc = {
		text = EVTDESC_WOL_415
		trigger = {
			same_realm = FROM
		}
	}
	desc = {
		text = EVTDESC_WOL_415_DISTANT
		trigger = {
			NOT = { same_realm = FROM }
		}
	}
	
	is_triggered_only = yes
	
	option = {
		name = EVTOPTA_WOL_415
		if = {
			limit = {
				NOT = {
					has_opinion_modifier = {
						who = FROM
						modifier = opinion_seduced_repelled
					}
				}
			}
			opinion = {
				who = FROM
				modifier = opinion_seduced_attracted
			}
		}
		
		if = {
			limit = {
				has_opinion_modifier = {
					who = FROM
					modifier = opinion_seduced_repelled
				}
			}
			remove_opinion = {
				who = FROM
				modifier = opinion_seduced_repelled
			}
		}
		hidden_tooltip = {
			FROM = { character_event = { id = WoL.416 } }
		}
	}
}

# Seducer: Charmed the target.
character_event = {
	id = WoL.416
	title = EVTTITLE_WOL_401
	desc = EVTDESC_WOL_416
	
	picture = GFX_evt_lovers
	border = GFX_event_normal_frame_intrigue
	
	show_from_from = yes
	
	is_triggered_only = yes
	
	option = {
		name = EVTOPTA_WOL_416
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				is_female = no
				FROM = {
					is_female = yes
					OR = {
						higher_tier_than = duke
						any_spouse = { higher_tier_than = duke }
						any_consort = { higher_tier_than = duke }
					}
				}
			}
			hidden_tooltip = {
				character_event = { id = WoL.110 days = 60 random = 30 } # Back to the tombola
			}
			break = yes
		}
		character_event = { id = WoL.110 days = 20 random = 20 tooltip = EVTTOOLTIP_WoL_110 } # Back to the tombola
	}
	option = {
		name = EVTOPTB_WOL_407 # I have tired of this sport
		ai_chance = {
			factor = 1
		}
		# End the seduction
		custom_tooltip = {
			text = WOL_SEDUCE_END_TOOLTIP
		}
		hidden_tooltip = {
			if = {
				limit = { ai = yes }
				remove_character_modifier = seduction_timer
				add_character_modifier = {
					name = seduction_timer
					duration = 365
					hidden = yes
				}
			}
			character_event = { id = WoL.118 }
		}
	}
}

# Target or courtier: A note found, addressed to the target
character_event = {
	id = WoL.417
	hide_window = yes
	
	is_triggered_only = yes
	
	immediate = {
		if = {
			limit = { character = FROMFROM }
			character_event = { id = WoL.418 }
			break = yes
		}
		if = {
			limit = { any_spouse = { character = FROMFROM } }
			character_event = { id = WoL.421 }
			break = yes
		}
		
		character_event = { id = WoL.424 } # Courtier or parent
	}
}

# Seduced: finds a note
character_event = {
	id = WoL.418
	title = EVTTITLE_WOL_401
	
	picture = GFX_evt_lovers
	border = GFX_event_normal_frame_intrigue
	
	desc = {
		text = EVTDESC_WOL_418
		trigger = {
			same_realm = FROMFROM
		}
	}
	desc = {
		text = EVTDESC_WOL_418_DISTANT
		trigger = {
			NOT = { same_realm = FROMFROM }
		}
	}
	
	is_triggered_only = yes
	
	immediate = {
		opinion = {
			who = FROMFROM
			modifier = opinion_flattered
			months = 12
		}
	}
	
	option = {
		name = EVTOPTA_WOL_418_F # Go meet Seducer by the stream
		trigger = { is_female = yes }
		ai_chance = {
			factor = 200
		}
		hidden_tooltip = {
			FROMFROM = { character_event = { id = WoL.419 } }
		}
	}
	option = {
		name = EVTOPTA_WOL_418_M # Go meet Seductress by the stream
		trigger = { is_female = no }
		ai_chance = {
			factor = 200
		}
		hidden_tooltip = {
			FROMFROM = { character_event = { id = WoL.419 } }
		}
	}
	option = {
		name = EVTOPTB_WOL_418 # Ignore
		ai_chance = {
			factor = 125
			modifier = {
				factor = 0.1
				has_opinion_modifier = {
					who = FROMFROM
					modifier = opinion_seduced_attracted
				}
			}
			modifier = {
				factor = 0.1
				trait = lustful
			}
			modifier = {
				factor = 0.2
				trait = hedonist
			}
			modifier = {
				factor = 5
				NOT = { trait = homosexual }
				same_sex = FROM
			}
			modifier = {
				factor = 1.5
				NOT = { religion = FROM }
			}
			modifier = {
				factor = 1.5
				NOT = { culture = FROM }
			}
			modifier = {
				factor = 1.5
				NOT = { culture_group = FROM }
			}
			modifier = {
				factor = 0.8
				FROM = { diplomacy = 12 }
			}
			modifier = {
				factor = 0.8
				FROM = { diplomacy = 15 }
			}
			modifier = {
				factor = 0.8
				FROM = { diplomacy = 18 }
			}
			modifier = {
				factor = 1.2
				FROM = { NOT = { diplomacy = 8 } }
			}
			modifier = {
				factor = 1.2
				FROM = { NOT = { diplomacy = 6 } }
			}
			modifier = {
				factor = 1.2
				FROM = { NOT = { diplomacy = 4 } }
			}
			modifier = {
				factor = 2
				FROM = { NOT = { diplomacy = 2 } }
			}
		}
		
		hidden_tooltip = {
			FROMFROM = { character_event = { id = WoL.420 } }
		}
	}
}

# Seducer: the target found the note and came
character_event = {
	id = WoL.419
	title = EVTTITLE_WOL_401
	
	picture = GFX_evt_lovers
	border = GFX_event_normal_frame_intrigue
	
	desc = EVTDESC_WOL_419
	
	is_triggered_only = yes
	
	option = { # Confess Love
		name = EVTOPTA_WOL_351
		ai_chance = {
			factor = 100
		}
		FROM = {
			set_character_flag = seduction_outing_note
			set_character_flag = seduction_whisper_love
			character_event = { id = WoL.404 days = 1 tooltip = EVTTOOLTIP_WoL_352_LOVE }
		}
	}
	option = { # Lewd suggestion
		name = EVTOPTB_WOL_351
		ai_chance = {
			factor = 100
		}
		FROM = {
			set_character_flag = seduction_outing_note
			set_character_flag = seduction_whisper_lewd
			character_event = { id = WoL.404 days = 1 tooltip = EVTTOOLTIP_WoL_352_LEWD }
		}
	}
	option = { # Quote Poet
		name = EVTOPTC_WOL_351
		ai_chance = {
			factor = 100
		}
		FROM = {
			set_character_flag = seduction_outing_note
			set_character_flag = seduction_whisper_poet
			character_event = { id = WoL.404 days = 1 tooltip = EVTTOOLTIP_WoL_352_POET }
		}
	}
	option = { # Breathe out softly
		name = EVTOPTD_WOL_351
		trigger = {
			trait = seducer
		}
		tooltip_info = seducer
		ai_chance = {
			factor = 10000
		}
		FROM = {
			set_character_flag = seduction_outing_note
			set_character_flag = seduction_whisper_breath
			character_event = { id = WoL.404 days = 1 tooltip = EVTTOOLTIP_WoL_352_BREATH }
		}
	}
	option = { # Breathe out softly
		name = EVTOPTD_WOL_351
		trigger = {
			trait = seductress
		}
		tooltip_info = seductress
		ai_chance = {
			factor = 10000
		}
		FROM = {
			set_character_flag = seduction_outing_note
			set_character_flag = seduction_whisper_breath
			character_event = { id = WoL.404 days = 1 tooltip = EVTTOOLTIP_WoL_352_BREATH }
		}
	}
	option = { # Ask about star sign
		name = EVTOPTE_WOL_351
		trigger = {
			society_member_of = hermetics
		}

		custom_tooltip = { text = because_member_of_society_tt }
		tooltip_info = yes
		ai_chance = {
			factor = 10000
		}
		FROM = {
			set_character_flag = seduction_outing_note
			set_character_flag = seduction_whats_your_zodiac
			character_event = { id = WoL.404 days = 1 tooltip = EVTTOOLTIP_WoL_352_ASTROLOGY }
		}
	}
}

# Seducer: Note ignored
character_event = {
	id = WoL.420
	title = EVTTITLE_WOL_401
	desc = EVTDESC_WOL_420
	
	picture = GFX_evt_lovers
	border = GFX_event_normal_frame_intrigue
	
	show_from_from = yes
	
	is_triggered_only = yes
	
	immediate = {
		if = {
			limit = {
				has_character_flag = wol_rebuffed_once
				has_character_flag = wol_rebuffed_twice
				NOT = { has_character_flag = wol_rebuffed_thrice }
			}
			set_character_flag = wol_rebuffed_thrice
		}
		if = {
			limit = {
				has_character_flag = wol_rebuffed_once
				NOT = { has_character_flag = wol_rebuffed_twice }
			}
			set_character_flag = wol_rebuffed_twice
		}
		if = {
			limit = { NOT = { has_character_flag = wol_rebuffed_once } }
			set_character_flag = wol_rebuffed_once
		}
	}
	
	option = {
		name = EVTOPTA_WOL_414
		trigger = {
			OR = {
				NOT = { has_character_flag = rebuffed_twice }
				trait = seducer
				trait = seductress
			}
			NOT = { has_character_flag = wol_rebuffed_thrice }
		}
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				is_female = no
				FROM = {
					is_female = yes
					OR = {
						higher_tier_than = duke
						any_spouse = { higher_tier_than = duke }
						any_consort = { higher_tier_than = duke }
					}
				}
			}
			hidden_tooltip = {
				character_event = { id = WoL.110 days = 60 random = 30 } # Back to the tombola
			}
			break = yes
		}
		character_event = { id = WoL.110 days = 20 random = 20 tooltip = EVTTOOLTIP_WoL_110 } # Back to the tombola
	}
	option = {
		name = EVTOPTB_WOL_407 # I have tired of this sport
		ai_chance = {
			factor = 1
			modifier = {
				factor = 0
				trait = lustful
				FROM = { ai = yes }
			}
			modifier = {
				factor = 200
				FROM = { ai = no }
			}
		}
		# End the seduction
		custom_tooltip = {
			text = WOL_SEDUCE_END_TOOLTIP
		}
		hidden_tooltip = {
			if = {
				limit = { ai = yes }
				remove_character_modifier = seduction_timer
				add_character_modifier = {
					name = seduction_timer
					duration = 365
					hidden = yes
				}
			}
			character_event = { id = WoL.118 }
		}
	}
}

# Spouse/Consort of target: Finds the note
character_event = {
	id = WoL.421
	title = EVTTITLE_WOL_401
	desc = EVTDESC_WOL_421
	
	picture = GFX_evt_bad_news
	border = GFX_event_normal_frame_intrigue
	
	show_from_from = yes
	
	is_triggered_only = yes
	
	option = {
		name = {
			text = EVTOPTA_WOL_409_M
			trigger = {
				FROMFROM = {
					is_female = no
					OR = {
						NOT = {
							age_diff = {
								who = ROOT
								years = 10
							}
						}
						NOT = { is_older_than = ROOT }
					}
				}
			}
		}
		name = {
			text = EVTOPTA_WOL_409_M_OLD
			trigger = {
				FROMFROM = {
					is_female = no
					age_diff = {
						who = ROOT
						years = 10
					}
					is_older_than = ROOT
				}
			}
		}
		name = {
			text = EVTOPTA_WOL_409_F
			trigger = {
				FROMFROM = {
					is_female = yes
					OR = {
						NOT = {
							age_diff = {
								who = ROOT
								years = 10
							}
						}
						NOT = { is_older_than = ROOT }
					}
				}
			}
		}
		name = {
			text = EVTOPTA_WOL_409_F_OLD
			trigger = {
				FROMFROM = {
					is_female = yes
					age_diff = {
						who = ROOT
						years = 10
					}
					is_older_than = ROOT
				}
			}
		}
		
		trigger = {
			OR = {
				is_ruler = no
				FROMFROMFROM = {
					liege = {
						NOT = { character = ROOT }
					}
				}
			}
		}
		
		ai_chance = {
			factor = 100
		}
		
		add_rival = FROMFROM
		opinion = {
			who = FROMFROM
			modifier = opinion_chasing_spouse
			months = 36
		}
		
		hidden_tooltip = {
			FROMFROMFROM = { character_event = { id = WoL.422 } }
		}
	}
	option = {
		name = EVTOPTB_WOL_421
		trigger = {
			is_ruler = yes
			FROMFROMFROM = {
				liege = {
					character = ROOT
				}
			}
		}
		add_rival = FROMFROM
		opinion = {
			who = FROMFROM
			modifier = opinion_chasing_spouse
			months = 36
		}
		
		ai_chance = {
			factor = 100
			modifier = {
				factor = 5.0
				trait = cruel
			}
			modifier = {
				factor = 5.0
				trait = wroth
			}
			modifier = {
				factor = 5.0
				trait = impaler
			}
			modifier = {
				factor = 0.25
				trait = kind
			}
			modifier = {
				factor = 0.5
				trait = patient
			}
		}
		
		reverse_imprison = FROMFROM
		
		hidden_tooltip = {
			FROMFROMFROM = { character_event = { id = WoL.422 } }
		}
	}
}

# Seduced: Ping to get the scopes right
character_event = {
	id = WoL.422
	hide_window = yes
	
	is_triggered_only = yes
	
	immediate = {
		FROMFROMFROM = { character_event = { id = WoL.423 } }
	}
}

# Seducer: Spouse found the note
character_event = {
	id = WoL.423
	title = EVTTITLE_WOL_401
	desc = {
		text = EVTDESC_WOL_423
		trigger = { prisoner = no }
	}
	desc = {
		text = EVTDESC_WOL_423_PRISON
		trigger = { prisoner = yes }
	}
	
	picture = GFX_evt_lovers
	border = GFX_event_normal_frame_intrigue
	
	show_from_from = yes
	
	is_triggered_only = yes
	
	immediate = {
		if = {
			limit = {
				has_character_flag = wol_rebuffed_once
				has_character_flag = wol_rebuffed_twice
				NOT = { has_character_flag = wol_rebuffed_thrice }
			}
			set_character_flag = wol_rebuffed_thrice
		}
		if = {
			limit = {
				has_character_flag = wol_rebuffed_once
				NOT = { has_character_flag = wol_rebuffed_twice }
			}
			set_character_flag = wol_rebuffed_twice
		}
		if = {
			limit = { NOT = { has_character_flag = wol_rebuffed_once } }
			set_character_flag = wol_rebuffed_once
		}
	}
	
	option = {
		name = {
			text = EVTOPTA_WOL_423
			trigger = { prisoner = no }
		}
		name = {
			text = EVTOPTA_WOL_423_PRISON
			trigger = { prisoner = yes }
		}
		trigger = {
			OR = {
				NOT = { has_character_flag = rebuffed_twice }
				trait = seducer
				trait = seductress
			}
			NOT = { has_character_flag = wol_rebuffed_thrice }
		}
		if = {
			limit = {
				is_female = no
				FROM = {
					is_female = yes
					OR = {
						higher_tier_than = duke
						any_spouse = { higher_tier_than = duke }
						any_consort = { higher_tier_than = duke }
					}
				}
			}
			hidden_tooltip = {
				character_event = { id = WoL.110 days = 60 random = 30 } # Back to the tombola
			}
			break = yes
		}
		character_event = { id = WoL.110 days = 20 random = 20 tooltip = EVTTOOLTIP_WoL_110 } # Back to the tombola
	}
	option = {
		name = EVTOPTB_WOL_407 # I have tired of this sport
		# End the seduction
		custom_tooltip = {
			text = WOL_SEDUCE_END_TOOLTIP
		}
		hidden_tooltip = {
			if = {
				limit = { ai = yes }
				remove_character_modifier = seduction_timer
				add_character_modifier = {
					name = seduction_timer
					duration = 365
					hidden = yes
				}
			}
			character_event = { id = WoL.118 }
		}
	}
}

# Courtier finds the note. Can also be the parent of the target...
character_event = {
	id = WoL.424
	title = EVTTITLE_WOL_401
	desc = EVTDESC_WOL_424
	
	picture = GFX_evt_bad_news
	border = GFX_event_normal_frame_intrigue
	
	show_from_from = yes
	
	is_triggered_only = yes
	
	option = { # Parent found the note
		name = {
			text = EVTOPTA_WOL_409_M
			trigger = {
				FROMFROM = {
					is_female = no
					OR = {
						NOT = {
							age_diff = {
								who = ROOT
								years = 10
							}
						}
						NOT = { is_older_than = ROOT }
					}
				}
			}
		}
		name = {
			text = EVTOPTA_WOL_409_M_OLD
			trigger = {
				FROMFROM = {
					is_female = no
					age_diff = {
						who = ROOT
						years = 10
					}
					is_older_than = ROOT
				}
			}
		}
		name = {
			text = EVTOPTA_WOL_409_F
			trigger = {
				FROMFROM = {
					is_female = yes
					OR = {
						NOT = {
							age_diff = {
								who = ROOT
								years = 10
							}
						}
						NOT = { is_older_than = ROOT }
					}
				}
			}
		}
		name = {
			text = EVTOPTA_WOL_409_F_OLD
			trigger = {
				FROMFROM = {
					is_female = yes
					age_diff = {
						who = ROOT
						years = 10
					}
					is_older_than = ROOT
				}
			}
		}
		
		trigger = {
			FROMFROMFROM = {
				is_child_of = ROOT
			}
		}
		
		ai_chance = {
			factor = 100
		}
		
		opinion = {
			who = FROMFROM
			modifier = opinion_chasing_child
			months = 36
		}
		
		hidden_tooltip = {
			FROMFROMFROM = { character_event = { id = WoL.425 } }
		}
	}
	option = { # Other courtier found the note
		name = EVTOPTB_WOL_424
		
		trigger = {
			FROMFROMFROM = {
				NOT = { is_child_of = ROOT }
			}
		}
		
		ai_chance = {
			factor = 100
		}
		
		opinion = {
			who = FROMFROM
			modifier = opinion_chasing_friend
			months = 36
		}
		
		hidden_tooltip = {
			FROMFROMFROM = { character_event = { id = WoL.425 } }
		}
	}
	option = { # Amorous courtier goes to the meeting instead
		name = EVTOPTC_WOL_424
		
		trigger = {
			FROMFROMFROM = {
				same_sex = ROOT
			}
			FROMFROM = {
				OR = {
					is_opposite_sex = ROOT
					AND = {
						trait = homosexual
						ROOT = { trait = homosexual }
					}
				}
			}
		}
		
		ai_chance = {
			factor = 10
			modifier = {
				factor = 0
				is_female = yes
				age = 55
			}
			modifier = {
				factor = 0.1
				is_married = yes
			}
			modifier = {
				factor = 100
				trait = lustful
			}
			modifier = {
				factor = 50
				trait = hedonist
			}
			modifier = {
				factor = 10
				is_married = yes
				trait = deceitful
			}
			modifier = {
				factor = 10
				trait = arbitrary
			}
			modifier = {
				factor = 5
				trait = gregarious
			}
			modifier = {
				factor = 0.25
				trait = shy
			}
		}
		
		hidden_tooltip = {
			FROMFROMFROM = { character_event = { id = WoL.427 } }
		}
	}
}

# Seduced: Ping to get the scopes right
character_event = {
	id = WoL.425
	hide_window = yes
	
	is_triggered_only = yes
	
	immediate = {
		FROMFROMFROM = { character_event = { id = WoL.426 } }
	}
}

# Seducer: Courtier found the note
character_event = {
	id = WoL.426
	title = EVTTITLE_WOL_401
	desc = EVTDESC_WOL_426
	
	picture = GFX_evt_lovers
	border = GFX_event_normal_frame_intrigue
	
	show_from_from = yes
	
	is_triggered_only = yes
	
	immediate = {
		if = {
			limit = {
				has_character_flag = wol_rebuffed_once
				has_character_flag = wol_rebuffed_twice
				NOT = { has_character_flag = wol_rebuffed_thrice }
			}
			set_character_flag = wol_rebuffed_thrice
		}
		if = {
			limit = {
				has_character_flag = wol_rebuffed_once
				NOT = { has_character_flag = wol_rebuffed_twice }
			}
			set_character_flag = wol_rebuffed_twice
		}
		if = {
			limit = { NOT = { has_character_flag = wol_rebuffed_once } }
			set_character_flag = wol_rebuffed_once
		}
	}
	
	option = {
		name = EVTOPTA_WOL_423
		trigger = {
			OR = {
				NOT = { has_character_flag = rebuffed_twice }
				trait = seducer
				trait = seductress
			}
			NOT = { has_character_flag = wol_rebuffed_thrice }
		}
		ai_chance = {
			factor = 100
		}
		if = {
			limit = {
				is_female = no
				FROM = {
					is_female = yes
					OR = {
						higher_tier_than = duke
						any_spouse = { higher_tier_than = duke }
						any_consort = { higher_tier_than = duke }
					}
				}
			}
			hidden_tooltip = {
				character_event = { id = WoL.110 days = 60 random = 30 } # Back to the tombola
			}
			break = yes
		}
		character_event = { id = WoL.110 days = 20 random = 20 tooltip = EVTTOOLTIP_WoL_110 } # Back to the tombola
	}
	option = {
		name = EVTOPTB_WOL_407 # I have tired of this sport
		ai_chance = {
			factor = 1
		}
		# End the seduction
		custom_tooltip = {
			text = WOL_SEDUCE_END_TOOLTIP
		}
		hidden_tooltip = {
			if = {
				limit = { ai = yes }
				remove_character_modifier = seduction_timer
				add_character_modifier = {
					name = seduction_timer
					duration = 365
					hidden = yes
				}
			}
			character_event = { id = WoL.118 }
		}
	}
}

# Seduced: Ping to get the scopes right
character_event = {
	id = WoL.427
	hide_window = yes
	
	is_triggered_only = yes
	
	immediate = {
		FROMFROMFROM = { character_event = { id = WoL.428 } }
	}
}

# Seducer: Courtier found the note and came instead!
character_event = {
	id = WoL.428
	title = EVTTITLE_WOL_401
	desc = EVTDESC_WOL_428
	
	picture = GFX_evt_lovers
	border = GFX_event_normal_frame_intrigue
	
	is_triggered_only = yes
	
	option = {
		name = EVTOPTA_WOL_428 # Tumble the courtier and move on
		
		hidden_tooltip = {
			FROMFROM = { character_event = { id = WoL.429 days = 1 } }
			
			# Chance of levelling up Seduction skill
			character_event = { id = WoL.96 } 
			
			# Chance of impregnation
			if = {
				limit = { is_female = yes }
				FROMFROM = { character_event = { id = WoL.97 } }
			}
			if = {
				limit = { is_female = no }
				FROMFROM = { character_event = { id = WoL.98 } }
			}
		}
		if = {
			limit = {
				is_female = no
				FROM = {
					is_female = yes
					OR = {
						higher_tier_than = duke
						any_spouse = { higher_tier_than = duke }
						any_consort = { higher_tier_than = duke }
					}
				}
			}
			hidden_tooltip = {
				character_event = { id = WoL.110 days = 60 random = 30 } # Back to the tombola
			}
			break = yes
		}		
		character_event = { id = WoL.110 days = 20 random = 20 tooltip = EVTTOOLTIP_WoL_110 } # Back to the tombola
	}
	option = {
		name = EVTOPTB_WOL_428 # Ehm, sorry, but no!
		
		FROMFROM = { character_event = { id = WoL.430 days = 1 tooltip = EVTTOOLTIP_WoL_430 } }
		if = {
			limit = {
				is_female = no
				FROM = {
					is_female = yes
					OR = {
						higher_tier_than = duke
						any_spouse = { higher_tier_than = duke }
						any_consort = { higher_tier_than = duke }
					}
				}
			}
			hidden_tooltip = {
				character_event = { id = WoL.110 days = 60 random = 30 } # Back to the tombola
			}
			break = yes
		}		
		character_event = { id = WoL.110 days = 20 random = 20 tooltip = EVTTOOLTIP_WoL_110 } # Back to the tombola
	}
}

# Courtier: Tumbled
character_event = {
	id = WoL.429
	title = EVTTITLE_WOL_401
	desc = EVTDESC_WOL_429
	
	picture = GFX_evt_lovers
	border = GFX_event_normal_frame_intrigue
	
	is_triggered_only = yes
	
	option = {
		name = EVTOPTA_WOL_429
	}
}

# Courtier: Resisted
character_event = {
	id = WoL.430
	title = EVTTITLE_WOL_401
	desc = EVTDESC_WOL_430
	
	picture = GFX_evt_lovers
	border = GFX_event_normal_frame_intrigue
	
	is_triggered_only = yes
	
	option = {
		name = EVTOPTA_WOL_430
		if = {
			limit = {
				FROMFROM = {
					NOT = { is_child_of = ROOT }
				}
			}
			opinion = {
				who = FROM
				modifier = opinion_chasing_friend
				months = 36
			}
		}
		if = {
			limit = {
				FROMFROM = {
					is_child_of = ROOT
				}
			}
			opinion = {
				who = FROM
				modifier = opinion_chasing_child
				months = 36
			}
		}
		
		opinion = {
			who = FROM
			modifier = opinion_advance_rejected
			months = 36
		}
	}
}



######################################################
# RANDOM SEDUCTION EVENTS
######################################################

# Flirting at confession - attraction vs priest
character_event = {
	id = WoL.500
	
	desc = EVTDESC_WOL_500
	picture = GFX_evt_monk
	border = GFX_event_normal_frame_intrigue
	
	only_playable = yes
	prisoner = no
	capable_only = yes
	min_age = 16
	max_age = 65
	religion_group = christian
	
	trigger = {
		has_focus = focus_seduction
		is_ill = no
		has_regent = no
		NOT = { age = 65 }
		OR = {
			has_lover = no
			trait = lustful
			trait = hedonist
		}
		any_realm_character = {
			is_priest = yes
			religion = ROOT
			ai = yes
			prisoner = no
			has_regent = no
			is_ill = no
			NOT = { age = 65 }
			NOT = {
				OR = {
					trait = incapable
					trait = infirm
					trait = eunuch
					trait = celibate
					trait = inbred
					trait = imbecile
				}
			}
			NOT = { is_lover = ROOT }
			NOT = { character = ROOT }
			OR = {
				AND = {
					trait = homosexual
					ROOT = { trait = homosexual }
					same_sex = ROOT
				}
				AND = {
					NOT = { trait = homosexual }
					NOT = { ROOT = { trait = homosexual } }
					is_opposite_sex = ROOT
				}
			}
			NOT = {
				has_opinion_modifier = {
					who = ROOT
					modifier = opinion_seduced_lustful_worship
				}
			}
			NOT = { is_close_relative = ROOT }
		}
	}
	
	mean_time_to_happen = {
		months = 60
		modifier = {
			factor = 0.25
			OR = {
				trait = arbitrary
				trait = lustful
				trait = cynical
				trait = hedonist
				trait = seducer
				trait = seductress
			}
		}
		modifier = {
			factor = 4.0
			trait = chaste
		}
		modifier = {
			factor = 4.0
			trait = zealous
		}
		modifier = {
			factor = 4.0
			OR = {
				trait = ugly
				trait = dwarf
				trait = inbred
				trait = imbecile
				trait = clubfooted
				trait = harelip
				trait = hunchback
				trait = gluttonous
				trait = eunuch
			}
		}
		modifier = {
			factor = 0.5
			trait = just
		}
	}
	
	immediate = {
		random_realm_character = {
			limit = {
				is_priest = yes
				religion = ROOT
				ai = yes
				prisoner = no
				has_regent = no
				is_ill = no
				NOT = { age = 65 }
				NOT = {
					OR = {
						trait = incapable
						trait = infirm
						trait = eunuch
						trait = celibate
						trait = inbred
						trait = imbecile
					}
				}
				NOT = { is_lover = ROOT }
				NOT = { character = ROOT }
				OR = {
					AND = {
						trait = homosexual
						ROOT = { trait = homosexual }
						same_sex = ROOT
					}
					AND = {
						NOT = { trait = homosexual }
						NOT = { ROOT = { trait = homosexual } }
						is_opposite_sex = ROOT
					}
				}
				NOT = {
					has_opinion_modifier = {
						who = ROOT
						modifier = opinion_seduced_lustful_worship
					}
				}
				NOT = { is_close_relative = ROOT }
			}
			save_event_target_as = target_priest
		}
	}
	
	option = {
		name = EVTOPTA_WOL_500 # Go for it
		ai_chance = {
			factor = 100
		}
		
		event_target:target_priest = {
			opinion = {
				who = ROOT
				modifier = opinion_seduced_lustful_worship
			}
		}
		
		hidden_tooltip = {
			# Chance of impregnation
			if = {
				limit = { is_female = yes }
				event_target:target_priest = { character_event = { id = WoL.97 } }
				break = yes
			}
			event_target:target_priest = { character_event = { id = WoL.98 } }
		}
		
#		log = "WoL.500: [Root.GetTitledName] tumbles priest - [target_priest.GetTitledName]"
	}
	option = {
		name = EVTOPTB_WOL_500 # No
		ai_chance = {
			factor = 10
			modifier = {
				factor = 30 # More dangerous for fertile married women
				is_female = yes
				NOT = { age = 45 }
				OR = {
					is_consort = yes
					is_married = yes
				}
				NOT = {
					OR = {
						trait = homosexual
						trait = arbitrary
						trait = lustful
						trait = hedonist
					}
				}
			}
		}
		
		piety = 10
	}
}

# Female: Seduce handsome guard. Can appear at court (chance of Syphilitic, Cruel, Pregnancy).
character_event = {
	id = WoL.520
	
	desc = EVTDESC_WOL_520
	picture = GFX_evt_lovers
	border = GFX_event_normal_frame_intrigue
	
	only_playable = yes
	only_capable = yes
	prisoner = no	
	min_age = 16
	
	trigger = {
		has_focus = focus_seduction
		is_pregnant = no
		is_ill = no
		has_regent = no
		OR = {
			is_female = no
			NOT = { age = 65 }
		}
		OR = {
			has_lover = no
			trait = lustful
			trait = hedonist
		}
		OR = {
			AND = {
				is_female = yes
				NOT = { trait = homosexual }
			}
			AND = {
				is_female = no
				trait = homosexual
			}
		}
		NOT = { has_character_modifier = hidden_seduced_bodyguard }
	}
	
	mean_time_to_happen = {
		months = 60
		modifier = {
			factor = 5.0 # More dangerous for fertile married women
			is_female = yes
			NOT = { age = 45 }
			OR = {
				is_consort = yes
				is_married = yes
			}
			NOT = {
				OR = {
					trait = homosexual
					trait = arbitrary
					trait = lustful
					trait = hedonist
				}
			}
		}
		
		modifier = {
			factor = 4.0
			trait = chaste
		}
		modifier = {
			factor = 4.0
			OR = {
				trait = ugly
				trait = dwarf
				trait = inbred
				trait = imbecile
				trait = clubfooted
				trait = harelip
				trait = hunchback
				trait = gluttonous
				trait = eunuch
			}
		}
		modifier = {
			factor = 2.0
			trait = just
		}
		modifier = {
			factor = 2.0
			trait = zealous
		}
	}
	
	option = {
		name = EVTOPTA_WOL_520 # Tumble and make lover (appears at court)
		
		ai_chance = {
			factor = 5
		}
		
		add_character_modifier = {
			modifier = hidden_seduced_bodyguard
			years = 30
			hidden = yes
		}
		
		create_character = {
			dynasty = none
			religion = ROOT
			culture = ROOT
			female = no
			age = 17
			trait = tough_soldier
			trait = strong
			trait = fair
			trait = diligent
			trait = trusting
			trait = brave
		}
		
		hidden_tooltip = {
			new_character = {
				add_lover = ROOT
				if = {
					limit = { same_sex = ROOT }
					add_trait = homosexual
				}
				opinion = {
					who = ROOT
					modifier = opinion_seduced_lustful_worship
					years = 30
				}
				random = {
					chance = 25
					character_event = { id = 6359 days = 15 random = 5 } #Gives lover's pox
				}
			}
			
			# Chance of impregnation
			if = {
				limit = { is_female = yes }
				new_character = { character_event = { id = WoL.97 } }
			}
		}
		
#		log = "WoL.520: [Root.GetTitledName] creates lover courtier [New.GetBestName]"
	}
	
	option = {
		name = EVTOPTB_WOL_520 # Tumble and make bodyguard (grants a nice character modifier)
		
		ai_chance = {
			factor = 100
		}
		
		add_character_modifier = {
			modifier = seduced_loyal_bodyguard
			years = 30
		}
		
		add_character_modifier = {
			modifier = hidden_seduced_bodyguard
			years = 30
			hidden = yes
		}
		
		hidden_tooltip = {
			if = {
				limit = {
					is_female = yes
					NOT = { age = 45 }
				}
				random = {
					chance = 33
					if = {
						limit = {
							is_married = no
							is_consort = no
						}
						impregnate = yes
						break = yes
					}
					impregnate_cuckoo = yes
				}
			}
			random = {
				chance = 25
				character_event = { id = WoL.40 days = 7 } # Chance of VD
			}
		}
	}
	
	option = {
		name = EVTOPTC_WOL_520 # No
		
		ai_chance = {
			factor = 1
		}
		
		piety = 5
	}
}

# Male: Seduce maid. Can appear at court (chance of Syphilitic, Cruel, Pregnancy).
character_event = {
	id = WoL.530
	
	desc = EVTDESC_WOL_530
	picture = GFX_evt_lovers
	border = GFX_event_normal_frame_intrigue
	
	only_playable = yes
	only_capable = yes
	prisoner = no
	min_age = 16
	
	trigger = {
		has_focus = focus_seduction
		is_ill = no
		has_regent = no
		OR = {
			is_female = no
			NOT = { age = 65 }
		}
		OR = {
			has_lover = no
			trait = lustful
			trait = hedonist
		}
		OR = {
			AND = {
				is_female = no
				NOT = { trait = homosexual }
			}
			AND = {
				is_female = yes
				trait = homosexual
			}
		}
		NOT = { has_character_modifier = hidden_seduced_maid }
	}
	
	mean_time_to_happen = {
		months = 60
		modifier = {
			factor = 4.0
			trait = chaste
		}
		modifier = {
			factor = 4.0
			OR = {
				trait = ugly
				trait = dwarf
				trait = inbred
				trait = imbecile
				trait = clubfooted
				trait = harelip
				trait = hunchback
				trait = gluttonous
				trait = eunuch
			}
		}
		modifier = {
			factor = 2.0
			trait = just
		}
	}
	
	option = {
		name = EVTOPTA_WOL_530 # Tumble and make lover (appears at court)
		ai_chance = {
			factor = 5
		}
		add_character_modifier = {
			modifier = hidden_seduced_maid
			years = 30
			hidden = yes
		}
		
		create_character = {
			dynasty = none
			religion = ROOT
			culture = ROOT
			female = yes
			age = 16
			trait = intricate_webweaver
			trait = fair
			trait = quick
			trait = diligent
			trait = gregarious
			trait = cynical
		}
		
		hidden_tooltip = {
			new_character = {
				add_lover = ROOT
				if = {
					limit = { same_sex = ROOT }
					add_trait = homosexual
				}
				else = {
					character_event = { id = WoL.98 } # Chance of impregnation
				}
				opinion = {
					who = ROOT
					modifier = opinion_seduced_lustful_worship
					years = 30
				}

				random = {
					chance = 25
					character_event = { id = 6359 days = 15 random = 5 } # Give's lover's pox
				}
			}
		}
		
#		log = "WoL.530: [Root.GetTitledName] creates lover courtier [New.GetBestName]"
	}
	
	option = {
		name = EVTOPTB_WOL_530 # Tumble and make spy (grants a nice character modifier)
		ai_chance = {
			factor = 100
		}
		add_character_modifier = {
			modifier = seduced_loyal_spy_maid
			years = 30
		}
		
		add_character_modifier = {
			modifier = hidden_seduced_maid
			years = 30
			hidden = yes
		}
		
		hidden_tooltip = {			
			random = {
				chance = 25
				character_event = { id = WoL.40 days = 7 } # Chance of VD
			}
		}
	}
	
	option = {
		name = EVTOPTC_WOL_530 # No
		ai_chance = {
			factor = 1
		}
		piety = 5
	}
}

# Lunatics: Seduction of a rose bush.
character_event = {
	id = WoL.560
	desc = EVTDESC_WOL_560
	picture = GFX_evt_garden
	border = GFX_event_normal_frame_intrigue
	
	only_playable = yes
	only_capable = yes
	prisoner = no
	min_age = 16
	
	trigger = {
		has_focus = focus_seduction
		trait = lunatic
		OR = {
			AND = {
				is_female = no
				NOT = { trait = homosexual }
			}
			AND = {
				is_female = yes
				trait = homosexual
			}
		}
		NOT = {
			OR = {
				trait = incapable
				trait = infirm
				trait = eunuch
				trait = celibate
			}
		}
		is_ill = no
		has_regent = no
		NOT = { has_character_modifier = hidden_seduced_tree }
	}
	
	mean_time_to_happen = {
		months = 60
		modifier = {
			factor = 2.0
			trait = chaste
		}
		modifier = {
			factor = 0.5
			trait = lustful
		}
		modifier = {
			factor = 0.5
			trait = arbitrary
		}
		modifier = {
			factor = 0.33
			trait = possessed
		}
	}
	
	immediate = {
		add_character_modifier = {
			modifier = hidden_seduced_tree
			duration = -1
			hidden = yes
		}
	}
	
	option = {
		name = EVTOPTA_WOL_560
		character_event = { id = WoL.561 days = 1 tooltip = EVTTOOLTIP_WoL_561 }
	}
	option = {
		name = EVTOPTB_WOL_560
		random = {
			chance = 10
			remove_trait = lunatic
			hidden_tooltip = {
				character_event = { id = 38309 } # Notify lost Lunatic trait
			}
		}
	}
}

character_event = {
	id = WoL.561
	desc = EVTDESC_WOL_561
	picture = GFX_evt_lovers
	border = GFX_event_normal_frame_intrigue
	
	is_triggered_only = yes
	
	option = {
		name = EVTOPTA_WOL_561
		random = {
			chance = 25
			add_trait = scarred
			hidden_tooltip = {
				character_event = { id = 38308 days = 1 } # Notify Scarred
			}
		}
		
		hidden_tooltip = {
			if = {
				limit = { is_female = no }
				random = {
					chance = 50
					character_event = { id = WoL.562 days = 240 random = 20 } # A baby is found in the garden!
				}
			}
		}
	}
}

character_event = {
	id = WoL.562
	desc = EVTDESC_WOL_562
	picture = GFX_evt_birth
	border = GFX_event_normal_frame_intrigue
	
	is_triggered_only = yes
	
	immediate = {
		hidden_tooltip = { # Hidden so the Pope does not appear as a portrait for affected characters
			d_miaphysite = {
				holder_scope = {
					create_character = {
						dynasty = none
						religion = hellenic_pagan
						culture = irish
						female = yes
						dna="gppniiosfag"
						age = 20
					}
					new_character = {
						ROOT = {
							random_list = {
								50 = {
									create_character = {
										dynasty = none
										religion = ROOT
										culture = ROOT
										race = PREV
										genetic_mother = PREV
										genetic_father = ROOT
										female = no
										age = 0
										trait = bastard
										trait = fair
									}
									new_character = {
										save_event_target_as = target_baby
									}
								}
								50 = {
									create_character = {
										dynasty = none
										religion = ROOT
										culture = ROOT
										race = PREV
										genetic_mother = PREV
										genetic_father = ROOT
										female = yes
										age = 0
										trait = bastard
										trait = fair
									}
									new_character = {
										save_event_target_as = target_baby
									}
								}
							}
						}
						death = { death_reason = death_natural }
					}
				}
			}
		}
	}
	
	option = {
		name = EVTOPTA_WOL_562
		ai_chance = {
			factor = 100
		}
		event_target:target_baby = {
			set_father = ROOT
		}
		
		if = {
			limit = { is_married = yes }
			spouse = {
				opinion = {
					who = ROOT
					modifier = opinion_unfaithful_private
					years = 10
				}
				hidden_tooltip = {
					event_target:target_baby = {
						reverse_opinion = {
							who = PREV
							modifier = opinion_whorespawn
							years = 100
						}
					}
				}
			}
		}
		
		if = {
			limit = { trait = zealous }
			random = {
				chance = 50
				remove_trait = zealous
				hidden_tooltip = {
					character_event = { id = 38310 days = 1 } # Notify zealous lost
				}
			}
		}
#		log = "WoL.562: [Root.GetTitledName] has rose bush baby [target_baby.GetFirstName] (lunatic)"
	}
	
	option = {
		name = EVTOPTB_WOL_562
		ai_chance = {
			factor = 1
		}
	}
}

# Lunatics: Seduction of a centaur.
character_event = {
	id = WoL.570
	desc = EVTDESC_WOL_570
	picture = GFX_evt_lovers
	border = GFX_event_normal_frame_intrigue
	
	only_playable = yes
	only_capable = yes
	prisoner = no
	min_age = 16
	
	trigger = {
		has_focus = focus_seduction
		trait = lunatic
		OR = {
			AND = {
				is_female = yes
				NOT = { trait = homosexual }
			}
			AND = {
				is_female = no
				trait = homosexual
			}
		}
		NOT = { trait = eunuch }
		is_ill = no
		has_regent = no
		NOT = {
			OR = {
				trait = incapable
				trait = infirm
				trait = celibate
			}
		}
		NOT = { has_character_modifier = hidden_seduced_tree }
	}
	
	mean_time_to_happen = {
		months = 60
		modifier = {
			factor = 4.0
			trait = chaste
		}
		modifier = {
			factor = 0.5
			trait = lustful
		}
		modifier = {
			factor = 0.5
			trait = arbitrary
		}
		modifier = {
			factor = 0.33
			trait = possessed
		}
	}
	
	immediate = {
		add_character_modifier = {
			modifier = hidden_seduced_tree
			duration = -1
			hidden = yes
		}
	}
	
	option = {
		name = EVTOPTA_WOL_570
		ai_chance = {
			factor = 100
		}
		character_event = { id = WoL.571 days = 1 tooltip = EVTTOOLTIP_WoL_571 }
	}
	option = {
		name = EVTOPTB_WOL_570
		ai_chance = {
			factor = 1
		}
		random = {
			chance = 10
			remove_trait = lunatic
			hidden_tooltip = {
				character_event = { id = 38309 } # Notify lost Lunatic trait
			}
		}
	}
}

character_event = {
	id = WoL.571
	desc = EVTDESC_WOL_571
	picture = GFX_evt_lovers
	border = GFX_event_normal_frame_intrigue
	
	is_triggered_only = yes
	
	immediate = {
		if = {
			limit = {
				is_female = yes
				is_pregnant = no
				NOT = { age = 45 }
			}
			random = {
				chance = 50
				if = {
					limit = {
						is_married = no
						is_consort = no
					}
					impregnate = yes
					break = yes
				}
				impregnate_cuckoo = yes
#				log = "WoL.571: [Root.GetTitledName] is impregnated by a centaur (lunatic)"
			}
		}
	}
	
	option = {
		name = EVTOPTA_WOL_571
		
		if = {
			limit = { trait = zealous }
			random = {
				chance = 50
				remove_trait = zealous
				hidden_tooltip = {
					character_event = { id = 38310 days = 1 } # Notify zealous lost
				}
			}
		}
	}
}

# Prisoner seduces guard -> sprung from jail
character_event = {
	id = WoL.580
	desc = EVTDESC_WOL_580
	picture = GFX_evt_into_the_dungeon
	border = GFX_event_normal_frame_intrigue
	
	only_playable = yes
	prisoner = yes
	capable_only = yes
	only_women = yes
	min_age = 16
	max_age = 45
	
	trigger = {
		has_focus = focus_seduction
		is_ill = no
		NOT = {
			OR = {
				trait = incapable
				trait = infirm
				trait = eunuch
				trait = celibate
				trait = inbred
				trait = imbecile
			}
		}
		NOT = { has_character_modifier = the_oubliette }
		NOT = { has_character_modifier = hidden_seduced_gaoler }
	}
	
	mean_time_to_happen = {
		months = 60
		modifier = {
			factor = 4.0
			trait = chaste
		}
		modifier = {
			factor = 0.5
			trait = lustful
		}
		modifier = {
			factor = 0.5
			trait = fair
		}
		modifier = {
			factor = 10.0
			trait = ugly
		}
		modifier = {
			factor = 10.0
			trait = dwarf
		}
	}
	
	option = {
		name = EVTOPTA_WOL_580 # Try
		ai_chance = {
			factor = 100
		}
		hidden_tooltip = {
			add_character_modifier = {
				modifier = hidden_seduced_gaoler
				years = 10
				hidden = yes
			}
			
			if = {
				limit = {
					OR = {
						trait = seductress
						has_character_modifier = wol_seducer_2
					}
				}
				random_list = {
					25 = {
						character_event = { id = WoL.581 days = 1 } # Fail
					}
					75 = {
						character_event = { id = WoL.585 days = 1 } # Succeed
					}
				}
				break = yes
			}
			
			random_list = {
				60 = {
					character_event = { id = WoL.581 days = 1 } # Fail
				}
				40 = {
					character_event = { id = WoL.585 days = 1 } # Succeed
				}
			}
		}
	}
	
	option = {
		name = EVTOPTB_WOL_580 # No
		ai_chance = {
			factor = 1
			modifier = {
				factor = 30.0
				trait = craven
			}
		}
		if = {
			limit = { NOT = { trait = depressed } }
			random = {
				chance = 20
				add_trait = depressed
				hidden_tooltip = {
					character_event = { id = 38288 } # Notify Depressed
				}
			}
		}
	}
}

# Failure. Liege informed.
character_event = {
	id = WoL.581
	desc = EVTDESC_WOL_581
	picture = GFX_evt_into_the_dungeon
	border = GFX_event_normal_frame_intrigue
	
	is_triggered_only = yes
	
	option = {
		name = EVTOPTA_WOL_581
		hidden_tooltip = {
			host = { character_event = { id = WoL.582 days = 1 } }
		}
	}
}

# Failure. Liege informed.
character_event = {
	id = WoL.582
	desc = EVTDESC_WOL_582
	picture = GFX_evt_into_the_dungeon
	border = GFX_event_normal_frame_intrigue
	
	is_triggered_only = yes
	
	option = {
		name = EVTOPTA_WOL_582 # Spunky! Move to better quarters
		trigger = {
			FROM = { NOT = { has_character_modifier = house_arrest } }
		}
		ai_chance = {
			factor = 100
			modifier = {
				factor = 0
				trait = cruel
			}
			modifier = {
				factor = 0
				trait = impaler
			}
			modifier = {
				factor = 0
				NOT = {
					opinion = {
						who = FROM
						value = -50
					}
				}
			}
			modifier = {
				factor = 2.0
				opinion = {
					who = FROM
					value = 50
				}
			}
			modifier = {
				factor = 4.0
				trait = kind
			}
		}
		tooltip = {
			FROM = {
				add_character_modifier = { 
					name = house_arrest
					duration = -1
				}
			}
		}
		hidden_tooltip = {
			FROM = { character_event = { id = WoL.583 } }
		}
	}
	
	option = {
		name = EVTOPTB_WOL_582 # Reward the gaoler.
		ai_chance = {
			factor = 100
		}
	}
	
	option = {
		name = EVTOPTC_WOL_582 # To the oubliette with her!
		ai_chance = {
			factor = 100
			modifier = {
				factor = 0
				trait = kind
			}
			modifier = {
				factor = 4.0
				trait = cruel
			}
			modifier = {
				factor = 2.0
				trait = impaler
			}
			modifier = {
				factor = 2.0
				NOT = {
					opinion = {
						who = FROM
						value = -50
					}
				}
			}
			modifier = {
				factor = 0.25
				opinion = {
					who = FROM
					value = 50
				}
			}
		}
		
		tooltip = {
			FROM = {
				add_character_modifier = { 
					name = the_oubliette
					duration = -1
				}
			}
		}
		
		hidden_tooltip = {
			FROM = { character_event = { id = WoL.584 } }
		}
	}
}

# Moved to better quarters
character_event = {
	id = WoL.583
	desc = EVTDESC_WOL_583
	picture = GFX_evt_princess_byzantine
	border = GFX_event_normal_frame_intrigue
	
	is_triggered_only = yes
	
	option = {
		name = EVTOPTA_WOL_583
		add_character_modifier = { 
			name = house_arrest
			duration = -1
		}
		hidden_tooltip = { remove_character_modifier = the_dungeon }
		hidden_tooltip = { character_event = { id = ZE.12219 } } # Loses pet rat
		opinion = {
			who = FROM
			modifier = opinion_grateful
			months = 36
		}
	}
}

# To the oubliette!
character_event = {
	id = WoL.584
	desc = EVTDESC_WOL_584
	picture = GFX_evt_into_the_dungeon
	border = GFX_event_normal_frame_intrigue
	
	is_triggered_only = yes
	
	option = {
		name = EVTOPTA_WOL_584
		add_character_modifier = { 
			name = the_oubliette
			duration = -1
		}
		hidden_tooltip = { remove_character_modifier = the_dungeon }
		opinion = {
			who = FROM
			modifier = opinion_hatred
			months = 120
		}
	}
}

# Success!
character_event = {
	id = WoL.585
	desc = EVTDESC_WOL_585
	picture = GFX_evt_jailbreak
	border = GFX_event_normal_frame_intrigue
	
	is_triggered_only = yes
	
	immediate = {
		if = {
			limit = {
				is_female = yes
				NOT = { age = 45 }
				fertility = 0.33
			}
			random = {
				chance = 33
				if = {
					limit = {
						is_married = no
						is_consort = no
					}
					impregnate = yes
					break = yes
				}
				impregnate_cuckoo = yes
			}
		}
		
		character_event = { id = WoL.96 } # Chance to level up skills
		
#		log = "WoL.585: [Root.GetTitledName] escapes the dungeon of [Root.Host.GetTitledName]."
	}
	
	option = {
		name = EVTOPTA_WOL_585
		hidden_tooltip = {
			host = { character_event = { id = WoL.586 days = 1 } }
		}
		
		prisoner = no
	}
}

# Captor notified of escape
character_event = {
	id = WoL.586
	desc = EVTDESC_WOL_586
	picture = GFX_evt_jailbreak
	border = GFX_event_normal_frame_intrigue
	
	is_triggered_only = yes
	
	option = {
		name = EVTOPTA_WOL_586
		prestige = -10
	}
}

# Seduction of a Concubine
character_event = {
	id = WoL.590
	desc = EVTDESC_WOL_590
	picture = GFX_evt_sultan
	border = GFX_event_normal_frame_intrigue
	
	only_playable = yes
	prisoner = no
	only_capable = yes
	only_men = yes
	min_age = 16
	
	trigger = {
		has_focus = focus_seduction
		has_concubinage = yes
		is_ill = no
		NOT = {
			OR = {
				trait = incapable
				trait = infirm
				trait = eunuch
				trait = celibate
				trait = inbred
				trait = imbecile
			}
		}
		any_consort = {
			NOT = { is_lover = ROOT }
			prisoner = no
			NOT = {
				OR = {
					trait = incapable
					trait = infirm
					trait = celibate
				}
			}
			NOT = { age = 40 }
		}
		NOT = { has_any_opinion_modifier = opinion_seducing_concubine }
	}
	
	mean_time_to_happen = {
		months = 360
		modifier = {
			factor = 0.5
			trait = gregarious
		}
		modifier = {
			factor = 0.5
			trait = fair
		}
		modifier = {
			factor = 0.5
			OR = {
				trait = seducer
				has_character_modifier = wol_seducer_2
			}
		}
		modifier = {
			factor = 0.75
			trait = kind
		}
		modifier = {
			factor = 2.0
			trait = harelip
		}
		modifier = {
			factor = 2.0
			trait = clubfooted
		}
		modifier = {
			factor = 3.0
			trait = impaler
		}
		modifier = {
			factor = 5.0
			trait = shy
		}
		modifier = {
			factor = 5.0
			trait = cruel
		}
		modifier = {
			factor = 5.0
			trait = hunchback
		}
		modifier = {
			factor = 10.0
			trait = ugly
		}
		modifier = {
			factor = 10.0
			trait = dwarf
		}
	}
	
	immediate = {
		random_consort = {
			limit = {
				NOT = { is_lover = ROOT }
				prisoner = no
				NOT = {
					OR = {
						trait = incapable
						trait = infirm
						trait = celibate
					}
				}
				NOT = { age = 40 }
			}
			save_event_target_as = target_consort
			reverse_opinion = {
				who = ROOT
				modifier = opinion_seducing_concubine
				months = 1200
			}
		}
	}
	
	option = {
		name = EVTOPTA_WOL_590
		event_target:target_consort = {
			character_event = { id = WoL.591 days = 1 tooltip = EVTTOOLTIP_WoL_591 }
		}
	}
}

# Concubine reacts
character_event = {
	id = WoL.591
	hide_window = yes
	
	is_triggered_only = yes
	
	option = {
		name = OK # Opinion boost / become lover
		trigger = {
			NOT = {
				has_opinion_modifier = {
					who = FROM
					modifier = opinion_forced_consort
				}
			}
		}
		ai_chance = {
			factor = 100
			modifier = {
				factor = 0.25
				FROM = {
					trait = ugly
				}
			}
			modifier = {
				factor = 0.25
				FROM = {
					trait = dwarf
				}
			}
			modifier = {
				factor = 0.33
				FROM = {
					trait = hunchback
				}
			}
			modifier = {
				factor = 0.5
				FROM = {
					trait = cruel
				}
			}
			modifier = {
				factor = 0.5
				FROM = {
					trait = shy
				}
			}
			modifier = {
				factor = 0.75
				FROM = {
					trait = clubfooted
				}
			}
			modifier = {
				factor = 0.75
				FROM = {
					trait = harelip
				}
			}
			modifier = {
				factor = 2.0
				FROM = {
					trait = kind
				}
			}
			modifier = {
				factor = 2.0
				FROM = {
					trait = fair
				}
			}
			modifier = {
				factor = 2.0
				FROM = {
					trait = gregarious
				}
			}
			modifier = {
				factor = 2.0
				FROM = {
					has_character_modifier = wol_seducer_1
				}
			}
			modifier = {
				factor = 3.0
				FROM = {
					has_character_modifier = wol_seducer_2
				}
			}
			modifier = {
				factor = 5.0
				FROM = {
					trait = seducer
				}
			}
			modifier = {
				factor = 0.5
				trait = paranoid
			}
			modifier = {
				factor = 0.5
				trait = cruel
			}
			modifier = {
				factor = 0.75
				trait = wroth
			}
			modifier = {
				factor = 2.0
				trait = kind
			}
			modifier = {
				factor = 2.0
				trait = content
			}
			modifier = {
				factor = 2.0
				trait = trusting
			}
			modifier = {
				factor = 0.75
				has_opinion_modifier = {
					who = FROM
					modifier = opinion_forced_consort
				}
			}
		}
		
		if = {
			limit = {
				has_opinion_modifier = {
					who = FROM
					modifier = opinion_forced_consort
				}
			}
			FROM = { character_event = { id = WoL.594 days = 7 random = 7 } } # Forgives abduction
			break = yes
		}
		
		if = {
			limit = {
				opinion = {
					who = FROM
					value = 50
				}
			}
			FROM = { character_event = { id = WoL.593 days = 7 random = 7 } } # Becomes lover
			break = yes
		}
		FROM = { character_event = { id = WoL.592 days = 7 random = 7 } } # Opinion increase
	}
	
	option = {
		name = OK # Opinion decreases.
		ai_chance = {
			factor = 100
			modifier = {
				factor = 10
				NOT = { trait = homosexual }
				same_sex = FROM
			}
			modifier = {
				factor = 2
				NOT = { religion = FROM }
			}
			modifier = {
				factor = 2
				NOT = { culture = FROM }
			}
			modifier = {
				factor = 2
				NOT = { culture_group = FROM }
			}
		}
		FROM = { character_event = { id = WoL.595 days = 7 random = 7 } }
	}
}

# Concubine opinion increases
character_event = {
	id = WoL.592
	
	picture = GFX_evt_sultan
	border = GFX_event_normal_frame_intrigue
	
	is_triggered_only = yes
	
	desc = {
		text = EVTDESC_WOL_592
		trigger = {
			FROM = {
				NOT = {
					opinion = {
						who = ROOT
						value = 0
					}
				}
			}
		}
	}
	desc = {
		text = EVTDESC_WOL_592_B
		trigger = {
			FROM = {
				opinion = {
					who = ROOT
					value = 0
				}
			}
		}
	}
	
	option = {
		name = EVTOPTA_WOL_592
		
		FROM = {
			opinion = {
				who = ROOT
				modifier = opinion_seduced_attracted
				months = 60
			}
			hidden_tooltip = {
				character_event = { id = WoL.591 days = 20 random = 20 }
			}
		}
	}
}

# Concubine becomes lover
character_event = {
	id = WoL.593
	desc = EVTDESC_WOL_593
	picture = GFX_evt_lovers
	border = GFX_event_normal_frame_intrigue
	
	is_triggered_only = yes
	
	option = {
		name = EVTOPTA_WOL_593
		
		add_lover = FROM
		
		hidden_tooltip = {
			remove_opinion = {
				who = FROM
				modifier = opinion_seducing_concubine
			}
		}
		
#		log = "WoL.593: [From.GetTitledName] becomes the lover of [Root.GetTitledName]."
	}
}

# Concubine forgives abduction
character_event = {
	id = WoL.594
	desc = EVTDESC_WOL_594
	picture = GFX_evt_sultan
	border = GFX_event_normal_frame_intrigue
	
	is_triggered_only = yes
	
	option = {
		name = EVTOPTA_WOL_594
		
		FROM = {
			remove_opinion = {
				who = ROOT
				modifier = opinion_forced_consort
			}
			hidden_tooltip = {
				character_event = { id = WoL.591 days = 20 random = 20 }
			}	
		}
		
#		log = "WoL.594: [From.GetTitledName] forgives [Root.GetTitledName] for abduction."
	}
}

# Concubine opinion decreases
character_event = {
	id = WoL.595
	desc = EVTDESC_WOL_595
	picture = GFX_evt_quarrel
	border = GFX_event_normal_frame_intrigue
	
	is_triggered_only = yes
	
	option = {
		name = EVTOPTA_WOL_595
		
		FROM = {
			opinion = {
				who = ROOT
				modifier = opinion_seduced_repelled
				months = 24
			}
			hidden_tooltip = {
				character_event = { id = WoL.591 days = 20 random = 20 }
			}	
		}
	}
	
	option = {
		name = EVTOPTB_WOL_595
		hidden_tooltip = {
			remove_opinion = {
				who = FROM
				modifier = opinion_seducing_concubine
			}
		}
	}
}

