﻿namespace = lay_with #was lay_with_woman

lay_with.20 = {
	title = attempt_to_lay.10.t
	desc = {
		first_valid = {
			triggered_desc = { #soulmate
				trigger = {
					scope:recipient = {
						has_relation_soulmate = scope:actor
					}
				}
				desc = attempt_to_lay.20.desc
			}
			triggered_desc = { #lover
				trigger = {
					scope:recipient = {
						has_relation_lover = scope:actor
					}
				}
				desc = attempt_to_lay.30.desc
			}
			triggered_desc = { #consort
				trigger = {
					scope:recipient = {
						is_consort_of = scope:actor	
					}
				}
				desc = attempt_to_lay.40.desc
			}
			# Think of adding other states such as friends with benefits, first time, shy, etc
			desc = attempt_to_lay.10.desc
		}
	}
    type = character_event
	theme = romance_scheme
	override_background = garden

	left_portrait = {
		character = root
		triggered_animation = {
			trigger = {
				OR = {
					has_trait = lustful
					has_trait = arrogant
					has_trait = deceitful
				}
			}
			animation = scheme
		}
		animation = flirtation
	}

	right_portrait = {
		character = scope:recipient
		animation = admiration
	}

	option = { # Trigger Event
		name = attempt_to_lay.10.b
			trigger_event = {
			id = lay_with.01
		}
	}
}

#pick lay option event
lay_with.01 = {
	title = lay_with.01.t
	desc = lay_with.01.desc
    type = character_event
	theme = lover_relation
	override_background = bedchamber

	left_portrait = {
		character = root
		animation = personality_rational
	}

	right_portrait = {
		character = scope:recipient
		animation = love
	}

	option = { # Ask
		name = lay_with.01.d #to be a
		custom_tooltip = lay_with.01.d.text
		add_prestige  = minor_prestige_loss
		random_list = {
			25 = {
				opinion_modifier = { #Compare Opinion modifier.
					who = scope:recipient
					opinion_target = scope:actor
					multiplier = 0.5
				}
				custom_tooltip = lay_with_partner_chance_tt_pos
				scope:actor = {
					add_character_flag = {
						flag = is_naked
					}
				}
				scope:recipient = {
					add_character_flag = {
						flag = is_naked
					}
				}
				trigger_event = {
					id = lay_with.11
					days = 1
				}
			}
			25 = {
				opinion_modifier = { #Compare Opinion modifier.
					who = scope:recipient
					opinion_target = scope:actor
					multiplier = 0.3
				}
				custom_tooltip = lay_with_partner_chance_tt_neu
				scope:actor = {
					add_character_flag = {
						flag = is_naked
					}
				}
				scope:recipient = {
					add_character_flag = {
						flag = is_naked
					}
				}
				trigger_event = {
					id = lay_with.12
					days = 1
				}
			}
			50 = {
				opinion_modifier = { #Compare Opinion modifier.
					who = scope:recipient
					opinion_target = scope:actor
					multiplier = -0.18
				}
				modifier = {
					multiply = 0.15
					scope:actor = { has_relation_lover = scope:recipient }
				}
				modifier = {
					multiply = 0
					scope:actor = { has_relation_soulmate = scope:recipient	}
				}
				custom_tooltip = lay_with_partner_chance_tt_neg
				trigger_event = {
					id = lay_with.13
					days = 1
				}
			}
		}
	}

	option = { # Roses
		name = lay_with.01.a
		custom_tooltip = lay_with.01.a.text
		remove_short_term_gold = minor_gold_value
			random_list = {
			40 = {
				opinion_modifier = { #Compare Opinion modifier.
					who = scope:recipient
					opinion_target = scope:actor
					multiplier = 0.4
				}
				custom_tooltip = lay_with_partner_chance_tt_pos
				scope:actor = {
					add_character_flag = {
						flag = is_naked
					}
				}
				scope:recipient = {
					add_character_flag = {
						flag = is_naked
					}
				}
				trigger_event = {
					id = lay_with.02
					days = 1
				}
			}
			30 = {
				opinion_modifier = { #Compare Opinion modifier.
					who = scope:recipient
					opinion_target = scope:actor
					multiplier = 0.4
				}
				custom_tooltip = lay_with_partner_chance_tt_neu
				scope:actor = {
					add_character_flag = {
						flag = is_naked
					}
				}
				scope:recipient = {
					add_character_flag = {
						flag = is_naked
					}
				}
				trigger_event = {
					id = lay_with.03
					days = 1
				}
			}
			30 = {
				opinion_modifier = { #Compare Opinion modifier.
					who = scope:recipient
					opinion_target = scope:actor
					multiplier = -0.11
				}
				modifier = {
					multiply = 0.3
					scope:actor = { has_relation_lover = scope:recipient }
				}
				modifier = {
					multiply = 0.1
					scope:actor = { has_relation_soulmate = scope:recipient	}
				}
				custom_tooltip = lay_with_partner_chance_tt_neg
				scope:actor = {
					add_character_flag = {
						flag = is_naked
					}
				}
				trigger_event = {
					id = lay_with.04
					days = 1
				}
			}
		}
	}
	option = { # Rough
		name = lay_with.01.b
		custom_tooltip = lay_with.01.b.text
		add_piety = minor_piety_loss
		random_list = {
			5 = {
				opinion_modifier = { #Compare Opinion modifier.
					who = scope:recipient
					opinion_target = scope:actor
					multiplier = 0.11
				}
				modifier = {
					has_trait = deviant
					add = 90
				}
				custom_tooltip = lay_with_partner_chance_tt_pos
				scope:actor = {
					add_character_flag = {
						flag = is_naked
					}
				}
				scope:recipient = {
					add_character_flag = {
						flag = is_naked
					}
				}
				trigger_event = {
					id = lay_with.05
					days = 1
				}
			}
			75 = {
				opinion_modifier = { #Compare Opinion modifier.
					who = scope:recipient
					opinion_target = scope:actor
					multiplier = 0.05
				}
				custom_tooltip = lay_with_partner_chance_tt_neu
				scope:actor = {
					add_character_flag = {
						flag = is_naked
					}
				}
				scope:recipient = {
					add_character_flag = {
						flag = is_naked
					}
				}
				trigger_event = {
					id = lay_with.06
					days = 1
				}
			}
			20 = {
				# opinion_modifier = { #Compare Opinion modifier.
				# 	who = scope:recipient
				# 	opinion_target = scope:actor
				# 	multiplier = -0.57
				# }
				# modifier = {
				# 	multiply = 0.5
				# 	scope:actor = { has_relation_lover = scope:recipient }
				# }
				# modifier = {
				# 	multiply = 0.25
				# 	scope:actor = { has_relation_soulmate = scope:recipient	}
				# }
				modifier = {
					has_trait = wrathful
					add = 10
				}
				custom_tooltip = lay_with_partner_chance_tt_neg
				trigger_event = {
					id = lay_with.07
					days = 1
				}
			}
		}
	}
	
	option = { # Cancel
		name = lay_with.01.e
		scope:recipient = {
			remove_opinion = {
				target = scope:actor
				modifier = laid_with_opinion
			}
			add_opinion = {
				target = scope:actor
				modifier = laid_with_led_on
			}
		}
	}
}

# Rose option positive
lay_with.02 = {
	title = lay_with.02.t
	desc = lay_with.02.desc
    type = character_event
	theme = love
	override_background = bedchamber

	left_portrait = {
		character = root
		animation = happiness
	}

	right_portrait = {
		character = scope:recipient
		animation = admiration
	}

	option = {
		name = lay_with.02.a
		#custom_tooltip = lay_with_partner_result_tt
		scope:actor = {
			remove_character_flag = is_naked
		}
		scope:recipient = {
			remove_character_flag = is_naked
		}

		scope:actor = {
			if = {
				limit = {
					is_close_family_of = scope:recipient
				}
				give_incest_secret_or_nothing_effect = yes
			}
		}

		scope:recipient = {
			if = {
				limit = {
					is_close_family_of = scope:actor
				}
				give_incest_secret_or_nothing_effect = yes
			}
		}

		had_sex_with_effect = {
			CHARACTER = scope:recipient
			PREGNANCY_CHANCE = pregnancy_chance
		}
	}

	immediate = {
		scope:actor = {
			stress_impact = {
				base = minor_stress_impact_loss
				chaste = minor_stress_impact_gain
				shy = miniscule_stress_impact_gain
			}
		}
		scope:recipient = {
			add_opinion = {
				target = scope:actor
				modifier = laid_with_success_opinion
				opinion = 25
			}
			remove_opinion = {
				target = scope:actor
				modifier = laid_with_opinion
			}
		}
		random_list = {
			33 = {
				if = {
					limit = {
						has_relation_lover = scope:recipient
						can_set_relation_soulmate_trigger = { CHARACTER = scope:recipient }
					}	
					set_relation_soulmate = { reason = soulmate_love_during_visit_at_court target = scope:recipient }
				}
				else = {
					set_relation_lover = { reason = lover_induled_in_forbidden_pleasures target = scope:recipient }
				}
			}
			66 = {
			}		
		}
	}
}

# Rose option neutral
lay_with.03 = {
	title = lay_with.03.t
	desc = lay_with.03.desc
    type = character_event
	theme = lover_relation
	override_background = bedchamber

	left_portrait = {
		character = root
		animation = flirtation
	}

	right_portrait = {
		character = scope:recipient
		animation = happiness
	}

	option = {
		name = lay_with.03.a
		#custom_tooltip = lay_with_partner_result_tt
		scope:actor = {
			remove_character_flag = is_naked
		}
		scope:recipient = {
			remove_character_flag = is_naked
		}

		scope:actor = {
			if = {
				limit = {
					is_close_family_of = scope:recipient
				}
				give_incest_secret_or_nothing_effect = yes
			}
		}

		scope:recipient = {
			if = {
				limit = {
					is_close_family_of = scope:actor
				}
				give_incest_secret_or_nothing_effect = yes
			}
		}

		had_sex_with_effect = {
			CHARACTER = scope:recipient
			PREGNANCY_CHANCE = pregnancy_chance
		}
	}

	immediate = {
		scope:actor = {
			stress_impact = {
				base = miniscule_stress_impact_loss
				chaste = minor_stress_impact_gain
				shy = miniscule_stress_impact_gain
			}
		}
		scope:recipient = {
			add_opinion = {
				target = scope:actor
				modifier = laid_with_midsuccess_opinion
				opinion = 15
			}
			remove_opinion = {
				target = scope:actor
				modifier = laid_with_opinion
			}
		}
	}
}

# Rose option negative
lay_with.04 = {
	title = lay_with.04.t
	desc = lay_with.04.desc
    type = character_event
	theme = lover_relation
	override_background = bedchamber

	left_portrait = {
		character = root
		animation = sadness
	}

	right_portrait = {
		character = scope:recipient
		animation = disgust
	}

	option = {
		name = lay_with.04.a
		scope:actor = {
			remove_character_flag = is_naked
		}
		scope:recipient = {
			remove_character_flag = is_naked
		}
	}

	immediate = {
		scope:actor = {
			stress_impact = {
				base = minor_stress_impact_gain
				chaste = medium_stress_impact_gain
				lustful = miniscule_stress_impact_loss
				arrogant = medium_stress_impact_gain
			}
		}
		scope:recipient = {
			add_opinion = {
				target = scope:actor
				modifier = laid_with_unsuccess_opinion
				opinion = -20
			}
			remove_opinion = {
				target = scope:actor
				modifier = laid_with_opinion
			}
		}
	}
}

# Rough option positive
# Try to make this available only to characters with sadistic, wrathful, callous, deviant
# 
lay_with.05 = {
	title = lay_with.05.t
	desc = lay_with.05.desc
    type = character_event
	theme = hunting
	override_background = dungeon

	left_portrait = {
		character = root
		animation = personality_bold
	}

	right_portrait = {
		character = scope:recipient
		animation = prisondungeon
	}

	option = {
		name = lay_with.05.a
		#custom_tooltip = lay_with_partner_result_tt
		scope:actor = {
			remove_character_flag = is_naked
		}
		scope:recipient = {
			remove_character_flag = is_naked
		}

		scope:actor = {
			if = {
				limit = {
					is_close_family_of = scope:recipient
				}
				give_incest_secret_or_nothing_effect = yes
			}
		}

		scope:recipient = {
			if = {
				limit = {
					is_close_family_of = scope:actor
				}
				give_incest_secret_or_nothing_effect = yes
			}
		}

		had_sex_with_effect = {
			CHARACTER = scope:recipient
			PREGNANCY_CHANCE = pregnancy_chance
		}
	}

	immediate = {
		scope:actor = {
			stress_impact = {
				base = medium_stress_impact_loss
				chaste = minor_stress_impact_gain
				sadistic = minor_stress_impact_loss
				compassionate = minor_stress_impact_gain
				deviant = medium_stress_impact_gain
			}
		}
		scope:recipient = {
			add_opinion = {
				target = scope:actor
				modifier = laid_with_success_opinion
				opinion = 25
			}
			remove_opinion = {
				target = scope:actor
				modifier = laid_with_opinion
			}
		}
		if = {
			limit = {
				AND = {
					scope:actor = {
						OR = {
							has_trait = sadistic
							has_trait = wrathful
							has_trait = vengeful
							has_trait = callous
						}
					}	
					scope:recipient = {
						OR = {
							has_trait = sadistic
							has_trait = wrathful
							has_trait = vengeful
							has_trait = callous
						}
					}
				}
			}
			random_list = {
				50 = {
					if = {
						limit = {
							has_relation_lover = scope:recipient
							can_set_relation_soulmate_trigger = { CHARACTER = scope:recipient }
							}	
						set_relation_soulmate = { reason = soulmate_love_during_visit_at_court target = scope:recipient }
					}
					else = {
						set_relation_lover = { reason = lover_induled_in_forbidden_pleasures target = scope:recipient }
					}
				}
				25 = {
					progress_towards_friend_effect = {
						REASON = friend_personal_physical_interest
						CHARACTER = scope:recipient
						OPINION = 10
					}
				}
				25 = {
				}
			}
		}
	}
}

# Rough option neutral
lay_with.06 = {
	title = lay_with.06.t
	desc = lay_with.06.desc
    type = character_event
	theme = hunting
	override_background = dungeon

	left_portrait = {
		character = root
		animation = personality_callous
	}

	right_portrait = {
		character = scope:recipient
		animation = beg
	}

	option = {
		name = lay_with.06.a
		#custom_tooltip = lay_with_partner_result_tt
		scope:actor = {
			remove_character_flag = is_naked
		}
		scope:recipient = {
			remove_character_flag = is_naked
		}

		scope:actor = {
			if = {
				limit = {
					is_close_family_of = scope:recipient
				}
				give_incest_secret_or_nothing_effect = yes
			}
		}

		scope:recipient = {
			if = {
				limit = {
					is_close_family_of = scope:actor
				}
				give_incest_secret_or_nothing_effect = yes
			}
		}

		had_sex_with_effect = {
			CHARACTER = scope:recipient
			PREGNANCY_CHANCE = pregnancy_chance
		}
	}

	immediate = {
		scope:actor = {
			stress_impact = {
				base = minor_stress_impact_loss
				chaste = medium_stress_impact_gain
				sadistic = medium_stress_impact_loss
				compassionate  = medium_stress_impact_gain
				deviant = medium_stress_impact_gain
			}
		}
		scope:recipient = {
			add_opinion = {
				target = scope:actor
				modifier = laid_with_midsuccess_opinion
				opinion = 5
			}
			remove_opinion = {
				target = scope:actor
				modifier = laid_with_opinion
			}
		}
	}
}

# Rough option negative
lay_with.07 = {
	title = lay_with.07.t
	desc = lay_with.07.desc
    type = character_event
	theme = unfriendly
	override_background = dungeon

	left_portrait = {
		character = root
		animation = shame
	}

	right_portrait = {
		character = scope:recipient
		animation = worry
	}

	option = {
		name = lay_with.07.a
		scope:actor = {
			remove_character_flag = is_naked
		}
		scope:recipient = {
			remove_character_flag = is_naked
		}
	}

	immediate = {
		scope:actor = {
			stress_impact = {
				base = miniscule_stress_impact_gain
				lustful = minor_stress_impact_gain
				arrogant = medium_stress_impact_gain
				wrathful = minor_stress_impact_gain
				sadistic = minor_stress_impact_gain
				impatient = minor_stress_impact_gain
			}
		}
		scope:recipient = {
			add_opinion = {
				target = scope:actor
				modifier = laid_with_unsuccess_opinion
				opinion = -20
			}
			remove_opinion = {
				target = scope:actor
				modifier = laid_with_opinion
			}
		}
		if = {
			limit = {
				scope:recipient = {
					OR = {
						has_trait = sadistic
						has_trait = lustful
					}
				}
			}
			random_list = {
				10 = {
					scope:recipient = {
						set_relation_rival = { reason = rival_spurned_aggressive_advances target = scope:actor }
					}
				}
				90 = {	
				}
			}
		}	
		else_if = {
			limit = {
				scope:recipient = {
					OR = {
						has_trait = wrathful
						has_trait = vengeful
						has_trait = callous
					}
				}
			}
			random_list = {
				35 = {
					scope:recipient = {
						set_relation_rival = { reason = rival_spurned_aggressive_advances target = scope:actor }
					}
				}
				35 = {
					scope:recipient = {
						progress_towards_rival_effect = {
							REASON = rival_spurned_aggressive_advances
							CHARACTER = scope:actor
							OPINION = default_rival_opinion
						}	
					}	
				}
				30 = {
				}
			}
		}
		else_if = {
			limit = {
				scope:recipient = {
					OR = {
						has_trait = chaste
					}
				}
			}
			random_list = {
				75 = {
					scope:recipient = {
						set_relation_rival = { reason = rival_spurned_aggressive_advances target = scope:actor }
					}
				}
				25 = {
					scope:recipient = {
						progress_towards_rival_effect = {
							REASON = rival_spurned_aggressive_advances
							CHARACTER = scope:actor
							OPINION = default_rival_opinion
						}	
					}	
				}
			}
		}
		else = {
			random_list = {
				20 = {
					scope:recipient = {
						set_relation_rival = { reason = rival_spurned_aggressive_advances target = scope:actor }
					}
				}
				40 = {
					scope:recipient = {
						progress_towards_rival_effect = {
							REASON = rival_spurned_aggressive_advances
							CHARACTER = scope:actor
							OPINION = default_rival_opinion
						}	
					}	
				}
				40 = {
				}
			}
		}
	}
}

# Gift option positive
lay_with.08 = {
	title = lay_with.08.t
	desc = lay_with.08.desc
    type = character_event
	theme = party
	override_background = bedchamber

	left_portrait = {
		character = root
		animation = personality_zealous
	}

	right_portrait = {
		character = scope:recipient
		animation = admiration
	}

	option = {
		name = lay_with.08.a
		#custom_tooltip = lay_with_partner_result_tt
		scope:actor = {
			remove_character_flag = is_naked
		}
		scope:recipient = {
			remove_character_flag = is_naked
		}

		scope:actor = {
			if = {
				limit = {
					is_close_family_of = scope:recipient
				}
				give_incest_secret_or_nothing_effect = yes
			}
		}

		scope:recipient = {
			if = {
				limit = {
					is_close_family_of = scope:actor
				}
				give_incest_secret_or_nothing_effect = yes
			}
		}

		had_sex_with_effect = {
			CHARACTER = scope:recipient
			PREGNANCY_CHANCE = pregnancy_chance
		}
	}

	immediate = {
		scope:actor = {
			stress_impact = {
				base = miniscule_stress_impact_loss
				chaste = miniscule_stress_impact_gain
			}
		}
		scope:recipient = {
			add_opinion = {
				target = scope:actor
				modifier = laid_with_success_opinion
				opinion = 15
			}
			remove_opinion = {
				target = scope:actor
				modifier = laid_with_opinion
			}
		}
		random_list = {
			10 = {
				if = {
					limit = {
						has_relation_lover = scope:recipient
						can_set_relation_soulmate_trigger = { CHARACTER = scope:recipient }
					}	
					set_relation_soulmate = { reason = soulmate_love_during_visit_at_court target = scope:recipient }
				}
				else = {
					set_relation_lover = { reason = lover_induled_in_forbidden_pleasures target = scope:recipient }
				}
			}
			23 = {
				progress_towards_friend_effect = {
					REASON = friend_personal_physical_interest
					CHARACTER = scope:recipient
					OPINION = 20
				}
			}
			66 = {
			}		
		}
	}
}

# Gift option neutral
lay_with.09 = {
	title = lay_with.09.t
	desc = lay_with.09.desc
    type = character_event
	theme = party
	override_background = corridor_night

	left_portrait = {
		character = root
		animation = fliration
	}

	right_portrait = {
		character = scope:recipient
		animation = flirtation
	}

	option = {
		name = lay_with.09.a
		#custom_tooltip = lay_with_partner_result_tt
		scope:actor = {
			remove_character_flag = is_naked
		}
		scope:recipient = {
			remove_character_flag = is_naked
		}

		scope:actor = {
			if = {
				limit = {
					is_close_family_of = scope:recipient
				}
				give_incest_secret_or_nothing_effect = yes
			}
		}

		scope:recipient = {
			if = {
				limit = {
					is_close_family_of = scope:actor
				}
				give_incest_secret_or_nothing_effect = yes
			}
		}

		had_sex_with_effect = {
			CHARACTER = scope:recipient
			PREGNANCY_CHANCE = pregnancy_chance
		}
	}

	immediate = {
		scope:actor = {
			stress_impact = {
				chaste = minor_stress_impact_gain
			}
		}
		scope:recipient = {
			add_opinion = {
				target = scope:actor
				modifier = laid_with_midsuccess_opinion
				opinion = 5
			}
			remove_opinion = {
				target = scope:actor
				modifier = laid_with_opinion
			}
		}
		add_prestige = miniscule_prestige_loss
	}
}

# Gift option negative
lay_with.10 = {
	title = lay_with.10.t
	desc = lay_with.10.desc
    type = character_event
	theme = party

	left_portrait = {
		character = root
		animation = shock
	}

	right_portrait = {
		character = scope:recipient
		animation = dismissal
	}

	option = {
		name = lay_with.10.a
		scope:actor = {
			remove_character_flag = is_naked
		}
		scope:recipient = {
			remove_character_flag = is_naked
		}
	}

	immediate = {
		scope:actor = {
			stress_impact = {
				chaste = minor_stress_impact_gain
			}
		}
		scope:recipient = {
			add_opinion = {
				target = scope:actor
				modifier = laid_with_unsuccess_opinion
				opinion = -10
			}
			remove_opinion = {
				target = scope:actor
				modifier = laid_with_opinion
			}
		}
		add_prestige = miniscule_prestige_loss
	}
}

# Ask option positive
lay_with.11 = {
	title = lay_with.11.t
	desc = lay_with.11.desc
    type = character_event
	theme = love
	override_background = bedchamber

	left_portrait = {
		character = root
		animation = admiration
	}

	right_portrait = {
		character = scope:recipient
		animation = happiness
	}

	option = {
		name = lay_with.11.a
		#custom_tooltip = lay_with_partner_result_tt
		scope:actor = {
			remove_character_flag = is_naked
		}
		scope:recipient = {
			remove_character_flag = is_naked
		}

		scope:actor = {
			if = {
				limit = {
					is_close_family_of = scope:recipient
				}
				give_incest_secret_or_nothing_effect = yes
			}
		}

		scope:recipient = {
			if = {
				limit = {
					is_close_family_of = scope:actor
				}
				give_incest_secret_or_nothing_effect = yes
			}
		}

		had_sex_with_effect = {
			CHARACTER = scope:recipient
			PREGNANCY_CHANCE = pregnancy_chance
		}
	}

	immediate = {
		scope:actor = {
			stress_impact = {
				base = minor_stress_impact_loss
			}
		}
		scope:recipient = {
			add_opinion = {
				target = scope:actor
				modifier = laid_with_success_opinion
				opinion = 10
			}
			remove_opinion = {
				target = scope:actor
				modifier = laid_with_opinion
			}
		}
		add_prestige = miniscule_prestige_loss
		add_piety = miniscule_piety_gain
	}
}

# Ask option neutral
lay_with.12 = {
	title = lay_with.12.t
	desc = lay_with.12.desc
    type = character_event
	theme = lover_relation
	override_background = bedchamber

	left_portrait = {
		character = root
		animation = happiness
	}

	right_portrait = {
		character = scope:recipient
		animation = boredom
	}

	option = {
		name = lay_with.12.a
		#custom_tooltip = lay_with_partner_result_tt
		scope:actor = {
			remove_character_flag = is_naked
		}
		scope:recipient = {
			remove_character_flag = is_naked
		}
		
		scope:actor = {
			if = {
				limit = {
					is_close_family_of = scope:recipient
				}
				give_incest_secret_or_nothing_effect = yes
			}
		}

		scope:recipient = {
			if = {
				limit = {
					is_close_family_of = scope:actor
				}
				give_incest_secret_or_nothing_effect = yes
			}
		}

		had_sex_with_effect = {
			CHARACTER = scope:recipient
			PREGNANCY_CHANCE = pregnancy_chance
		}
	}


	immediate = {
		scope:actor = {
			stress_impact = {
				base = miniscule_stress_impact_loss
				chaste = miniscule_stress_impact_gain
			}
		}
		scope:recipient = {
			add_opinion = {
				target = scope:actor
				modifier = laid_with_midsuccess_opinion
				opinion = 5
			}
			remove_opinion = {
				target = scope:actor
				modifier = laid_with_opinion
			}
		}
		add_prestige = miniscule_prestige_loss
	}
}

# Ask option negative
lay_with.13 = {
	title = lay_with.13.t
	desc = lay_with.13.desc
    type = character_event
	theme = lover_relation
	override_background = bedchamber

	left_portrait = {
		character = root
		animation = stress
	}

	right_portrait = {
		character = scope:recipient
		animation = disapproval
	}

	option = {
		name = lay_with.13.a
		scope:actor = {
			remove_character_flag = is_naked
		}
		scope:recipient = {
			remove_character_flag = is_naked
		}
	}

	immediate = {
		scope:actor = {
			stress_impact = {
				base = miniscule_stress_impact_gain
				chaste = minor_stress_impact_gain
				lustful = miniscule_stress_impact_gain
				arrogant = medium_stress_impact_gain
			}
		}
		scope:recipient = {
			add_opinion = {
				target = scope:actor
				modifier = laid_with_unsuccess_opinion
				opinion = -10
			}
			remove_opinion = {
				target = scope:actor
				modifier = laid_with_opinion
			}
		}
		add_prestige = minor_prestige_loss
		add_piety = miniscule_piety_loss
	}
}