﻿namespace = deviants_dreamsgo


#0100 start
deviants_dreamsgo.0100 = { 
	type = character_event
	title = deviants_dreamsgo.0100.t
    desc = deviants_dreamsgo.0100.a.desc
	theme = deviantsmaskgo
	override_background = { reference = deviantwarriorqueenfistedgangbang }
    trigger = {
        has_trait = deviants_mask
		is_ruler = yes
		is_female = yes
		age >= 18
		has_trait = deviants_demonanalslut
        NOT = { has_character_flag = deviant_drew_from_warrior_queen_dream }
		any_character_artifact = {
			has_artifact_modifier = deviants_dreamring_modifier
		}
		NOT = { 
			any_character_artifact = {
				has_artifact_modifier = deviants_demon_master_dildo_modifier
			}
		}	
    }
	# 
	option = {
        trigger = {
            has_trait = lustful
        }
		name = deviants_dreamsgo.0100.a
		custom_tooltip = deviants_dreamsgo.0100.a.tt	
		trigger_event = deviants_dreamsgo.0101
	}	
    # 
	option = {
		trigger = {
            has_trait = deviants_mask
        }
		name = deviants_dreamsgo.0100.b
		custom_tooltip = deviants_dreamsgo.0100.b.tt	
		trigger_event = deviants_dreamsgo.0101
	}	
    # 
	option = {
		name = deviants_dreamsgo.0100.c
		custom_tooltip = deviants_dreamsgo.0100.c.tt	
	}	
}
#0101 fuck start
deviants_dreamsgo.0101 = { 
	type = character_event
	title = deviants_dreamsgo.0101.t
    desc = deviants_dreamsgo.0101.a.desc
	theme = deviantsmaskgo
	override_background = { reference = deviantwarriorqueenvagcumgangbang }
	# 
	option = {
		trigger = {
            has_trait = deviants_mask
        }
		name = deviants_dreamsgo.0101.a
		custom_tooltip = deviants_dreamsgo.0101.a.tt	
		trigger_event = deviants_dreamsgo.0102
	}	
    # 
	option = {
		name = deviants_dreamsgo.0101.b
		custom_tooltip = deviants_dreamsgo.0101.b.tt	
	}	
}
#0102 anal dp
deviants_dreamsgo.0102 = { 
	type = character_event
	title = deviants_dreamsgo.0102.t
    desc = deviants_dreamsgo.0102.a.desc
	theme = deviantsmaskgo
	override_background = { reference = deviantwarriorqueenanaldpcumgangbang }
	# 
	option = {
		trigger = {
            has_trait = deviants_mask
        }
		name = deviants_dreamsgo.0102.a
		custom_tooltip = deviants_dreamsgo.0102.a.tt	
		trigger_event = deviants_dreamsgo.0103
	}	
    # 
	option = {
		name = deviants_dreamsgo.0102.b
		custom_tooltip = deviants_dreamsgo.0102.b.tt	
	}	
}

#0103 bodywriting
deviants_dreamsgo.0103 = { 
	type = character_event
	title = deviants_dreamsgo.0103.t
    desc = deviants_dreamsgo.0103.a.desc
	theme = deviantsmaskgo
	override_background = { reference = deviantwarriorqueenbodywritinggangbang }
	# 
	option = {
		trigger = {
            has_trait = deviants_demonanalslut
        }
		name = deviants_dreamsgo.0103.a
		custom_tooltip = deviants_dreamsgo.0103.a.tt	
		trigger_event = deviants_dreamsgo.0104
		add_character_flag = deviant_drew_from_warrior_queen_dream
        add_prowess_skill = { 1 5 }
	}	
    # 
	option = {
		name = deviants_dreamsgo.0100.b
		custom_tooltip = deviants_dreamsgo.0100.b.tt	
		hidden_effect = {
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonanalslutcorruption
				value = { 1 2 }
			}
		}
	}	
}
#0104 timeskip/gives the char flag that stops the event from firing, since base game uses those too
deviants_dreamsgo.0104 = { 
	type = character_event
	title = deviants_dreamsgo.0104.t
    desc = deviants_dreamsgo.0104.a.desc
	theme = deviantsmaskgo
	override_background = { reference = deviantpostgangbangsubmissiveprincess }
	# 
	option = {
		name = deviants_dreamsgo.0104.a
		custom_tooltip = deviants_dreamsgo.0104.a.tt	
		trigger_event = deviants_dreamsgo.0105
	}	
	option = {
		name = deviants_dreamsgo.0104.b
		custom_tooltip = deviants_dreamsgo.0104.b.tt	
		death = {
			death_reason = death_vanished
		}
	}
}
#0105 wake up with the gaping holes 
deviants_dreamsgo.0105 = { 
	type = character_event
	title = deviants_dreamsgo.0105.t
    desc = deviants_dreamsgo.0105.a.desc
	theme = deviantsmaskgo
	override_background = { reference = deviantdemonimpfuckwakpeupgape }
	# 
	option = {
		name = deviants_dreamsgo.0105.a
		custom_tooltip = deviants_dreamsgo.0105.a.tt	
        stress_impact = {
			base = minor_stress_impact_loss
			lustful = medium_stress_impact_loss
		}
		hidden_effect = {
			add_trait_xp = {
				trait = deviants_mask
				track = deviantlibido
				value = 20
			}
		}
	}	
}

#other dream events...



#being dominated by demon that is oddly familar
deviants_dreamsgo.0200 = { 
	type = character_event
	title = deviants_dreamsgo.0200.t
	desc = { 
		random_valid = {
			triggered_desc = {
				trigger = { is_ruler = yes }
			desc = deviants_dreamsgo.0200.a.desc
			}
			triggered_desc = {
				trigger = { is_ruler = yes }
			desc = deviants_dreamsgo.0200.b.desc
			}
			triggered_desc = {
				trigger = { is_ruler = yes }
			desc = deviants_dreamsgo.0200.c.desc
			}
			triggered_desc = {
				trigger = { is_ruler = yes }
			desc = deviants_dreamsgo.0200.d.desc
			}
		}
	}
	theme = deviantsmaskgo
	override_background = { reference = deviantvagdemoncockfuckcum }
	trigger = {
		has_trait = deviants_mask
		is_ruler = yes
		is_female = yes
		age >= 18
		has_trait = deviants_demonanalslut
		any_character_artifact = {
			has_artifact_modifier = deviants_dreamring_modifier
		}
		has_trait_xp = {
			trait = deviants_demonanalslut
			track = demonsubmissionslut
			value >= 10
		}
		any_courtier = {
            OR = {	is_female = no	has_trait = futanari_genetic }
            age >= 18
            is_ai = yes
            is_adult = yes
            is_incapable = no
			intrigue >= 10
			OR = {	
				has_trait = sadistic
				has_trait = arrogant
				has_trait = ambitious
				has_trait = vengeful
				has_trait = deceitful
				has_relation_rival = root
				has_relation_nemesis = root
			}
        }
		NOT = { 
			any_character_artifact = {
				has_artifact_modifier = deviants_demon_master_dildo_modifier
			}
		}
	}
	immediate = {
		if = {
			limit = {
				root = {
					has_any_artifact = yes
					any_character_artifact = {
						has_artifact_modifier = deviants_dreamring_modifier
					}
				}
			}
			random_character_artifact = {
				limit = {
					has_artifact_modifier = deviants_dreamring_modifier
				}
				save_scope_as = deviant_dreamring
			}
		}
		random_courtier  = {
			limit = {
				OR = {	is_female = no	has_trait = futanari_genetic }
				age >= 18
				is_ai = yes
				is_adult = yes
				is_incapable = no
				intrigue >= 10
				OR = {	
					has_trait = sadistic
					has_trait = arrogant
					has_trait = ambitious
					has_trait = vengeful
					has_trait = deceitful
					has_relation_rival = root
					has_relation_nemesis = root
				}
			}
			save_scope_as = deviant_go_random_1
		}
	}
	# struggle
	option = {
		name = deviants_dreamsgo.0200.a
		custom_tooltip = deviants_dreamsgo.0200.a.tt	
		duel = {
			skills = { intrigue learning }
			target = scope:deviant_go_random_1
			# if win
			50 = {
				compare_modifier = {
					value = scope:duel_value
						multiplier = 3.5
						min = -49
				}
				custom_tooltip = {
					text = deviants_dreamsgo.0200.aw.tt
				}	
				add_prowess_skill = 1
				add_diplomacy_skill = 1
				stress_impact = {
					base = minor_stress_impact_loss
					ambitious = medium_stress_impact_loss
				}
				scope:deviant_go_random_1 = {
					add_prowess_skill = -1
					add_diplomacy_skill = -1
					add_opinion = {
						target = root
						modifier = angry_opinion
						opinion = -20
					}
				}
			}
			# if lose
			50 = {
				compare_modifier = {
					value = scope:duel_value
						multiplier = -3.5
						min = -49
				}	
				custom_tooltip = {
					text = deviants_dreamsgo.0200.al.tt
				}	
				stress_impact = {
					base = minor_stress_impact_gain
					ambitious = medium_stress_impact_gain
				}
				add_prowess_skill = -1
				add_diplomacy_skill = -1
				scope:deviant_go_random_1 = {
					add_prowess_skill = 1
					add_diplomacy_skill = 1
					add_opinion = {
						target = root
						modifier = dismissive_opinion
						opinion = -5
					}
				}	
			}
		}
	}	
	#surrender, fucked silly
	# struggle
	option = {
		name = deviants_dreamsgo.0200.b
		custom_tooltip = deviants_dreamsgo.0200.b.tt	
        stress_impact = {
			base = minor_stress_impact_loss
			lustful = minor_stress_impact_loss
		}
		hidden_effect = {
			add_trait_xp = {
				trait = deviants_mask
				track = deviantlibido
				value = 10
			}
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonsubmissionslut
				value = { 0 10 }
			}
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonanalslutcorruption
				value = { 0 2 }
			}
		}
		scope:deviant_go_random_1 = {
			stress_impact = {
				base = minor_stress_impact_loss
				lustful = minor_stress_impact_loss
			}
			add_opinion = {
				target = root
				modifier = blew_off_some_steam_opinion
				opinion = 5
			}
		}
		hidden_effect_new_object = {
			scope:deviant_dreamring = {
				add_deviant_artifact_modifier_unnatural_attraction_effect = yes
			}
		}
	}
	# cut the connection
	option = {
		name = deviants_dreamsgo.0200.c
		custom_tooltip = deviants_dreamsgo.0200.c.tt	
        stress_impact = {
			base = medium_stress_impact_gain
			lustful = medium_stress_impact_gain
		}
		hidden_effect = {
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonanalslutcorruption
				value = { -10 0 }
			}
			scope:deviant_go_random_1 = {
				stress_impact = {
					base = medium_stress_impact_loss
					lustful = medium_stress_impact_loss
				}
			}
		}
	}
}

#female masturbating
deviants_dreamsgo.0210 = { 
	type = character_event
	title = deviants_dreamsgo.0210.t
    desc = { 
		random_valid = {
			triggered_desc = {
				trigger = { is_ruler = yes }
			desc = deviants_dreamsgo.0210.a.desc
			}
			triggered_desc = {
				trigger = { is_ruler = yes }
			desc = deviants_dreamsgo.0210.b.desc
			}
			triggered_desc = {
				trigger = { is_ruler = yes }
			desc = deviants_dreamsgo.0210.c.desc
			}
			triggered_desc = {
				trigger = { is_ruler = yes }
			desc = deviants_dreamsgo.0210.d.desc
			}
		}
	}
	theme = deviantsmaskgo
	override_background = { reference = deviantbasicdildotwohandfuck }
	trigger = {
		has_trait = deviants_mask
		is_ruler = yes
		is_female = yes
		age >= 18
		has_trait = deviants_demonanalslut
		has_trait_xp = {
			trait = deviants_demonanalslut
			track = demonsubmissionslut
			value >= 10
		}
		any_character_artifact = {
			has_artifact_modifier = deviants_dreamring_modifier
		}
		any_courtier_or_guest = {
            is_female = yes
            age >= 18
			age < 45
            is_ai = yes
            is_adult = yes
            is_incapable = no
			has_trait = lustful
			NOT = { has_trait = possessed_1 }
        }
		NOT = { 
			any_character_artifact = {
				has_artifact_modifier = deviants_demon_master_dildo_modifier
			}
		}
	}
	immediate = {
		random_courtier_or_guest  = {
			limit = {
				is_female = yes
				age >= 18
				age < 45
				is_ai = yes
				is_adult = yes
				is_incapable = no
				has_trait = lustful
				NOT = { has_trait = possessed_1 }
			}
			save_scope_as = deviant_go_random_1
		}
	}
	# 
	option = {
		name = deviants_dreamsgo.0210.a
		custom_tooltip = deviants_dreamsgo.0210.a.tt	
		trigger_event = deviants_dreamsgo.0220
	}	
	# 
	option = {
		name = deviants_dreamsgo.0210.b
		custom_tooltip = deviants_dreamsgo.0210.b.tt	
		stress_impact = {
			base = minor_stress_impact_loss
			lustful = minor_stress_impact_loss
		}
		scope:deviant_go_random_1 = {
			stress_impact = {
				base = medium_stress_impact_loss
				lustful = medium_stress_impact_loss
			}
		}
		hidden_effect = {
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonanalslutcorruption
				value = { -10 0 }
			}
		}
	}	
	#cut teh connection
	option = {
		name = deviants_dreamsgo.0210.c
		custom_tooltip = deviants_dreamsgo.0210.c.tt	
        stress_impact = {
			base = medium_stress_impact_gain
			lustful = medium_stress_impact_gain
		}
		hidden_effect = {
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonanalslutcorruption
				value = { -10 0 }
			}
			scope:deviant_go_random_1 = {
				stress_impact = {
					base = medium_stress_impact_loss
					lustful = medium_stress_impact_loss
				}
			}
		}
	}
}


#0220 forced demon gangbang
deviants_dreamsgo.0220 = { 
	type = character_event
	title = deviants_dreamsgo.0220.t
    desc = { 
		random_valid = {
			triggered_desc = {
				trigger = { is_ruler = yes }
			desc = deviants_dreamsgo.0220.a.desc
			}
			triggered_desc = {
				trigger = { is_ruler = yes }
			desc = deviants_dreamsgo.0220.b.desc
			}
			triggered_desc = {
				trigger = { is_ruler = yes }
			desc = deviants_dreamsgo.0220.c.desc
			}
			triggered_desc = {
				trigger = { is_ruler = yes }
			desc = deviants_dreamsgo.0220.d.desc
			}
		}
	}
	theme = deviantsmaskgo
	override_background = { reference = deviantdemongangbangrough }
	immediate = {
		if = {
			limit = {
				root = {
					has_any_artifact = yes
					any_character_artifact = {
						has_artifact_modifier = deviants_dreamring_modifier
					}
				}
			}
			random_character_artifact = {
				limit = {
					has_artifact_modifier = deviants_dreamring_modifier
				}
				save_scope_as = deviant_dreamring
			}
		}
	}

	# accept their gifts...
	option = {
		name = deviants_dreamsgo.0220.a
		custom_tooltip = deviants_dreamsgo.0220.a.tt	
		stress_impact = {
			base = minor_stress_impact_loss
			lustful = minor_stress_impact_loss
		}
		add_learning_skill = 1
		hidden_effect = {
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonsubmissionslut
				value = { 0 10 }
			}
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonanalslutcorruption
				value = { 0 2 }
			}
		}	
		hidden_effect_new_object = {
			scope:deviant_dreamring = {
				add_deviant_artifact_modifier_unnatural_attraction_effect = yes
			}
		}
		scope:deviant_go_random_1 = {
			stress_impact = {
				base = major_stress_impact_gain
				chaste = medium_stress_impact_gain
				shy = medium_stress_impact_gain
				celibate = medium_stress_impact_gain
			}	
			if = {
				limit = { has_trait = shrewd }
				remove_trait = shrewd
			}
			else_if = {
				limit = { has_trait = intellect_good_1 }
				remove_trait = intellect_good_1
			}
			else_if = {
				limit = { has_trait = intellect_good_2 }
				remove_trait = intellect_good_2
			}
			else_if = {
				limit = { has_trait = intellect_good_3 }
				remove_trait = intellect_good_3
			}
			else_if = {
				limit = { NOT = { has_trait = dull } }
				add_trait = dull
			}
			else_if = {
				limit = { 
					NOT = { has_trait = intellect_bad_1 }
					NOT = { has_trait = intellect_bad_2 }
					NOT = { has_trait = intellect_bad_3 }
				}
				add_trait = intellect_bad_1
			}
			else_if = {
				limit = { 
					has_trait = intellect_bad_1
					NOT = { has_trait = intellect_bad_2 }
				}
				remove_trait = intellect_bad_1
				add_trait = intellect_bad_2
			}
			else_if = {
				limit = { 
					has_trait = intellect_bad_2
					NOT = { has_trait = intellect_bad_3 }
				}
				remove_trait = intellect_bad_2
				add_trait = intellect_bad_3
			}
			else_if = {
				limit = { NOT = { has_trait = lunatic_1 } }
				add_trait = lunatic_1
			}
			else_if = {
				limit = { NOT = { has_trait = albino } }
				add_trait = albino
			}
			else_if  = {
				limit = { NOT = { has_trait = possessed_1 } }
				add_trait = possessed_1
			}
		}
	}	
	# just enjoy/posess her
	option = {
		name = deviants_dreamsgo.0220.b
		custom_tooltip = deviants_dreamsgo.0220.b.tt	
		stress_impact = {
			base = medium_stress_impact_loss
			lustful = medium_stress_impact_loss
		}
		scope:deviant_go_random_1 = {
			stress_impact = {
				base = medium_stress_impact_gain
				lustful = medium_stress_impact_loss
			}
			add_character_modifier = {
				modifier = deviant_mindfuckedsilly_modifier
				days = 360
			}	
		}
		hidden_effect = {
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonsubmissionslut
				value = { 0 5 }
			}
		}	
	}	
}

#none lustful female with +10 stats
deviants_dreamsgo.0300 = { 
	type = character_event
	title = deviants_dreamsgo.0300.t
    desc = deviants_dreamsgo.0300.a.desc
	theme = deviantsmaskgo
	override_background = { reference = deviantdemongroupreachbound }
	trigger = {
		has_trait = deviants_mask
		is_ruler = yes
		is_female = yes
		age >= 18
		has_trait = deviants_demonanalslut
		any_character_artifact = {
			has_artifact_modifier = deviants_dreamring_modifier
		}
		any_courtier_or_guest = {
            is_female = yes
            age >= 18
			age < 45
            is_ai = yes
            is_adult = yes
			OR = {
				diplomacy >= 10
				stewardship >= 10
				learning >= 10
			}
			NOT = { has_trait = lustful }
        }
		NOT = { 
			any_character_artifact = {
				has_artifact_modifier = deviants_demon_master_dildo_modifier
			}
		}
	}
	immediate = {
		random_courtier_or_guest  = {
			limit = {
				is_female = yes
				age >= 18
				age < 45
				is_ai = yes
				is_adult = yes
				OR = {
					diplomacy >= 10
					stewardship >= 10
					learning >= 10
				}
				NOT = { has_trait = lustful }
			}
			save_scope_as = deviant_go_random_1
		}
	}
	# 
	option = {
		name = deviants_dreamsgo.0300.a
		custom_tooltip = deviants_dreamsgo.0300.a.tt	
		trigger_event = deviants_dreamsgo.0301
		hidden_effect = {
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonsubmissionslut
				value = { 1 2 }
			}
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonanalslutcorruption
				value = { 0 2 }
			}
		}
	}	
	#mess with her, in a fun way
	option = {
		name = deviants_dreamsgo.0300.b
		custom_tooltip = deviants_dreamsgo.0300.b.tt	
        stress_impact = {
			base = minor_stress_impact_loss
			lustful = medium_stress_impact_loss
		}
		scope:deviant_go_random_1 = {
			stress_impact = {
				base = minor_stress_impact_loss
				lustful = minor_stress_impact_loss
			}
		}
		hidden_effect = {
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonanalslutcorruption
				value = { -10 0 }
			}
		}
	}
	#not your issues
	option = {
		name = deviants_dreamsgo.0300.c
		custom_tooltip = deviants_dreamsgo.0300.c.tt	
		hidden_effect = {
			scope:deviant_go_random_1 = {
				stress_impact = {
					base = medium_stress_impact_gain
					lustful = medium_stress_impact_gain
				}
			}
		}
	}
}

deviants_dreamsgo.0301 = { 
	type = character_event
	title = deviants_dreamsgo.0301.t
    desc = deviants_dreamsgo.0301.a.desc
	theme = deviantsmaskgo
	override_background = { reference = deviantdemongangbangroughtwo }

	immediate = {
		if = {
			limit = {
				root = {
					has_any_artifact = yes
					any_character_artifact = {
						has_artifact_modifier = deviants_dreamring_modifier
					}
				}
			}
			random_character_artifact = {
				limit = {
					has_artifact_modifier = deviants_dreamring_modifier
				}
				save_scope_as = deviant_dreamring
			}
		}
	}

	# if she has +10 ste
	option = {
		trigger = {
			scope:deviant_go_random_1 = {
				stewardship >= 10
			}
		}
		name = deviants_dreamsgo.0301.a
		custom_tooltip = deviants_dreamsgo.0301.a.tt	
		scope:deviant_go_random_1 = {
			add_stewardship_skill = -4
			add_diplomacy_skill = -2
			add_learning_skill = -2
		}
		stress_impact = {
			base = minor_stress_impact_loss
			sadistic = major_stress_impact_loss
		}
		hidden_effect = {
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonanalslutcorruption
				value = { 1 2 }
			}
		}
		hidden_effect_new_object = {
			scope:deviant_dreamring = {
				add_deviant_artifact_modifier_stolen_stewardship_effect = yes
			}
		}
	}	
	# if she has +10 diplo
	option = {
		trigger = {
			scope:deviant_go_random_1 = {
				diplomacy >= 10
			}
		}
		name = deviants_dreamsgo.0301.aa
		custom_tooltip = deviants_dreamsgo.0301.aa.tt	
		scope:deviant_go_random_1 = {
			add_stewardship_skill = -2
			add_diplomacy_skill = -4
			add_learning_skill = -2
		}
		stress_impact = {
			base = minor_stress_impact_loss
			sadistic = major_stress_impact_loss
		}
		hidden_effect = {
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonanalslutcorruption
				value = { 1 2 }
			}
		}
		hidden_effect_new_object = {
			scope:deviant_dreamring = {
				add_deviant_artifact_modifier_stolen_diplomacy_effect = yes
			}
		}
	}	

	# if she has +10 lear
	option = {
		trigger = {
			scope:deviant_go_random_1 = {
				learning >= 10
			}
		}
		name = deviants_dreamsgo.0301.aaa
		custom_tooltip = deviants_dreamsgo.0301.aaa.tt	
		scope:deviant_go_random_1 = {
			add_stewardship_skill = -2
			add_diplomacy_skill = -2
			add_learning_skill = -4
		}
		stress_impact = {
			base = minor_stress_impact_loss
			sadistic = major_stress_impact_loss
		}
		hidden_effect = {
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonanalslutcorruption
				value = { 1 2 }
			}
		}
		hidden_effect_new_object = {
			scope:deviant_dreamring = {
				add_deviant_artifact_modifier_stolen_learning_effect = yes
			}
		}
	}	

	# let them feast
	option = {
		name = deviants_dreamsgo.0301.b
		custom_tooltip = deviants_dreamsgo.0301.b.tt	
		scope:deviant_go_random_1 = {
			stress_impact = {
				base = major_stress_impact_gain
			}
			add_stewardship_skill = -2
			add_diplomacy_skill = -2
			add_learning_skill = -2
		}
		stress_impact = {
			base = medium_stress_impact_loss
			sadistic = major_stress_impact_loss
		}
		hidden_effect = {
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonsubmissionslut
				value = { 1 2 }
			}
		}
	}	
	#save her
	option = {
		name = deviants_dreamsgo.0301.c
		custom_tooltip = deviants_dreamsgo.0301.c.tt	
        stress_impact = {
			base = major_stress_impact_gain
		}
		hidden_effect = {
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonanalslutcorruption
				value = { -10 0 }
			}
			scope:deviant_go_random_1 = {
				stress_impact = {
					base = medium_stress_impact_loss
					lustful = medium_stress_impact_loss
				}
			}
		}
	}
}

#1000 gain dream ring as courtesan
deviants_dreamsgo.1000 = {
	type = letter_event
	window = anonymous_letter_event
	opening = deviants_dreamsgo.1000.opening
	desc = deviants_dreamsgo.1000.desc
	sender = scope:deviant_go_random_1
	cooldown = { years = 10 }
	immediate = {
		create_character = {
			template = deviant_humble_assistant_template
			location = root.location
			faith = root.capital_province.county.faith
			culture = root.capital_province.county.culture
			age = 20
			gender_female_chance = 100
			dynasty = none
			save_scope_as = deviant_go_random_1
		}
		scope:deviant_go_random_1 = {
			hidden_effect = {
				set_immortal_age = 20	
			}
		}
	}	

	trigger = {
        has_trait = deviant_courtesan_slut
		has_trait = deviants_mask
		has_trait_xp = {
			trait = deviant_courtesan_slut
			track = deviant_courtesan_slut_popularity
			value >= 100
		}
		is_ruler = yes
		is_female = yes
		age >= 18
		NOT = {
			any_character_artifact = {
				has_artifact_modifier = deviants_dreamring_modifier 
			}
		}
		NOT = { 
			any_character_artifact = {
				has_artifact_modifier = deviants_demon_master_dildo_modifier
			}
		}
    }

	option = { # accept ring
		name = deviants_dreamsgo.1000.a
		custom_tooltip = deviants_dreamsgo.1000.a.tt
		create_artifact = {
			name = deviantsdreamring
			description = deviantsdreamring_desc
			type = miscellaneous
			modifier = deviants_dreamring_modifier
			visuals = deviants_dream_ring
			template = deviant_dream_ring_template
			history = {
				type = created_before_history
				date = 670.1.1 #To order entries correctly
			}
			max_durability = 999
			wealth = 15
			quality = 15
		}

	}

	option = { # throw away
		name = deviants_dreamsgo.1000.b
		custom_tooltip = deviants_dreamsgo.1000.b.tt

	}
	after = {
		scope:deviant_go_random_1 = {
			hidden_effect = {
				death = {
					death_reason = death_vanished
				}
			}	
		}
	}
}

#1010 tempting by gold in a dream
deviants_dreamsgo.1010 = { 
	type = character_event
	title = deviants_dreamsgo.1010.t
    desc = deviants_dreamsgo.1010.a.desc
	theme = deviantsmaskgo
	override_background = { reference = bedchamber }
	right_portrait = {
		character = root
		animation = personality_zealous
        outfit_tags = { no_clothes }
	}
    trigger = {
		is_ruler = yes
		is_female = yes
		age >= 18
		has_trait = deviants_mask
		has_trait = deviant_courtesan_slut
		NOT = { has_trait = deviants_demonanalslut }
		any_character_artifact = {
			has_artifact_modifier = deviants_dreamring_modifier
		}
		NOT = { 
			any_character_artifact = {
				has_artifact_modifier = deviants_demon_master_dildo_modifier
			}
		}
    }
	# 
	option = {
        trigger = {
            has_trait = deviant_courtesan_slut
        }
		name = deviants_dreamsgo.1010.a
		custom_tooltip = deviants_dreamsgo.1010.a.tt	
		trigger_event = deviants_dreamsgo.1011
	}	
    # 
	option = {
		name = deviants_dreamsgo.1010.b
		custom_tooltip = deviants_dreamsgo.1010.b.tt	
	}	
}

#1011 first strangle doggy
deviants_dreamsgo.1011 = { 
	type = character_event
	title = deviants_dreamsgo.1011.t
    desc = deviants_dreamsgo.1011.a.desc
	theme = deviantsmaskgo
	override_background = { reference = deviantstrangledoggy }
	# 
	option = {
        trigger = {
            has_trait = deviant_courtesan_slut
        }
		name = deviants_dreamsgo.1011.a
		custom_tooltip = deviants_dreamsgo.1011.a.tt	
		add_trait_force_tooltip = deviants_demonanalslut
		hidden_effect = {
			set_immortal_age = 20
		}
		trigger_event = deviants_dreamsgo.1012
	}	
    # 
	option = {
		name = deviants_dreamsgo.1011.b
		custom_tooltip = deviants_dreamsgo.1011.b.tt	
		stress_impact = {
			base = minor_stress_impact_gain
			lustful = minor_stress_impact_gain
		}
	}	
}

#1012 demon fuck
deviants_dreamsgo.1012 = { 
	type = character_event
	title = deviants_dreamsgo.1012.t
    desc = deviants_dreamsgo.1012.a.desc
	theme = deviantsmaskgo
	override_background = { reference = deviantdemonfuckontopcum }
	immediate = {
		hidden_effect = {
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonsubmissionslut
				value = 1
			}
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonanalslutcorruption
				value = 1
			}
		}
	}
	# 
	option = {
        trigger = {
            has_trait = deviant_courtesan_slut
        }
		name = deviants_dreamsgo.1012.a
		custom_tooltip = deviants_dreamsgo.1012.a.tt	
		trigger_event = deviants_dreamsgo.1013
	}	
    # 
	option = {
		name = deviants_dreamsgo.1012.b
		custom_tooltip = deviants_dreamsgo.1012.b.tt	
		stress_impact = {
			base = medium_stress_impact_gain
			lustful = medium_stress_impact_gain
		}
	}	
}

#1013 demon gangbang 
deviants_dreamsgo.1013 = { 
	type = character_event
	title = deviants_dreamsgo.1013.t
    desc = deviants_dreamsgo.1013.a.desc
	theme = deviantsmaskgo
	override_background = { reference = deviantdemonfuckontopcum }
	immediate = {
		hidden_effect = {
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonsubmissionslut
				value = 5
			}
		}
	}
	# 
	option = {
		name = deviants_dreamsgo.1013.a
		custom_tooltip = deviants_dreamsgo.1013.a.tt	
		trigger_event = deviants_dreamsgo.1014
	}		
}

#1014 waking up after demon gangbang
deviants_dreamsgo.1014 = { 
	type = character_event
	title = deviants_dreamsgo.1014.t
    desc = deviants_dreamsgo.1014.a.desc
	theme = deviantsmaskgo
	override_background = { reference = deviantdemonimpfuckwakpeupgape }
	immediate = {
		add_character_modifier = {
			modifier = deviant_mind_drained_modifier
			days = 30
		}	
	}
	# if look for gold
	option = {
		name = deviants_dreamsgo.1014.a
		custom_tooltip = deviants_dreamsgo.1014.a.tt	
		stress_impact = {
			base = minor_stress_impact_gain
		}
	}		
	# if just lay there with a grin
	option = {
		trigger = {
			NOT = { has_trait = greedy }
		}
		name = deviants_dreamsgo.1014.b
		custom_tooltip = deviants_dreamsgo.1014.b.tt	
		stress_impact = {
			base = medium_stress_impact_loss
			lustful = medium_stress_impact_loss
		}
	}	
}

#1100 basic they are here tempting event chain
deviants_dreamsgo.1100 = {
	type = character_event
	title = deviants_dreamsgo.1100.t
    desc = deviants_dreamsgo.1100.a.desc
	theme = deviantsmaskgo
	override_background = { reference = deviantdemongroupreachtwo }
	cooldown = { years = 1 }
	trigger = {
        has_trait = deviant_courtesan_slut
		has_trait = deviants_demonanalslut
		has_trait = deviants_mask
		is_ruler = yes
		is_female = yes
		age >= 18
		any_character_artifact = {
			has_artifact_modifier = deviants_dreamring_modifier
		}
		NOT = { 
			any_character_artifact = {
				has_artifact_modifier = deviants_demon_master_dildo_modifier
			}
		}
    }

	option = { # intrigue gamble
		name = deviants_dreamsgo.1100.a
		custom_tooltip = deviants_dreamsgo.1100.a.tt
		duel = {
			skills = { intrigue learning }
			value = 15
			# on top
			50 = {
				compare_modifier = {
					value = scope:duel_value
						multiplier = 3.5
						min = -49
				}
				custom_tooltip = {
					text = deviants_dreamsgo.1100.aw.tt
				}	
				trigger_event = deviants_dreamsgo.1101
			}
			# breached
			50 = {
				compare_modifier = {
					value = scope:duel_value
						multiplier = -3.5
						min = -49
				}	
				custom_tooltip = {
					text = deviants_dreamsgo.1100.al.tt
				}		
				trigger_event =	deviants_dreamsgo.1200		 		
			}
		}
	}

	option = { # try to wake up before they get you
		trigger = {
			has_trait_xp = {
				trait = deviants_demonanalslut
				track = demonsubmissionslut
				value < 50
			}
		}
		name = deviants_dreamsgo.1100.b
		custom_tooltip = deviants_dreamsgo.1100.b.tt
		stress_impact = {
			base = medium_stress_impact_gain
			lustful = medium_stress_impact_gain
		}

	}

	option = { # just submit
		name = deviants_dreamsgo.1100.c
		custom_tooltip = deviants_dreamsgo.1100.c.tt
		trigger_event = deviants_dreamsgo.1200
		hidden_effect = {
			hidden_effect = {
				add_trait_xp = {
					trait = deviants_demonanalslut
					track = demonanalslutcorruption
					value = { 1 5 }
				}
			}
		}
	}
}

deviants_dreamsgo.1101 = {
	type = character_event
	title = deviants_dreamsgo.1101.t
    desc = deviants_dreamsgo.1101.a.desc
	theme = deviantsmaskgo
	override_background = { reference = deviant_female_ontop_demongangbang }

	immediate = {
		if = {
			limit = {
				root = {
					has_any_artifact = yes
					any_character_artifact = {
						has_artifact_modifier = deviants_dreamring_modifier
					}
				}
			}
			random_character_artifact = {
				limit = {
					has_artifact_modifier = deviants_dreamring_modifier
				}
				save_scope_as = deviant_dreamring
			}
		}
	}

	option = { # prowess, a bit more prowess, health
		name = deviants_dreamsgo.1101.a
		custom_tooltip = deviants_dreamsgo.1101.a.tt
		random_list = {
			25 = {
				custom_tooltip = deviants_dreamsgo.1101.prowess.tt
				trigger_event = deviants_dreamsgo.1110
				hidden_effect_new_object = {
					scope:deviant_dreamring = {
						add_deviant_artifact_modifier_prowess_effect = yes
					}
				}
			}
			25 = {
				custom_tooltip = deviants_dreamsgo.1101.moreprowess.tt
				trigger_event = deviants_dreamsgo.1110
				hidden_effect_new_object = {
					scope:deviant_dreamring = {
						add_deviant_artifact_modifier_moreprowess_effect = yes
					}
				}
				
			}
			25 = {
				custom_tooltip = deviants_dreamsgo.1101.health.tt
				trigger_event = deviants_dreamsgo.1110
				hidden_effect_new_object = {
					scope:deviant_dreamring = {
						add_deviant_artifact_modifier_health_effect = yes
					}
				}
				
			}
			25 = {
				custom_tooltip = deviants_dreamsgo.1101.losefocus.tt
				trigger_event =	deviants_dreamsgo.1200
				
			}
		}
	}

	option = { #  learning, steward, martial
		name = deviants_dreamsgo.1101.b
		custom_tooltip = deviants_dreamsgo.1101.b.tt
		random_list = {
			25 = {
				custom_tooltip = deviants_dreamsgo.1101.learning.tt
				trigger_event = deviants_dreamsgo.1110
				hidden_effect_new_object = {
					scope:deviant_dreamring = {
						add_deviant_artifact_modifier_learning_effect = yes
					}
				}

			}
			25 = {
				custom_tooltip = deviants_dreamsgo.1101.steward.tt
				trigger_event = deviants_dreamsgo.1110
				hidden_effect_new_object = {
					scope:deviant_dreamring = {
						add_deviant_artifact_modifier_stewardship_effect = yes
					}
				}
				
			}
			25 = {
				custom_tooltip = deviants_dreamsgo.1101.martial.tt
				trigger_event = deviants_dreamsgo.1110
				hidden_effect_new_object = {
					scope:deviant_dreamring = {
						add_deviant_artifact_modifier_martial_effect = yes
					}
				}
				
			}
			25 = {
				custom_tooltip = deviants_dreamsgo.1101.losefocus.tt
				trigger_event =	deviants_dreamsgo.1200	
			}
		}
	}

	option = { # attraction, diplomacy, more diplo
		name = deviants_dreamsgo.1101.c
		custom_tooltip = deviants_dreamsgo.1101.c.tt
		random_list = {
			25 = {
				custom_tooltip = deviants_dreamsgo.1101.attraction.tt
				trigger_event = deviants_dreamsgo.1110
				hidden_effect_new_object = {
					scope:deviant_dreamring = {
						add_deviant_artifact_modifier_attraction_effect = yes
					}
				}

			}
			25 = {
				custom_tooltip = deviants_dreamsgo.1101.diplomacy.tt
				trigger_event = deviants_dreamsgo.1110
				hidden_effect_new_object = {
					scope:deviant_dreamring = {
						add_deviant_artifact_modifier_diplomacy_effect = yes
					}
				}
				
			}
			25 = {
				custom_tooltip = deviants_dreamsgo.1101.diplomacymore.tt
				trigger_event = deviants_dreamsgo.1110
				hidden_effect_new_object = {
					scope:deviant_dreamring = {
						add_deviant_artifact_modifier_diplomacymore_effect = yes
					}
				}
				
			}
			25 = {
				custom_tooltip = deviants_dreamsgo.1101.losefocus.tt
				trigger_event =	deviants_dreamsgo.1200	


			}
		}
	}
	option = { # intrigue, plot success chance, plot resistance
		name = deviants_dreamsgo.1101.d
		custom_tooltip = deviants_dreamsgo.1101.d.tt
		random_list = {
			25 = {
				custom_tooltip = deviants_dreamsgo.1101.intrigue.tt
				trigger_event = deviants_dreamsgo.1110
				hidden_effect_new_object = {
					scope:deviant_dreamring = {
						add_deviant_artifact_modifier_intrigue_effect = yes
					}
				}

			}
			25 = {
				custom_tooltip = deviants_dreamsgo.1101.plotresist.tt
				trigger_event = deviants_dreamsgo.1110
				hidden_effect_new_object = {
					scope:deviant_dreamring = {
						add_deviant_artifact_modifier_plotresist_effect = yes
					}
				}
				
			}
			25 = {
				custom_tooltip = deviants_dreamsgo.1101.plotchance.tt
				trigger_event = deviants_dreamsgo.1110
				hidden_effect_new_object = {
					scope:deviant_dreamring = {
						add_deviant_artifact_modifier_plotchance_effect = yes
					}
				}
				
			}
			25 = {
				custom_tooltip = deviants_dreamsgo.1101.losefocus.tt
				trigger_event =	deviants_dreamsgo.1200	
			}
		}
	}
}

#just awake in your room
deviants_dreamsgo.1110 = {
	type = character_event
	title = deviants_dreamsgo.1110.t
    desc = deviants_dreamsgo.1110.a.desc
	theme = deviantsmaskgo
	override_background = { reference = bedchamber }
	right_portrait = {
		character = root
		animation = personality_zealous
        outfit_tags = { no_clothes }
	}
	immediate = {
		random_list = {
			25 = {
				#mind drained
				add_character_modifier = {
					modifier = deviant_mind_drained_modifier
					days = 30
				}	
			}
			25 = {
				#body trained
				add_character_modifier = {
					modifier = deviant_body_drained_modifier
					days = 30
				}

			}
			25 = {
				#charisma drained
				add_character_modifier = {
					modifier = deviant_charisma_drained_modifier
					days = 30
				}
			}
			25 = {
				hidden_effect = {
					add_trait_xp = {
						trait = deviants_demonanalslut
						track = demonsubmissionslut
						value = { -10 -1 }
					}
				}
			}
			25 = {
				hidden_effect = {
					add_trait_xp = {
						trait = deviants_demonanalslut
						track = demonanalslutcorruption
						value = { -10 -1 }
					}
				}
			}
		}
	}

	option = { # 
		name = deviants_dreamsgo.1110.a
		custom_tooltip = deviants_dreamsgo.1110.a.tt

	}
}

#mind defeated by demons basic
deviants_dreamsgo.1200 = {
	type = character_event
	title = deviants_dreamsgo.1200.t
    desc = deviants_dreamsgo.1200.a.desc
	theme = deviantsmaskgo
	override_background = { reference = deviantdemongangbangroughtwo }
	immediate = {
		if = {
			limit = {
				root = {
					has_any_artifact = yes
					any_character_artifact = {
						has_artifact_modifier = deviants_dreamring_modifier
					}
				}
			}
			random_character_artifact = {
				limit = {
					has_artifact_modifier = deviants_dreamring_modifier
				}
				save_scope_as = deviant_dreamring
			}
		}
	}
	option = { # 
		name = deviants_dreamsgo.1200.a
		custom_tooltip = deviants_dreamsgo.1200.a.tt
		trigger_event = deviants_dreamsgo.1210
		hidden_effect = {
			random_list = {
				25 = {
					hidden_effect_new_object = {
						scope:deviant_dreamring = {
							add_deviant_artifact_modifier_lessstressloss_effect = yes
						}
					}

				}
				25 = {
					hidden_effect_new_object = {
						scope:deviant_dreamring = {
							add_deviant_artifact_modifier_lessfertility_effect = yes
						}
					}
					
				}
				25 = {
					hidden_effect_new_object = {
						scope:deviant_dreamring = {
							add_deviant_artifact_modifier_lessatraction_effect = yes
						}
					}
					
				}
				25 = {
				}
			}
		}	

	}
}

#fist fucking on corridor
deviants_dreamsgo.1210 = {
	type = character_event
	title = deviants_dreamsgo.1210.t
    desc = deviants_dreamsgo.1210.a.desc
	theme = deviantsmaskgo 
	override_background = { reference = deviant_double_fist_mastur }
	immediate = {
		random_list = {
			25 = {
				#mind drained
				add_character_modifier = {
					modifier = deviant_mind_drained_modifier
					days = 90
				}	
			}
			25 = {
				#body trained
				add_character_modifier = {
					modifier = deviant_body_drained_modifier
					days = 90
				}

			}
			25 = {
				#charisma drained
				add_character_modifier = {
					modifier = deviant_charisma_drained_modifier
					days = 90
				}
			}
			30 = {
				#everything drained
				add_character_modifier = {
					modifier = deviant_everything_drained_modifier
					days = 120
				}
			}
		}
		hidden_effect = {
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonsubmissionslut
				value = { 1 10 }
			}
		}
	}

	option = { # 
		name = deviants_dreamsgo.1210.a
		custom_tooltip = deviants_dreamsgo.1210.a.tt
		stress_impact = {
			base = medium_stress_impact_gain
			lustful = medium_stress_impact_gain
		}
	}
}

#basic punishment event post 100
deviants_dreamsgo.2000 = {
	type = character_event
	title = deviants_dreamsgo.2000.t
	desc = { 
		desc = deviants_dreamsgo.2000.a.desc
		first_valid = {
			triggered_desc = {
				trigger = {
					NOT = { has_character_flag = had_demon_master_dildo }
					NOT = { 
						any_character_artifact = {
							has_artifact_modifier = deviants_demon_master_dildo_modifier
						}
					}	
				}
			desc = deviants_dreamsgo.2000.DMD.desc
			}
		}
	}
	cooldown = { years = 1 }
	theme = deviantsmaskgo
	override_background = { 
		trigger = {
			exists = scope:background_one
		}
		reference = deviantdemongangbangroughtwo 
	}
	override_background = { 
		trigger = {
			exists = scope:background_two
		}
		reference = deviantdemongangbangrough 
	}
	override_background = { 
		trigger = {
			exists = scope:background_three
		}
		reference = deviantgo_demon_gangabng_one
	}
	override_background = { 
		trigger = {
			exists = scope:background_four
		}
		reference = deviantgo_demon_gangabng_two
	}
	override_background = { 
		trigger = {
			exists = scope:background_five
		}
		reference = deviantgo_demon_gangabng_three
	}
	override_background = { 
		trigger = {
			exists = scope:background_six
		}
		reference = deviantgo_demon_gangabng_four
	}
	override_effect_2d = {
		reference = fog
	}
	trigger = {
		age >= 100
		has_trait = deviants_demonanalslut
		has_trait = deviants_mask
		has_trait_xp = {
			trait = deviants_demonanalslut
			track = demonanalslutcorruption
			value >= 60
		}
		NOT = { 
			any_character_artifact = {
				has_artifact_modifier = deviants_demon_master_dildo_modifier
			}
		}
	}
	immediate = {
		random_list = {
			25 = {
				ROOT = {
					save_scope_as = background_one
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_two
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_three
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_four
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_five
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_six
				}
			}
		}
	}
	option = { # if aviable for the dildo story...
		trigger = {
			NOT = { has_character_flag = had_demon_master_dildo }
			NOT = { 
				any_character_artifact = {
					has_artifact_modifier = deviants_demon_master_dildo_modifier
				}
			}	
		}
		name = deviants_dreamsgo.2000.a
		custom_tooltip = deviants_dreamsgo.2000.a.tt
		trigger_event = deviants_dreamsgo.3000
	}

	option = { # try to fight for it
		name = deviants_dreamsgo.2000.x
		custom_tooltip = deviants_dreamsgo.2000.x.tt
		duel = {
			skills = { intrigue learning }
			value = 20
			# if win
			50 = {
				compare_modifier = {
					value = scope:duel_value
						multiplier = 3.5
						min = -49
				}
				custom_tooltip = {
					text = deviants_dreamsgo.2000.xw.tt
				}	
				stress_impact = {
					base = medium_stress_impact_gain
					lustful = medium_stress_impact_gain
				}
			}
			# if lose
			50 = {
				compare_modifier = {
					value = scope:duel_value
						multiplier = -3.5
						min = -49
				}	
				custom_tooltip = {
					text = deviants_dreamsgo.2000.xl.tt
				}	
				add_intrigue_skill = { -2 -1 }
				add_learning_skill = { -3 -1 }
				add_stewardship_skill = { -2 -1 }
				add_martial_skill = { -2 -1 }
				add_diplomacy_skill = { -2 -1 }	
			}
		}
	}
	option = { # just exist
		name = deviants_dreamsgo.2000.y
		custom_tooltip = deviants_dreamsgo.2000.y.tt
		add_intrigue_skill = -1
		add_learning_skill = -1
		add_stewardship_skill = -1
		add_martial_skill = -1
		add_diplomacy_skill = -1
	}
}

#demon borrow at +20 learning
deviants_dreamsgo.2010 = {
	type = character_event
	title = deviants_dreamsgo.2010.t
	desc = deviants_dreamsgo.2010.a.desc
	theme = deviantsmaskgo
	override_background = { 
		trigger = {
			exists = scope:background_1
		}
		reference = deviant_must_scream_demon_1
	}
	override_background = { 
		trigger = {
			exists = scope:background_2
		}
		reference = deviant_must_scream_demon_2
	}
	override_background = { 
		trigger = {
			exists = scope:background_3
		}
		reference = deviant_must_scream_demon_3
	}
	override_background = { 
		trigger = {
			exists = scope:background_4
		}
		reference = deviant_must_scream_demon_4
	}
	override_background = { 
		trigger = {
			exists = scope:background_5
		}
		reference = deviant_must_scream_demon_5
	}
	override_effect_2d = {
		reference = fog
	}
	cooldown = { years = 2 }
	trigger = {
		age >= 100
		learning >= 20
		has_trait = deviants_demonanalslut
		has_trait = deviants_mask
		has_trait_xp = {
			trait = deviants_demonanalslut
			track = demonanalslutcorruption
			value >= 100
		}
		OR = {
			any_relation = {
				type = rival
				count >= 1
			}
			any_relation = {
				type = nemesis
				count >= 1
			}
			any_relation = {
				type = soulmate
				count >= 1
			}
			any_relation = {
				type = lover
				count >= 1
			}
		}
		NOT = { 
			any_character_artifact = {
				has_artifact_modifier = deviants_demon_mistress_dildo_modifier
			}
		}
		NOT = { has_character_modifier = deviant_demon_borrowed_learning_modifier }
	}
	immediate = {
		random_list = {
			25 = {
				ROOT = {
					save_scope_as = background_1
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_2
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_3
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_4
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_5
				}
			}
		}
	}

	option = { # 
		name = deviants_dreamsgo.2010.a
		custom_tooltip = deviants_dreamsgo.2010.a.tt
		duel = {
			skill = learning
			value = 20
			# if win
			50 = {
				compare_modifier = {
					value = scope:duel_value
						multiplier = 3.5
						min = -49
				}
				custom_tooltip = {
					text = deviants_dreamsgo.2010.aw.tt
				}	
				add_learning_skill = { -4 -10 }
				stress_impact = {
					base = major_stress_impact_gain
				}
			}
			# if lose
			50 = {
				compare_modifier = {
					value = scope:duel_value
						multiplier = -3.5
						min = -49
				}	
				custom_tooltip = {
					text = deviants_dreamsgo.2010.al.tt
				}	
			}
		}
	}
	option = { # open up
		name = deviants_dreamsgo.2010.x
		custom_tooltip = deviants_dreamsgo.2010.x.tt
		add_character_modifier = {
			modifier = deviant_demon_borrowed_learning_modifier
			years = { 4 50 }
		}
	}
}

#demon force teach...
deviants_dreamsgo.2011 = {
	type = character_event
	title = deviants_dreamsgo.2011.t
	desc = deviants_dreamsgo.2011.a.desc
	theme = deviantsmaskgo
	override_background = { 
		trigger = {
			exists = scope:background_1
		}
		reference = deviant_must_scream_reading_demon_1
	}
	override_background = { 
		trigger = {
			exists = scope:background_2
		}
		reference = deviant_must_scream_reading_demon_2
	}
	override_background = { 
		trigger = {
			exists = scope:background_3
		}
		reference = deviant_must_scream_reading_demon_3
	}
	override_background = { 
		trigger = {
			exists = scope:background_4
		}
		reference = deviant_must_scream_reading_demon_4
	}
	override_effect_2d = {
		reference = fog
	}
	cooldown = { years = 2 }
	trigger = {
		age >= 60
		has_trait = deviants_demonanalslut
		has_trait = deviants_mask
		has_trait_xp = {
			trait = deviants_demonanalslut
			track = demonanalslutcorruption
			value < 100
		}
		OR = {
			any_relation = {
				type = rival
				count >= 1
			}
			any_relation = {
				type = nemesis
				count >= 1
			}
		}
		NOT = { 
			any_character_artifact = {
				has_artifact_modifier = deviants_demon_mistress_dildo_modifier
			}
		}
	}
	immediate = {
		random_list = {
			25 = {
				ROOT = {
					save_scope_as = background_1
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_2
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_3
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_4
				}
			}
		}
	}

	option = { # 
		name = deviants_dreamsgo.2011.a
		custom_tooltip = deviants_dreamsgo.2011.a.tt
		add_learning_skill = 1
		hidden_effect = {
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonanalslutcorruption
				value = { 10 30 }
			}
		}
	}
	option = { # resist
		name = deviants_dreamsgo.2011.x
		custom_tooltip = deviants_dreamsgo.2011.x.tt
		stress_impact = {
			base = massive_stress_impact_gain
		}
		hidden_effect = {
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonsubmissionslut
				value = 1
			}
		}
	}
}

#rival intrusion
deviants_dreamsgo.2020 = {
	type = character_event
	title = deviants_dreamsgo.2020.t
	desc = deviants_dreamsgo.2020.a.desc
	theme = deviantsmaskgo
	override_background = { 
		trigger = {
			exists = scope:background_2
		}
		reference = deviant_imp_gangbang_2
	}
	override_background = { 
		trigger = {
			exists = scope:background_3
		}
		reference = deviant_imp_gangbang_3
	}
	override_background = { 
		trigger = {
			exists = scope:background_4
		}
		reference = deviant_imp_gangbang_4
	}
	override_effect_2d = {
		reference = fog
	}
	lower_right_portrait = {
		character = scope:deviant_go_random_1
		animation = aggressive_unarmed
	}
	cooldown = { years = 1 }
	trigger = {
		has_trait = deviants_demonanalslut
		has_trait = deviants_mask
		has_trait_xp = {
			trait = deviants_demonanalslut
			track = demonanalslutcorruption
			value > 20
		}
		OR = {
			any_relation = {
				type = rival
				count >= 1
				NOT = {
					this = root
				}
				age >= 18
				learning >= 15
				intrigue >= 15
			}
			any_relation = {
				type = nemesis
				count >= 1
				NOT = {
					this = root
				}
				age >= 18
				learning >= 15
				intrigue >= 15
			}
		}
		NOT = { 
			any_character_artifact = {
				has_artifact_modifier = deviants_demon_mistress_dildo_modifier
			}
		}
	}
	immediate = {
		if = {
			limit = {
				any_relation = {
					type = nemesis
					count >= 1
					NOT = {
						this = root
					}
					age >= 18
					learning >= 15
					intrigue >= 15
				}
			}
			random_relation = {
				type = nemesis
			limit = {
				NOT = {
					this = root
				}
				age >= 18
				learning >= 15
				intrigue >= 15
			}
			save_scope_as = deviant_go_random_1
			}
		}
		else_if = {
			limit = {
				any_relation = {
					type = rival
					count >= 1
					NOT = {
						this = root
					}
					age >= 18
					learning >= 15
					intrigue >= 15
				}
			}
			random_relation = {
				type = rival
				limit = {
					NOT = {
						this = root
					}
					age >= 18
					learning >= 15
					intrigue >= 15
				}
				save_scope_as = deviant_go_random_1
			}
		}
		random_list = {
			25 = {
				ROOT = {
					save_scope_as = background_2
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_3
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_4
				}
			}
		}
	}

	option = { # 
		name = deviants_dreamsgo.2020.a
		custom_tooltip = deviants_dreamsgo.2020.a.tt
		random_list = {
			20 = {
				add_intrigue_skill = -1
			}
			25 = {
				add_learning_skill = -1
			}
			10 = {
				add_stewardship_skill = -1
			}
			20 = {
				add_martial_skill = -1
			}
			20 = {
				add_diplomacy_skill = -1
			}
			100 = {
			}
		}
		stress_impact = {
			base = massive_stress_impact_gain
		}
		hidden_effect = {
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonanalslutcorruption
				value = { 1 5 }
			}
		}
	}
	option = { # resist
		name = deviants_dreamsgo.2020.x
		custom_tooltip = deviants_dreamsgo.2020.x.tt
		duel = {
			skills = { learning intrigue }
			target = scope:deviant_go_random_1
			# if win
			40 = {
				compare_modifier = {
					value = scope:duel_value
						multiplier = 3.5
						min = -49
				}
				custom_tooltip = {
					text = deviants_dreamsgo.2020.xw.tt
				}	
				scope:deviant_go_random_1 = {
					add_opinion = {
						target = root
						modifier = hate_opinion
						opinion = -40
					}
					stress_impact = {
						base = medium_stress_impact_gain
					}
					random_list = {
						25 = {
							add_intrigue_skill = -1
						}
						25 = {
							add_learning_skill = -1
						}
						25 = {
							add_stewardship_skill = -1
						}
						25 = {
							add_martial_skill = -1
						}
						25 = {
							add_diplomacy_skill = -1
						}
					}
				}
				hidden_effect = {
					add_trait_xp = {
						trait = deviants_demonanalslut
						track = demonsubmissionslut
						value = 2
					}
				}
			}
			# if lose
			60 = {
				compare_modifier = {
					value = scope:duel_value
						multiplier = -3.5
						min = -49
				}	
				custom_tooltip = {
					text = deviants_dreamsgo.2020.xl.tt
				}	
				random_list = {
					25 = {
						add_intrigue_skill = -2
					}
					25 = {
						add_learning_skill = -2
					}
					25 = {
						add_stewardship_skill = -2
					}
					25 = {
						add_martial_skill = -2
					}
					25 = {
						add_diplomacy_skill = -2
					}
				}	
				hidden_effect = {
					scope:deviant_go_random_1 = {
						random_list = {
							25 = {
								add_intrigue_skill = 2
							}
							25 = {
								add_learning_skill = 2
							}
							25 = {
								add_stewardship_skill = 2
							}
							25 = {
								add_martial_skill = 2
							}
							25 = {
								add_diplomacy_skill = 2
							}
						}
					}
				}	
				stress_impact = {
					base = massive_stress_impact_gain
				}
			}
		}
	}
}


#3000 demon man on a rock
deviants_dreamsgo.3000 = { 
	type = character_event
	title = deviants_dreamsgo.3000.t
    desc = { 
		desc = deviants_dreamsgo.3000.a.desc
		desc = deviants_dreamsgo.3000.DMD.desc
	}
	theme = deviantsmaskgo 
	override_background = { reference = deviant_demon_man_onrock }
	override_effect_2d = {
		reference = legend_glow
	}
	right_portrait = {
		character = root
		animation = shock
        outfit_tags = { no_clothes }
	}
	# I will show sincerity...
	option = {
		name = deviants_dreamsgo.3000.a
		custom_tooltip = deviants_dreamsgo.3000.a.tt	
		trigger_event = deviants_dreamsgo.3001
	}	
    # begone...
	option = {
		name = deviants_dreamsgo.3000.b
		custom_tooltip = deviants_dreamsgo.3000.b.tt	
		add_intrigue_skill = -1
		add_learning_skill = -1
		add_stewardship_skill = -1
		add_martial_skill = -1
		add_diplomacy_skill = -1
	}	
}

deviants_dreamsgo.3001 = { 
	type = character_event
	title = deviants_dreamsgo.3001.t
    desc = { 
		desc = deviants_dreamsgo.3001.a.desc
		desc = deviants_dreamsgo.3001.DMD.desc
	}
	theme = deviantsmaskgo 
	override_background = { reference = deviant_demon_desert_cowgirl }
	override_effect_2d = {
		reference = legend_glow
	}
	# I will try harder random
	option = {
		name = deviants_dreamsgo.3001.a
		custom_tooltip = deviants_dreamsgo.3001.a.tt	
		trigger_event = deviants_dreamsgo.3010
		add_character_flag = had_demon_master_dildo
		random_list = {
			25 = {
				add_intrigue_skill = -1
			}
			25 = {
				add_learning_skill = -1
			}
			25 = {
				add_stewardship_skill = -1
			}
			25 = {
				add_martial_skill = -1
			}
			25 = {
				add_diplomacy_skill = -1
			}
			100 = {
			}
		}
		hidden_effect = {
			create_artifact = {
				name = deviantmasterdildo
				description = deviantmasterdildo_desc
				type = miscellaneous
				modifier = deviants_demon_master_dildo_modifier
				visuals = deviants_master_dildo
				template = deviant_master_dildo_template
				history = {
					type = created_before_history
					date = 670.1.1 #To order entries correctly
				}
				max_durability = 100
				wealth = 15
				quality = 15
			}
			add_intrigue_skill = -20
			add_learning_skill = -20
			add_stewardship_skill = -20
			add_martial_skill = -20
			add_diplomacy_skill = -20
		}
	}	
    # begone...
	option = {
		name = deviants_dreamsgo.3001.b
		custom_tooltip = deviants_dreamsgo.3001.b.tt	
		add_intrigue_skill = -1
		add_learning_skill = -1
		add_stewardship_skill = -1
		add_martial_skill = -1
		add_diplomacy_skill = -1
	}	
}

#3010 riding the dildo, giving it your all
deviants_dreamsgo.3010 = { 
	type = character_event
	title = deviants_dreamsgo.3010.t
    desc = { 
		desc = deviants_dreamsgo.3010.a.desc
		desc = deviants_dreamsgo.3010.DMD.desc
		desc = deviants_dreamsgo.3010.b.desc
	}
	theme = deviantsmaskgo 
	override_background = { reference = deviant_demondildo_fuck_ontop_one }
	immediate = {
		stress_impact = {
			base = minor_stress_impact_loss
			lustful = medium_stress_impact_loss
		}
	}
	# let go of the dildo
	option = {
		name = deviants_dreamsgo.3010.a
		custom_tooltip = deviants_dreamsgo.3010.a.tt	
		trigger_event = deviants_dreamsgo.3011
	}	
}

#3011 floating dildo
deviants_dreamsgo.3011 = { 
	type = character_event
	title = deviants_dreamsgo.3011.t
    desc = { 
		desc = deviants_dreamsgo.3011.a.desc
		desc = deviants_dreamsgo.3011.DMD.desc
		desc = deviants_dreamsgo.3011.b.desc
	}
	theme = deviantsmaskgo 
	override_background = { reference = deviantmasterdildo }
	override_effect_2d = {
		reference = legend_glow
	}
	right_portrait = {
		character = root
		animation = personality_content
        outfit_tags = { no_clothes }
	}
	# I will consider your terms.
	option = {
		name = deviants_dreamsgo.3011.a
		custom_tooltip = deviants_dreamsgo.3011.a.tt	
	}	
}

#3050 asking you get female lover
deviants_dreamsgo.3050 = { 
	type = character_event
	title = deviants_dreamsgo.3050.t
    desc = deviants_dreamsgo.3050.a.desc
	theme = deviantsmaskgo 
	cooldown = { years = 2 }
	override_background = { 
		trigger = {
			exists = scope:background_one
		}
		reference = deviant_demon_desert_cowgirl
	}
	override_background = { 
		trigger = {
			exists = scope:background_two
		}
		reference = deviant_demon_desert_cowgirl_two
	}
	override_background = { 
		trigger = {
			exists = scope:background_three
		}
		reference = deviant_demon_desert_cowgirl_three
	}
	override_background = { 
		trigger = {
			exists = scope:background_four
		}
		reference = deviant_demon_desert_cowgirl_four
	}
	override_background = { 
		trigger = {
			exists = scope:background_five
		}
		reference = deviant_demon_desert_cowgirl_five
	}
	override_background = { 
		trigger = {
			exists = scope:background_six
		}
		reference = deviant_demon_desert_cowgirl_cum
	}
	override_effect_2d = {
		reference = legend_glow
	}
	trigger = {
		has_trait = deviants_demonanalslut
		has_trait = deviants_mask
		any_character_artifact = {
			has_artifact_modifier = deviants_demon_master_dildo_modifier
		}
		has_character_flag = had_demon_master_dildo
		AND = {
			any_relation = {
				type = soulmate
				count < 1
				is_female = yes
			}
			any_relation = {
				type = lover
				count < 1
				is_female = yes
			}
		}	
	}
	immediate = {
		random_list = {
			25 = {
				ROOT = {
					save_scope_as = background_one
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_two
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_three
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_four
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_five
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_six
				}
			}
		}
	}
	# 
	option = {
		name = deviants_dreamsgo.3050.a
		custom_tooltip = deviants_dreamsgo.3050.a.tt
		stress_impact = {
			base = major_stress_impact_gain
		}
		if = {
			limit = {
				root = { has_sexuality = asexual }
			}
			set_sexuality = bisexual
		}
		else_if = {
			limit = {
				root = { has_sexuality = heterosexual }
			}
			set_sexuality = bisexual
		}
		random_list = {
			10 = {
				add_intrigue_skill = { -1 -2 }
			}
			10 = {
				add_learning_skill = { -1 -2 }
			}
			10 = {
				add_stewardship_skill = { -1 -2 }
			}
			10 = {
				add_martial_skill = { -1 -2 }
			}
			10 = {
				add_diplomacy_skill = { -1 -2 }
			}
			100 = {
			}
		}
	}			
}

#3051 fucking your female lover
deviants_dreamsgo.3051 = { 
	type = character_event
	title = deviants_dreamsgo.3051.t
    desc = deviants_dreamsgo.3051.a.desc
	theme = deviantsmaskgo 
	override_background = { 
		trigger = {
			exists = scope:background_one
		}
		reference = deviant_demon_orc_vag_cum_1
	}
	override_background = { 
		trigger = {
			exists = scope:background_two
		}
		reference = deviant_demon_orc_vag_cum_2
	}
	override_background = { 
		trigger = {
			exists = scope:background_three
		}
		reference = deviant_demon_orc_vag_cum_3
	}
	override_background = { 
		trigger = {
			exists = scope:background_four
		}
		reference = deviant_demon_orc_vag_cum_4
	}
	override_background = { 
		trigger = {
			exists = scope:background_five
		}
		reference = deviant_demon_orc_vag_cum_5
	}
	override_effect_2d = {
		reference = legend_glow
	}
	lower_right_portrait = {
		character = root
		animation = shock
		outfit_tags = { no_clothes }
	}
	trigger = {
		has_trait = deviants_demonanalslut
		has_trait = deviants_mask
		any_character_artifact = {
			has_artifact_modifier = deviants_demon_master_dildo_modifier
		}
		has_character_flag = had_demon_master_dildo
		OR = {
			any_relation = {
				type = soulmate
				count >= 1
				is_female = yes
				is_available_ai_adult = yes
				NOT = { has_character_modifier = deviant_mindfuckedsilly_modifier }
			}
			any_relation = {
				type = lover
				count >= 1
				is_female = yes
				is_available_ai_adult = yes
				NOT = { has_character_modifier = deviant_mindfuckedsilly_modifier }
			}
		}	
		NOT = { has_character_flag = deviant_embraced_demon_hunger }
	}
	immediate = {
		if = {
			limit = {
				any_relation = {
					type = soulmate
					count >= 1
					is_female = yes
					is_available_ai_adult = yes
					NOT = { has_character_modifier = deviant_mindfuckedsilly_modifier }
				}
			}
			random_relation = {
				type = soulmate
			limit = {
				age >= 18
				is_female = yes
				is_available_ai_adult = yes
				NOT = { has_character_modifier = deviant_mindfuckedsilly_modifier }
			}
			save_scope_as = deviant_go_random_1
			}
		}
		else_if = {
			limit = {
				any_relation = {
					type = lover
					age >= 18
					is_female = yes
					is_available_ai_adult = yes
					NOT = { has_character_modifier = deviant_mindfuckedsilly_modifier }
				}
			}
			random_relation = {
				type = lover
				limit = {
					age >= 18
					is_female = yes
					is_available_ai_adult = yes
					NOT = { has_character_modifier = deviant_mindfuckedsilly_modifier }
				}
				save_scope_as = deviant_go_random_1
			}
		}
		random_list = {
			25 = {
				ROOT = {
					save_scope_as = background_one
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_two
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_three
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_four
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_five
				}
			}
		}
	}
	# 
	option = {
		name = deviants_dreamsgo.3051.a
		custom_tooltip = deviants_dreamsgo.3051.a.tt
		scope:deviant_go_random_1 = {
			add_opinion = {
				target = root
				modifier = love_opinion
				opinion = { 10 30 }
			}
			stress_impact = {
				base = medium_stress_impact_gain
			}
			random_list = {
				25 = {
					add_intrigue_skill = { -1 -5 }
				}
				25 = {
					add_learning_skill = { -1 -5 }
				}
				25 = {
					add_stewardship_skill = { -1 -5 }
				}
				25 = {
					add_martial_skill = { -1 -5 }
				}
				25 = {
					add_diplomacy_skill = { -1 -5 }
				}
			}
			add_character_modifier = {
				modifier = deviant_mindfuckedsilly_modifier
				days = { 100 360 }
			}
		}
	}
	option = {
		name = deviants_dreamsgo.3051.b
		custom_tooltip = deviants_dreamsgo.3051.b.tt
		stress_impact = {
			base = major_stress_impact_gain
		}
		random_list = {
			10 = {
				add_intrigue_skill = { -1 -2 }
			}
			10 = {
				add_learning_skill = { -1 -2 }
			}
			10 = {
				add_stewardship_skill = { -1 -2 }
			}
			10 = {
				add_martial_skill = { -1 -2 }
			}
			10 = {
				add_diplomacy_skill = { -1 -2 }
			}
			10 = {
			}
		}
	}			
}


#3052 he offering a piece
deviants_dreamsgo.3052 = { 
	type = character_event
	title = deviants_dreamsgo.3052.t
    desc = deviants_dreamsgo.3052.a.desc
	theme = deviantsmaskgo 
	override_background = { 
		trigger = {
			exists = scope:background_one
		}
		reference = deviant_demon_orc_vag_cum_1
	}
	override_background = { 
		trigger = {
			exists = scope:background_two
		}
		reference = deviant_demon_orc_vag_cum_2
	}
	override_background = { 
		trigger = {
			exists = scope:background_three
		}
		reference = deviant_demon_orc_vag_cum_3
	}
	override_background = { 
		trigger = {
			exists = scope:background_four
		}
		reference = deviant_demon_orc_vag_cum_4
	}
	override_background = { 
		trigger = {
			exists = scope:background_five
		}
		reference = deviant_demon_orc_vag_cum_5
	}
	override_effect_2d = {
		reference = legend_glow
	}
	lower_right_portrait = {
		character = root
		animation = shock
		outfit_tags = { no_clothes }
	}
	cooldown = { years = 1 }
	trigger = {
		has_trait = deviants_demonanalslut
		has_trait = deviants_mask
		any_character_artifact = {
			has_artifact_modifier = deviants_demon_master_dildo_modifier
		}
		has_character_flag = had_demon_master_dildo
		OR = {
			any_relation = {
				type = soulmate
				is_female = yes
				is_available_ai_adult = yes
				NOT = { has_character_modifier = deviant_mindfuckedsilly_modifier }
			}
			any_relation = {
				type = lover
				is_female = yes
				is_available_ai_adult = yes
				NOT = { has_character_modifier = deviant_mindfuckedsilly_modifier }
			}
		}	
		NOT = { has_character_flag = deviant_embraced_demon_hunger }
	}
	immediate = {
		if = {
			limit = {
				any_relation = {
					type = soulmate
					is_female = yes
					is_available_ai_adult = yes
					NOT = { has_character_modifier = deviant_mindfuckedsilly_modifier }
				}
			}
			random_relation = {
				type = soulmate
			limit = {
				age >= 18
				is_female = yes
				is_available_ai_adult = yes
				NOT = { has_character_modifier = deviant_mindfuckedsilly_modifier }
			}
			save_scope_as = deviant_go_random_1
			}
		}
		else_if = {
			limit = {
				any_relation = {
					type = lover
					age >= 18
					is_female = yes
					is_available_ai_adult = yes
					NOT = { has_character_modifier = deviant_mindfuckedsilly_modifier }
				}
			}
			random_relation = {
				type = lover
				limit = {
					age >= 18
					is_female = yes
					is_available_ai_adult = yes
					NOT = { has_character_modifier = deviant_mindfuckedsilly_modifier }
				}
				save_scope_as = deviant_go_random_1
			}
		}
		random_list = {
			25 = {
				ROOT = {
					save_scope_as = background_one
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_two
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_three
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_four
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_five
				}
			}
		}
	}
	# 
	option = {
		name = deviants_dreamsgo.3052.a
		custom_tooltip = deviants_dreamsgo.3052.a.tt
		trigger_event = deviants_dreamsgo.3053
		add_character_flag = deviant_embraced_demon_hunger
	}
	option = {
		name = deviants_dreamsgo.3052.b
		custom_tooltip = deviants_dreamsgo.3052.b.tt
		scope:deviant_go_random_1 = {
			add_opinion = {
				target = root
				modifier = love_opinion
				opinion = { 10 30 }
			}
			stress_impact = {
				base = medium_stress_impact_gain
			}
			random_list = {
				25 = {
					add_intrigue_skill = { -1 -5 }
				}
				25 = {
					add_learning_skill = { -1 -5 }
				}
				25 = {
					add_stewardship_skill = { -1 -5 }
				}
				25 = {
					add_martial_skill = { -1 -5 }
				}
				25 = {
					add_diplomacy_skill = { -1 -5 }
				}
			}
			add_character_modifier = {
				modifier = deviant_mindfuckedsilly_modifier
				days = { 100 360 }
			}
		}
	}			
}

#firts dinner on dinner
deviants_dreamsgo.3053 = { 
	type = character_event
	title = deviants_dreamsgo.3053.t
    desc = deviants_dreamsgo.3053.a.desc
	theme = deviantsmaskgo 
	override_background = { 
		trigger = {
			exists = scope:background_one
		}
		reference = demon_waitress_getting_scraps_1
	}
	override_background = { 
		trigger = {
			exists = scope:background_two
		}
		reference = demon_waitress_getting_scraps_2
	}
	override_background = { 
		trigger = {
			exists = scope:background_three
		}
		reference = demon_waitress_getting_scraps_3
	}
	override_background = { 
		trigger = {
			exists = scope:background_four
		}
		reference = demon_waitress_getting_scraps_1
	}
	override_background = { 
		trigger = {
			exists = scope:background_five
		}
		reference = demon_waitress_getting_scraps_2
	}
	override_effect_2d = {
		reference = legend_glow
	}
	immediate = {
		scope:deviant_go_random_1 = {
			add_opinion = {
				target = root
				modifier = love_opinion
				opinion = { 10 30 }
			}
			stress_impact = {
				base = medium_stress_impact_gain
			}
			random_list = {
				25 = {
					add_intrigue_skill = { -1 -10 }
				}
				25 = {
					add_learning_skill = { -1 -10 }
				}
				25 = {
					add_stewardship_skill = { -1 -10 }
				}
				25 = {
					add_martial_skill = { -1 -10 }
				}
				25 = {
					add_diplomacy_skill = { -1 -10 }
				}
			}
			add_character_modifier = {
				modifier = deviant_mindfuckedsilly_modifier
				days = { 100 360 }
			}
		}
	}
	# 
	option = {
		trigger = {
			NOT = { has_trait = sadistic }
		}
		name = deviants_dreamsgo.3053.a
		custom_tooltip = deviants_dreamsgo.3053.a.tt
		if = {
			limit = { has_trait = compassionate }
			remove_trait = compassionate
		}
		else_if = {
			limit = { has_trait = callous }
			remove_trait = callous
		}
		else_if = {
			limit = { has_trait = chaste }
			remove_trait = chaste
		}
		else_if = {
			limit = { has_trait = forgiving }
			remove_trait = forgiving
		}
		else_if = {
			limit = { has_trait = humble }
			remove_trait = humble
		}
		else_if = {
			limit = { has_trait = gregarious }
			remove_trait = gregarious
		}
		else_if = {
			limit = { has_trait = shy }
			remove_trait = shy
		}
		else_if = {
			limit = { has_trait = calm }
			remove_trait = calm
		}
		else_if = {
			limit = { has_trait = content }
			remove_trait = content
		}
		else_if = {
			limit = { has_trait = generous }
			remove_trait = generous
		}
		else_if = {
			limit = { has_trait = just }
			remove_trait = just
		}
		else_if = {
			limit = { has_trait = honest }
			remove_trait = honest
		}
		else_if = {
			limit = { has_trait = patient }
			remove_trait = patient
		}
		else_if = {
			limit = { has_trait = temperate }
			remove_trait = temperate
		}
		else_if = {
			limit = { has_trait = diligent }
			remove_trait = diligent
		}
		else_if = {
			limit = { has_trait = brave }
			remove_trait = brave
		}
		else_if = {
			limit = { has_trait = trusting }
			remove_trait = trusting
		}
		else_if = {
			limit = { has_trait = impatient }
			remove_trait = impatient
		}
		else_if = {
			limit = { has_trait = gluttonous }
			remove_trait = gluttonous
		}
		else_if = {
			limit = { has_trait = lazy }
			remove_trait = lazy
		}
		else_if = {
			limit = { has_trait = wrathful }
			remove_trait = wrathful
		}
		else_if = {
			limit = { has_trait = deceitful }
			remove_trait = deceitful
		}
		else_if = {
			limit = { has_trait = arrogant }
			remove_trait = arrogant
		}
		else_if = {
			limit = { has_trait = craven }
			remove_trait = craven
		}
		else_if = {
			limit = { has_trait = arbitrary }
			remove_trait = arbitrary
		}
		else_if = {
			limit = { has_trait = cynical }
			remove_trait = cynical
		}
		else_if = {
			limit = { has_trait = zealous }
			remove_trait = zealous
		}
		else_if = {
			limit = { has_trait = paranoid }
			remove_trait = paranoid
		}
		else_if = {
			limit = { has_trait = vengeful }
			remove_trait = vengeful
		}
		else_if = {
			limit = { has_trait = stubborn }
			remove_trait = stubborn
		}
		else_if = {
			limit = { has_trait = fickle }
			remove_trait = fickle
		}
		else_if = {
			limit = { has_trait = ambitious }
			remove_trait = ambitious
		}
		else_if = {
			limit = { has_trait = greedy }
			remove_trait = greedy
		}
		add_trait_force_tooltip = sadistic
		add_intrigue_skill = { 1 5 }
		add_learning_skill = { 1 5 }
		add_stewardship_skill = { 1 5 }
		add_martial_skill = { 1 5 }
		add_diplomacy_skill = { 1 5 }
		trigger_event = deviants_dreamsgo.3054
	}		
	# 
	option = {
		trigger = {
			has_trait = sadistic
		}
		name = deviants_dreamsgo.3053.a
		custom_tooltip = deviants_dreamsgo.3053.a.tt
		add_intrigue_skill = { 1 5 }
		add_learning_skill = { 1 5 }
		add_stewardship_skill = { 1 5 }
		add_martial_skill = { 1 5 }
		add_diplomacy_skill = { 1 5 }
		trigger_event = deviants_dreamsgo.3054
	}	
}

#first wake up
deviants_dreamsgo.3054 = { 
	type = character_event
	title = deviants_dreamsgo.3054.t
    desc = deviants_dreamsgo.3054.a.desc
	theme = deviantsmaskgo 
	override_background = { 
		trigger = {
			exists = scope:background_one
		}
		reference = deviant_pussy_pile_1
	}
	override_background = { 
		trigger = {
			exists = scope:background_two
		}
		reference = deviant_pussy_pile_2
	}
	override_background = { 
		trigger = {
			exists = scope:background_three
		}
		reference = deviant_pussy_pile_2
	}
	override_background = { 
		trigger = {
			exists = scope:background_four
		}
		reference = deviant_pussy_pile_1
	}
	override_background = { 
		trigger = {
			exists = scope:background_five
		}
		reference = deviant_pussy_pile_1
	}
	immediate = {
		scope:deviant_go_random_1 = {
			if = {
				limit = { has_trait = shrewd }
				remove_trait = shrewd
			}
			else_if = {
				limit = { has_trait = intellect_good_1 }
				remove_trait = intellect_good_1
			}
			else_if = {
				limit = { has_trait = intellect_good_2 }
				remove_trait = intellect_good_2
			}
			else_if = {
				limit = { has_trait = intellect_good_3 }
				remove_trait = intellect_good_3
			}
			else_if = {
				limit = { NOT = { has_trait = dull } }
				add_trait = dull
			}
			else_if = {
				limit = { 
					NOT = { has_trait = intellect_bad_1 }
					NOT = { has_trait = intellect_bad_2 }
					NOT = { has_trait = intellect_bad_3 }
				}
				add_trait = intellect_bad_1
			}
			else_if = {
				limit = { 
					has_trait = intellect_bad_1
					NOT = { has_trait = intellect_bad_2 }
				}
				remove_trait = intellect_bad_1
				add_trait = intellect_bad_2
			}
			else_if = {
				limit = { 
					has_trait = intellect_bad_2
					NOT = { has_trait = intellect_bad_3 }
				}
				remove_trait = intellect_bad_2
				add_trait = intellect_bad_3
			}
			else_if = {
				limit = { NOT = { has_trait = lunatic_1 } }
				add_trait = lunatic_1
			}
			else_if = {
				limit = { NOT = { has_trait = albino } }
				add_trait = albino
			}
			else_if  = {
				limit = { NOT = { has_trait = possessed_1 } }
				add_trait = possessed_1
			}
		}
	}
	# 
	option = {
		name = deviants_dreamsgo.3054.a
		custom_tooltip = deviants_dreamsgo.3054.a.tt
		stress_impact = {
			sadistic = medium_stress_impact_gain
		}
	}		
	# 
	option = {
		trigger = {
			is_cannibal_trigger = no
		}
		name = deviants_dreamsgo.3054.b
		custom_tooltip = deviants_dreamsgo.3054.b.tt
		give_cannibal_secret_or_trait_effect = yes
		unknown_murder_effect = {
			VICTIM = scope:deviant_go_random_1
			MURDERER = root
			REASON = death_eaten
		}
		stress_impact = {
			sadistic = major_stress_impact_loss
		}
	}
	# 
	option = {
		trigger = {
			is_cannibal_trigger = yes
		}
		name = deviants_dreamsgo.3054.c
		custom_tooltip = deviants_dreamsgo.3054.c.tt
		unknown_murder_effect = {
			VICTIM = scope:deviant_go_random_1
			MURDERER = root
			REASON = death_eaten
		}
		stress_impact = {
			sadistic = major_stress_impact_loss
		}
	}	
}



deviants_dreamsgo.3055 = { 
	type = character_event
	title = deviants_dreamsgo.3055.t
    desc = deviants_dreamsgo.3055.a.desc
	theme = deviantsmaskgo 
	override_background = { 
		trigger = {
			exists = scope:background_one
		}
		reference = demon_waitress_getting_scraps_1
	}
	override_background = { 
		trigger = {
			exists = scope:background_two
		}
		reference = demon_waitress_getting_scraps_2
	}
	override_background = { 
		trigger = {
			exists = scope:background_three
		}
		reference = demon_waitress_getting_scraps_3
	}
	override_effect_2d = {
		reference = legend_glow
	}
	trigger = {
		has_trait = deviants_demonanalslut
		has_trait = deviants_mask
		any_character_artifact = {
			has_artifact_modifier = deviants_demon_master_dildo_modifier
		}
		has_character_flag = had_demon_master_dildo
		OR = {
			any_relation = {
				type = soulmate
				is_female = yes
				is_available_ai_adult = yes
				NOT = { has_character_modifier = deviant_mindfuckedsilly_modifier }
			}
			any_relation = {
				type = lover
				is_female = yes
				is_available_ai_adult = yes
				NOT = { has_character_modifier = deviant_mindfuckedsilly_modifier }
			}
		}	
		has_character_flag = deviant_embraced_demon_hunger
	}
	immediate = {
		if = {
			limit = {
				any_relation = {
					type = soulmate
					is_female = yes
					is_available_ai_adult = yes
					NOT = { has_character_modifier = deviant_mindfuckedsilly_modifier }
				}
			}
			random_relation = {
				type = soulmate
			limit = {
				age >= 18
				is_female = yes
				is_available_ai_adult = yes
				NOT = { has_character_modifier = deviant_mindfuckedsilly_modifier }
			}
			save_scope_as = deviant_go_random_1
			}
		}
		else_if = {
			limit = {
				any_relation = {
					type = lover
					age >= 18
					is_female = yes
					is_available_ai_adult = yes
					NOT = { has_character_modifier = deviant_mindfuckedsilly_modifier }
				}
			}
			random_relation = {
				type = lover
				limit = {
					age >= 18
					is_female = yes
					is_available_ai_adult = yes
					NOT = { has_character_modifier = deviant_mindfuckedsilly_modifier }
				}
				save_scope_as = deviant_go_random_1
			}
		}
		random_list = {
			25 = {
				ROOT = {
					save_scope_as = background_one
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_two
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_three
				}
			}
		}
		scope:deviant_go_random_1 = {
			add_opinion = {
				target = root
				modifier = love_opinion
				opinion = { 10 30 }
			}
			stress_impact = {
				base = medium_stress_impact_gain
			}
			add_intrigue_skill = { -1 -10 }
			add_learning_skill = { -1 -10 }
			add_stewardship_skill = { -1 -10 }
			add_martial_skill = { -1 -10 }
			add_diplomacy_skill = { -1 -10 }
			add_character_modifier = {
				modifier = deviant_mindfuckedsilly_modifier
				days = { 100 360 }
			}
		}
	}
	# 
	option = {
		trigger = {
			scope:deviant_go_random_1 = {
				learning >= 1
			}
		}
		name = deviants_dreamsgo.3055.a
		custom_tooltip = deviants_dreamsgo.3055.a.tt
		add_learning_skill = 1
		trigger_event = deviants_dreamsgo.3056
	}		
	# 
	option = {
		trigger = {
			scope:deviant_go_random_1 = {
				martial >= 1
			}
		}
		name = deviants_dreamsgo.3055.b
		custom_tooltip = deviants_dreamsgo.3055.b.tt
		add_martial_skill = 1
		trigger_event = deviants_dreamsgo.3056
	}	
	# 
	option = {
		trigger = {
			scope:deviant_go_random_1 = {
				diplomacy >= 1
			}
		}
		name = deviants_dreamsgo.3055.c
		custom_tooltip = deviants_dreamsgo.3055.c.tt
		add_diplomacy_skill = 1
		trigger_event = deviants_dreamsgo.3056
	}
	# 
	option = {
		trigger = {
			scope:deviant_go_random_1 = {
				intrigue >= 1
			}
		}
		name = deviants_dreamsgo.3055.d
		custom_tooltip = deviants_dreamsgo.3055.d.tt
		add_intrigue_skill = 1
		trigger_event = deviants_dreamsgo.3056
	}
	# 
	option = {
		trigger = {
			scope:deviant_go_random_1 = {
				stewardship >= 1
			}
		}
		name = deviants_dreamsgo.3055.e
		custom_tooltip = deviants_dreamsgo.3055.e.tt
		add_stewardship_skill = 1
		trigger_event = deviants_dreamsgo.3056
	}
	option = {
		trigger = {
			scope:deviant_go_random_1 = {
				stewardship <= 0
				learning <= 0
				martial <= 0
				diplomacy <= 0
				intrigue <= 0
			}
		}
		name = deviants_dreamsgo.3055.f
		custom_tooltip = deviants_dreamsgo.3055.f.tt
		trigger_event = deviants_dreamsgo.3057
	}
}


deviants_dreamsgo.3056 = { 
	type = character_event
	title = deviants_dreamsgo.3056.t
    desc = deviants_dreamsgo.3056.a.desc
	theme = deviantsmaskgo 
	override_background = { 
		trigger = {
			exists = scope:background_one
		}
		reference = deviant_pussy_pile_1
	}
	override_background = { 
		trigger = {
			exists = scope:background_two
		}
		reference = deviant_pussy_pile_2
	}
	override_background = { 
		trigger = {
			exists = scope:background_three
		}
		reference = deviant_pussy_pile_1
	}
	immediate = {
		scope:deviant_go_random_1 = {
			if = {
				limit = { has_trait = shrewd }
				remove_trait = shrewd
			}
			else_if = {
				limit = { has_trait = intellect_good_1 }
				remove_trait = intellect_good_1
			}
			else_if = {
				limit = { has_trait = intellect_good_2 }
				remove_trait = intellect_good_2
			}
			else_if = {
				limit = { has_trait = intellect_good_3 }
				remove_trait = intellect_good_3
			}
			else_if = {
				limit = { NOT = { has_trait = dull } }
				add_trait = dull
			}
			else_if = {
				limit = { 
					NOT = { has_trait = intellect_bad_1 }
					NOT = { has_trait = intellect_bad_2 }
					NOT = { has_trait = intellect_bad_3 }
				}
				add_trait = intellect_bad_1
			}
			else_if = {
				limit = { 
					has_trait = intellect_bad_1
					NOT = { has_trait = intellect_bad_2 }
				}
				remove_trait = intellect_bad_1
				add_trait = intellect_bad_2
			}
			else_if = {
				limit = { 
					has_trait = intellect_bad_2
					NOT = { has_trait = intellect_bad_3 }
				}
				remove_trait = intellect_bad_2
				add_trait = intellect_bad_3
			}
			else_if = {
				limit = { NOT = { has_trait = lunatic_1 } }
				add_trait = lunatic_1
			}
			else_if = {
				limit = { NOT = { has_trait = albino } }
				add_trait = albino
			}
			else_if  = {
				limit = { NOT = { has_trait = possessed_1 } }
				add_trait = possessed_1
			}
		}
	}
	# 
	option = {
		name = deviants_dreamsgo.3056.a
		custom_tooltip = deviants_dreamsgo.3056.a.tt
		stress_impact = {
			sadistic = medium_stress_impact_gain
		}
	}		
	# 
	option = {
		trigger = {
			is_cannibal_trigger = no
		}
		name = deviants_dreamsgo.3056.b
		custom_tooltip = deviants_dreamsgo.3056.b.tt
		give_cannibal_secret_or_trait_effect = yes
		unknown_murder_effect = {
			VICTIM = scope:deviant_go_random_1
			MURDERER = root
			REASON = death_eaten
		}
		stress_impact = {
			sadistic = major_stress_impact_loss
		}
	}
	# 
	option = {
		trigger = {
			is_cannibal_trigger = yes
		}
		name = deviants_dreamsgo.3056.c
		custom_tooltip = deviants_dreamsgo.3056.c.tt
		unknown_murder_effect = {
			VICTIM = scope:deviant_go_random_1
			MURDERER = root
			REASON = death_eaten
		}
		stress_impact = {
			sadistic = major_stress_impact_loss
		}
	}	
}
deviants_dreamsgo.3057 = { 
	type = character_event
	title = deviants_dreamsgo.3057.t
    desc = deviants_dreamsgo.3057.a.desc
	theme = deviantsmaskgo 
	override_background = { 
		reference = bedchamber
	}
	right_portrait = {
		character = root
		animation = scheme
		outfit_tags = { no_clothes }
	}
	immediate = {
		scope:deviant_go_random_1 = {
			if = {
				limit = { NOT = { has_trait = albino } }
				add_trait = albino
			}
		}
	}
	# 
	option = {
		name = deviants_dreamsgo.3057.a
		custom_tooltip = deviants_dreamsgo.3057.a.tt
		unknown_murder_effect = {
			VICTIM = scope:deviant_go_random_1
			MURDERER = root
			REASON = death_mysterious
		}
		stress_impact = {
			sadistic = medium_stress_impact_gain
		}
	}		
	# 
	option = {
		trigger = {
			is_cannibal_trigger = no
		}
		name = deviants_dreamsgo.3057.b
		custom_tooltip = deviants_dreamsgo.3057.b.tt
		give_cannibal_secret_or_trait_effect = yes
		unknown_murder_effect = {
			VICTIM = scope:deviant_go_random_1
			MURDERER = root
			REASON = death_eaten
		}
		stress_impact = {
			sadistic = major_stress_impact_loss
		}
	}
	# 
	option = {
		trigger = {
			is_cannibal_trigger = yes
		}
		name = deviants_dreamsgo.3057.c
		custom_tooltip = deviants_dreamsgo.3057.c.tt
		unknown_murder_effect = {
			VICTIM = scope:deviant_go_random_1
			MURDERER = root
			REASON = death_eaten
		}
		stress_impact = {
			sadistic = major_stress_impact_loss
		}
	}	
}















deviants_dreamsgo.3060 = { 
	type = character_event
	title = deviants_dreamsgo.3060.t
    desc = deviants_dreamsgo.3060.a.desc
	theme = deviantsmaskgo 
	override_background = { 
		trigger = {
			exists = scope:background_one
		}
		reference = deviant_demon_orc_vag_cum_1
	}
	override_background = { 
		trigger = {
			exists = scope:background_two
		}
		reference = deviant_demon_orc_vag_cum_2
	}
	override_background = { 
		trigger = {
			exists = scope:background_three
		}
		reference = deviant_demon_orc_vag_cum_3
	}
	override_background = { 
		trigger = {
			exists = scope:background_four
		}
		reference = deviant_demon_orc_vag_cum_4
	}
	override_background = { 
		trigger = {
			exists = scope:background_five
		}
		reference = deviant_demon_orc_vag_cum_5
	}
	override_effect_2d = {
		reference = legend_glow
	}
	trigger = {
		has_trait = deviants_demonanalslut
		has_trait = deviants_mask
		any_character_artifact = {
			has_artifact_modifier = deviants_demon_master_dildo_modifier
		}
		primary_spouse = {
			OR = {	is_female = no	has_trait = futanari_genetic }
			age >= 18
			is_ai = yes
			is_available_ai_adult = yes
			NOT = { has_trait = chaste }
			NOT = { has_trait = shy }
			NOT = { has_trait = celibate }
			NOT = { has_trait = eunuch_1 }
			NOT = { has_trait = beardless_eunuch }
			NOT = { has_trait = blind }
			NOT = { has_trait = loyal }
			NOT = { has_trait = deviant_dominant_spouse }
		}
	}
	immediate = {
		random_list = {
			25 = {
				ROOT = {
					save_scope_as = background_one
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_two
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_three
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_four
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_five
				}
			}
		}
		primary_spouse = {
			save_scope_as = dominant_spouse
		}	
	}
	# 
	option = {
		trigger = {
			scope:dominant_spouse = {
				NOT = { has_trait = sadistic }
			}
		}
		name = deviants_dreamsgo.3060.a
		custom_tooltip = deviants_dreamsgo.3060.a.tt	
		scope:dominant_spouse = {
			add_trait = deviant_dominant_spouse
			if = {
				limit = { has_trait = compassionate }
				remove_trait = compassionate
			}
			else_if = {
				limit = { has_trait = callous }
				remove_trait = callous
			}
			else_if = {
				limit = { has_trait = chaste }
				remove_trait = chaste
			}
			else_if = {
				limit = { has_trait = forgiving }
				remove_trait = forgiving
			}
			else_if = {
				limit = { has_trait = humble }
				remove_trait = humble
			}
			else_if = {
				limit = { has_trait = gregarious }
				remove_trait = gregarious
			}
			else_if = {
				limit = { has_trait = shy }
				remove_trait = shy
			}
			else_if = {
				limit = { has_trait = calm }
				remove_trait = calm
			}
			else_if = {
				limit = { has_trait = content }
				remove_trait = content
			}
			else_if = {
				limit = { has_trait = generous }
				remove_trait = generous
			}
			else_if = {
				limit = { has_trait = just }
				remove_trait = just
			}
			else_if = {
				limit = { has_trait = honest }
				remove_trait = honest
			}
			else_if = {
				limit = { has_trait = patient }
				remove_trait = patient
			}
			else_if = {
				limit = { has_trait = temperate }
				remove_trait = temperate
			}
			else_if = {
				limit = { has_trait = diligent }
				remove_trait = diligent
			}
			else_if = {
				limit = { has_trait = brave }
				remove_trait = brave
			}
			else_if = {
				limit = { has_trait = trusting }
				remove_trait = trusting
			}
			else_if = {
				limit = { has_trait = impatient }
				remove_trait = impatient
			}
			else_if = {
				limit = { has_trait = gluttonous }
				remove_trait = gluttonous
			}
			else_if = {
				limit = { has_trait = lazy }
				remove_trait = lazy
			}
			else_if = {
				limit = { has_trait = wrathful }
				remove_trait = wrathful
			}
			else_if = {
				limit = { has_trait = deceitful }
				remove_trait = deceitful
			}
			else_if = {
				limit = { has_trait = arrogant }
				remove_trait = arrogant
			}
			else_if = {
				limit = { has_trait = craven }
				remove_trait = craven
			}
			else_if = {
				limit = { has_trait = arbitrary }
				remove_trait = arbitrary
			}
			else_if = {
				limit = { has_trait = cynical }
				remove_trait = cynical
			}
			else_if = {
				limit = { has_trait = zealous }
				remove_trait = zealous
			}
			else_if = {
				limit = { has_trait = paranoid }
				remove_trait = paranoid
			}
			else_if = {
				limit = { has_trait = vengeful }
				remove_trait = vengeful
			}
			else_if = {
				limit = { has_trait = stubborn }
				remove_trait = stubborn
			}
			else_if = {
				limit = { has_trait = fickle }
				remove_trait = fickle
			}
			else_if = {
				limit = { has_trait = ambitious }
				remove_trait = ambitious
			}
			else_if = {
				limit = { has_trait = greedy }
				remove_trait = greedy
			}
			add_trait_force_tooltip = sadistic
		}	
	}	
	option = {
		trigger = {
			scope:dominant_spouse = {
				has_trait = sadistic
			}
		}
		name = deviants_dreamsgo.3060.a
		custom_tooltip = deviants_dreamsgo.3060.a.tt	
		scope:dominant_spouse = {
			add_trait = deviant_dominant_spouse
		}	
	}	
	# just endure
	option = {
		name = deviants_dreamsgo.3060.b
		custom_tooltip = deviants_dreamsgo.3060.b.tt	
		stress_impact = {
			base = major_stress_impact_gain
		}
		random_list = {
			10 = {
				add_intrigue_skill = { -1 -2 }
			}
			10 = {
				add_learning_skill = { -1 -2 }
			}
			10 = {
				add_stewardship_skill = { -1 -2 }
			}
			10 = {
				add_martial_skill = { -1 -2 }
			}
			10 = {
				add_diplomacy_skill = { -1 -2 }
			}
			10 = {
			}
		}
	}	
}

#3100 basic loop event
deviants_dreamsgo.3100 = { 
	type = character_event
	title = deviants_dreamsgo.3100.t
    desc = { 
		random_valid = {
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.3100.a.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.3100.b.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.3100.c.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.3100.d.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.3100.e.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.3100.f.desc
			}
		}
	}
	theme = deviantsmaskgo 
	override_background = { 
		trigger = {
			exists = scope:background_one
		}
		reference = deviant_demon_desert_cowgirl
	}
	override_background = { 
		trigger = {
			exists = scope:background_two
		}
		reference = deviant_demon_desert_cowgirl_two
	}
	override_background = { 
		trigger = {
			exists = scope:background_three
		}
		reference = deviant_demon_desert_cowgirl_three
	}
	override_background = { 
		trigger = {
			exists = scope:background_four
		}
		reference = deviant_demon_desert_cowgirl_four
	}
	override_background = { 
		trigger = {
			exists = scope:background_five
		}
		reference = deviant_demon_desert_cowgirl_five
	}
	override_background = { 
		trigger = {
			exists = scope:background_six
		}
		reference = deviant_demon_desert_cowgirl_cum
	}
	override_effect_2d = {
		reference = legend_glow
	}
	trigger = {
		has_trait = deviants_demonanalslut
		has_trait = deviants_mask
		any_character_artifact = {
			has_artifact_modifier = deviants_demon_master_dildo_modifier
		}
		has_character_flag = had_demon_master_dildo
	}
	immediate = {
		random_list = {
			25 = {
				ROOT = {
					save_scope_as = background_one
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_two
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_three
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_four
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_five
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_six
				}
			}
		}
		if = {
			limit = {
				any_neighboring_top_liege_realm_owner = { 
					OR = {	is_female = no	has_trait = futanari_genetic }
				}
			}
			random_neighboring_top_liege_realm_owner = {
				save_scope_as = gift_getter
			}
		}	
		else_if = {
			limit = {
				any_courtier = {
					is_ai = yes
				}
			}	
			random_courtier = {
				save_scope_as = gift_getter
			}
		}
	}
	# I will pay
	option = {
		name = deviants_dreamsgo.3100.a
		custom_tooltip = deviants_dreamsgo.3100.a.tt
		pay_short_term_gold = {
			target = scope:gift_getter
			gold = { tiny_gold_value massive_gold_value }
		}
		reverse_add_opinion = {
			target = scope:gift_getter
			modifier = amused_opinion
			opinion = { 5 30 }
		}
	}	
	# I will let you feed on me
	option = {
		name = deviants_dreamsgo.3100.b
		custom_tooltip = deviants_dreamsgo.3100.b.tt
		random_list = {
			25 = {
				add_intrigue_skill = { -1 -5 }
			}
			25 = {
				add_learning_skill = { -1 -5 }
			}
			25 = {
				add_stewardship_skill = { -1 -5 }
			}
			25 = {
				add_martial_skill = { -1 -5 }
			}
			25 = {
				add_diplomacy_skill = { -1 -5 }
			}
			100 = {
			}
		}	
	}	
	# I refuse, please punish me
	option = {
		name = deviants_dreamsgo.3100.c
		custom_tooltip = deviants_dreamsgo.3100.c.tt	
		trigger_event = deviants_dreamsgo.3120
	}	
}


#3120 basic punishment in public, anal fucking dilod in ranomd public location... they very much knowing who you are
deviants_dreamsgo.3120 = { 
	type = character_event
	title = deviants_dreamsgo.3120.t
    desc = { 
		desc = deviants_dreamsgo.3120.aa.desc
		random_valid = {
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.3120.a.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.3120.b.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.3120.c.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.3120.d.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.3120.e.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.3120.f.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.3120.g.desc
			}
		}
	}
	theme = deviantsmaskgo 
	override_background = { 
		trigger = {
			exists = scope:background_one
		}
		reference = deviant_demondildo_fuck_ontop_one
	}
	override_background = { 
		trigger = {
			exists = scope:background_two
		}
		reference = deviant_demondildo_fuck_ontop_two
	}
	override_background = { 
		trigger = {
			exists = scope:background_three
		}
		reference = deviantbasicdildofuckontop
	}
	override_background = { 
		trigger = {
			exists = scope:background_four
		}
		reference = deviantsdildocockfucktop
	}
	override_background = { 
		trigger = {
			exists = scope:background_five
		}
		reference = deviantsdildocockfucktop
	}
	override_background = { 
		trigger = {
			exists = scope:background_six
		}
		reference = deviantdildoridehardfuck
	}
	immediate = {
		if = {
			limit = { NOT = { has_trait = deviant } }
			add_trait = deviant
		}
		add_prestige = { minor_prestige_loss major_prestige_loss }
		add_piety = { minor_piety_loss major_piety_loss }
		add_character_modifier = {
			modifier = deviant_disgustingdeviant_modifier
			days = { 100 600 }
		}
		random_list = {
			25 = {
				ROOT = {
					save_scope_as = background_one
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_two
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_three
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_four
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_five
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_six
				}
			}
		}
	}

	#  flee
	option = {
		name = deviants_dreamsgo.3120.a
		custom_tooltip = deviants_dreamsgo.3120.a.tt
	}	
	# might as well, keep going
	option = {
		name = deviants_dreamsgo.3120.b
		custom_tooltip = deviants_dreamsgo.3120.b.tt	
		stress_impact = {
			base = minor_stress_impact_loss
			lustful = medium_stress_impact_loss
		}
	}	
}


#event of you fucking a married man anally in public, gain sodomite, fornicator and adulterer


#3200 basic dominant husband event
deviants_dreamsgo.3200 = { 
	type = character_event
	title = deviants_dreamsgo.3200.t
    desc = {
		desc = deviants_dreamsgo.3200.a.desc
		desc = deviants_dreamsgo.3200.slutshaming.desc
	}
	theme = deviantsmaskgo 
	override_background = {
		trigger = { 
            exists = scope:background_one
        }
		reference = deviant_choke_doggy_one
	}
    override_background = {
		trigger = { 
            exists = scope:background_two
        }
		reference = deviant_choke_doggy_two
	}
	override_effect_2d = {
		reference = fog
	}
	trigger = {
		has_trait = deviants_mask
		has_trait = deviants_demonanalslut
		gold >= minor_gold_value
		has_trait_xp = {
			trait = deviants_demonanalslut
			track = demonanalslutcorruption
			value >= 10
		}
		NOT = { 
			any_character_artifact = {
				has_artifact_modifier = deviants_demon_mistress_dildo_modifier
			}
		}
		primary_spouse = {
			OR = {	is_female = no	has_trait = futanari_genetic }
			age >= 18
			is_ai = yes
			is_available_ai_adult = yes
			is_adult = yes
			is_incapable = no
			is_imprisoned = no
			has_trait = deviant_dominant_spouse
			NOT = { has_trait = chaste }
			NOT = { has_trait = shy }
			NOT = { has_trait = celibate }
			NOT = { has_trait = eunuch_1 }
			NOT = { has_trait = beardless_eunuch }
			NOT = { has_trait = blind }
			NOT = { has_trait = loyal }
			has_trait_xp = {
				trait = deviant_dominant_spouse
				track = deviant_dominant_spouse_progress
				value >= 30
			}
		}
	}
	immediate = {
		random_list = {
			25 = {
				ROOT = {
					save_scope_as = background_one
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_two
				}
			}
		}
		primary_spouse = {
			save_scope_as = dominant_spouse
		}	
		scope:dominant_spouse = {
			stress_impact = {
				base = medium_stress_impact_loss
				lustful = minor_stress_impact_loss
			}
			hidden_effect = {
				add_trait_xp = {
					trait = deviant_dominant_spouse
					track = deviant_dominant_spouse_progress
					value = { 0 3 }
				}
				remove_short_term_gold = minor_gold_value
			}
		}
		pay_short_term_gold = {
			target = scope:dominant_spouse
			gold = { 1 tiny_gold_value }
		}
	}
	# Harder!
	option = {
		name = deviants_dreamsgo.3200.a
		custom_tooltip = deviants_dreamsgo.3200.a.tt	
		stress_impact = {
			base = minor_stress_impact_loss
			lustful = medium_stress_impact_loss
		}
		hidden_effect = {
			scope:dominant_spouse = {
				add_trait_xp = {
					trait = deviant_dominant_spouse
					track = deviant_dominant_spouse_progress
					value = { 10 20 }
				}
			}
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonanalslutcorruption
				value = { 1 2 }
			}
		}
	}	
	# just endure
	option = {
		name = deviants_dreamsgo.3200.b
		custom_tooltip = deviants_dreamsgo.3200.b.tt	
		stress_impact = {
			base = minor_stress_impact_gain
		}
		scope:dominant_spouse = {
			add_opinion = {
				target = root
				modifier = overreaction_opinion
				opinion = { -30 -5}
			}
		}
	}	
}

#3210 start dominant husband 
deviants_dreamsgo.3210 = { 
	type = character_event
	title = deviants_dreamsgo.3210.t
    desc = deviants_dreamsgo.3210.a.desc
	theme = deviantsmaskgo 
	cooldown = { years = 10 }
	override_background = {
		reference = study
	}
	right_portrait = {
		character = root
		animation = chancellor
	}
	left_portrait = {
		character = scope:dominant_spouse
		animation = scheme
	}
	trigger = {
		has_trait = deviants_mask
		has_trait = deviants_demonanalslut
		has_trait_xp = {
			trait = deviants_demonanalslut
			track = demonanalslutcorruption
			value >= 10
		}
		has_trait = deviants_campslut
		NOT = { 
			any_character_artifact = {
				has_artifact_modifier = deviants_demon_mistress_dildo_modifier
			}
		}
		primary_spouse = {
			OR = {	is_female = no	has_trait = futanari_genetic }
			age >= 18
			is_ai = yes
			is_available_ai_adult = yes
			is_adult = yes
			is_incapable = no
			is_imprisoned = no
			NOT = { has_sexuality = homosexual }
			NOT = { has_trait = chaste }
			NOT = { has_trait = shy }
			NOT = { has_trait = celibate }
			NOT = { has_trait = eunuch_1 }
			NOT = { has_trait = beardless_eunuch }
			NOT = { has_trait = blind }
			NOT = { has_trait = loyal }
			NOT = { has_trait = deviant_dominant_spouse }
			OR = {
				has_trait = sadistic
				has_trait = arrogant
				has_trait = wrathful
				has_trait = ambitious
				has_trait = vengeful
				has_trait = callous
				has_trait = deceitful
				has_relation_rival = root 
				has_relation_nemesis = root
			}
		}
	}
	immediate = {
		primary_spouse = {
			save_scope_as = dominant_spouse
		}		
	}
	# agree
	option = {
		name = deviants_dreamsgo.3210.a
		custom_tooltip = deviants_dreamsgo.3210.a.tt	
		if = {
			limit = {
				scope:dominant_spouse = {
					NOT = { has_trait = deviant_dominant_spouse }
				}
			}	
			scope:dominant_spouse = {
				add_trait = deviant_dominant_spouse
			}
		}
		trigger_event = deviants_dreamsgo.3211
	}	
	# refuse
	option = {
		name = deviants_dreamsgo.3210.b
		custom_tooltip = deviants_dreamsgo.3210.b.tt
		duel = {
			skill = intrigue
			target = scope:dominant_spouse
			# if win
			40 = {
				compare_modifier = {
					value = scope:duel_value
						multiplier = 3.5
						min = -49
				}
				custom_tooltip = {
					text = deviants_dreamsgo.3210.aw.tt
				}	
				scope:dominant_spouse = {
					add_opinion = {
						target = root
						modifier = angry_opinion
						opinion = -40
					}
					add_prestige = { minor_prestige_loss major_prestige_loss }
					stress_impact = {
						base = medium_stress_impact_gain
					}
				}
			}
			# if lose
			60 = {
				compare_modifier = {
					value = scope:duel_value
						multiplier = -3.5
						min = -49
				}	
				custom_tooltip = {
					text = deviants_dreamsgo.3210.al.tt
				}	
				scope:dominant_spouse = {
					add_trait = deviant_dominant_spouse
				}
				if = {
					limit = {
						NOT = { has_trait = fornicator }
					}	
					add_trait = fornicator
				}
				if = {
					limit = {
						NOT = { has_trait = adulterer }
					}	
					add_trait = adulterer
				}
				add_character_modifier = {
					modifier = deviant_accused_whore_modifier
					years = 5
				}
				add_prestige = { minor_prestige_loss major_prestige_loss }
				add_legitimacy = minor_legitimacy_loss
			}
		}	
	}	
	# pay him
	option = {
		name = deviants_dreamsgo.3210.c
		custom_tooltip = deviants_dreamsgo.3210.c.tt	
		pay_short_term_gold = {
			target = scope:dominant_spouse
			gold = massive_gold_value
		}
	}	
}

deviants_dreamsgo.3211 = { 
	type = character_event
	title = deviants_dreamsgo.3211.t
    desc = deviants_dreamsgo.3211.a.desc
	theme = deviantsmaskgo 
	override_background = {
		reference = study
	}
	right_portrait = {
		character = root
		animation = throne_room_kneel_1
	}
	left_portrait = {
		character = scope:dominant_spouse
		animation = scheme
	}
	# agree
	option = {
		name = deviants_dreamsgo.3211.a
		custom_tooltip = deviants_dreamsgo.3211.a.tt	
		trigger_event = deviants_dreamsgo.3212
	}	
	# refuse
	option = {
		name = deviants_dreamsgo.3211.b
		custom_tooltip = deviants_dreamsgo.3211.b.tt
		duel = {
			skill = intrigue
			target = scope:dominant_spouse
			# if win
			40 = {
				compare_modifier = {
					value = scope:duel_value
						multiplier = 3.5
						min = -49
				}
				custom_tooltip = {
					text = deviants_dreamsgo.3210.aw.tt
				}	
				scope:dominant_spouse = {
					add_opinion = {
						target = root
						modifier = angry_opinion
						opinion = -40
					}
					add_prestige = { minor_prestige_loss major_prestige_loss }
					stress_impact = {
						base = medium_stress_impact_gain
					}
				}
			}
			# if lose
			60 = {
				compare_modifier = {
					value = scope:duel_value
						multiplier = -3.5
						min = -49
				}	
				custom_tooltip = {
					text = deviants_dreamsgo.3210.al.tt
				}	
				if = {
					limit = {
						NOT = { has_trait = fornicator }
					}	
					add_trait = fornicator
				}
				if = {
					limit = {
						NOT = { has_trait = adulterer }
					}	
					add_trait = adulterer
				}
				add_character_modifier = {
					modifier = deviant_accused_whore_modifier
					years = 5
				}
				add_prestige = { minor_prestige_loss major_prestige_loss }
				add_legitimacy = minor_legitimacy_loss
			}
		}	
	}	
	# pay him
	option = {
		name = deviants_dreamsgo.3211.c
		custom_tooltip = deviants_dreamsgo.3211.c.tt	
		pay_short_term_gold = {
			target = scope:dominant_spouse
			gold = massive_gold_value
		}
	}	
}

deviants_dreamsgo.3212 = { 
	type = character_event
	title = deviants_dreamsgo.3212.t
    desc = deviants_dreamsgo.3212.a.desc
	theme = deviantsmaskgo 
	override_background = {
		reference = deviant_oralcum_one
	}
	immediate = {
		scope:dominant_spouse = {
			stress_impact = {
				base = minor_stress_impact_loss
			}
		}	
		hidden_effect = {
			add_trait_xp = {
				trait = deviants_campslut
				track = sexual_service_submission
				value = { 1 5 }
			}
		}
	}
	# agree
	option = {
		name = deviants_dreamsgo.3212.a
		custom_tooltip = deviants_dreamsgo.3212.a.tt	
		pay_short_term_gold = {
			target = scope:dominant_spouse
			gold = tiny_gold_value
		}
		hidden_effect = {
			scope:dominant_spouse = {
				add_trait_xp = {
					trait = deviant_dominant_spouse
					track = deviant_dominant_spouse_progress
					value = { 10 20 }
				}
			}
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonanalslutcorruption
				value = { 1 2 }
			}
		}
	}		
	# fuck off
	option = {
		name = deviants_dreamsgo.3212.b
		custom_tooltip = deviants_dreamsgo.3212.b.tt	
	}	
}

deviants_dreamsgo.3220 = { 
	type = character_event
	title = deviants_dreamsgo.3220.t
    desc = {
		desc = deviants_dreamsgo.3220.a.desc
		desc = deviants_dreamsgo.3220.slutshaming.desc
	}
	theme = deviantsmaskgo 
	override_background = {
		reference = study
	}
	right_portrait = {
		character = root
		animation = personality_content
	}
	left_portrait = {
		character = scope:dominant_spouse
		animation = scheme
	}
	trigger = {
		has_trait = deviants_mask
		has_trait = deviants_demonanalslut
		gold >= minor_gold_value
		has_trait_xp = {
			trait = deviants_demonanalslut
			track = demonanalslutcorruption
			value >= 10
		}
		NOT = { 
			any_character_artifact = {
				has_artifact_modifier = deviants_demon_mistress_dildo_modifier
			}
		}
		primary_spouse = {
			OR = {	is_female = no	has_trait = futanari_genetic }
			age >= 18
			is_ai = yes
			is_available_ai_adult = yes
			is_adult = yes
			is_incapable = no
			is_imprisoned = no
			NOT = { has_trait = chaste }
			NOT = { has_trait = shy }
			NOT = { has_trait = celibate }
			NOT = { has_trait = eunuch_1 }
			NOT = { has_trait = beardless_eunuch }
			NOT = { has_trait = blind }
			NOT = { has_trait = loyal }
			has_trait = deviant_dominant_spouse
			OR = {
				has_trait = sadistic
				has_trait = arrogant
				has_trait = wrathful
				has_trait = ambitious
				has_trait = vengeful
				has_trait = callous
				has_trait = deceitful
				has_relation_rival = root 
				has_relation_nemesis = root
			}
		}
	}
	immediate = {
		primary_spouse = {
			save_scope_as = dominant_spouse
		}		
	}
	# agree
	option = {
		name = deviants_dreamsgo.3220.a
		custom_tooltip = deviants_dreamsgo.3220.a.tt	
		random_list = {
			25 = {
				trigger_event = deviants_dreamsgo.3221
			}
			25 = {
				trigger_event = deviants_dreamsgo.3222
			}
		}
		hidden_effect = {
			add_trait_xp = {
				trait = deviants_campslut
				track = sexual_service_submission
				value = { 1 10 }
			}
		}	
	}	
	# refuse
	option = {
		name = deviants_dreamsgo.3220.b
		custom_tooltip = deviants_dreamsgo.3220.b.tt
		duel = {
			skill = intrigue
			target = scope:dominant_spouse
			# if win
			40 = {
				compare_modifier = {
					value = scope:duel_value
						multiplier = 3.5
						min = -49
				}
				custom_tooltip = {
					text = deviants_dreamsgo.3210.aw.tt
				}	
				scope:dominant_spouse = {
					add_opinion = {
						target = root
						modifier = angry_opinion
						opinion = -40
					}
					add_prestige = { minor_prestige_loss major_prestige_loss }
					stress_impact = {
						base = medium_stress_impact_gain
					}
				}
			}
			# if lose
			60 = {
				compare_modifier = {
					value = scope:duel_value
						multiplier = -3.5
						min = -49
				}	
				custom_tooltip = {
					text = deviants_dreamsgo.3210.al.tt
				}	
				if = {
					limit = {
						NOT = { has_trait = fornicator }
					}	
					add_trait = fornicator
				}
				if = {
					limit = {
						NOT = { has_trait = adulterer }
					}	
					add_trait = adulterer
				}
				add_character_modifier = {
					modifier = deviant_accused_whore_modifier
					years = 1
				}
				add_prestige = { minor_prestige_loss major_prestige_loss }
				add_legitimacy = minor_legitimacy_loss
			}
		}	
		scope:dominant_spouse = {
			add_trait_xp = {
				trait = deviant_dominant_spouse
				track = deviant_dominant_spouse_progress
				value = { -10 0 }
			}
		}
	}	
	# pay him
	option = {
		name = deviants_dreamsgo.3220.c
		custom_tooltip = deviants_dreamsgo.3220.c.tt	
		pay_short_term_gold = {
			target = scope:dominant_spouse
			gold = medium_gold_value
		}
	}	
}


deviants_dreamsgo.3221 = { 
	type = character_event
	title = deviants_dreamsgo.3221.t
    desc = {
		desc = deviants_dreamsgo.3221.a.desc
		desc = deviants_dreamsgo.3221.slutshaming.desc
	}
	theme = deviantsmaskgo 
	override_background = {
		trigger = { 
        	exists = scope:background_one
        }
		reference = deviantanalontopservicecum
	}
    override_background = {
		trigger = { 
            exists = scope:background_two
        }
		reference = deviant_analcum_rideontop_two
	}
    override_background = {
		trigger = { 
            exists = scope:background_three
        }
		reference = deviant_analcum_rideontop_three
	}
    override_background = {
		trigger = { 
            exists = scope:background_four
        }
		reference = deviant_analcum_rideontop_four
	}
    override_background = {
		trigger = { 
            exists = scope:background_five
        }
		reference = deviant_analcum_rideontop_five
	}
	immediate = {
		scope:dominant_spouse = {
			stress_impact = {
				base = minor_stress_impact_loss
			}
		}
		random_list = {
			25 = {
				ROOT = {
					save_scope_as = background_one
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_two
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_three
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_four
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_five
				}
			}
		}	
	}
	# agree
	option = {
		name = deviants_dreamsgo.3221.a
		custom_tooltip = deviants_dreamsgo.3221.a.tt	
		pay_short_term_gold = {
			target = scope:dominant_spouse
			gold = tiny_gold_value
		}
		hidden_effect = {
			scope:dominant_spouse = {
				add_trait_xp = {
					trait = deviant_dominant_spouse
					track = deviant_dominant_spouse_progress
					value = { 1 10 }
				}
			}
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonanalslutcorruption
				value = { 1 2 }
			}
		}
	}		
	# fuck off
	option = {
		name = deviants_dreamsgo.3221.b
		custom_tooltip = deviants_dreamsgo.3221.b.tt
		duel = {
			skill = intrigue
			target = scope:dominant_spouse
			# if win
			40 = {
				compare_modifier = {
					value = scope:duel_value
						multiplier = 3.5
						min = -49
				}
				custom_tooltip = {
					text = deviants_dreamsgo.3210.aw.tt
				}	
				scope:dominant_spouse = {
					add_opinion = {
						target = root
						modifier = angry_opinion
						opinion = -40
					}
					add_prestige = { minor_prestige_loss major_prestige_loss }
					stress_impact = {
						base = medium_stress_impact_gain
					}
				}
			}
			# if lose
			60 = {
				compare_modifier = {
					value = scope:duel_value
						multiplier = -3.5
						min = -49
				}	
				custom_tooltip = {
					text = deviants_dreamsgo.3210.al.tt
				}	
				if = {
					limit = {
						NOT = { has_trait = fornicator }
					}	
					add_trait = fornicator
				}
				if = {
					limit = {
						NOT = { has_trait = adulterer }
					}	
					add_trait = adulterer
				}
				add_character_modifier = {
					modifier = deviant_accused_whore_modifier
					years = 1
				}
				add_prestige = { minor_prestige_loss major_prestige_loss }
				add_legitimacy = minor_legitimacy_loss
			}
		}	
		scope:dominant_spouse = {
			add_trait_xp = {
				trait = deviant_dominant_spouse
				track = deviant_dominant_spouse_progress
				value = { -10 0 }
			}
		}
	}	
}

deviants_dreamsgo.3222 = { 
	type = character_event
	title = deviants_dreamsgo.3222.t
    desc = {
		desc = deviants_dreamsgo.3222.a.desc
		desc = deviants_dreamsgo.3222.slutshaming.desc
	}
	theme = deviantsmaskgo 
	override_background = {
		trigger = { 
            exists = scope:background_one
        }
		reference = deviant_oralcum_one
	}
    override_background = {
		trigger = { 
            exists = scope:background_two
        }
		reference = deviant_oralcum_two
	}
    override_background = {
		trigger = { 
            exists = scope:background_three
        }
		reference = deviant_oralcum_three
	}
    override_background = {
		trigger = { 
            exists = scope:background_four
        }
		reference = deviant_oralcum_four
	}
    override_background = {
		trigger = { 
            exists = scope:background_five
        }
		reference = deviant_oralcum_five
	}
	immediate = {
		scope:dominant_spouse = {
			stress_impact = {
				base = minor_stress_impact_loss
			}
		}	
		random_list = {
			25 = {
				ROOT = {
					save_scope_as = background_one
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_two
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_three
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_four
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_five
				}
			}
		}	
	}
	# agree
	option = {
		name = deviants_dreamsgo.3222.a
		custom_tooltip = deviants_dreamsgo.3222.a.tt	
		pay_short_term_gold = {
			target = scope:dominant_spouse
			gold = tiny_gold_value
		}
		hidden_effect = {
			scope:dominant_spouse = {
				add_trait_xp = {
					trait = deviant_dominant_spouse
					track = deviant_dominant_spouse_progress
					value = { 1 10 }
				}
			}
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonanalslutcorruption
				value = { 1 2 }
			}
		}
	}		
	# fuck off
	option = {
		name = deviants_dreamsgo.3222.b
		custom_tooltip = deviants_dreamsgo.3222.b.tt
		duel = {
			skill = intrigue
			target = scope:dominant_spouse
			# if win
			40 = {
				compare_modifier = {
					value = scope:duel_value
						multiplier = 3.5
						min = -49
				}
				custom_tooltip = {
					text = deviants_dreamsgo.3210.aw.tt
				}	
				scope:dominant_spouse = {
					add_opinion = {
						target = root
						modifier = angry_opinion
						opinion = -40
					}
					add_prestige = { minor_prestige_loss major_prestige_loss }
					stress_impact = {
						base = medium_stress_impact_gain
					}
				}
			}
			# if lose
			60 = {
				compare_modifier = {
					value = scope:duel_value
						multiplier = -3.5
						min = -49
				}	
				custom_tooltip = {
					text = deviants_dreamsgo.3210.al.tt
				}	
				if = {
					limit = {
						NOT = { has_trait = fornicator }
					}	
					add_trait = fornicator
				}
				if = {
					limit = {
						NOT = { has_trait = adulterer }
					}	
					add_trait = adulterer
				}
				add_character_modifier = {
					modifier = deviant_accused_whore_modifier
					years = 5
				}
				add_prestige = { minor_prestige_loss major_prestige_loss }
			}
		}	
		hidden_effect = {
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonanalslutcorruption
				value = { -10 0 }
			}
		}
	}	
}

#3300 if no flag, he not strong remove weak if has, he holding you down and stuffing a dildo into your pussy, trying to suffocate you until you pass out
deviants_dreamsgo.3300 = { 
	type = character_event
	title = deviants_dreamsgo.3300.t
    desc = {
		desc = deviants_dreamsgo.3300.a.desc
		desc = deviants_dreamsgo.3300.chanting.desc
	}
	theme = deviantsmaskgo 
	override_background = {
		reference = deviant_layingwetdildo_in_pussy
	}
	cooldown = { years = 5 }
	override_effect_2d = {
		reference = fog
	}
	trigger = {
		has_trait = deviants_mask
		has_trait = deviants_demonanalslut
		gold >= minor_gold_value
		has_trait_xp = {
			trait = deviants_demonanalslut
			track = demonanalslutcorruption
			value >= 80
		}
		NOT = { 
			any_character_artifact = {
				has_artifact_modifier = deviants_demon_master_dildo_modifier
			}
		}
		NOT = { has_character_flag = had_demon_master_dildo }
		NOT = { 
			any_character_artifact = {
				has_artifact_modifier = deviants_demon_mistress_dildo_modifier
			}
		}
		any_held_title = {
			tier = tier_county
			count >= 2
		}
		any_held_title = {
			tier = tier_duchy
			count >= 1
		}
		primary_spouse = {
			OR = {	is_female = no	has_trait = futanari_genetic }
			age >= 18
			is_ai = yes
			is_available_ai_adult = yes
			is_adult = yes
			is_incapable = no
			is_imprisoned = no
			OR = {
				has_trait = sadistic
				has_trait = ambitious
				has_trait = deceitful
				has_trait = greedy
				has_relation_rival = root 
				has_relation_nemesis = root
			}
			NOT = { has_trait = chaste }
			NOT = { has_trait = celibate }
			NOT = { has_trait = eunuch_1 }
			NOT = { has_trait = beardless_eunuch }
			NOT = { has_trait = blind }
			has_trait = deviant_dominant_spouse
			NOT = { has_trait = strong }
			has_trait_xp = {
				trait = deviant_dominant_spouse
				track = deviant_dominant_spouse_progress
				value = 100
			}
			domain_size = 0
		}
	}
	immediate = {
		primary_spouse = {
			save_scope_as = dominant_spouse
		}	
	}
	# open up
	option = {
		name = deviants_dreamsgo.3300.a
		custom_tooltip = deviants_dreamsgo.3300.a.tt
		trigger_event =	deviants_dreamsgo.3301
		hidden_effect = {
			scope:dominant_spouse = {
				add_trait_xp = {
					trait = deviant_dominant_spouse
					track = deviant_dominant_spouse_progress
					value = { 10 20 }
				}
			}
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonanalslutcorruption
				value = { 1 2 }
			}
		}
	}	
	# just endure
	option = {
		name = deviants_dreamsgo.3300.b
		custom_tooltip = deviants_dreamsgo.3300.b.tt	
		stress_impact = {
			base = massive_stress_impact_gain
		}
		scope:dominant_spouse = {
			add_opinion = {
				target = root
				modifier = overreaction_opinion
				opinion = { -30 -5}
			}
		}
	}	
}

#3301 if let him, wake up to being fucked by a demon, telling you to take him as your master to make your husband strong...
deviants_dreamsgo.3301 = { 
	type = character_event
	title = deviants_dreamsgo.3301.t
    desc = {
		desc = deviants_dreamsgo.3301.a.desc
		desc = deviants_dreamsgo.3301.voice.desc
	}
	theme = deviantsmaskgo 
	override_background = {
		reference = deviantvagdemoncockfuckcum
	}
	override_effect_2d = {
		reference = legend_glow
	}
	immediate = {
		stress_impact = {
			base = medium_stress_impact_loss
			lustful = minor_stress_impact_loss
		}
	}
	# accept
	option = {
		name = deviants_dreamsgo.3301.a
		custom_tooltip = deviants_dreamsgo.3301.a.tt
		trigger_event =	deviants_dreamsgo.3302
		reverse_add_opinion = {
			target = scope:dominant_spouse
			modifier = respect_opinion
			opinion = 100
		}
		scope:dominant_spouse = {
			if = {
				limit = { has_trait = weak }
				remove_trait = weak
			}
			if = {
				limit = { has_trait = physique_bad_1 }
				remove_trait = physique_bad_1
			}
			if = {
				limit = { has_trait = physique_bad_2 }
				remove_trait = physique_bad_2
			}
			if = {
				limit = { has_trait = physique_bad_3 }
				remove_trait = physique_bad_3
			}
			add_trait = strong
		}
	}	
	# refuse
	option = {
		name = deviants_dreamsgo.3301.b
		custom_tooltip = deviants_dreamsgo.3301.b.tt	
		stress_impact = {
			base = massive_stress_impact_gain
		}
		scope:dominant_spouse = {
			add_opinion = {
				target = root
				modifier = angry_opinion
				opinion = { -50 -30}
			}
		}
	}	
}
#3302 wake up to husband being strong but and slapping you with the dildo
deviants_dreamsgo.3302 = { 
	type = character_event
	title = deviants_dreamsgo.3302.t
    desc = deviants_dreamsgo.3302.a.desc
	theme = deviantsmaskgo 
	override_background = {
		reference = bedchamber
	}
	right_portrait = {
		character = root
		animation = throne_room_kneel_1
        outfit_tags = { no_clothes }
	}
	left_portrait = {
		character = scope:dominant_spouse
		animation = scheme
	}
	immediate = {
		hidden_effect = {
			add_character_flag = had_demon_master_dildo
			create_artifact = {
				name = deviantmasterdildo
				description = deviantmasterdildo_desc
				type = miscellaneous
				modifier = deviants_demon_master_dildo_modifier
				visuals = deviants_master_dildo
				template = deviant_master_dildo_template
				history = {
					type = created_before_history
					date = 670.1.1 #To order entries correctly
				}
				max_durability = 100
				wealth = 15
				quality = 15
				save_scope_as = deviants_demon_master_dildo
			}
			add_intrigue_skill = -20
			add_learning_skill = -20
			add_stewardship_skill = -20
			add_martial_skill = -20
			add_diplomacy_skill = -20
		}
		random_held_title = {
			limit = {
				tier = tier_duchy
			}
			save_scope_as = granted_duchy
		}
		random_held_title = {
			limit = {
				tier = tier_county
			}
			save_scope_as = granted_title
		}
	}
	# I will sign
	option = {
		name = deviants_dreamsgo.3302.a
		custom_tooltip = deviants_dreamsgo.3302.a.tt
		pay_short_term_gold = {
			target = scope:dominant_spouse
			gold = massive_gold_value
		}
		create_title_and_courtier_change = {
			type = granted
			save_scope_as = change
		}
		scope:granted_title = {
			change_title_holder = {
				holder = scope:dominant_spouse
				change = scope:change
			}
		}
		scope:granted_duchy = {
			change_title_holder = {
				holder = scope:dominant_spouse
				change = scope:change
			}
		}
		resolve_title_and_courtier_change = scope:change
		hidden_effect = {
			scope:dominant_spouse = {
				add_trait_xp = {
					trait = deviant_dominant_spouse
					track = deviant_dominant_spouse_progress
					value = { 10 20 }
				}
			}
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonanalslutcorruption
				value = { 1 2 }
			}
		}
	}		
	# I refuse
	option = {
		name = deviants_dreamsgo.3302.b
		custom_tooltip = deviants_dreamsgo.3302.b.tt
		destroy_artifact = scope:deviants_demon_master_dildo
		hidden_effect = {
			scope:dominant_spouse = {
				add_intrigue_skill = 10
				add_learning_skill = 10
				add_stewardship_skill = 10
				add_martial_skill = 10
				add_diplomacy_skill = 10
			}
		}
	}	
}

#3310 full nelsoning loop, if strong and dominant
deviants_dreamsgo.3310 = { 
	type = character_event
	title = deviants_dreamsgo.3310.t
    desc = {
		desc = deviants_dreamsgo.3310.a.desc
		desc = deviants_dreamsgo.3310.chanting.desc
	}
	theme = deviantsmaskgo 
	override_background = {
		trigger = { 
            exists = scope:background_one
        }
		reference = deviant_fullnelson_fuck_one
	}
    override_background = {
		trigger = { 
            exists = scope:background_two
        }
		reference = deviant_fullnelson_fuck_two
	}
	override_background = {
		trigger = { 
            exists = scope:background_three
        }
		reference = deviant_fullnelson_fuck_three
	}
	override_effect_2d = {
		reference = fog
	}
	trigger = {
		has_trait = deviants_mask
		has_trait = deviants_demonanalslut
		gold >= minor_gold_value
		primary_spouse = {
			OR = {	is_female = no	has_trait = futanari_genetic }
			NOT = { has_trait = chaste }
			NOT = { has_trait = celibate }
			NOT = { has_trait = eunuch_1 }
			NOT = { has_trait = beardless_eunuch }
			NOT = { has_trait = blind }
			age >= 18
			is_ai = yes
			is_available_ai_adult = yes
			is_adult = yes
			is_incapable = no
			is_imprisoned = no
			has_trait = deviant_dominant_spouse
			has_trait = strong
			has_trait_xp = {
				trait = deviant_dominant_spouse
				track = deviant_dominant_spouse_progress
				value >= 30
			}
		}
	}
	immediate = {
		primary_spouse = {
			save_scope_as = dominant_spouse
		}	
		scope:dominant_spouse = {
			hidden_effect = {
				add_trait_xp = {
					trait = deviant_dominant_spouse
					track = deviant_dominant_spouse_progress
					value = { 0 3 }
				}
				remove_short_term_gold = minor_gold_value
			}
		}
		random_list = {
			25 = {
				ROOT = {
					save_scope_as = background_one
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_two
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_three
				}
			}
		}
	}
	# 
	option = {
		name = deviants_dreamsgo.3310.a
		custom_tooltip = deviants_dreamsgo.3310.a.tt
		had_sex_with_effect = {
			CHARACTER = scope:dominant_spouse
			PREGNANCY_CHANCE = pregnancy_chance
		}
		had_sex_with_effect = {
			CHARACTER = scope:dominant_spouse
			PREGNANCY_CHANCE = pregnancy_chance
		}
		had_sex_with_effect = {
			CHARACTER = scope:dominant_spouse
			PREGNANCY_CHANCE = pregnancy_chance
		}
		had_sex_with_effect = {
			CHARACTER = scope:dominant_spouse
			PREGNANCY_CHANCE = pregnancy_chance
		}
		had_sex_with_effect = {
			CHARACTER = scope:dominant_spouse
			PREGNANCY_CHANCE = pregnancy_chance
		}
		scope:dominant_spouse = {
			stress_impact = {
				base = medium_stress_impact_loss
				lustful = minor_stress_impact_loss
				sadistic = minor_stress_impact_loss
			}
		}
		custom_tooltip = deviants_dreamsgo.3320.aa.tt
		pay_short_term_gold = {
			target = scope:dominant_spouse
			gold = { 1 minor_gold_value }
		}
		hidden_effect = {
			scope:dominant_spouse = {
				add_trait_xp = {
					trait = deviant_dominant_spouse
					track = deviant_dominant_spouse_progress
					value = { 4 10 }
				}
			}
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonanalslutcorruption
				value = { 1 2 }
			}
		}
	}		
}


#3320mating press vaginal fucking, dominant enough, use same vaginal slut shaming as full nelson
deviants_dreamsgo.3320 = { 
	type = character_event
	title = deviants_dreamsgo.3320.t
    desc = {
		desc = deviants_dreamsgo.3320.a.desc
		desc = deviants_dreamsgo.3320.chanting.desc
	}
	theme = deviantsmaskgo 
	override_background = {
		trigger = { 
            exists = scope:background_one
        }
		reference = deviant_matingpress_fuck_one
	}
    override_background = {
		trigger = { 
            exists = scope:background_two
        }
		reference = deviant_matingpress_fuck_two
	}
	override_background = {
		trigger = { 
            exists = scope:background_three
        }
		reference = deviant_matingpress_cum_one
	}
	override_effect_2d = {
		reference = fog
	}
	trigger = {
		has_trait = deviants_mask
		has_trait = deviants_demonanalslut
		gold >= minor_gold_value
		primary_spouse = {
			OR = {	is_female = no	has_trait = futanari_genetic }
			NOT = { has_trait = chaste }
			NOT = { has_trait = celibate }
			NOT = { has_trait = eunuch_1 }
			NOT = { has_trait = beardless_eunuch }
			NOT = { has_trait = blind }
			age >= 18
			is_ai = yes
			is_available_ai_adult = yes
			is_adult = yes
			is_incapable = no
			is_imprisoned = no
			has_trait = deviant_dominant_spouse
			has_trait_xp = {
				trait = deviant_dominant_spouse
				track = deviant_dominant_spouse_progress
				value >= 30
			}
		}
	}
	immediate = {
		primary_spouse = {
			save_scope_as = dominant_spouse
		}	
		scope:dominant_spouse = {
			hidden_effect = {
				add_trait_xp = {
					trait = deviant_dominant_spouse
					track = deviant_dominant_spouse_progress
					value = { 0 3 }
				}
				remove_short_term_gold = minor_gold_value
			}
		}
		random_list = {
			25 = {
				ROOT = {
					save_scope_as = background_one
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_two
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_three
				}
			}
		}
	}
	# 
	option = {
		name = deviants_dreamsgo.3320.a
		custom_tooltip = deviants_dreamsgo.3320.a.tt
		had_sex_with_effect = {
			CHARACTER = scope:dominant_spouse
			PREGNANCY_CHANCE = pregnancy_chance
		}
		scope:dominant_spouse = {
			stress_impact = {
				base = medium_stress_impact_loss
				lustful = minor_stress_impact_loss
				sadistic = minor_stress_impact_loss
			}
		}
		custom_tooltip = deviants_dreamsgo.3320.aa.tt
		pay_short_term_gold = {
			target = scope:dominant_spouse
			gold = { 1 minor_gold_value }
		}
		hidden_effect = {
			scope:dominant_spouse = {
				add_trait_xp = {
					trait = deviant_dominant_spouse
					track = deviant_dominant_spouse_progress
					value = { 4 10 }
				}
			}
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonanalslutcorruption
				value = { 1 2 }
			}
		}
	}		
}

#generic, dildo is missing after you wake up... enough to just have the dildo...
#if ransom note
#if your husband shows up and makes you kneel

#IF not wearing the dildo, and dominant husband, he holding the dildo, telling you kneel and you obey, berates you, telling you that you are just his whore now... tells you give him gold and you do
#if wearing it, dominant husband with + 50 prog on track steals it to slap your face it it while fucking you, telling you to buy it back...
#100 prog, he uses the dildo to demand regent

#he rented the dildo to some fat merchant... you two will be locked into a room for the night

#he asking 1000g while strangle fucking you to buy a gift, a throne fitting to you, if you have above 1000g

#while demon dream he fucking you, he asking you to corrupt your husband to be his vessel... if you have the master dildo and he does not have the dominant trait

#4000 basic succubus rent loop event
deviants_dreamsgo.4000 = { 
	type = character_event
	title = deviants_dreamsgo.4000.t
    desc = { 
		random_valid = {
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.4000.a.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.4000.b.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.4000.c.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.4000.d.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.4000.e.desc
			}
		}
	}
	theme = deviantsmaskgo 
	override_background = { reference = deviant_futa_succubus_matingpress }
	override_effect_2d = {
		reference = fog
	}
	trigger = {
		has_trait = deviants_demonanalslut
		has_trait = deviants_mask
		any_character_artifact = {
			has_artifact_modifier = deviants_demon_mistress_dildo_modifier
		}
		gold >= 100
	}
	# I will pay
	option = {
		name = deviants_dreamsgo.4000.a
		custom_tooltip = deviants_dreamsgo.4000.a.tt
		remove_short_term_gold = 100

	}	
	# I will let you feed on me
	option = {
		name = deviants_dreamsgo.4000.b
		custom_tooltip = deviants_dreamsgo.4000.b.tt
		random_list = {
			25 = {
				add_intrigue_skill = { -1 -5 }
			}
			25 = {
				add_learning_skill = { -1 -5 }
			}
			25 = {
				add_stewardship_skill = { -1 -5 }
			}
			25 = {
				add_martial_skill = { -1 -5 }
			}
			25 = {
				add_diplomacy_skill = { -1 -5 }
			}
			50 = {
			}
		}	
	}	
	# let's have fun
	option = {
		name = deviants_dreamsgo.4000.c
		custom_tooltip = deviants_dreamsgo.4000.c.tt	
		hidden_effect = {
			random_list = {
				25 = {
					trigger_event = deviants_dreamsgo.4010
				}
				25 = {
					trigger_event = deviants_dreamsgo.4020
				}
				25 = {
					trigger_event = deviants_dreamsgo.4030
				}
			}	
		}	
	}	
}

#4010 street beggar sucking cocks gangbang
deviants_dreamsgo.4010 = { 
	type = character_event
	title = deviants_dreamsgo.4010.t
    desc = deviants_dreamsgo.4010.a.desc
	theme = deviantsmaskgo 
	override_background = { 
		trigger = {
			exists = scope:background_one
		}
		reference = deviant_blowbang_cumface_one
	}
	override_background = { 
		trigger = {
			exists = scope:background_two
		}
		reference = deviant_blowbang_cumface_two
	}
	override_background = { 
		trigger = {
			exists = scope:background_three
		}
		reference = deviant_blowbang_cumface_three
	}
	immediate = {
		if = {
			limit = { NOT = { has_trait = deviant } }
			add_trait = deviant
		}
		if = {
			limit = { NOT = { has_trait = lovers_pox } }
			add_trait = lovers_pox
		}
		add_prestige = { minor_prestige_loss major_prestige_loss }
		add_piety = { minor_piety_loss major_piety_loss }
		add_character_modifier = {
			modifier = deviant_disgustingdeviant_modifier
			days = { 100 600 }
		}
		random_list = {
			25 = {
				ROOT = {
					save_scope_as = background_one
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_two
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_three
				}
			}
		}
	}
	# 
	option = {
		name = deviants_dreamsgo.4010.a
		custom_tooltip = deviants_dreamsgo.4010.a.tt

	}	
	# 
	option = {
		name = deviants_dreamsgo.4010.b
		custom_tooltip = deviants_dreamsgo.4010.b.tt
		stress_impact = {
			base = minor_stress_impact_loss
			lustful = medium_stress_impact_loss
		}
	}	
}

#prisoner gangbang
deviants_dreamsgo.4020 = { 
	type = character_event
	title = deviants_dreamsgo.4020.t
    desc = { 
		random_valid = {
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.4020.a.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.4020.b.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.4020.c.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.4020.d.desc
			}
		}
	}
	theme = deviantsmaskgo 
	override_background = { 
		trigger = {
			exists = scope:background_one
		}
		reference = deviantcourtesanbukkake
	}
	override_background = { 
		trigger = {
			exists = scope:background_two
		}
		reference = deviant_human_gangbang_fuck_one
	}
	override_background = { 
		trigger = {
			exists = scope:background_three
		}
		reference = deviant_human_gangbang_fuck_two
	}
	immediate = {
		random_list = {
			25 = {
				ROOT = {
					save_scope_as = background_one
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_two
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_three
				}
			}
		}
		if = {
			limit = { NOT = { has_trait = deviant } }
			add_trait = deviant
		}
		add_prestige = { minor_prestige_loss major_prestige_loss }
		add_piety = { minor_piety_loss major_piety_loss }
		add_character_modifier = {
			modifier = deviant_disgustingdeviant_modifier
			days = { 100 600 }
		}
	}
	# 
	option = {
		name = deviants_dreamsgo.4020.a
		custom_tooltip = deviants_dreamsgo.4020.a.tt

	}	
	# 
	option = {
		name = deviants_dreamsgo.4020.b
		custom_tooltip = deviants_dreamsgo.4020.b.tt
		stress_impact = {
			base = minor_stress_impact_loss
			lustful = medium_stress_impact_loss
		}
	}	
}

deviants_dreamsgo.4030 = { 
	type = character_event
	title = deviants_dreamsgo.4030.t
    desc = { 
		random_valid = {
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.4030.a.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.4030.b.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.4030.c.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.4030.d.desc
			}
		}
	}
	theme = deviantsmaskgo 
	override_background = { reference = dungeon }
	right_portrait = {
		character = root
		animation = prisondungeon
        outfit_tags = { no_clothes }
	}
	immediate = {
		if = {
			limit = { NOT = { has_trait = deviant } }
			add_trait = deviant
		}
		add_prestige = { minor_prestige_loss major_prestige_loss }
		add_piety = { minor_piety_loss major_piety_loss }
		add_character_modifier = {
			modifier = deviant_disgustingdeviant_modifier
			days = { 100 600 }
		}
	}
	# 
	option = {
		name = deviants_dreamsgo.4030.a
		custom_tooltip = deviants_dreamsgo.4030.a.tt

	}	
	# 
	option = {
		name = deviants_dreamsgo.4030.b
		custom_tooltip = deviants_dreamsgo.4030.b.tt
		stress_impact = {
			base = minor_stress_impact_loss
			lustful = medium_stress_impact_loss
		}
	}	
}

#if has both?


#clit suck swell dream
deviants_dreamsgo.4100 = { 
	type = character_event
	title = deviants_dreamsgo.4100.t
	desc = deviants_dreamsgo.4100.a.desc
	theme = deviantsmaskgo
	override_background = { reference = deviant_big_clit_one }
	override_effect_2d = {
		reference = fog
	}
	trigger = {
		has_trait = deviants_mask
		is_ruler = yes
		is_female = yes
		age >= 18
		has_trait = deviants_demonanalslut
		has_trait_xp = {
			trait = deviants_demonanalslut
			track = demonsubmissionslut
			value < 100
		}
		NOT = { 
			any_character_artifact = {
				has_artifact_modifier = deviants_demon_master_dildo_modifier
			}
		}
	}
	# attempt to comprehend
	option = {
		name = deviants_dreamsgo.4100.a
		custom_tooltip = deviants_dreamsgo.4100.a.tt
		duel = {
			skills = { intrigue learning }
			value = high_skill_rating
			# Success: win
			50 = {
				compare_modifier = {
					value = scope:duel_value
						multiplier = 3.5
						min = -49
				}
				custom_tooltip = {
					text = deviants_dreamsgo.4100.bwin.tt
				}
				random_list = {
					50 = {
					}
					5 = {
						custom_tooltip = deviants_dreamsgo.4100.ancientwisdom.tt
						add_learning_skill = 1
					}
				}
				hidden_effect = {
					add_trait_xp = {
						trait = deviants_demonanalslut
						track = demonsubmissionslut
						value = { 1 10 }
					}
					add_trait_xp = {
						trait = deviants_demonanalslut
						track = demonanalslutcorruption
						value = { 0 1 }
					}
				}
			}
			# Failure, lose
			50 = {
				compare_modifier = {
					value = scope:duel_value
						multiplier = -3.5
						min = -49
				}	
				custom_tooltip = {
					text = deviants_dreamsgo.4100.blose.tt
				}	
				stress_impact = {
					base = major_stress_impact_gain
				}	
				random_list = {
					50 = {
					}
					5 = {
						custom_tooltip = deviants_dreamsgo.4100.ancientwisdomlost.tt
						add_learning_skill = -1
					}
				}
				hidden_effect = {
					add_trait_xp = {
						trait = deviants_demonanalslut
						track = demonanalslutcorruption
						value = { 1 2 }
					}
					add_character_modifier = {
						modifier = deviant_mind_drained_modifier
						days = 60
					}
				}
			}
		}
	}	
	# Let it go, Just a dream, 
	option = {
		name = deviants_dreamsgo.4100.b
		custom_tooltip = deviants_dreamsgo.4100.b.tt
		random_list = {
			40 = {
				custom_tooltip = deviants_dreamsgo.4100.pleasure.tt
				stress_impact = {
					base = medium_stress_impact_loss
					lustful = medium_stress_impact_loss
				}	
				hidden_effect = {
					add_trait_xp = {
						trait = deviants_demonanalslut
						track = demonsubmissionslut
						value = { 0 2 }
					}
					add_trait_xp = {
						trait = deviants_demonanalslut
						track = demonanalslutcorruption
						value = { 1 3 }
					}
				}	
			}
			20 = {
				custom_tooltip = deviants_dreamsgo.4100.toomuch.tt
				stress_impact = {
					base = major_stress_impact_gain
				}	
				hidden_effect = {
					add_trait_xp = {
						trait = deviants_demonanalslut
						track = demonanalslutcorruption
						value = { 1 3 }
					}
					add_character_modifier = {
						modifier = deviant_mind_drained_modifier
						days = 30
					}
				}
			}
		}
	}			
}

deviants_dreamsgo.4110 = { 
	type = character_event
	title = deviants_dreamsgo.4110.t
	desc = deviants_dreamsgo.4110.a.desc
	theme = deviantsmaskgo
	override_background = { reference = deviantbasicdildotwo }
	override_effect_2d = {
		reference = fog
	}
	trigger = {
		has_trait = deviants_mask
		is_ruler = yes
		is_female = yes
		age >= 18
		has_trait = deviants_demonanalslut
		has_trait = deviants_strange_dildo
		has_trait_xp = {
			trait = deviants_demonanalslut
			track = demonsubmissionslut
			value < 100
		}
		any_character_artifact = {
			has_artifact_modifier = deviants_strangedildo_modifier
		}
		NOT = { 
			any_character_artifact = {
				has_artifact_modifier = deviants_demon_master_dildo_modifier
			}
		}
	}
	# attempt to comprehend
	option = {
		name = deviants_dreamsgo.4110.a
		custom_tooltip = deviants_dreamsgo.4110.a.tt
		duel = {
			skills = { intrigue learning }
			value = high_skill_rating
			# Success: win
			50 = {
				compare_modifier = {
					value = scope:duel_value
						multiplier = 3.5
						min = -49
				}
				custom_tooltip = {
					text = deviants_dreamsgo.4110.bwin.tt
				}
				random_list = {
					50 = {
					}
					5 = {
						custom_tooltip = deviants_dreamsgo.4110.ancientwisdom.tt
						add_learning_skill = 1
					}
				}
				hidden_effect = {
					add_trait_xp = {
						trait = deviants_demonanalslut
						track = demonsubmissionslut
						value = { 1 10 }
					}
					add_trait_xp = {
						trait = deviants_demonanalslut
						track = demonanalslutcorruption
						value = { 0 1 }
					}
				}
			}
			# Failure, lose
			50 = {
				compare_modifier = {
					value = scope:duel_value
						multiplier = -3.5
						min = -49
				}	
				custom_tooltip = {
					text = deviants_dreamsgo.4110.blose.tt
				}	
				stress_impact = {
					base = major_stress_impact_gain
				}	
				random_list = {
					50 = {
					}
					5 = {
						custom_tooltip = deviants_dreamsgo.4110.ancientwisdomlost.tt
						add_learning_skill = -1
					}
				}
				hidden_effect = {
					add_trait_xp = {
						trait = deviants_demonanalslut
						track = demonanalslutcorruption
						value = { 1 2 }
					}
					add_character_modifier = {
						modifier = deviant_mind_drained_modifier
						days = 60
					}
					add_trait_xp = {
						trait = deviants_strange_dildo
						track = strange_dildo_addiction
						value = 10
					}
				}
			}
		}
	}	
	# Let it go, Just a dream, 
	option = {
		name = deviants_dreamsgo.4110.b
		custom_tooltip = deviants_dreamsgo.4110.b.tt
		random_list = {
			40 = {
				custom_tooltip = deviants_dreamsgo.4110.pleasure.tt
				stress_impact = {
					base = medium_stress_impact_loss
					lustful = medium_stress_impact_loss
				}	
				hidden_effect = {
					add_trait_xp = {
						trait = deviants_demonanalslut
						track = demonsubmissionslut
						value = { 0 2 }
					}
					add_trait_xp = {
						trait = deviants_demonanalslut
						track = demonanalslutcorruption
						value = { 1 3 }
					}
					add_trait_xp = {
						trait = deviants_strange_dildo
						track = strange_dildo_addiction
						value = 10
					}
				}	
			}
			20 = {
				custom_tooltip = deviants_dreamsgo.4110.toomuch.tt
				stress_impact = {
					base = major_stress_impact_gain
				}	
				hidden_effect = {
					add_trait_xp = {
						trait = deviants_demonanalslut
						track = demonanalslutcorruption
						value = { 1 3 }
					}
					add_character_modifier = {
						modifier = deviant_mind_drained_modifier
						days = 30
					}
					add_trait_xp = {
						trait = deviants_strange_dildo
						track = strange_dildo_addiction
						value = 10
					}
				}
			}
		}
	}			
}

#5000 crown of wisdom
deviants_dreamsgo.5000 = { 
	type = character_event
	title = deviants_dreamsgo.5000.t
    desc = deviants_dreamsgo.5000.a.desc
	theme = deviantsmaskgo
	override_background = { reference = throne_room }
	right_portrait = {
		character = root
		animation = thinking
	}
    trigger = {
		is_ruler = yes
		is_female = yes
		age >= 18
		has_trait = deviants_mask
		has_trait = deviants_demonanalslut
		NOT = { 
			any_character_artifact = {
				has_artifact_modifier = deviants_demon_master_dildo_modifier
			}
		}
		NOT = { 
			any_character_artifact = {
				has_artifact_modifier = deviants_demon_mistress_dildo_modifier
			}
		}
		NOT = { 
			any_character_artifact = {
				has_artifact_modifier = deviants_demon_crown_of_wisdom_modifier
			}
		}
		NOT = { has_character_flag = deviant_demon_imp_sex_slave }
    }
	# buy the crown
	option = {
		name = deviants_dreamsgo.5000.a
		custom_tooltip = deviants_dreamsgo.5000.a.tt
		remove_short_term_gold = 200	
		create_artifact = {
			name = deviantscrownofwisdom
			description = deviantscrownofwisdom_desc
			type = helmet_simple
			modifier = deviants_demon_crown_of_wisdom_modifier
			visuals = deviants_crown_ofwisdom
			template = deviant_crown_ofwisdom_template
			max_durability = 100
			history = {
				type = created_before_history
				date = 670.1.1 #To order entries correctly
			}
			wealth = 15
			quality = 15
		}
	}
    # not intersted, that thing looks creepy
	option = {
		name = deviants_dreamsgo.5000.b
		custom_tooltip = deviants_dreamsgo.5000.b.tt	
	}	
}

#looping drain torture, if lose, lose -1 intrigue
deviants_dreamsgo.5001 = { 
	type = character_event
	title = deviants_dreamsgo.5001.t
    desc = deviants_dreamsgo.5001.a.desc
	theme = deviantsmaskgo
	override_background = { 
		trigger = {
			exists = scope:background_one
		}
		reference = deviant_mind_break_darkslime_one
	}
	override_background = { 
		trigger = {
			exists = scope:background_two
		}
		reference = deviant_mind_break_darkslime_two
	}
	override_background = { 
		trigger = {
			exists = scope:background_three
		}
		reference = deviant_mind_break_darkslime_three
	}
	override_background = { 
		trigger = {
			exists = scope:background_four
		}
		reference = deviant_mind_break_darkslime_four
	}
	override_background = { 
		trigger = {
			exists = scope:background_five
		}
		reference = deviant_mind_break_darkslime_five
	}
	override_effect_2d = {
		reference = fog
	}
	trigger = {
		is_ruler = yes
		is_female = yes
		age >= 18
		has_trait = deviants_mask
		has_trait = deviants_demonanalslut
		intrigue >= 10
		NOT = { 
			any_character_artifact = {
				has_artifact_modifier = deviants_demon_master_dildo_modifier
			}
		}
		NOT = { 
			any_character_artifact = {
				has_artifact_modifier = deviants_demon_mistress_dildo_modifier
			}
		}
		any_character_artifact = {
			has_artifact_modifier = deviants_demon_crown_of_wisdom_modifier
		}
		NOT = { has_character_flag = deviant_demon_imp_sex_slave }
    }
	immediate = {
		random_list = {
			25 = {
				ROOT = {
					save_scope_as = background_one
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_two
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_three
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_four
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_five
				}
			}
		}
	}
	# 
	option = {
		name = deviants_dreamsgo.5001.a
		custom_tooltip = deviants_dreamsgo.5001.a.tt
		duel = {
			skills = { intrigue learning }
			value = 10
			# if win
			50 = {
				compare_modifier = {
					value = scope:duel_value
						multiplier = 3.5
						min = -49
				}
				custom_tooltip = {
					text = deviants_dreamsgo.5001.aw.tt
				}	
				stress_impact = {
					base = medium_stress_impact_gain
				}
			}
			# if lose
			50 = {
				compare_modifier = {
					value = scope:duel_value
						multiplier = -3.5
						min = -49
				}	
				custom_tooltip = {
					text = deviants_dreamsgo.5001.al.tt
				}	
				stress_impact = {
					base = minor_stress_impact_loss
					ambitious = medium_stress_impact_gain
				}
				add_intrigue_skill = -1
				add_character_modifier = {
					modifier = deviant_mind_drained_modifier
					days = 30
				}
				hidden_effect = {
					add_trait_xp = {
						trait = deviants_demonanalslut
						track = demonanalslutcorruption
						value = { 1 2 }
					}
				}	
			}
		}
	}	
}

deviants_dreamsgo.5010 = { 
	type = character_event
	title = deviants_dreamsgo.5010.t
    desc = deviants_dreamsgo.5010.a.desc
	theme = deviantsmaskgo
	override_background = { reference = deviant_mindbreak_hell }
	override_effect_2d = {
		reference = fog
	}
	trigger = {
		is_ruler = yes
		is_female = yes
		age >= 18
		has_trait = deviants_mask
		has_trait = deviants_demonanalslut
		intrigue <= 10
		NOT = { 
			any_character_artifact = {
				has_artifact_modifier = deviants_demon_master_dildo_modifier
			}
		}
		NOT = { 
			any_character_artifact = {
				has_artifact_modifier = deviants_demon_mistress_dildo_modifier
			}
		}
		any_character_artifact = {
			has_artifact_modifier = deviants_demon_crown_of_wisdom_modifier
		}
		NOT = { has_character_flag = deviant_demon_imp_sex_slave }
    }
	# 
	option = {
		name = deviants_dreamsgo.5010.a
		custom_tooltip = deviants_dreamsgo.5010.a.tt
		duel = {
			skills = { intrigue learning }
			value = 10
			# if win
			50 = {
				compare_modifier = {
					value = scope:duel_value
						multiplier = 3.5
						min = -49
				}
				custom_tooltip = {
					text = deviants_dreamsgo.5010.aw.tt
				}	
				stress_impact = {
					base = major_stress_impact_gain
				}
			}
			# if lose
			50 = {
				compare_modifier = {
					value = scope:duel_value
						multiplier = -3.5
						min = -49
				}	
				custom_tooltip = {
					text = deviants_dreamsgo.5010.al.tt
				}	
				stress_impact = {
					base = minor_stress_impact_loss
					ambitious = medium_stress_impact_gain
				}
				trigger_event = deviants_dreamsgo.5011
				add_stewardship_skill = -2
				add_diplomacy_skill = -2
				add_intrigue_skill = -2
				add_martial_skill = -2
				add_learning_skill = -2
			}
		}
	}	
}

#5011 lose kneeling before cock, he telling you to keep wearing it and be his sex slave...
deviants_dreamsgo.5011 = { 
	type = character_event
	title = deviants_dreamsgo.5011.t
    desc = deviants_dreamsgo.5011.a.desc
	theme = deviantsmaskgo
	override_background = { reference = deviant_imp_demon_cock_kiss }
	override_effect_2d = {
		reference = fog
	}
	# 
	option = {
		name = deviants_dreamsgo.5011.a
		custom_tooltip = deviants_dreamsgo.5011.a.tt
		add_character_flag = deviant_demon_imp_sex_slave
	}	
}


#5020 he having you kiss his cock, making you submit. time to serve slave...
deviants_dreamsgo.5020 = { 
	type = character_event
	title = deviants_dreamsgo.5020.t
    desc = deviants_dreamsgo.5020.a.desc
	theme = deviantsmaskgo
	override_background = { reference = deviant_imp_demon_cock_kiss }
	override_effect_2d = {
		reference = fog
	}
	trigger = {
		is_ruler = yes
		is_female = yes
		age >= 18
		has_trait = deviants_mask
		has_trait = deviants_demonanalslut
		any_character_artifact = {
			has_artifact_modifier = deviants_demon_crown_of_wisdom_modifier
		}
		has_character_flag = deviant_demon_imp_sex_slave
    }
	# 
	option = {
		name = deviants_dreamsgo.5020.a
		custom_tooltip = deviants_dreamsgo.5020.a.tt
		hidden_effect = {
			random_list = {
				25 = {
					trigger_event = deviants_dreamsgo.5021
				}
				25 = {
					trigger_event = deviants_dreamsgo.5022
				}
				25 = {
					trigger_event = deviants_dreamsgo.5023
				}
				25 = {
					trigger_event = deviants_dreamsgo.5024
				}
				25 = {
					trigger_event = deviants_dreamsgo.5025
				}
				25 = {
					trigger_event = deviants_dreamsgo.5026
				}
				25 = {
					trigger_event = deviants_dreamsgo.5027
				}
				25 = {
					trigger_event = deviants_dreamsgo.5028
				}
			}
		}	
	}	
}
#5021 he decide anal ride
deviants_dreamsgo.5021 = { 
	type = character_event
	title = deviants_dreamsgo.5021.t
    desc = deviants_dreamsgo.5021.a.desc
	theme = deviantsmaskgo
	override_background = { reference = deviant_imp_anal_ride }
	override_effect_2d = {
		reference = fog
	}
	# 
	option = {
		name = deviants_dreamsgo.5021.a
		custom_tooltip = deviants_dreamsgo.5021.a.tt
		random_list = {
			25 = {
				add_stewardship_skill = 1
			}
			25 = {
				add_diplomacy_skill = 1
			}
			25 = {
				add_martial_skill = 1
			}
			25 = {
				add_learning_skill = 1
			}
			50 = {
				add_intrigue_skill = -1
			}
			50 = {
			}
		}
		hidden_effect = {
			add_prestige = { 0 minor_prestige_loss }
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonanalslutcorruption
				value = { 0 1 }
			}
		}	
	}	
}
#5022 mating press fuck
deviants_dreamsgo.5022 = { 
	type = character_event
	title = deviants_dreamsgo.5022.t
    desc = deviants_dreamsgo.5022.a.desc
	theme = deviantsmaskgo
	override_effect_2d = {
		reference = fog
	}
	override_background = { 
		trigger = {
			exists = scope:background_one
		}
		reference = deviant_imp_matingpress_one
	}
	override_background = { 
		trigger = {
			exists = scope:background_two
		}
		reference = deviant_imp_matingpress_two
	}
	immediate = {
		random_list = {
			25 = {
				ROOT = {
					save_scope_as = background_one
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_two
				}
			}
		}
	}
	# 
	option = {
		name = deviants_dreamsgo.5022.a
		custom_tooltip = deviants_dreamsgo.5022.a.tt
		random_list = {
			25 = {
				add_stewardship_skill = 1
			}
			25 = {
				add_diplomacy_skill = 1
			}
			25 = {
				add_martial_skill = 1
			}
			25 = {
				add_learning_skill = 1
			}
			50 = {
				add_intrigue_skill = -1
			}
			50 = {
			}
		}
		hidden_effect = {
			add_prestige = { 0 minor_prestige_loss }
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonanalslutcorruption
				value = { 0 1 }
			}
		}	
	}	
}
#5023 suck his cock, worship it
deviants_dreamsgo.5023 = { 
	type = character_event
	title = deviants_dreamsgo.5023.t
    desc = deviants_dreamsgo.5023.a.desc
	theme = deviantsmaskgo
	override_background = { reference = deviant_imp_oral }
	override_effect_2d = {
		reference = fog
	}
	# 
	option = {
		name = deviants_dreamsgo.5023.a
		custom_tooltip = deviants_dreamsgo.5023.a.tt
		random_list = {
			25 = {
				add_stewardship_skill = 1
			}
			25 = {
				add_diplomacy_skill = 1
			}
			25 = {
				add_martial_skill = 1
			}
			25 = {
				add_learning_skill = 1
			}
			50 = {
				add_intrigue_skill = -1
			}
			50 = {
			}
		}
		hidden_effect = {
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonanalslutcorruption
				value = { 0 1 }
			}
		}	
	}	
}
#5024 if make you shake ass to stimulate his tip
deviants_dreamsgo.5024 = { 
	type = character_event
	title = deviants_dreamsgo.5024.t
    desc = deviants_dreamsgo.5024.a.desc
	theme = deviantsmaskgo
	override_background = { reference = deviant_imp_anal_tip }
	override_effect_2d = {
		reference = fog
	}
	# 
	option = {
		name = deviants_dreamsgo.5024.a
		custom_tooltip = deviants_dreamsgo.5024.a.tt
		random_list = {
			25 = {
				add_stewardship_skill = 1
			}
			25 = {
				add_diplomacy_skill = 1
			}
			25 = {
				add_martial_skill = 1
			}
			25 = {
				add_learning_skill = 1
			}
			50 = {
				add_intrigue_skill = -1
			}
			50 = {
			}
		}
		hidden_effect = {
			add_prestige = { 0 minor_prestige_loss }
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonanalslutcorruption
				value = { 0 1 }
			}
		}	
	}	
}
#5025 if face fuck
deviants_dreamsgo.5025 = { 
	type = character_event
	title = deviants_dreamsgo.5025.t
    desc = deviants_dreamsgo.5025.a.desc
	theme = deviantsmaskgo
	override_background = { reference = deviant_imp_face_fuck_cum }
	override_effect_2d = {
		reference = fog
	}
	# 
	option = {
		name = deviants_dreamsgo.5025.a
		custom_tooltip = deviants_dreamsgo.5025.a.tt
		random_list = {
			25 = {
				add_stewardship_skill = 2
			}
			25 = {
				add_diplomacy_skill = 2
			}
			25 = {
				add_martial_skill = 2
			}
			25 = {
				add_learning_skill = 2
			}
			50 = {
				add_intrigue_skill = 2
			}
			50 = {
			}
		}
		hidden_effect = {
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonanalslutcorruption
				value = { 1 5 }
			}
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonsubmissionslut
				value = { 0 2 }
			}
		}	
	}	
}
#5026 if let silent freind watch vag fuck
deviants_dreamsgo.5026 = { 
	type = character_event
	title = deviants_dreamsgo.5026.t
    desc = deviants_dreamsgo.5026.a.desc
	theme = deviantsmaskgo
	override_background = { reference = deviant_imp_friend_watch }
	override_effect_2d = {
		reference = fog
	}
	# 
	option = {
		name = deviants_dreamsgo.5026.a
		custom_tooltip = deviants_dreamsgo.5026.a.tt
		random_list = {
			25 = {
				add_stewardship_skill = 1
			}
			25 = {
				add_diplomacy_skill = 1
			}
			25 = {
				add_martial_skill = 1
			}
			25 = {
				add_learning_skill = 1
			}
			50 = {
				add_intrigue_skill = -1
			}
			50 = {
			}
		}
		hidden_effect = {
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonanalslutcorruption
				value = { 0 1 }
			}
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonsubmissionslut
				value = { 0 5 }
			}
		}	
	}	
}
#5027 if kiss tip all over
deviants_dreamsgo.5027 = { 
	type = character_event
	title = deviants_dreamsgo.5027.t
    desc = deviants_dreamsgo.5027.a.desc
	theme = deviantsmaskgo
	override_background = { reference = deviant_imp_kiss_tip }
	override_effect_2d = {
		reference = fog
	}
	# 
	option = {
		name = deviants_dreamsgo.5027.a
		custom_tooltip = deviants_dreamsgo.5027.a.tt
		random_list = {
			25 = {
				add_stewardship_skill = 1
			}
			25 = {
				add_diplomacy_skill = 1
			}
			25 = {
				add_martial_skill = 1
			}
			25 = {
				add_learning_skill = 1
			}
			50 = {
				add_intrigue_skill = -1
			}
			50 = {
			}
		}
		hidden_effect = {
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonanalslutcorruption
				value = { 0 1 }
			}
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonsubmissionslut
				value = { 0 1 }
			}
		}	
	}	
}
#5028 if let friends grope, he bragging about his slave... no penetration...
deviants_dreamsgo.5028 = { 
	type = character_event
	title = deviants_dreamsgo.5028.t
    desc = deviants_dreamsgo.5028.a.desc
	theme = deviantsmaskgo
	override_background = { reference = deviant_imp_let_friends_touch }
	override_effect_2d = {
		reference = fog
	}
	# 
	option = {
		name = deviants_dreamsgo.5028.a
		custom_tooltip = deviants_dreamsgo.5028.a.tt
		random_list = {
			25 = {
				add_stewardship_skill = 1
			}
			25 = {
				add_diplomacy_skill = 1
			}
			25 = {
				add_martial_skill = 1
			}
			25 = {
				add_learning_skill = 1
			}
			50 = {
				add_intrigue_skill = -1
			}
			50 = {
			}
		}
		hidden_effect = {
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonanalslutcorruption
				value = { 0 1 }
			}
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonsubmissionslut
				value = { 0 1 }
			}
		}	
	}	
}

#5030 dream about perving with your body, he jumping around on all fours aroudn the room, talking like a dumb horny pig, slapping your ass, clearly having fun
deviants_dreamsgo.5030 = { 
	type = character_event
	title = deviants_dreamsgo.5030.t
    desc = deviants_dreamsgo.5030.a.desc
	theme = deviantsmaskgo
	override_background = { reference = deviant_assshake }
	override_effect_2d = {
		reference = fog
	}
	trigger = {
		is_ruler = yes
		is_female = yes
		age >= 18
		has_trait = deviants_mask
		has_trait = deviants_demonanalslut
		any_character_artifact = {
			has_artifact_modifier = deviants_demon_crown_of_wisdom_modifier
		}
		has_character_flag = deviant_demon_imp_sex_slave
    }
	immediate = {
		ROOT = {
			save_scope_as = simple
		}
	}
	# 
	option = {
		name = deviants_dreamsgo.5030.a
		custom_tooltip = deviants_dreamsgo.5030.a.tt
		stress_impact = {
			base = minor_stress_impact_gain
		}
		hidden_effect = {
			add_prestige = { 0 minor_prestige_loss }
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonanalslutcorruption
				value = { 0 1 }
			}
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonsubmissionslut
				value = { 0 1 }
			}
		}	
	}	
}


#endgame suck
deviants_dreamsgo.9000 = { 
	type = character_event
	title = deviants_dreamsgo.9000.t
    desc = { 
		random_valid = {
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.9000.a.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.9000.b.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.9000.c.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.9000.d.desc
			}
		}
	}
	theme = deviantsmaskgo 
	override_background = { 
		trigger = {
			exists = scope:background_one
		}
		reference = deviant_tentacle_fuck_void_one
	}
	override_background = { 
		trigger = {
			exists = scope:background_two
		}
		reference = deviant_tentacle_fuck_void_two
	}
	override_background = { 
		trigger = {
			exists = scope:background_three
		}
		reference = deviant_tentacle_fuck_void_three
	}
	cooldown = { years = 2 }
	trigger = {
		age > 110
		intrigue < 30
		NOT = { 
			any_character_artifact = {
				has_artifact_modifier = deviants_demon_master_dildo_modifier
			}
		}
		NOT = { 
			any_character_artifact = {
				has_artifact_modifier = deviants_demon_mistress_dildo_modifier
			}
		}
		NOT = { 
			any_character_artifact = {
				has_artifact_modifier = deviants_demon_crown_of_wisdom_modifier
			}
		}	
		has_trait = deviants_mask
		has_trait = deviants_demonanalslut
		has_trait_xp = {
			trait = deviants_demonanalslut
			track = demonsubmissionslut
			value >= 90
		}
		has_trait_xp = {
			trait = deviants_demonanalslut
			track = demonanalslutcorruption
			value >= 100
		}
	}
	immediate = {
		if = {
			limit = { NOT = { has_trait = lunatic_1 } }
			add_trait = lunatic_1
		}
		else_if  = {
			limit = { NOT = { has_trait = possessed_1 } }
			add_trait = possessed_1
		}
		else_if = {
			limit = { NOT = { has_trait = stuttering } }
			add_trait = stuttering
		}
		else_if = {
			limit = { NOT = { has_trait = albino } }
			add_trait = albino
		}
		else_if = {
			limit = { has_trait = albino  }
			add_intrigue_skill = { -1 -5 }
			add_learning_skill = { -1 -5 }
			add_stewardship_skill = { -1 -5 }
			add_martial_skill = { -1 -5 }
			add_diplomacy_skill = { -1 -5 }
		}
		random_list = {
			25 = {
				ROOT = {
					save_scope_as = background_one
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_two
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_three
				}
			}
		}
	}

	#  endure
	option = {
		name = deviants_dreamsgo.9000.a
		custom_tooltip = deviants_dreamsgo.9000.a.tt
	}	
}

deviants_dreamsgo.9010 = { 
	type = character_event
	title = deviants_dreamsgo.9010.t
    desc = { 
		random_valid = {
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.9010.a.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.9010.b.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.9010.c.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.9010.d.desc
			}
		}
	}
	cooldown = { years = 5 }
	theme = deviantsmaskgo 
	override_background = { 
		trigger = {
			exists = scope:background_one
		}
		reference = deviant_mind_break_darkslime_one
	}
	override_background = { 
		trigger = {
			exists = scope:background_two
		}
		reference = deviant_mind_break_darkslime_two
	}
	override_background = { 
		trigger = {
			exists = scope:background_three
		}
		reference = deviant_mind_break_darkslime_three
	}
	override_background = { 
		trigger = {
			exists = scope:background_four
		}
		reference = deviant_mind_break_darkslime_four
	}
	override_background = { 
		trigger = {
			exists = scope:background_five
		}
		reference = deviant_mind_break_darkslime_five
	}
	override_effect_2d = {
		reference = fog
	}
	widget = {
		gui = "event_window_widget_deviant_mindbreak_progress"
		container = "custom_widgets_container"
		controller = event_chain_progress
	}
	trigger = {
		NOT = { 
			any_character_artifact = {
				has_artifact_modifier = deviants_demon_master_dildo_modifier
			}
		}
		NOT = { 
			any_character_artifact = {
				has_artifact_modifier = deviants_demon_mistress_dildo_modifier
			}
		}
		NOT = { 
			any_character_artifact = {
				has_artifact_modifier = deviants_demon_crown_of_wisdom_modifier
			}
		}	
		has_trait = deviants_mask
		has_trait = deviants_demonanalslut
		has_trait_xp = {
			trait = deviants_demonanalslut
			track = demonanalslutcorruption
			value >= 50
		}
	}
	immediate = {
		save_scope_value_as = { # 4 events in this event chain
			name = event_chain_length
			value = 4
		}
		save_scope_value_as = { # 
			name = event_chain_progress
			value = 1
		}
		random_list = {
			25 = {
				ROOT = {
					save_scope_as = background_one
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_two
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_three
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_four
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_five
				}
			}
		}	
	}	
	# 
	option = {
		name = deviants_dreamsgo.9010.a
		custom_tooltip = deviants_dreamsgo.9010.a.tt
		duel = {
			skills = { intrigue learning }
			value = 10
			# if win
			40 = {
				compare_modifier = {
					value = scope:duel_value
						multiplier = 3.5
						min = -49
				}
				custom_tooltip = {
					text = deviants_dreamsgo.9010.aw.tt
				}	
				hidden_effect = { 
					add_trait_xp = {
						trait = deviants_demonanalslut
						track = demonsubmissionslut
						value = { 1 2 }
					}
				}
				stress_impact = {
					base = medium_stress_impact_gain
				}
			}
			# if lose
			60 = {
				compare_modifier = {
					value = scope:duel_value
						multiplier = -3.5
						min = -49
				}	
				custom_tooltip = {
					text = deviants_dreamsgo.9010.al.tt
				}	
				stress_impact = {
					base = medium_stress_impact_loss
				}
				trigger_event = deviants_dreamsgo.9011
				add_character_modifier = {
					modifier = deviant_mind_drained_modifier
					days = 10
				}	
				hidden_effect = { 
					add_trait_xp = {
						trait = deviants_demonanalslut
						track = demonanalslutcorruption
						value = { 1 2 }
					}
				}
			}
		}	
	}	
}
deviants_dreamsgo.9011 = { 
	type = character_event
	title = deviants_dreamsgo.9011.t
    desc = { 
		random_valid = {
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.9011.a.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.9011.b.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.9011.cc.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.9011.d.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.9011.e.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.9011.f.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.9011.g.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.9011.h.desc
			}
		}
	}
	theme = deviantsmaskgo 
	override_background = {
		trigger = { 
            exists = scope:background_one
        }
		reference = deviant_tortured_by_demons_one
	}
    override_background = {
		trigger = { 
            exists = scope:background_two
        }
		reference = deviant_tortured_by_demons_two
	}
    override_background = {
		trigger = { 
            exists = scope:background_three
        }
		reference = deviant_tortured_by_demons_three
	}
    override_background = {
		trigger = { 
            exists = scope:background_four
        }
		reference = deviant_tortured_by_demons_four
	}
    override_background = {
		trigger = { 
            exists = scope:background_five
        }
		reference = deviant_tortured_by_demons_five
	}
	override_effect_2d = {
		reference = fog
	}
	widget = {
		gui = "event_window_widget_deviant_mindbreak_progress"
		container = "custom_widgets_container"
		controller = event_chain_progress
	}
	immediate = {
		random_list = {
			25 = {
				ROOT = {
					save_scope_as = background_one
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_two
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_three
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_four
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_five
				}
			}
		}	
		save_scope_value_as = { # 
			name = event_chain_progress
			value = 2
		}
	}	
	# 
	option = {
		name = deviants_dreamsgo.9011.a
		custom_tooltip = deviants_dreamsgo.9011.a.tt
		duel = {
			skills = { intrigue learning }
			value = 10
			# if win
			40 = {
				compare_modifier = {
					value = scope:duel_value
						multiplier = 3.5
						min = -49
				}
				custom_tooltip = {
					text = deviants_dreamsgo.9011.aw.tt
				}	
				hidden_effect = { 
					add_trait_xp = {
						trait = deviants_demonanalslut
						track = demonsubmissionslut
						value = { 1 2 }
					}
				}
				stress_impact = {
					base = medium_stress_impact_gain
				}
			}
			# if lose
			60 = {
				compare_modifier = {
					value = scope:duel_value
						multiplier = -3.5
						min = -49
				}	
				custom_tooltip = {
					text = deviants_dreamsgo.9011.al.tt
				}	
				trigger_event = deviants_dreamsgo.9012
				add_character_modifier = {
					modifier = deviant_mind_drained_modifier
					days = 20
				}	
				stress_impact = {
					base = medium_stress_impact_loss
				}
				hidden_effect = { 
					add_trait_xp = {
						trait = deviants_demonanalslut
						track = demonanalslutcorruption
						value = { 1 2 }
					}
				}
			}
		}	
	}	
}

deviants_dreamsgo.9012 = { 
	type = character_event
	title = deviants_dreamsgo.9012.t
    desc = { 
		random_valid = {
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.9012.a.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.9012.b.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.9012.c.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.9012.d.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.9012.e.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.9012.f.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.9012.g.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.9012.h.desc
			}
		}
	}
	theme = deviantsmaskgo 
	override_background = {
		trigger = { 
            exists = scope:background_one
        }
		reference = deviantgo_demon_gangabng_one
	}
    override_background = {
		trigger = { 
            exists = scope:background_two
        }
		reference = deviantgo_demon_gangabng_two
	}
    override_background = {
		trigger = { 
            exists = scope:background_three
        }
		reference = deviantgo_demon_gangabng_three
	}
    override_background = {
		trigger = { 
            exists = scope:background_four
        }
		reference = deviantgo_demon_gangabng_four
	}
    override_background = {
		trigger = { 
            exists = scope:background_five
        }
		reference = deviantdemongangbangroughtwo
	}
	override_effect_2d = {
		reference = fog
	}
	widget = {
		gui = "event_window_widget_deviant_mindbreak_progress"
		container = "custom_widgets_container"
		controller = event_chain_progress
	}
	immediate = {
		save_scope_value_as = { # 
			name = event_chain_progress
			value = 3
		}
		random_list = {
			25 = {
				ROOT = {
					save_scope_as = background_one
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_two
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_three
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_four
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_five
				}
			}
		}	
	}	
	# 
	option = {
		name = deviants_dreamsgo.9012.a
		custom_tooltip = deviants_dreamsgo.9012.a.tt
		duel = {
			skills = { intrigue learning }
			value = 15
			# if win
			40 = {
				compare_modifier = {
					value = scope:duel_value
						multiplier = 3.5
						min = -49
				}
				custom_tooltip = {
					text = deviants_dreamsgo.9012.aw.tt
				}	
				hidden_effect = { 
					add_trait_xp = {
						trait = deviants_demonanalslut
						track = demonsubmissionslut
						value = { 1 2 }
					}
				}
				stress_impact = {
					base = medium_stress_impact_gain
				}
			}
			# if lose
			60 = {
				compare_modifier = {
					value = scope:duel_value
						multiplier = -3.5
						min = -49
				}	
				custom_tooltip = {
					text = deviants_dreamsgo.9012.al.tt
				}	
				trigger_event = deviants_dreamsgo.9013
				stress_impact = {
					base = medium_stress_impact_loss
				}
				add_character_modifier = {
					modifier = deviant_mind_drained_modifier
					days = 30
				}	
				hidden_effect = { 
					add_trait_xp = {
						trait = deviants_demonanalslut
						track = demonanalslutcorruption
						value = { 1 2 }
					}
				}
			}
		}	
	}	
}

deviants_dreamsgo.9013 = { 
	type = character_event
	title = deviants_dreamsgo.9013.t
    desc = { 
		random_valid = {
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.9013.a.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.9013.b.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.9013.c.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.9013.d.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.9013.e.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.9013.f.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.9013.g.desc
			}
			triggered_desc = {
				trigger = {
						is_female = yes
				}
			desc = deviants_dreamsgo.9013.h.desc
			}
		}
	}
	theme = deviantsmaskgo 
	override_background = {
		trigger = { 
            exists = scope:background_one
        }
		reference = deviant_riding_big_demoncock_one
	}
    override_background = {
		trigger = { 
            exists = scope:background_two
        }
		reference = deviant_riding_big_demoncock_two
	}
    override_background = {
		trigger = { 
            exists = scope:background_three
        }
		reference = deviant_riding_big_demoncock_three
	}
    override_background = {
		trigger = { 
            exists = scope:background_four
        }
		reference = deviant_riding_big_demoncock_four
	}
    override_background = {
		trigger = { 
            exists = scope:background_five
        }
		reference = deviant_riding_big_demoncock_five
	}
	override_effect_2d = {
		reference = fog
	}
	widget = {
		gui = "event_window_widget_deviant_mindbroken_progress"
		container = "custom_widgets_container"
		controller = event_chain_progress
	}
	immediate = {
		save_scope_value_as = { # 
			name = event_chain_progress
			value = 4
		}
		random_list = {
			25 = {
				ROOT = {
					save_scope_as = background_one
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_two
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_three
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_four
				}
			}
			25 = {
				ROOT = {
					save_scope_as = background_five
				}
			}
		}	
	}	
	# 
	option = {
		name = deviants_dreamsgo.9013.a
		custom_tooltip = deviants_dreamsgo.9013.a.tt
		hidden_effect = { 
			add_trait_xp = {
				trait = deviants_demonanalslut
				track = demonanalslutcorruption
				value = { 1 10 }
			}
		}
		add_character_modifier = {
			modifier = deviant_mind_drained_modifier
			days = 40
		}	
		random_list = {
			25 = {
				add_intrigue_skill = { -1 -3 }
				add_learning_skill = { -1 -3 }
				add_stewardship_skill = { -1 -2 }
				add_martial_skill = { -1 -2 }
				add_diplomacy_skill = { -1 -3 }

			}
			25 = {
				add_intrigue_skill = { 1 2 }
				add_learning_skill = { 1 2 }
				add_stewardship_skill = { -1 -2 }
				add_diplomacy_skill = { -1 -2 }
			}
			25 = {
				if = {
					limit = { NOT = { has_trait = albino } }
					add_trait = albino
				}
				add_diplomacy_skill = { 1 5 }
				hidden_effect = {
					add_trait_xp = {
						trait = deviants_demonanalslut
						track = demonsubmissionslut
						value = { 4 10 }
					}
				}	
			}
			25 = {
				if  = {
					limit = { NOT = { has_trait = possessed_1 } }
					add_trait = possessed_1
				}
				add_learning_skill = { 1 2 }
			}
			25 = {
				if = {
					limit = { NOT = { has_trait = lunatic_1 } }
					add_trait = lunatic_1
				}
				add_intrigue_skill = { 1 2 }
			}
			25 = {
				if = {
					limit = { NOT = { has_trait = stuttering } }
					add_trait = stuttering
				}
				add_diplomacy_skill = { -1 -2 }
			}
			25 = {
				if = {
					limit = { 
						NOT = { has_trait = infertile } 
						NOT = { has_trait = fecund }
					}
					add_trait = infertile
				}
				add_diplomacy_skill = { 1 2 }
			}
		}
			
	}	
}

# OR edit this into the escape loop event...