namespace = pod_masquerade

# Some classic events with a dilemma about your masquerade exposure

pod_masquerade.1 = {
	type = character_event
	content_source = dlc_POD
	title = pod_masquerade.1.t
	desc = pod_masquerade.1.desc
	theme = masquerade
	left_portrait = {
		character = root
		animation = scheme
	}
	
	widget = {
		gui = "POD_shader_event_fog_alley_night"
		container = "background_shader_vfx_container"
	}

	trigger = {
		is_vampire_trigger = yes
		is_imprisoned = no
		POD_is_available_for_events = yes
	}

	immediate = {
	}

	option = { 
		name = pod_masquerade.1.a
		
		remove_long_term_gold = major_gold_value
		
		POD_very_high_chance_of_reducing_masquerade_exposure  = yes
 
	}
	option = { 
		name = pod_masquerade.1.b
		
		POD_masquerade_exposure_increase_effect = yes
	}
}

pod_masquerade.2 = {
	type = character_event
	content_source = dlc_POD
	title = pod_masquerade.2.t
	desc = pod_masquerade.2.desc
	theme = masquerade
	left_portrait = {
		character = root
		animation = anger
	}
	
	widget = {
		gui = "POD_shader_event_fog_alley_night"
		container = "background_shader_vfx_container"
	}

	trigger = {
		is_vampire_trigger = yes
		is_imprisoned = no
		POD_is_available_for_events = yes
	}

	immediate = {
	}

	option = { 
		name = pod_masquerade.2.a
		
		add_prestige = major_prestige_loss
		
		POD_very_high_chance_of_reducing_masquerade_exposure  = yes
 
	}
	option = { 
		name = pod_masquerade.2.b
		
		POD_masquerade_exposure_increase_effect = yes
	}
}

pod_masquerade.3 = {
	type = character_event
	content_source = dlc_POD
	title = pod_masquerade.3.t
	desc = pod_masquerade.3.desc
	theme = masquerade
	left_portrait = {
		character = root
		animation = personality_callous
	}
	
	widget = {
		gui = "POD_shader_event_fog_alley_night"
		container = "background_shader_vfx_container"
	}

	trigger = {
		is_vampire_trigger = yes
		is_imprisoned = no
		POD_is_available_for_events = yes
	}

	immediate = {
	}

	option = { 
		name = pod_masquerade.3.a
		
		add_dread = medium_dread_gain
		stress_impact = {
			compassionate = medium_stress_impact_gain
		}
		
		POD_very_high_chance_of_reducing_masquerade_exposure  = yes
 
	}
	option = { 
		name = pod_masquerade.3.b
		
		POD_masquerade_exposure_increase_effect = yes
		
		add_dread = medium_dread_loss
		stress_impact = {
			base = minor_stress_impact_gain
			stubborn = minor_stress_impact_gain
			callous = medium_stress_impact_gain
			sadistic = medium_stress_impact_gain
		}		
	}
}

pod_masquerade.4 = {
	type = character_event
	content_source = dlc_POD
	title = pod_masquerade.4.t
	desc = pod_masquerade.4.desc
	theme = masquerade
	left_portrait = {
		character = root
		animation = stress
	}
	
	widget = {
		gui = "POD_shader_event_fog_alley_night"
		container = "background_shader_vfx_container"
	}

	trigger = {
		is_vampire_trigger = yes
		is_imprisoned = no
		POD_is_available_for_events = yes
	}

	immediate = {
	}

	option = { 
		name = pod_masquerade.4.a
		
		POD_very_high_chance_of_reducing_masquerade_exposure  = yes
 
	}
	option = { 
		name = pod_masquerade.4.b
		
		POD_masquerade_exposure_increase_effect = yes
		
		every_close_family_member = {
				limit = { NOT = { this = root } }
				add_opinion = {
					modifier = pleased_opinion
					opinion = 30
					target = root
				}
			}		
	}
}

pod_masquerade.5 = {
	type = character_event
	content_source = dlc_POD
	title = pod_masquerade.5.t
	desc = pod_masquerade.5.desc
	theme = masquerade
	left_portrait = {
		character = root
		animation = stress
	}
	
	widget = {
		gui = "POD_shader_event_fog_alley_night"
		container = "background_shader_vfx_container"
	}

	trigger = {
		is_vampire_trigger = yes
		is_imprisoned = no
		POD_is_available_for_events = yes
	}

	immediate = {
	}

	option = { 
		name = pod_masquerade.5.a
		
		stress_impact = {
			base = medium_stress_gain
		}		
		
		POD_very_high_chance_of_reducing_masquerade_exposure  = yes
 
	}
	option = { 
		name = pod_masquerade.5.b
		
		POD_masquerade_exposure_increase_effect = yes
			
	}
}

pod_masquerade.6 = {
	type = character_event
	content_source = dlc_POD
	title = pod_masquerade.6.t
	desc = pod_masquerade.6.desc
	theme = masquerade
	left_portrait = {
		character = root
		animation = schadenfreude
	}
	
	widget = {
		gui = "POD_shader_event_fog_alley_night"
		container = "background_shader_vfx_container"
	}

	trigger = {
		is_vampire_trigger = yes
		is_imprisoned = no
		POD_is_available_for_events = yes
	}

	immediate = {
	}

	option = { 
		name = pod_masquerade.6.a	
		
		POD_very_high_chance_of_reducing_masquerade_exposure  = yes
 
	}
	option = { 
		name = pod_masquerade.6.b
		
		add_prestige = medium_prestige_gain
		add_gold = medium_gold_value		
		
		POD_masquerade_exposure_increase_effect = yes
			
	}
}

pod_masquerade.7 = {
	type = character_event
	content_source = dlc_POD
	title = pod_masquerade.7.t
	desc = pod_masquerade.7.desc
	theme = masquerade
	left_portrait = {
		character = root
		animation = flirtation
	}
	right_portrait = {
		character = scope:lover
		animation = flirtation
	}	
	
	widget = {
		gui = "POD_shader_event_fog_alley_night"
		container = "background_shader_vfx_container"
	}

	trigger = {
		is_vampire_trigger = yes
		is_imprisoned = no
		is_ai = no
		POD_is_available_for_events = yes
	}

	immediate = {
		create_character = {
			template = beautiful_peasant_character
			age = 20 
			gender_female_chance = root_attraction_based_female_chance
			employer = root.host
			faith = root.host.faith
			culture = root.host.culture
			trait = mortal
			save_scope_as = lover
		}	
	}

	option = { 
		name = pod_masquerade.7.a	
		
		scope:lover = {
			death = {
				death_reason = death_disappearance
				killer = root
			}
		}		
		
		POD_very_high_chance_of_reducing_masquerade_exposure  = yes
 
	}
	option = { 
		name = pod_masquerade.7.b	
		
		POD_masquerade_exposure_increase_effect = yes
			
	}
}

pod_masquerade.8 = {
	type = character_event
	content_source = dlc_POD
	title = pod_masquerade.8.t
	desc = pod_masquerade.8.desc
	theme = masquerade
	left_portrait = {
		character = root
		animation = personality_bold
	}
	
	widget = {
		gui = "POD_shader_event_fog_alley_night"
		container = "background_shader_vfx_container"
	}

	trigger = {
		is_vampire_trigger = yes
		is_imprisoned = no
		POD_is_available_for_events = yes
	}

	immediate = {
	}

	option = { 
		name = pod_masquerade.8.a	
		
		POD_very_high_chance_of_reducing_masquerade_exposure  = yes
 
	}
	option = { 
		name = pod_masquerade.8.b
		
		add_martial_lifestyle_perk_points = 1	
		
		POD_masquerade_exposure_increase_effect = yes
			
	}
}


#Bad events happening if your Masquerade Exposure gets too high

pod_masquerade.9 = {
	type = character_event
	content_source = dlc_POD
	title = pod_masquerade.9.t
	desc = pod_masquerade.9.desc
	theme = masquerade
	left_portrait = {
		character = root
		animation = worry
	}
	
	widget = {
		gui = "POD_shader_event_fog_alley_night"
		container = "background_shader_vfx_container"
	}

	trigger = {
		is_vampire_trigger = yes
		is_imprisoned = no
		is_ai = no
		OR = {
			has_character_modifier = masquerade2_modifier
			has_character_modifier = masquerade3_modifier
			has_character_modifier = masquerade4_modifier
			has_character_modifier = masquerade5_modifier
		}
		POD_is_available_for_events = yes
	}

	weight_multiplier = {
		base = 1
		modifier = { 
			add = 0.5
			has_character_modifier = masquerade2_modifier
		}
		modifier = { 
			add = 1.5
			has_character_modifier = masquerade4_modifier
		}
		modifier = { 
			add = 2
			has_character_modifier = masquerade5_modifier
		}		
	}
	
	immediate = {
	}

	option = { 
		name = pod_masquerade.9.a	
	
		custom_tooltip = high_masquerade_exposed_tt
	
		duel = {
			skill = stewardship
			value = 20
				60 = {
					compare_modifier = {
						value = scope:duel_value
						multiplier = 0.5
					}
				desc = pod_masquerade.9.a.effect.success.desc
				
				send_interface_toast = {
					title = pod_masquerade.9.a.success
					left_icon = root
				}				
				
			}
				35 = {
					compare_modifier = {
						value = scope:duel_value
						multiplier = 0.5
					}

					desc = pod_masquerade.9.a.failure.effect.desc
					
					send_interface_toast = {
						title = pod_masquerade.9.a.failure
						left_icon = root
						remove_short_term_gold = medium_gold_value
						}					
				}
				15 = {
					compare_modifier = {
						value = scope:duel_value
						multiplier = -2.5
					}

					desc = pod_masquerade.9.a.critical.failure.effect.desc
					
					send_interface_toast = {
						title = pod_masquerade.9.a.critical.failure
						left_icon = root
						add_character_modifier = {
							modifier = broken_authority_modifier
							years = 4
							}	
						}					
				}
			}		
	}
	option = { 
		name = pod_masquerade.9.b
	
		custom_tooltip = high_masquerade_exposed_tt
	
		remove_short_term_gold = medium_gold_value
		stress_impact = {
			base = medium_stress_gain
		}	
		
	}
}

pod_masquerade.10 = {
	type = character_event
	content_source = dlc_POD
	title = pod_masquerade.10.t
	desc = pod_masquerade.10.desc
	theme = masquerade
	left_portrait = {
		character = root
		animation = worry
	}
	
	widget = {
		gui = "POD_shader_event_fog_alley_night"
		container = "background_shader_vfx_container"
	}

	trigger = {
		is_vampire_trigger = yes
		is_imprisoned = no
		is_ai = no
		OR = {
			has_character_modifier = masquerade2_modifier
			has_character_modifier = masquerade3_modifier
			has_character_modifier = masquerade4_modifier
			has_character_modifier = masquerade5_modifier
		}
		POD_is_available_for_events = yes
	}

	weight_multiplier = {
		base = 1
		modifier = { 
			add = 0.5
			has_character_modifier = masquerade2_modifier
		}
		modifier = { 
			add = 1.5
			has_character_modifier = masquerade4_modifier
		}
		modifier = { 
			add = 2
			has_character_modifier = masquerade5_modifier
		}		
	}
	
	immediate = {
	}

	option = { 
		name = pod_masquerade.10.a	
	
		custom_tooltip = high_masquerade_exposed_tt
	
		duel = {
			skill = learning
			value = 20
				60 = {
					compare_modifier = {
						value = scope:duel_value
						multiplier = 0.5
					}
				desc = pod_masquerade.10.a.effect.success.desc
				
				send_interface_toast = {
					title = pod_masquerade.10.a.success
					left_icon = root
				}				
				
			}
				35 = {
					compare_modifier = {
						value = scope:duel_value
						multiplier = 0.5
					}

					desc = pod_masquerade.10.a.failure.effect.desc
					
					send_interface_toast = {
						title = pod_masquerade.10.a.failure
						left_icon = root
						add_piety = -100
						}					
				}
				15 = {
					compare_modifier = {
						value = scope:duel_value
						multiplier = -2.5
					}

					desc = pod_masquerade.10.a.critical.failure.effect.desc
					
					send_interface_toast = {
						title = pod_masquerade.10.a.critical.failure
						left_icon = root
						add_character_modifier = {
							modifier = broken_authority_modifier
							years = 4
							}	
						}					
				}
			}		
	}
	option = { 
		name = pod_masquerade.10.b

		custom_tooltip = high_masquerade_exposed_tt
		
		add_piety = -100
		stress_impact = {
			base = medium_stress_gain
		}	
		
	}
}


pod_masquerade.11 = {
	type = character_event
	content_source = dlc_POD
	title = pod_masquerade.11.t
	desc = pod_masquerade.11.desc
	theme = masquerade
	left_portrait = {
		character = root
		animation = worry
	}
	
	widget = {
		gui = "POD_shader_event_fog_alley_night"
		container = "background_shader_vfx_container"
	}

	trigger = {
		is_vampire_trigger = yes
		is_imprisoned = no
		is_ai = no
		OR = {
			has_character_modifier = masquerade2_modifier		
			has_character_modifier = masquerade3_modifier
			has_character_modifier = masquerade4_modifier
			has_character_modifier = masquerade5_modifier
		}
		POD_is_available_for_events = yes
	}

	weight_multiplier = {
		base = 1
		modifier = { 
			add = 0.5
			has_character_modifier = masquerade2_modifier
		}
		modifier = { 
			add = 1.5
			has_character_modifier = masquerade4_modifier
		}
		modifier = { 
			add = 2
			has_character_modifier = masquerade5_modifier
		}		
	}

	immediate = {
	}

	option = { 
		name = pod_masquerade.11.a	

		custom_tooltip = high_masquerade_exposed_tt
		
		duel = {
			skill = martial
			value = 20
				60 = {
					compare_modifier = {
						value = scope:duel_value
						multiplier = 0.5
					}
				desc = pod_masquerade.11.a.effect.success.desc
				
				send_interface_toast = {
					title = pod_masquerade.11.a.success
					left_icon = root
				}				
				
			}
				35 = {
					compare_modifier = {
						value = scope:duel_value
						multiplier = 0.5
					}

					desc = pod_masquerade.11.a.failure.effect.desc
					
					send_interface_toast = {
						title = pod_masquerade.11.a.failure
						left_icon = root
						add_prestige = -500
						}					
				}
				15 = {
					compare_modifier = {
						value = scope:duel_value
						multiplier = -2.5
					}

					desc = pod_masquerade.11.a.critical.failure.effect.desc
					
					send_interface_toast = {
						title = pod_masquerade.11.a.critical.failure
						left_icon = root
						add_character_modifier = {
							modifier = broken_authority_modifier
							years = 4
							}	
						}					
				}
			}		
	}
	option = { 
		name = pod_masquerade.11.b
	
		custom_tooltip = high_masquerade_exposed_tt
	
		add_prestige = -500
		stress_impact = {
			base = medium_stress_gain
		}			
			
	}
}


pod_masquerade.12 = {
	type = character_event
	content_source = dlc_POD
	title = pod_masquerade.12.t
	desc = pod_masquerade.12.desc
	theme = masquerade
	left_portrait = {
		character = root
		animation = worry
	}
	
	widget = {
		gui = "POD_shader_event_fog_alley_night"
		container = "background_shader_vfx_container"
	}

	trigger = {
		is_vampire_trigger = yes
		is_imprisoned = no
		is_ai = no
		OR = {
			has_character_modifier = masquerade2_modifier		
			has_character_modifier = masquerade3_modifier
			has_character_modifier = masquerade4_modifier
			has_character_modifier = masquerade5_modifier
		}
		POD_is_available_for_events = yes
	}

	weight_multiplier = {
		base = 1
		modifier = { 
			add = 0.5
			has_character_modifier = masquerade2_modifier
		}
		modifier = { 
			add = 1.5
			has_character_modifier = masquerade4_modifier
		}
		modifier = { 
			add = 2
			has_character_modifier = masquerade5_modifier
		}		
	}
	
	immediate = {
	}

	option = { 
		name = pod_masquerade.12.a	
	
		custom_tooltip = high_masquerade_exposed_tt
	
		duel = {
			skill = diplomacy
			value = 20
				60 = {
					compare_modifier = {
						value = scope:duel_value
						multiplier = 0.5
					}
				desc = pod_masquerade.12.a.effect.success.desc
				
				send_interface_toast = {
					title = pod_masquerade.12.a.success
					left_icon = root
				}				
				
			}
				35 = {
					compare_modifier = {
						value = scope:duel_value
						multiplier = 0.5
					}

					desc = pod_masquerade.12.a.failure.effect.desc
					
					send_interface_toast = {
						title = pod_masquerade.12.a.failure
						left_icon = root
						add_character_modifier = {
							modifier = running_from_responsibilities_modifier
							years = 8
							}
						}					
				}
				15 = {
					compare_modifier = {
						value = scope:duel_value
						multiplier = -2.5
					}

					desc = pod_masquerade.12.a.critical.failure.effect.desc
					
					send_interface_toast = {
						title = pod_masquerade.12.a.critical.failure
						left_icon = root
						add_character_modifier = {
							modifier = broken_authority_modifier
							years = 4
							}	
						}					
				}
			}		
	}
	option = { 
		name = pod_masquerade.12.b

		custom_tooltip = high_masquerade_exposed_tt
		
		add_prestige = -500
		stress_impact = {
			base = medium_stress_gain
		}			
			
	}
}


pod_masquerade.13 = {
	type = character_event
	content_source = dlc_POD
	title = pod_masquerade.13.t
	desc = pod_masquerade.13.desc
	theme = masquerade
	left_portrait = {
		character = root
		animation = worry
	}
	
	widget = {
		gui = "POD_shader_event_fog_alley_night"
		container = "background_shader_vfx_container"
	}

	trigger = {
		is_vampire_trigger = yes
		is_imprisoned = no
		is_ai = no
		OR = {
			has_character_modifier = masquerade2_modifier		
			has_character_modifier = masquerade3_modifier
			has_character_modifier = masquerade4_modifier
			has_character_modifier = masquerade5_modifier
		}
		POD_is_available_for_events = yes
	}

	immediate = {
	}

	weight_multiplier = {
		base = 1
		modifier = { 
			add = 0.5
			has_character_modifier = masquerade2_modifier
		}
		modifier = { 
			add = 1.5
			has_character_modifier = masquerade4_modifier
		}
		modifier = { 
			add = 2
			has_character_modifier = masquerade5_modifier
		}		
	}
	
	option = { 
		name = pod_masquerade.13.a	

		custom_tooltip = high_masquerade_exposed_tt
		
		duel = {
			skill = intrigue
			value = 20
				60 = {
					compare_modifier = {
						value = scope:duel_value
						multiplier = 0.5
					}
				desc = pod_masquerade.13.a.effect.success.desc
				
				send_interface_toast = {
					title = pod_masquerade.13.a.success
					left_icon = root
				}				
				
			}
				35 = {
					compare_modifier = {
						value = scope:duel_value
						multiplier = 0.5
					}

					desc = pod_masquerade.13.a.failure.effect.desc
					
					send_interface_toast = {
						title = pod_masquerade.13.a.failure
						left_icon = root
						add_character_modifier = {
							modifier = malignant_hearsay_modifier
							years = 10
							}
						}					
				}
				15 = {
					compare_modifier = {
						value = scope:duel_value
						multiplier = -2.5
					}

					desc = pod_masquerade.13.a.critical.failure.effect.desc
					
					send_interface_toast = {
						title = pod_masquerade.13.a.critical.failure
						left_icon = root
						add_character_modifier = {
							modifier = broken_authority_modifier
							years = 4
							}	
						}					
				}
			}		
	}
	option = { 
		name = pod_masquerade.13.b

		custom_tooltip = high_masquerade_exposed_tt
		
		add_prestige = -500
		stress_impact = {
			base = medium_stress_gain
		}			
			
	}
}

pod_masquerade.14 = {
	type = character_event
	content_source = dlc_POD
	title = pod_masquerade.14.t
	desc = pod_masquerade.14.desc
	theme = masquerade
	left_portrait = {
		character = root
		animation = worry
	}
	
	widget = {
		gui = "POD_shader_event_fog_alley_night"
		container = "background_shader_vfx_container"
	}

	trigger = {
		is_vampire_trigger = yes
		is_imprisoned = no
		is_ai = no
		has_character_modifier = masquerade5_modifier
		POD_is_available_for_events = yes
	}

	immediate = {
	}

	option = { 
		name = pod_masquerade.14.a	
		
		custom_tooltip = high_masquerade_exposed_tt
		
		duel = {
			skill = prowess
			value = 50
				60 = {
					compare_modifier = {
						value = scope:duel_value
						multiplier = 0.5
					}
				desc = pod_masquerade.14.a.effect.success.desc
				
				send_interface_toast = {
					title = pod_masquerade.14.a.success
					left_icon = root
				}				
				
			}
				35 = {
					compare_modifier = {
						value = scope:duel_value
						multiplier = 0.5
					}

					desc = pod_masquerade.14.a.failure.effect.desc
					
					send_interface_toast = {
						title = pod_masquerade.14.a.failure
						left_icon = root
						stress_impact = {
							base = massive_stress_gain
							}	
						add_character_modifier = {
							modifier = broken_authority_modifier
							years = 4
							}	
						}					
				}
				15 = {
					compare_modifier = {
						value = scope:duel_value
						multiplier = -2.5
					}

					desc = pod_masquerade.14.a.critical.failure.effect.desc
					
					send_interface_toast = {
						title = pod_masquerade.14.a.critical.failure
						left_icon = root
						death = {
							death_reason = death_burned
							}
						}					
				}
			}		
	}
	option = { 
		name = pod_masquerade.14.b

		custom_tooltip = high_masquerade_exposed_tt
		
		add_prestige = -1000
		stress_impact = {
			base = massive_stress_gain
		}			
		add_character_modifier = {
			modifier = broken_authority_modifier
			years = 4
			}				
	}
}
