﻿namespace = pod1230objectives

pod1230objectives.1 = {
	type = character_event
    window = fullscreen_event
	title = pod1230objectives.1.t
	desc = pod1230objectives.1.desc
	theme = ventrue_coa
	override_background = { reference = setting_the_sun_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
		random_sub_realm_barony = {
			limit = {
				holder = {
					is_ai = yes
					NOT = { this = root }
					highest_held_title_tier = tier_barony 
					}
				}
			save_scope_as = barony
		}		
	}

	option = {
		name = pod1230objectives.1.a
		add_character_modifier = {
			modifier = mithras_bane_modifier
		}
		root.dynasty = {
			add_dynasty_prestige = 1000
			add_dynasty_prestige_level = 1
		}
		hidden_effect = {		
		every_ruler = {	
			if = {
				limit = {
					has_faith = faith:viamithras
				}
				add_opinion = {
					modifier = hate_opinion
					target = scope:mithras_bane
					opinion = -100
				}
			}	
		}	
		}
		custom_tooltip = create_holy_order_decision_effect_message
		
		hidden_effect = {
			if = {
				limit = { NOT = { scope:barony.holder = root } }
		create_title_and_vassal_change = {
			type = created
			save_scope_as = change
			add_claim_on_loss = no
		}

				scope:barony = {
					change_title_holder_include_vassals = {
						holder = root
						change = scope:change
					}
				}
				resolve_title_and_vassal_change = scope:change
			}
		}
		
		create_character = {
			gender_female_chance = 50
			template_character = root
			trait = brujah
			trait = vampire
			trait = zealous
			trait = education_martial_4
			trait = order_member
			random_traits_list = {
				count = 1
				presence = {}
				auspex = {}
				dominate = {}
				potence = {}
				celerity = {}
				fortitude = {}
				obfuscate = {}
			}	
			location = scope:barony.title_province
			save_scope_as = leader
		}

		create_holy_order = {
			leader = scope:leader
			capital = scope:barony
			save_scope_as = new_holy_order
		}

		hidden_effect = {
			scope:leader = {
				add_gold = 100 #So that they have some money to lend out
				add_piety_level = 2
				add_gold = holy_order_starting_gold
				every_courtier = {
					add_trait = order_member
				}
			}
		}
		
		every_player = {
			limit = {
				NOT = { this = root }
				capital_province = {
					geographical_region = world_europe
				}				
				}
			trigger_event = pod1230objectives.2
		}
	}
	
}

pod1230objectives.2 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.1.t
	desc = pod1230objectives.1.desc
	theme = ventrue_coa
	left_portrait = {
		character = scope:mithras_bane
		animation = personality_honorable
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
	}

	option = {
		name = { # Regular
			trigger = {
				NOT = {
				has_faith = faith:viamithras				
				}
			}
			text = pod1230objectives.2.a
		}
		name = { # Mithraic
			trigger = {
				has_faith = faith:viamithras				
				}
			text = pod1230objectives.2.b
		}
	}
}

pod1230objectives.3 = {
	type = character_event
    window = fullscreen_event
	title = pod1230objectives.3.t
	desc = pod1230objectives.3.desc
	theme = ventrue_coa
	override_background = { reference = the_scepter_and_the_sun_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {

						if = {
			limit = {
				NOT = {
					has_any_nickname = yes
					}
					}
						give_nickname = nick_lord_of_light
		}
		name = { # Regular
			trigger = {
				NOT = {
				this = character:505071				
				}
			}
			text = pod1230objectives.3.a
		}
		name = { # Mithras himself
			trigger = {
				this = character:505071				
				}
			text = pod1230objectives.3.b
		}
		
		add_prestige = massive_prestige_value
		add_prestige_level = 2
			faith = {
				add_doctrine = burning_faith_doctrine
			}
			
		custom_tooltip = pod1230objectives.3.custom
	
		hidden_effect = {		
		every_ruler = {
		limit = {
			is_ventrue_trigger = yes
			NOT = { faith = root.faith }
			NOT = { has_government = theocracy_government }
			NOT = { this = this.faith.religious_head }
		}
		trigger_event = pod1230objectives.4
		}
		}
		
		hidden_effect = {
		every_player = { 
		limit = {
			capital_province = {
				geographical_region = world_europe
			}				
			is_ventrue_trigger = no
			NOT = { this = scope:victorious_mithraic }
			}
		trigger_event = pod1230objectives.5
			}
		}
	}
}

pod1230objectives.4 = {
	type = character_event
    window = fullscreen_event
	title = pod1230objectives.3.t
	desc = pod1230objectives.3.desc
	theme = ventrue_coa
	override_background = { reference = shadow_reconquista_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.4.a
		trigger = {
			OR = {
				is_ai = no
				NOT = { has_trait = zealous } # Never!
			}
		}
		set_character_faith = faith:viamithras
		every_held_title = {
			limit = { tier = tier_county }
			set_county_faith = faith:viamithras
		}
		ai_chance = {
			base = 80
			modifier = { # Where the wind blows, I sail.
				add = 20
				has_trait = cynical
			}
		}
	}
	option = {
		name = pod1230objectives.4.b
		ai_chance = {
			base = 20
			ai_value_modifier = {
				ai_zeal = -1.0
			}
			modifier = {
				add = 20
				has_trait = zealous
			}
		}
	}
}

pod1230objectives.5 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.3.t
	desc = pod1230objectives.3.desc
	theme = ventrue_coa
	left_portrait = {
		character = scope:victorious_mithraic
		animation = personality_zealous
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.5.a
	}
}

pod1230objectives.6 = {
	type = character_event
    window = fullscreen_event
	title = pod1230objectives.6.t
	desc = pod1230objectives.6.desc
	theme = toreador_coa
	override_background = { reference = dreaming_again_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }

	immediate = {
	create_title_and_vassal_change = {
		type = created
		save_scope_as = change
		add_claim_on_loss = no
		}

	title:e_byzantium = {
		change_title_holder = {
			holder = root
			change = scope:change
		}
	}
	resolve_title_and_vassal_change = scope:change
	hidden_effect = { set_primary_title_to = title:e_byzantium }
			
	play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.6.a
			
		custom_tooltip = pod1230objectives.6.custom
		
		hidden_effect = {
		
		every_held_title = {
			limit = { tier = tier_county }
			set_county_faith = faith:codexoflegacies
		}
		
		every_vassal_or_below = {
			limit = { 		
				NOT = {
					primary_title.tier = tier_barony
						} 
				NOT = { has_trait = zealous }					
					}	
		set_character_faith = faith:codexoflegacies
		}
		
		}
		
		set_character_faith = faith:codexoflegacies
		add_piety = massive_piety_value
		add_piety_level = 2
		
		hidden_effect = {
		every_player = { 
		limit = {
			capital_province = {
				geographical_region = world_europe
			}				
			NOT = { this = scope:victorious_archangeli }
			}
		trigger_event = pod1230objectives.7
			}
		}
	}
	
	option = {
		name = pod1230objectives.6.b
		
		add_prestige = massive_prestige_value
		add_prestige_level = 2	
		
		add_character_modifier = {
			modifier = politically_secure_modifier
		}
		root.dynasty = {
			add_dynasty_prestige = 1000
			add_dynasty_prestige_level = 1
		}
		
		hidden_effect = {
		every_player = { 
		limit = {
			capital_province = {
				geographical_region = world_europe
			}			
			NOT = { this = scope:victorious_archangeli }
			}
		trigger_event = pod1230objectives.7
			}
		}	
	}

	option = {
		name = pod1230objectives.6.c
		
		trigger = {
			this = character:790380
			}

		custom_tooltip = pod1230objectives.6.custom.malachite
		add_internal_flag = special
			
		custom_tooltip = pod1230objectives.6.custom
		
		hidden_effect = {
		
		every_held_title = {
			limit = { tier = tier_county }
			set_county_faith = faith:codexoflegacies
		}
		
		every_vassal_or_below = {
			limit = { 		
				NOT = {
					primary_title.tier = tier_barony
						} 
				NOT = { has_trait = zealous }					
					}	
		set_character_faith = faith:codexoflegacies
		}
		
		set_character_faith = faith:codexoflegacies
		add_piety = massive_piety_value
		add_piety_level = 2
		
		}

		add_prestige = massive_prestige_value
		add_prestige_level = 2	
		
		add_character_modifier = {
			modifier = politically_secure_modifier
		}
		root.dynasty = {
			add_dynasty_prestige = 1000
			add_dynasty_prestige_level = 1
		}
		
		hidden_effect = {
		every_player = { 
		limit = {
			capital_province = {
				geographical_region = world_europe
			}			
			NOT = { this = scope:victorious_archangeli }
			}
		trigger_event = pod1230objectives.7
			}
		}
	}	
}

pod1230objectives.7 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.6.t
	desc = pod1230objectives.6.desc
	theme = toreador_coa
	left_portrait = {
		character = scope:victorious_archangeli
		animation = personality_zealous
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.7.a
	}
}

pod1230objectives.8 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.8.t
	desc = pod1230objectives.8.desc
	theme = lasombra_coa
	left_portrait = {
		character = scope:shadow_reconqueror
		animation = schadenfreude
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.8.a
		
		root.dynasty = {
			add_dynasty_prestige = 1000
			add_dynasty_prestige_level = 1
		}
		
		if = {
			limit = {
				OR = {
				title:e_sea_of_shadows.holder = {
					is_lasombra_trigger = yes
				}
				title:e_sea_of_shadows = { is_title_created = no }
				}
			}
					
		create_title_and_vassal_change = {
			type = created
			save_scope_as = change
			add_claim_on_loss = no
		}

		title:e_sea_of_shadows = {
			change_title_holder = {
			holder = root
			change = scope:change
			}
		}
		resolve_title_and_vassal_change = scope:change
		
		}
		
		hidden_effect = {
		every_ruler = {	
			if = {
				limit = {
					has_faith = faith:tariqelalaam
					has_faith = faith:tariqelbedouin
					has_faith = faith:tariqelharb
					has_faith = faith:tariqelsama
					has_faith = faith:tariqelumma
				}
				add_opinion = {
					modifier = hate_opinion
					target = scope:shadow_reconqueror
					opinion = -100
				}
			}	
		}	
		}
		hidden_effect = { set_primary_title_to = title:e_sea_of_shadows }
		
		add_character_modifier = {
			modifier = hostile_shadows_modifier
		}
		
		hidden_effect = {
		every_player = { 
		limit = {
			capital_province = {
				geographical_region = world_europe
			}			
			NOT = { this = scope:shadow_reconqueror }
			}
		trigger_event = pod1230objectives.9
			}
		}	
		
		if = {
			limit = { 
				exists = house 
				is_dynast = no
			}
			house = {
				set_house_head = root
			}
		}
	}
	
	after = {
		# End Struggle
		struggle:reconquista_struggle = {
			end_struggle = shadow_reconquista_objective_decision
		}
	}
}

pod1230objectives.9 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.8.t
	desc = pod1230objectives.8.desc
	theme = lasombra_coa
	left_portrait = {
		character = scope:shadow_reconqueror
		animation = schadenfreude
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
	}

	option = {
		name = { # Regular
			trigger = {
				NOT = {
				is_lasombra_trigger = yes				
				}
			}
			text = pod1230objectives.9.a
		}
		name = { # Lasombra
			trigger = {
				is_lasombra_trigger = yes				
				}
			text = pod1230objectives.9.b
		}
	}
}

pod1230objectives.10 = {
	type = character_event
    window = fullscreen_event
	title = pod1230objectives.10.t
	desc = pod1230objectives.10.desc
	theme = einherjar_coa
	override_background = { reference = defeating_ragnarok_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
		random_sub_realm_barony = {
			limit = {
				holder = {
					is_ai = yes
					NOT = { this = root }
					highest_held_title_tier = tier_barony 
					}
				}
			save_scope_as = barony
		}		
	}

	option = {
		name = pod1230objectives.10.a

		if = {
			limit = {
				NOT = {
					has_any_nickname = yes
				}
			}
			give_nickname = nick_king_of_aesir
		}
		
		set_artifact_rarity_illustrious = yes
		create_artifact = {
			name = artifact_blood_horn_name
			description = artifact_blood_horn_description
			type = miscellaneous
			visuals = small_box
			modifier = blood_horn_modifier
			save_scope_as = blood_horn
			template = blood_horn_template
			wealth = scope:wealth
			quality = scope:quality				
			history = {
				type = created_before_history
			}
			decaying = no				
		}
		scope:blood_horn = {
			set_variable = { name = historical_unique_artifact value = yes }
			set_variable = blood_horn
			save_scope_value_as = {
				name = blood_horn
				value = yes
			}
		}
		hidden_effect = {
			POD_remove_hunger_modifiers_effect = yes
			add_character_modifier = bloodhunger0_modifier
		}
		add_prestige = massive_prestige_value
		add_prestige_level = 2
		

		custom_tooltip = create_holy_order_decision_effect_message
		
		hidden_effect = {
			if = {
				limit = { NOT = { scope:barony.holder = root } }
				create_title_and_vassal_change = {
					type = created
					save_scope_as = change
					add_claim_on_loss = no
				}

				scope:barony = {
					change_title_holder_include_vassals = {
						holder = root
						change = scope:change
					}
				}
				resolve_title_and_vassal_change = scope:change
			}
		}
		
		create_character = {
			gender_female_chance = 50
			template_character = root
			trait = gangrel
			trait = vampire
			trait = zealous
			trait = education_martial_4
			trait = order_member
			random_traits_list = {
				count = 1
				presence = {}
				auspex = {}
				dominate = {}
				potence = {}
				celerity = {}
				fortitude = {}
				obfuscate = {}
			}	
			location = scope:barony.title_province
			save_scope_as = leader
		}

		create_holy_order = {
			leader = scope:leader
			capital = scope:barony
			save_scope_as = new_holy_order
		}

		hidden_effect = {
			scope:leader = {
				add_gold = 100 #So that they have some money to lend out
				add_piety_level = 2
				add_gold = holy_order_starting_gold
				every_courtier = {
					add_trait = order_member
				}
			}
		}
		
		faith = {
			add_doctrine = undead_aesir_doctrine
		}		
		
		every_player = {
			limit = {
			capital_province = {
				geographical_region = world_europe
			}
				NOT = { this = root }
			}
			trigger_event = pod1230objectives.11
		}
	}
	
}

pod1230objectives.11 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.10.t
	desc = pod1230objectives.10.desc
	theme = einherjar_coa
	left_portrait = {
		character = scope:einherjar_victor
		animation = anger
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
	}

	option = {
		name = { # Regular
			trigger = {
				NOT = {
				faith = faith:viaeinherjar				
				}
			}
			text = pod1230objectives.11.a
		}
		name = { # Einherjar
			trigger = {
				faith = faith:viaeinherjar				
				}
			text = pod1230objectives.11.b
		}
	}
}

pod1230objectives.12 = {
	type = character_event
    window = fullscreen_event
	title = pod1230objectives.12.t
	desc = pod1230objectives.12.desc
	theme = court
	override_background = { reference = iberia_after_midnight_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.12.a
		
		add_prestige = massive_prestige_value
		add_prestige_level = 2
		
		add_pressed_claim = title:e_ashirra
		
		capital_province = {
			add_province_modifier = {
			modifier = capital_past_modifier
				}
		}
		
		if = {
		limit = {
			any_realm_province = {
				NOT = { faith = scope:ashirra_deconqueror.faith }
				geographical_region = world_europe_west_iberia
			}
		}
		every_realm_province = {
			limit = {
				NOT = { faith = scope:ashirra_deconqueror.faith }
				geographical_region = world_europe_west_iberia
			}
			county = {
				add_to_list = every_realm_county
			}	
		}

		every_in_list = {
			list = every_realm_county
			custom = every_non_root_faith_county_world_europe_west_iberia		
			random = {
				chance = 77
				custom_tooltip = pod1230objectives.12.custom
				hidden_effect = { set_county_faith = scope:ashirra_deconqueror.faith }
				}
			}
		}
		every_independent_ruler = {
			limit = {
				has_title = title:e_sea_of_shadows
				NOT = { this = root }
				}
			add_character_modifier = {
				modifier = broken_authority_modifier
				years = 50
				}		
			}
		
		if = {
			limit = { 
				exists = house 
				is_dynast = no
			}
			house = {
				set_house_head = root
			}
		}
		
		every_player = {
			limit = {
				is_lasombra_trigger = yes				
				NOT = { this = root }
				}
			trigger_event = pod1230objectives.13
		}
	}
	
	after = {
		# End Struggle
		struggle:reconquista_struggle = {
			end_struggle = ashirra_deconquista_objective_decision
		}
	}	
}



pod1230objectives.13 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.12.t
	desc = pod1230objectives.12.desc
	theme = court
	left_portrait = {
		character = scope:ashirra_deconqueror
		animation = personality_honorable
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
	}

	option = {
		name = { # Regular
			trigger = {
				NOT = {
			faith = faith:tariqelalaam
			faith = faith:tariqelbedouin
			faith = faith:tariqelharb
			faith = faith:tariqelsama
			faith = faith:tariqelumma	
			is_lasombra_trigger = yes	
				}
			}
			text = pod1230objectives.13.a
		}
		name = { # Lasombra but not Ashirra
			trigger = {
				is_lasombra_trigger = yes		
			NOT = {
			faith = faith:tariqelalaam
			faith = faith:tariqelbedouin
			faith = faith:tariqelharb
			faith = faith:tariqelsama
			faith = faith:tariqelumma	
					}
				}
			text = pod1230objectives.13.b
		}
		
		name = { # Ashirra
			trigger = {
			OR = {
			faith = faith:tariqelalaam
			faith = faith:tariqelbedouin
			faith = faith:tariqelharb
			faith = faith:tariqelsama
			faith = faith:tariqelumma	
					}
				}
			text = pod1230objectives.13.c
		}		
	}
}


pod1230objectives.14 = {
	type = character_event
    window = fullscreen_event
	title = pod1230objectives.14.t
	desc = pod1230objectives.14.desc
	theme = malkavian_coa
	override_background = { reference = little_prank_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.14.a

	hidden_effect = {
		every_held_title = { #Should shift all dejure of all Empires owned at the time.
			limit = {
				tier >= tier_empire
			}
			every_in_de_jure_hierarchy = {
				limit = {
					tier = tier_kingdom
				}
				set_de_jure_liege_title = title:e_malkavian
				
			}
		}
		every_held_title = { #Completely Controlled Kingdoms as well.
			limit = {
				tier = tier_kingdom
				root = { completely_controls = prev }
			}
			set_de_jure_liege_title = title:e_malkavian
		}
	}
		
		create_title_and_vassal_change = {
			type = created
			save_scope_as = change
			add_claim_on_loss = no
		}

	title:e_malkavian = {
		change_title_holder = {
			holder = root
			change = scope:change
		}
	}
	resolve_title_and_vassal_change = scope:change
	hidden_effect = { set_primary_title_to = title:e_malkavian }
		
	every_held_title = { #Should destroy all other Empires owned at the time.
		limit = {
				tier >= tier_empire
			NOT = { this = title:e_malkavian }
		}
		root = { destroy_title = prev }
	}
	
	custom_tooltip = pod1230objectives.14.customa
	
	add_trait = intellect_good_3
	add_trait = shrewd
	
	hidden_effect = {	
		every_ruler = {
			limit = {
				is_malkavian_trigger = yes
				NOT = { this = root }
				}
			add_stress = monumental_stress_gain
				}		
		}
		
		every_player = {
			limit = {
				is_malkavian_trigger = yes
				NOT = { this = root }
				}
			trigger_event = pod1230objectives.15
		}
	}
	
	
	option = {
		name = pod1230objectives.14.b
		
	hidden_effect = {
		every_held_title = { #Should shift all dejure of all Empires owned at the time.
			limit = {
				tier >= tier_empire
			}
			every_in_de_jure_hierarchy = {
				limit = {
					tier = tier_kingdom
				}
				set_de_jure_liege_title = title:e_malkavian
				
			}
		}
		every_held_title = { #Completely Controlled Kingdoms as well.
			limit = {
				tier = tier_kingdom
				root = { completely_controls = prev }
			}
			set_de_jure_liege_title = title:e_malkavian
		}
	}
		
		create_title_and_vassal_change = {
			type = created
			save_scope_as = change
			add_claim_on_loss = no
		}

	title:e_malkavian = {
		change_title_holder = {
			holder = root
			change = scope:change
		}
	}
	resolve_title_and_vassal_change = scope:change
	hidden_effect = { set_primary_title_to = title:e_malkavian }
		
	every_held_title = { #Should destroy all other Empires owned at the time.
		limit = {
				tier >= tier_empire
			NOT = { this = title:e_malkavian }
		}
		root = { destroy_title = prev }
	}		
		
	custom_tooltip = pod1230objectives.14.customb

	
	hidden_effect = {	
		every_ruler = {
			limit = {
				is_malkavian_trigger = yes
				}	
			add_trait = intellect_good_3
			add_trait = possessed_1
		}
	}
		every_player = {
			limit = {
				is_malkavian_trigger = yes
				NOT = { this = root }
				}
			trigger_event = pod1230objectives.15
		}
	}	
	
	option = {
		name = pod1230objectives.14.c
		
	hidden_effect = {
		every_held_title = { #Should shift all dejure of all Empires owned at the time.
			limit = {
				tier >= tier_empire
			}
			every_in_de_jure_hierarchy = {
				limit = {
					tier = tier_kingdom
				}
				set_de_jure_liege_title = title:e_malkavian
				
			}
		}
		every_held_title = { #Completely Controlled Kingdoms as well.
			limit = {
				tier = tier_kingdom
				root = { completely_controls = prev }
			}
			set_de_jure_liege_title = title:e_malkavian
		}
	}
		
		create_title_and_vassal_change = {
			type = created
			save_scope_as = change
			add_claim_on_loss = no
		}

	title:e_malkavian = {
		change_title_holder = {
			holder = root
			change = scope:change
		}
	}
	resolve_title_and_vassal_change = scope:change
	hidden_effect = { set_primary_title_to = title:e_malkavian }
		
	every_held_title = { #Should destroy all other Empires owned at the time.
		limit = {
				tier >= tier_empire
			NOT = { this = title:e_malkavian }
		}
		root = { destroy_title = prev }
	}
		
	custom_tooltip = pod1230objectives.14.customc
	
	hidden_effect = {	
		every_ruler = {
			limit = {
				is_malkavian_trigger = yes
				}	
			add_trait = shrewd
		}
	}
	
	hidden_effect = {	
		every_ruler = {
			limit = {
			NOT = {
				is_malkavian_trigger = yes
				}
				}	
			add_stress = monumental_stress_gain
		}
	}
	
		every_player = {
			limit = {
				is_malkavian_trigger = yes
				NOT = { this = root }
				}
			trigger_event = pod1230objectives.15
		}
	}

	option = {
		name = pod1230objectives.14.d
		
	hidden_effect = {
		every_held_title = { #Should shift all dejure of all Empires owned at the time.
			limit = {
				tier >= tier_empire
			}
			every_in_de_jure_hierarchy = {
				limit = {
					tier = tier_kingdom
				}
				set_de_jure_liege_title = title:e_malkavian
				
			}
		}
		every_held_title = { #Completely Controlled Kingdoms as well.
			limit = {
				tier = tier_kingdom
				root = { completely_controls = prev }
			}
			set_de_jure_liege_title = title:e_malkavian
		}
	}
		
		create_title_and_vassal_change = {
			type = created
			save_scope_as = change
			add_claim_on_loss = no
		}

	title:e_malkavian = {
		change_title_holder = {
			holder = root
			change = scope:change
		}
	}
	resolve_title_and_vassal_change = scope:change
	hidden_effect = { set_primary_title_to = title:e_malkavian }
		
	every_held_title = { #Should destroy all other Empires owned at the time.
		limit = {
				tier >= tier_empire
			NOT = { this = title:e_malkavian }
		}
		root = { destroy_title = prev }
	}
		
	custom_tooltip = pod1230objectives.14.customd
	
	hidden_effect = {	
		every_ruler = {
			limit = {
				is_malkavian_trigger = yes
				}	
			add_trait = intellect_good_3
		}
	}
	
	hidden_effect = {	
		every_ruler = {
			limit = {
			NOT = {
				is_malkavian_trigger = yes
				}
				}	
			add_stress = monumental_stress_gain
			add_trait = lunatic_1
		}
	}
	
		every_player = {
			limit = {
				is_malkavian_trigger = yes
				NOT = { this = root }
				}
			trigger_event = pod1230objectives.15
		}
	}		
}

pod1230objectives.15 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.14.t
	desc = pod1230objectives.14.desc
	theme = malkavian_coa
	left_portrait = {
		character = scope:victorious_malkav
		animation = shock
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
	}

	option = {
		name = { # Regular
			trigger = {
				NOT = {
			is_malkavian_trigger = yes	
				}
			}
			text = pod1230objectives.15.a
		}
		name = { # Malkavian
			trigger = {
				is_malkavian_trigger = yes		
				}
			text = pod1230objectives.15.b
		}
			
	}
}

pod1230objectives.16 = {
	type = character_event
    window = fullscreen_event
	title = pod1230objectives.16.t
	desc = pod1230objectives.16.desc
	theme = diplomacy_majesty_focus
	override_background = { reference = eternal_republic_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.16.a

						if = {
			limit = {
				NOT = {
					has_any_nickname = yes
					}
					}
						give_nickname = nick_pater_patriae
		}
	hidden_effect = {
		every_held_title = { #Should shift all dejure of all Empires owned at the time.
			limit = {
				tier >= tier_empire
			}
			every_in_de_jure_hierarchy = {
				limit = {
					tier = tier_kingdom
				}
				set_de_jure_liege_title = title:e_spqr
				
			}
		}
		every_held_title = { #Completely Controlled Kingdoms as well.
			limit = {
				tier = tier_kingdom
				root = { completely_controls = prev }
			}
			set_de_jure_liege_title = title:e_spqr
		}
	}
	
		create_title_and_vassal_change = {
			type = created
			save_scope_as = change
			add_claim_on_loss = no
		}

	title:e_spqr = {
		change_title_holder = {
			holder = root
			change = scope:change
		}
	}
	resolve_title_and_vassal_change = scope:change
	hidden_effect = { set_primary_title_to = title:e_spqr }
	every_held_title = { #Should destroy all other Empires owned at the time.
		limit = {
				tier >= tier_empire
			NOT = { this = title:e_spqr }
		}
		root = { destroy_title = prev }
	}
	
	faith = {
		add_doctrine = senatorial_clans_doctrine
		}		
		
	faith = {
		add_doctrine = restored_republic_doctrine
		}	
		
	every_player = {
			limit = {
			capital_province = {
				geographical_region = world_europe
			}
				NOT = { this = root }
				}
			trigger_event = pod1230objectives.17
		}
	}
}

pod1230objectives.17 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.16.t
	desc = pod1230objectives.16.desc
	theme = diplomacy_majesty_focus
	left_portrait = {
		character = scope:victorious_senator
		animation = personality_honorable
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
	}

	option = {
		name = { # Regular
			trigger = {
				NOT = {
			is_ventrue_trigger = yes	
				}
			}
			text = pod1230objectives.17.a
		}
		name = { # Ventrue
			trigger = {
				is_ventrue_trigger = yes		
				}
			text = pod1230objectives.17.b
		}
			
	}
}

pod1230objectives.18 = {
	type = character_event
    window = fullscreen_event
	title = pod1230objectives.18.t
	desc = pod1230objectives.18.desc
	theme = brujah_coa
	override_background = { reference = carthage_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.18.a
		
		create_title_and_vassal_change = {
			type = created
			save_scope_as = change
			add_claim_on_loss = no
		}

	title:e_maghreb = {
		change_title_holder = {
			holder = root
			change = scope:change
		}
	}
	resolve_title_and_vassal_change = scope:change
	hidden_effect = { set_primary_title_to = title:e_maghreb }
		
	faith = {
		add_doctrine = vengeful_carthage_doctrine
		}		
		
			set_artifact_rarity_illustrious = yes
			create_artifact = {
				name = artifact_sword_of_troile_name
				description = artifact_sword_of_troile_description
				type = sword
				visuals = sword
				modifier = sword_of_troile_modifier
				save_scope_as = sword_of_troile
				template = general_unique_template
				wealth = scope:wealth
				quality = scope:quality				
				history = {
					type = created_before_history
				}
				decaying = no				
				}
				scope:sword_of_troile = {
				set_variable = { name = historical_unique_artifact value = yes }
				set_variable = sword_of_troile
				save_scope_value_as = {
				name = sword_of_troile
				value = yes
				}
				}	
		
	every_player = {
			limit = {
				is_vampire_trigger = yes
				NOT = { this = root }
				}
			trigger_event = pod1230objectives.19
		}
	}
	
	option = {
		name = pod1230objectives.18.b
		
		create_title_and_vassal_change = {
			type = created
			save_scope_as = change
			add_claim_on_loss = no
		}

	title:e_maghreb = {
		change_title_holder = {
			holder = root
			change = scope:change
		}
	}
	resolve_title_and_vassal_change = scope:change
	hidden_effect = { set_primary_title_to = title:e_maghreb }
		
	faith = {
		add_doctrine = broken_hope_doctrine
		}		
		
	add_character_modifier = {
			modifier = politically_secure_modifier
		}
		
	every_player = {
			limit = {
				is_vampire_trigger = yes
				NOT = { this = root }
				}
			trigger_event = pod1230objectives.19
		}
	}	
}

pod1230objectives.19 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.18.t
	desc = pod1230objectives.18.desc
	theme = brujah_coa
	left_portrait = {
		character = scope:victorious_brujah
		animation = personality_honorable
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
	}

	option = {
		name = { # Regular
			trigger = {
				NOT = {
			is_ventrue_trigger = yes	
				}
			}
			text = pod1230objectives.19.a
		}
		name = { # Ventrue
			trigger = {
				is_ventrue_trigger = yes		
				}
			text = pod1230objectives.19.b
		}
			
	}
}

pod1230objectives.20 = {
	type = character_event
    window = fullscreen_event
	title = pod1230objectives.20.t
	desc = pod1230objectives.20.desc
	theme = nosferatu_coa
	override_background = { reference = caring_grandmother_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.20.a
		
	custom_tooltip = pod1230objectives.20.custom	

	root.dynasty = {
		add_dynasty_prestige = 20000
		add_dynasty_prestige_level = 1
		}
		
	dynasty ?= { set_variable = zmei_unlock_variable }		
		
	hidden_effect = {		
		every_living_character = {	
			if = {
				limit = {
					is_nosferatu_trigger = yes
				}
				add_opinion = {
					modifier = babayaga_victory_opinion
					target = scope:victorious_babayaga
				}
			}	
		}	
	}	
	
	if = {
		limit = {
			this = character:790483
		}
			
		custom_tooltip = pod1230objectives.20.custom.viktor	
		add_internal_flag = special
		
		add_prowess_skill = 10
		add_piety = 1000
		
		if = {
			limit = {
				NOT = { has_trait = bloodsorceryadvanced }
			}
			assign_bloodsorcery_effect = yes
			if = {
				limit = { has_any_bloodmagic_path = no }
				add_character_flag = has_thaumaturgy_bloodmagic_flag
			}
		}
	}
	
	every_player = {
			limit = {
				is_vampire_trigger = yes
				NOT = { this = root }
				}
			trigger_event = pod1230objectives.21
		}
	}	
}

pod1230objectives.21 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.20.t
	desc = pod1230objectives.20.desc
	theme = nosferatu_coa
	left_portrait = {
		character = scope:victorious_babayaga
		animation = personality_honorable
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
	}

	option = {
		name = { # Regular
			trigger = {
				NOT = {
			is_nosferatu_trigger = yes	
				}
			}
			text = pod1230objectives.21.a
		}
		name = { # Nosferatu
			trigger = {
				is_nosferatu_trigger = yes		
				}
			text = pod1230objectives.21.b
		}
			
	}
}


pod1230objectives.22 = {
	type = character_event
    window = fullscreen_event
	title = pod1230objectives.22.t
	desc = pod1230objectives.22.desc
	theme = nosferatu_coa
	override_background = { reference = horrors_in_the_dark_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.22.a
		
		if = {
			limit = {
				this = character:699999
				has_character_flag = angiwar_beacon_flag
			}
		custom_tooltip = angiwar_intro_tt2
		add_prestige = 500
		create_artifact_reichskrone_effect = {
			OWNER = root
		}		
		}
		
	add_character_modifier = {
		modifier = eyes_and_ears_modifier
		}
	root.dynasty = {
			add_dynasty_prestige = 1000
			add_dynasty_prestige_level = 1
		}	

	hidden_effect = {
		every_held_title = { #Should shift all dejure of all Empires owned at the time.
			limit = {
				tier >= tier_empire
			}
			every_in_de_jure_hierarchy = {
				limit = {
					tier = tier_kingdom
				}
				set_de_jure_liege_title = title:e_nosferatu
				
			}
		}
		every_held_title = { #Completely Controlled Kingdoms as well.
			limit = {
				tier = tier_kingdom
				root = { completely_controls = prev }
			}
			set_de_jure_liege_title = title:e_nosferatu
		}
	}
		
		create_title_and_vassal_change = {
			type = created
			save_scope_as = change
			add_claim_on_loss = no
		}

	title:e_nosferatu = {
		change_title_holder = {
			holder = root
			change = scope:change
		}
	}
	resolve_title_and_vassal_change = scope:change
	hidden_effect = { set_primary_title_to = title:e_nosferatu }
			
	every_held_title = { #Should destroy all other Empires owned at the time.
		limit = {
				tier >= tier_empire
			NOT = { this = title:e_nosferatu }
		}
		root = { destroy_title = prev }
	}
	
	every_player = {
			limit = {
				is_vampire_trigger = yes
				NOT = { this = root }
				}
			trigger_event = pod1230objectives.23
		}
	}	
}

pod1230objectives.23 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.22.t
	desc = pod1230objectives.22.desc
	theme = nosferatu_coa
	left_portrait = {
		character = scope:victorious_nosferatu
		animation = personality_honorable
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
	}

	option = {
		name = { # Regular
			trigger = {
				NOT = {
			is_nosferatu_trigger = yes	
				}
			}
			text = pod1230objectives.23.a
		}
		name = { # Nosferatu
			trigger = {
				is_nosferatu_trigger = yes		
				}
			text = pod1230objectives.23.b
		}
			
	}
}


pod1230objectives.24 = {
	type = character_event
    window = fullscreen_event
	title = pod1230objectives.24.t
	desc = pod1230objectives.24.desc
	theme = banu_haqim_coa
	override_background = { reference = a_god_dreams_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.24.a
		
		if = {
			limit = {
				this = character:790164
				}
		custom_tooltip = pod1230objectives.24.customthetmes
			
			add_piety = 500
			add_choleric_lifestyle_xp = 500
			add_sanguine_lifestyle_xp = 500
			add_prowess_skill = 10
		}	
		
		
		add_prestige = massive_prestige_value
		add_prestige_level = 2
			
		custom_tooltip = pod1230objectives.24.custom
	
		hidden_effect = {		
		every_living_character = {
		limit = {
			is_assamite_trigger = yes
			NOT = { faith = root.faith }
			NOT = { has_government = theocracy_government }
			NOT = { this = this.faith.religious_head }
		}
		trigger_event = pod1230objectives.25
		}
		}
		
		hidden_effect = {
		every_player = { 
		limit = {
			is_vampire_trigger = yes
			is_assamite_trigger = no
			NOT = { this = scope:victorious_urshulgi }
			}
		trigger_event = pod1230objectives.26
			}
		}
		
		custom_tooltip = pod1230objectives.24.customa
	
		if = {
			limit = {
				is_ai = no
			}
		hidden_effect = {		
		every_living_character = {
		limit = {
			NOT = { is_assamite_trigger = yes }
			NOT = { faith = root.faith }
			is_ai = yes
			POD_is_not_apocalyptic_background_character = yes
			OR = {
				has_trait = bloodsorceryadvanced
				has_trait = bloodsorcery
				}
		}
		 death = { death_reason = death_execution }
		}
		}		
		}
		
		else = {
			spawn_army = {
			uses_supply = no
			inheritable = yes
			name = mongol_event_troops
			#levies = {
			#	value = 5000
			#}
			men_at_arms = {
				type = horse_archers
				stacks = 5
			}
			men_at_arms = {
				type = web_assassins_maa
				stacks = 10
			}
			men_at_arms = {
				type = light_horsemen
				stacks = 5
			}		
			men_at_arms = {
				type = trebuchet
				stacks = 3
			}
			location = capital_province
			origin = capital_province
			}				
		}
		
		add_character_flag = victorious_assamite_struggle
		custom_tooltip = assamite_struggle_victory_effect_tooltip
		if = {
			limit =  {
				title:e_assamites = {			
				holder = { NOT = { this = scope:victorious_urshulgi } }
				holder = { character_any_involvement_assamite_struggle_trigger = yes }
				}
				}
				create_title_and_vassal_change = {
					type = created
					save_scope_as = change
					add_claim_on_loss = no
				}
		
			title:e_assamites = {
				change_title_holder = {
					holder = root
					change = scope:change
				}
			}
		resolve_title_and_vassal_change = scope:change
		hidden_effect = { set_primary_title_to = title:e_assamites }
		}	
		
		# End Struggle
		struggle:assamite_struggle = {
			end_struggle = urshulgi_victory_objective_decision_title
		}
		if = {
			limit = { exists = global_var:influence_wok }
			remove_global_variable = influence_wok
		}
		if = {
			limit = { exists = global_var:influence_silsila }
			remove_global_variable = influence_silsila
		}	
		if = {
			limit = { exists = global_var:influence_council }
			remove_global_variable = influence_council
		}
		if = {
			limit = { exists = global_var:influence_ashirra }
			remove_global_variable = influence_ashirra
		}
		if = {
			limit = { exists = global_var:influence_losttribe }
			remove_global_variable = influence_losttribe
		}		
	}
}

pod1230objectives.25 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.24.t
	desc = pod1230objectives.24.desc
	theme = banu_haqim_coa
	left_portrait = {
		character = scope:victorious_urshulgi
		animation = personality_zealous
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.25.a
		trigger = {
			OR = {
				is_ai = no
				NOT = { has_trait = zealous } # Never!
			}
		}
		set_character_faith = faith:pathofrighteousness
		every_held_title = {
			limit = { tier = tier_county }
			set_county_faith = faith:pathofrighteousness
		}
		ai_chance = {
			base = 80
			modifier = { # Where the wind blows, I sail.
				add = 20
				has_trait = cynical
			}
		}
	}
	option = {
		name = pod1230objectives.25.b
		ai_chance = {
			base = 20
			ai_value_modifier = {
				ai_zeal = -1.0
			}
			modifier = {
				add = 20
				has_trait = zealous
			}
		}
	}
}

pod1230objectives.26 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.24.t
	desc = pod1230objectives.24.desc
	theme = banu_haqim_coa
	left_portrait = {
		character = scope:victorious_urshulgi
		animation = personality_zealous
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.26.a
	}
}


pod1230objectives.27 = {
	type = character_event
    window = fullscreen_event
	title = pod1230objectives.27.t
	desc = pod1230objectives.27.desc
	theme = banu_haqim_coa
	override_background = { reference = a_divided_house_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"

		add_character_flag = victorious_assamite_struggle
		custom_tooltip = assamite_struggle_victory_effect_tooltip
		if = {
			limit =  {
				title:e_assamites = {			
				holder = { NOT = { this = scope:victorious_assamite } }
				}
				}
				create_title_and_vassal_change = {
					type = created
					save_scope_as = change
					add_claim_on_loss = no
				}
		
			title:e_assamites = {
				change_title_holder = {
					holder = root
					change = scope:change
				}
			}
		resolve_title_and_vassal_change = scope:change
		hidden_effect = { set_primary_title_to = title:e_assamites }
		}	
		
		# End Struggle
		struggle:assamite_struggle = {
			end_struggle = assamite_victory_objective_decision_title
		}
		if = {
			limit = { exists = global_var:influence_wok }
			remove_global_variable = influence_wok
		}
		if = {
			limit = { exists = global_var:influence_silsila }
			remove_global_variable = influence_silsila
		}	
		if = {
			limit = { exists = global_var:influence_council }
			remove_global_variable = influence_council
		}
		if = {
			limit = { exists = global_var:influence_ashirra }
			remove_global_variable = influence_ashirra
		}
		if = {
			limit = { exists = global_var:influence_losttribe }
			remove_global_variable = influence_losttribe
		}		
	}

	option = {
		name = pod1230objectives.27.a

		
		root.dynasty = {
			add_dynasty_prestige = 1000
			add_dynasty_prestige_level = 1
		}
		
		title:c_qazwin.title_province = {
			add_province_modifier = {
			modifier = fortified_alamut_modifier
				}
		}		
			
		custom_tooltip = pod1230objectives.27.custom
	
		hidden_effect = {		
		every_living_character = {
		limit = {
			is_assamite_trigger = yes
		}
		add_character_modifier = {
			modifier = path_of_the_zealot_modifier
		}
		}
		}
		
		hidden_effect = {
		every_player = { 
		limit = {
			is_vampire_trigger = yes
			NOT = { this = scope:victorious_assamite }
			}
		trigger_event = pod1230objectives.28
			}
		}	
		
	}
	
	option = {
		name = pod1230objectives.27.b

		
		root.dynasty = {
			add_dynasty_prestige = 1000
			add_dynasty_prestige_level = 1
		}
		
		title:c_qazwin.title_province = {
			add_province_modifier = {
			modifier = fortified_alamut_modifier
				}
		}		
			
		custom_tooltip = pod1230objectives.27.customb
	
		hidden_effect = {		
		every_living_character = {
		limit = {
			is_assamite_trigger = yes
		}
		add_character_modifier = {
			modifier = path_of_the_diplomat_modifier
		}
		}
		}
		
		hidden_effect = {
		every_player = { 
		limit = {
			is_vampire_trigger = yes
			NOT = { this = scope:victorious_assamite }
			}
		trigger_event = pod1230objectives.28
			}
		}	
		
	}	
	
	option = {
		name = pod1230objectives.27.c

		
		root.dynasty = {
			add_dynasty_prestige = 1000
			add_dynasty_prestige_level = 1
		}
		
		title:c_qazwin.title_province = {
			add_province_modifier = {
			modifier = fortified_alamut_modifier
				}
		}		
			
		custom_tooltip = pod1230objectives.27.customc
	
		hidden_effect = {		
		every_living_character = {
		limit = {
			is_assamite_trigger = yes
		}
		add_character_modifier = {
			modifier = path_of_the_sorcerer_modifier
		}
		}
		}
		
		hidden_effect = {
		every_player = { 
		limit = {
			is_vampire_trigger = yes
			NOT = { this = scope:victorious_assamite }
			}
		trigger_event = pod1230objectives.28
			}
		}	
		
	}		
}

pod1230objectives.28 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.27.t
	desc = pod1230objectives.27.desc
	theme = banu_haqim_coa
	left_portrait = {
		character = scope:victorious_assamite
		animation = personality_honorable
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = { # Assamite
			trigger = {
			is_assamite_trigger = yes	
			}
			text = pod1230objectives.28.a
		}
		name = { # Regular
			trigger = {
				is_assamite_trigger = no		
				}
			text = pod1230objectives.28.b
		}
			
	}
}

pod1230objectives.29 = {
	type = character_event
    window = fullscreen_event
	title = pod1230objectives.29.t
	desc = pod1230objectives.29.desc
	theme = peccati_coa
	override_background = { reference = political_sin_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = { # Regular
			trigger = {
				NOT = {
				this = character:505071				
				}
			}
			text = pod1230objectives.29.a
		}
		name = { # Camilla himself
			trigger = {
				this = character:790101				
				}
			text = pod1230objectives.29.b
		}

	if = {
		limit = {
			this = character:790101	
			any_character_artifact = {
				has_variable = camilla_crown
			}			
		}
		trigger_event = {
			id = PODcanon_chars.69
			days = 5
		}
	}
	
	add_character_modifier = {
		modifier = eternal_consul_modifier
		}
		
	hidden_effect = {
		every_held_title = { #Should shift all dejure of all Empires owned at the time.
			limit = {
				tier >= tier_empire
			}
			every_in_de_jure_hierarchy = {
				limit = {
					tier = tier_kingdom
				}
				set_de_jure_liege_title = title:e_eternal_rome
				
			}
		}
		every_held_title = { #Completely Controlled Kingdoms as well.
			limit = {
				tier = tier_kingdom
				root = { completely_controls = prev }
			}
			set_de_jure_liege_title = title:e_eternal_rome
		}
	}		
		create_title_and_vassal_change = {
			type = created
			save_scope_as = change
			add_claim_on_loss = no
		}

	title:e_eternal_rome = {
		change_title_holder = {
			holder = root
			change = scope:change
		}
	}
	resolve_title_and_vassal_change = scope:change
	hidden_effect = { set_primary_title_to = title:e_eternal_rome }
			
	every_held_title = { #Should destroy all other Empires owned at the time.
		limit = {
				tier >= tier_empire
			NOT = { this = title:e_eternal_rome }
		}
		root = { destroy_title = prev }
	}
	
		custom_tooltip = pod1230objectives.29.custom
	
		hidden_effect = {		
		every_living_character = {
		limit = {
			is_vampire_trigger = yes
			NOT = { faith = root.faith }
			NOT = { has_trait = zealous }
			is_ai = yes
			OR = {
				has_trait = lustful
				has_trait = gluttonous
				has_trait = greedy
				}
		}
			set_character_faith = root.faith
		}
		}
		
		hidden_effect = {
		every_player = { 
		limit = {
			capital_province = {
				geographical_region = world_europe
			}
			NOT = { this = scope:victorious_sinner }
			}
		trigger_event = pod1230objectives.30
			}
		}	
		
	}
		
}

pod1230objectives.30 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.29.t
	desc = pod1230objectives.29.desc
	theme = peccati_coa
	left_portrait = {
		character = scope:victorious_sinner
		animation = flirtation
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = { # Regular
			trigger = {
				NOT = {
					faith = faith:viapeccati
					faith = faith:viavoluptuous
					faith = faith:viacrudelitas
					faith = faith:pathofwatchfulgods	
				}
			}
			text = pod1230objectives.30.a
		}
		name = { # Sinners
			trigger = {
			OR = {
		faith = faith:viapeccati
		faith = faith:viavoluptuous
		faith = faith:viacrudelitas
		faith = faith:pathofwatchfulgods	
		}
				}
			text = pod1230objectives.30.b
		}
			
	}
}

pod1230objectives.31 = {
	type = character_event
    window = fullscreen_event
	title = pod1230objectives.31.t
	desc = pod1230objectives.31.desc
	theme = ventrue_coa
	override_background = { reference = king_of_kings_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.31.a

						if = {
			limit = {
				NOT = {
					has_any_nickname = yes
					}
					}
						give_nickname = nick_king_of_kings
		}

	root.dynasty = {
		add_dynasty_prestige = 20000
		add_dynasty_prestige_level = 1
		}
	hidden_effect = {
		every_held_title = { #Should shift all dejure of all Empires owned at the time.
			limit = {
				tier >= tier_empire
			}
			every_in_de_jure_hierarchy = {
				limit = {
					tier = tier_kingdom
				}
				set_de_jure_liege_title = title:e_ventrue
				
			}
		}
		every_held_title = { #Completely Controlled Kingdoms as well.
			limit = {
				tier = tier_kingdom
				root = { completely_controls = prev }
			}
			set_de_jure_liege_title = title:e_ventrue
		}
	}
	
		create_title_and_vassal_change = {
			type = created
			save_scope_as = change
			add_claim_on_loss = no
		}

	title:e_ventrue = {
		change_title_holder = {
			holder = root
			change = scope:change
		}
	}
	resolve_title_and_vassal_change = scope:change
	hidden_effect = { set_primary_title_to = title:e_ventrue }
			
	every_held_title = { #Should destroy all other Empires owned at the time.
		limit = {
				tier >= tier_empire
			NOT = { this = title:e_ventrue }
		}
		root = { destroy_title = prev }
	}
	
	dynasty = {
		add_dynasty_modifier = dynasty_ventrue_modifier
			}		
		
	
		hidden_effect = {
		every_player = { 
		limit = {
			is_vampire_trigger = yes
			NOT = { this = scope:victorious_ventrue }
			}
		trigger_event = pod1230objectives.32
			}
		}	
		
	}
		
}

pod1230objectives.32 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.31.t
	desc = pod1230objectives.31.desc
	theme = ventrue_coa
	left_portrait = {
		character = scope:victorious_ventrue
		animation = personality_honorable
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = { # Regular
			trigger = {
				NOT = {
					is_ventrue_trigger = yes	
				}
			}
			text = pod1230objectives.32.a
		}
		name = { # Ventrue
			trigger = {
					is_ventrue_trigger = yes
				}
			text = pod1230objectives.32.b
		}
			
	}
}

pod1230objectives.33 = {
	type = character_event
    window = fullscreen_event
	title = pod1230objectives.33.t
	desc = pod1230objectives.33.desc
	theme = lasombra_coa
	override_background = { reference = faith_in_shadows_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.33.a

	root.dynasty = {
		add_dynasty_prestige = 1000
		add_dynasty_prestige_level = 1
		}
		
	add_prestige = massive_prestige_value
	add_prestige_level = 2		
	
	add_character_modifier = {
		modifier = lasombra_chronicles_modifier
				}	
	
	custom_tooltip = pod1230objectives.33.custom		
	hidden_effect = {	
	every_independent_ruler = {
			limit = {
				OR = {
			faith = faith:tariqelalaam
			faith = faith:tariqelbedouin
			faith = faith:tariqelharb
			faith = faith:tariqelsama
			faith = faith:tariqelumma
			}
				NOT = { this = root }
				}
			add_character_modifier = {
				modifier = broken_authority_modifier
				years = 50
				}		
			}				
	}
	custom_tooltip = end_lasombra_cw_tt
		hidden_effect = {
		every_player = { 
		limit = {
			is_vampire_trigger = yes
			NOT = { this = scope:victorious_lasombra }
			}
		trigger_event = pod1230objectives.34
			}
		}	
		
	}
		
}

pod1230objectives.34 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.33.t
	desc = pod1230objectives.33.desc
	theme = lasombra_coa
	left_portrait = {
		character = scope:victorious_lasombra
		animation = happiness
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = { # Regular
			trigger = {
				NOT = {
					is_lasombra_trigger = yes	
				}
			}
			text = pod1230objectives.34.a
		}
		name = { # Lasombra
			trigger = {
					is_lasombra_trigger = yes
				}
			text = pod1230objectives.34.b
		}
			
	}
}


pod1230objectives.35 = {
	type = character_event
    window = fullscreen_event
	title = pod1230objectives.35.t
	desc = pod1230objectives.35.desc
	theme = court
	override_background = { reference = crescent_over_shadows_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name =  pod1230objectives.35.a

			if = {
			limit = {
				NOT = {
					has_any_nickname = yes
				}
			}
			give_nickname = nick_the_eternal_mullah
		}
		
		add_character_modifier = {
			modifier = eternal_mullah_modifier
		}
		
		capital_province = {
			add_province_modifier = {
				modifier = ashirra_castle_modifier
			}
		}
		
		custom_tooltip = pod1230objectives.35.custom
		custom_tooltip = end_lasombra_cw_tt
	
		hidden_effect = {		
		every_living_character = {
		limit = {
			is_lasombra_trigger = yes
			NOT = { 			
			faith = faith:tariqelalaam
			faith = faith:tariqelbedouin
			faith = faith:tariqelharb
			faith = faith:tariqelsama
			faith = faith:tariqelumma 
			}
			NOT = { has_government = theocracy_government }
			NOT = { this = this.faith.religious_head }
		}
		trigger_event = pod1230objectives.36
		}
		}
		
		hidden_effect = {
		every_player = { 
		limit = {
			is_vampire_trigger = yes
			is_lasombra_trigger = no
			NOT = { this = scope:victorious_ashirra }
			}
		trigger_event = pod1230objectives.37
			}
		}
	}
}

pod1230objectives.351 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.351.title
	desc = pod1230objectives.351.desc
	theme = faith
	left_portrait = {
		character = root
		animation = personality_zealous
	}
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
	}
	
	option = {
		name = pod1230objectives.351.a
		dynasty = { add_dynasty_prestige = 5000 }
		add_piety = 5000
		add_trait_force_tooltip = faith_warrior
		if = {
			limit = {
				NOT = { has_trait = true_faith }
				OR = { 
					POD_is_infernalist_trigger = no
					POD_splat_mixing_haight_mode = yes
				}
			}
			add_trait = truefaith
		}
		else = { POD_advance_beatific_multiple_effect = { VALUE = 20 } }
	}
}

pod1230objectives.352 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.352.title
	desc = pod1230objectives.352.desc
	theme = faith
	left_portrait = {
		character = root
		animation = personality_zealous
	}
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
	}
	

	option = {
		name = pod1230objectives.352.a	
		dynasty = { add_dynasty_prestige = 1000 }
		add_piety = 2500
		faith = { add_doctrine = special_doctrine_ashirra_pillars_kindred }
		custom_tooltip = POD_unlocked_empire_ghw
		add_character_flag = enable_ghw
	}
}

pod1230objectives.36 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.35.t
	desc = pod1230objectives.35.desc
	theme = court
	left_portrait = {
		character = scope:victorious_ashirra
		animation = personality_zealous
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.36.a
		trigger = {
			OR = {
				is_ai = no
				NOT = { has_trait = zealous } # Never!
			}
		}
		set_character_faith = scope:victorious_ashirra.faith
		every_held_title = {
			limit = { tier = tier_county }
			set_county_faith = scope:victorious_ashirra.faith
		}
		ai_chance = {
			base = 80
			modifier = { # Where the wind blows, I sail.
				add = 20
				has_trait = cynical
			}
		}
	}
	option = {
		name = pod1230objectives.36.b
		ai_chance = {
			base = 20
			ai_value_modifier = {
				ai_zeal = -1.0
			}
			modifier = {
				add = 20
				has_trait = zealous
			}
		}
	}
}

pod1230objectives.37 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.35.t
	desc = pod1230objectives.35.desc
	theme = court
	left_portrait = {
		character = scope:victorious_ashirra
		animation = personality_zealous
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.37.a
	}
}

pod1230objectives.38 = {
	type = character_event
    window = fullscreen_event
	title = pod1230objectives.38.t
	desc = pod1230objectives.38.desc
	theme = learning_theology_focus
	override_background = { reference = truth_until_caine_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name =  pod1230objectives.38.a

						if = {
			limit = {
				NOT = {
					has_any_nickname = yes
					}
					}
						give_nickname = nick_herald_of_caine
		}
		
		faith = {
			add_doctrine = crimsom_curia_doctrine
			}
	hidden_effect = {
		every_held_title = { #Should shift all dejure of all Empires owned at the time.
			limit = {
				tier >= tier_empire
			}
			every_in_de_jure_hierarchy = {
				limit = {
					tier = tier_kingdom
				}
				set_de_jure_liege_title = title:e_church_third_caine
				
			}
		}
		every_held_title = { #Completely Controlled Kingdoms as well.
			limit = {
				tier = tier_kingdom
				root = { completely_controls = prev }
			}
			set_de_jure_liege_title = title:e_church_third_caine
		}
	}
	
		create_title_and_vassal_change = {
			type = created
			save_scope_as = change
			add_claim_on_loss = no
		}

	title:e_church_third_caine = {
		change_title_holder = {
			holder = root
			change = scope:change
		}
	}
	resolve_title_and_vassal_change = scope:change
	hidden_effect = { set_primary_title_to = title:e_church_third_caine }
		
	every_held_title = { #Should destroy all other Empires owned at the time.
		limit = {
				tier >= tier_empire
			NOT = { this = title:e_church_third_caine }
		}
		root = { destroy_title = prev }
	}
	
		custom_tooltip = pod1230objectives.38.custom
	
		hidden_effect = {		
		every_living_character = {
		limit = {
		OR = {
			is_lasombra_trigger = yes
			is_malkavian_trigger = yes
			is_tzimisce_trigger = yes
			is_toreador_trigger = yes
			}			
			NOT = { faith = root.faith }
			NOT = { has_government = theocracy_government }
			NOT = { this = this.faith.religious_head }
		}
		trigger_event = pod1230objectives.39
		}
		}
		
		hidden_effect = {
		every_player = { 
		limit = {
			capital_province = {
				geographical_region = world_europe
			}			
			NOT = { this = scope:victorious_heretic }
			}
		trigger_event = pod1230objectives.40
			}
		}
	}
}

pod1230objectives.39 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.38.t
	desc = pod1230objectives.38.desc
	theme = learning_theology_focus
	left_portrait = {
		character = scope:victorious_heretic
		animation = personality_zealous
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.39.a
		trigger = {
			OR = {
				is_ai = no
				NOT = { has_trait = zealous } # Never!
			}
		}
		set_character_faith = scope:victorious_heretic.faith
		every_held_title = {
			limit = { tier = tier_county }
			set_county_faith = scope:victorious_heretic.faith
		}
		ai_chance = {
			base = 60
			modifier = { # Where the wind blows, I sail.
				add = 20
				has_trait = cynical
			}
		}
	}
	option = {
		name = pod1230objectives.39.b
		ai_chance = {
			base = 20
			ai_value_modifier = {
				ai_zeal = -1.0
			}
			modifier = {
				add = 40
				has_trait = zealous
			}
		}
	}
}

pod1230objectives.40 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.38.t
	desc = pod1230objectives.38.desc
	theme = learning_theology_focus
	left_portrait = {
		character = scope:victorious_heretic
		animation = personality_zealous
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.40.a
	}
}

#pod1230objectives.41 = {
#	type = character_event
#    window = fullscreen_event
#	title = pod1230objectives.41.t
#	desc = pod1230objectives.41.desc
#	theme = anda_coa
#	override_background = { reference = eye_of_the_storm_background }
#	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }
#
#	immediate = {
#		play_music_cue = "mx_cue_epic_sacral_moment"	
#	}
#
#	option = {
#		name =  pod1230objectives.41.a
#		
#		faith = {
#			add_doctrine = secure_anda_doctrine
#			}		
#		
#		custom_tooltip = pod1230objectives.41.custom
#	
#		hidden_effect = {		
#		every_living_character = {
#			if = {
#				limit = {
#					is_gangrel_trigger = yes
#					NOT = { faith = root.faith }
#				}
#				add_opinion = {
#					modifier = impressed_westerner_opinion
#					target = scope:victorious_anda
#					years = 50
#				}
#			}	
#		}	
#		}
#		
#		custom_tooltip = quincunx_invasion_removed_tt
#		
#		hidden_effect = {
#		every_player = { 
#		limit = {
#			NOT = { this = scope:victorious_anda }
#			}
#		trigger_event = pod1230objectives.42
#			}
#		}
#	}
#}
#
#pod1230objectives.42 = {
#	type = character_event
#	content_source = dlc_POD
#	title = pod1230objectives.41.t
#	desc = pod1230objectives.41.desc
#	theme = anda_coa
#	left_portrait = {
#		character = scope:victorious_anda
#		animation = personality_bold
#	}
#
#	immediate = {
#		play_music_cue = "mx_cue_epic_sacral_moment"	
#	}
#
#	option = {
#		name = { # Regular
#			trigger = {
#				NOT = {
#					is_gangrel_trigger = yes	
#				}
#			}
#			text = pod1230objectives.42.a
#		}
#		name = { # Gangrel
#			trigger = {
#					is_gangrel_trigger = yes
#				}
#			text = pod1230objectives.42.b
#		}
#			
#	}
#}


pod1230objectives.43 = {
	type = character_event
    window = fullscreen_event
	title = pod1230objectives.43.t
	desc = pod1230objectives.43.desc
	theme = gangrel_coa
	override_background = { reference = the_scourge_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name =  pod1230objectives.43.a
		
	hidden_effect = {
		every_held_title = { #Should shift all dejure of all Empires owned at the time.
			limit = {
				tier >= tier_empire
			}
			every_in_de_jure_hierarchy = {
				limit = {
					tier = tier_kingdom
				}
				set_de_jure_liege_title = title:e_gangrel
				
			}
		}
		every_held_title = { #Completely Controlled Kingdoms as well.
			limit = {
				tier = tier_kingdom
				root = { completely_controls = prev }
			}
			set_de_jure_liege_title = title:e_gangrel
		}
	}
	
		create_title_and_vassal_change = {
			type = created
			save_scope_as = change
			add_claim_on_loss = no
		}

	title:e_gangrel = {
		change_title_holder = {
			holder = root
			change = scope:change
		}
	}
	resolve_title_and_vassal_change = scope:change
	hidden_effect = { set_primary_title_to = title:e_gangrel }
	
	every_held_title = { #Should destroy all other Empires owned at the time.
		limit = {
				tier >= tier_empire
			NOT = { this = title:e_gangrel }
		}
		root = { destroy_title = prev }
	
	}	
		add_character_modifier = {
			modifier = alpha_gangrel_modifier
		}	
		
		custom_tooltip = pod1230objectives.43.custom
	
		hidden_effect = {		
		every_ruler = {
			if = {
				limit = {
					NOT = { is_gangrel_trigger = yes }
					NOT = { faith = root.faith }
				}
		add_character_modifier = {
			modifier = collapse_civilisation_modifier
			years = 100
		}
			}	
		}	
		}
		
		
		hidden_effect = {
		every_player = { 
		limit = {
			is_vampire_trigger = yes
			NOT = { this = scope:victorious_gangrel }
			}
		trigger_event = pod1230objectives.44
			}
		}
	}
}

pod1230objectives.44 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.43.t
	desc = pod1230objectives.43.desc
	theme = gangrel_coa
	left_portrait = {
		character = scope:victorious_gangrel
		animation = personality_bold
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = { # Regular
			trigger = {
				NOT = {
					is_gangrel_trigger = yes	
				}
			}
			text = pod1230objectives.44.a
		}
		name = { # Gangrel
			trigger = {
					is_gangrel_trigger = yes
				}
			text = pod1230objectives.44.b
		}
			
	}
}

pod1230objectives.45 = {
	type = character_event
    window = fullscreen_event
	title = pod1230objectives.45.t
	desc = pod1230objectives.45.desc
	theme = tremere_coa
	override_background = { reference = the_will_of_tremere_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name =  pod1230objectives.45.a

		if = {
			limit = {
				NOT = { has_variable = influence_inner_council }
			}
		custom_tooltip = tremere_council_entry_tt
		
		add_to_global_variable_list = {
			name = tremere_council_list
			target = root
		}
		
		set_variable = {
			name = influence_inner_council
			value = 50
		}
		}

		if = {
			limit = {
				NOT = {
					has_any_nickname = yes
					}
				}
				give_nickname = nick_voice_of_tremere
		}
		

		add_character_modifier = {
			modifier = prime_councilor_modifier
		}
		root.dynasty = {
			add_dynasty_prestige = 1000
			add_dynasty_prestige_level = 1
		}
		
		custom_tooltip = pod1230objectives.45.custom
	
		hidden_effect = {		
		every_living_character = {
			limit = {
			OR = {
				is_tzimisce_trigger = yes
				is_salubri_trigger = yes
				has_trait = bloodsorceryadvanced
				has_trait = bloodsorcery				
				}				
				NOT = { faith = root.faith }
				}
		add_character_modifier = {
			modifier = prime_curse_modifier
			years = 100
		}
			}	
		}	
			
		hidden_effect = {
		every_player = { 
		limit = {
			is_vampire_trigger = yes
			NOT = { this = scope:victorious_tremere }
			}
		trigger_event = pod1230objectives.46
			}
		}
	}
}


pod1230objectives.46 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.45.t
	desc = pod1230objectives.45.desc
	theme = tremere_coa
	left_portrait = {
		character = scope:victorious_tremere
		animation = schadenfreude
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = { # Regular
			trigger = {
				NOT = {
					is_tremere_trigger = yes	
				}
			}
			text = pod1230objectives.46.a
		}
		name = { # Tremere
			trigger = {
					is_tremere_trigger = yes
				}
			text = pod1230objectives.46.b
		}
			
	}
}


pod1230objectives.47 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.47.t
	desc = pod1230objectives.47.desc
	theme = tzimisce_coa
	left_portrait = {
		character = scope:victorious_tzimisce
		animation = schadenfreude
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.47.a

										if = {
			limit = {
				NOT = {
					has_any_nickname = yes
					}
					}
						give_nickname = nick_lord_of_scions
		}	
		
		add_pressed_claim = title:e_fiefs_of_the_black_cross
		
		custom_tooltip = pod1230objectives.47.custom
	
		hidden_effect = {		
		every_living_character = {
		limit = {
			is_tzimisce_trigger = yes
		}
		add_character_modifier = {
			modifier = dark_nobility_modifier
		}
		}
		}
		
		hidden_effect = {
		every_player = { 
		limit = {
			is_vampire_trigger = yes
			NOT = { this = scope:victorious_tzimisce }
			}
		trigger_event = pod1230objectives.48
			}
		}	
		
	}
	
	option = {
		name = pod1230objectives.47.b

								if = {
			limit = {
				NOT = {
					has_any_nickname = yes
					}
					}
						give_nickname = nick_seeker_of_seekers
		}	
			
		set_character_faith = faith:viamutationis
		
		faith:viamutationis = {
				add_doctrine = militarized_experiments_doctrine
			}
		
		custom_tooltip = pod1230objectives.47.customb
		
		hidden_effect = {		
		every_living_character = {
		limit = {
			is_tzimisce_trigger = yes
		}
		set_character_faith = faith:viamutationis
		}
		}
		
		hidden_effect = {
		every_player = { 
		limit = {
			is_vampire_trigger = yes
			NOT = { this = scope:victorious_tzimisce }
			}
		trigger_event = pod1230objectives.48
			}
		}		
		
	}	
	
	option = {
		name = pod1230objectives.47.c	

		
												if = {
			limit = {
				NOT = {
					has_any_nickname = yes
					}
					}
						give_nickname = nick_kupalas_favored
		}	
			
		add_character_modifier = {
			modifier = kupala_empowered_modifier
			}
		
		custom_tooltip = pod1230objectives.47.customc
		
		hidden_effect = {		
		every_living_character = {
		limit = {
			is_tzimisce_trigger = yes
			NOT = { this = scope:victorious_tzimisce }
		}
		add_character_modifier = {
			modifier = kupala_depowered_modifier
		}
		}
		}
		
		hidden_effect = {
		every_player = { 
		limit = {
			is_vampire_trigger = yes
			NOT = { this = scope:victorious_tzimisce }
			}
		trigger_event = pod1230objectives.48
			}
		}
		
	}		
}

pod1230objectives.48 = {
	type = character_event
    window = fullscreen_event
	title = pod1230objectives.47.t
	desc = pod1230objectives.47.desc
	theme = tzimisce_coa
	override_background = { reference = eternal_change_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }	
	left_portrait = {
		character = scope:victorious_tzimisce
		animation = schadenfreude
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = { # Regular
			trigger = {
				NOT = {
			is_tzimisce_trigger = yes	
				}
			}
			text = pod1230objectives.48.a
		}
		name = { # Tzimisce
			trigger = {
				is_tzimisce_trigger = yes		
				}
			text = pod1230objectives.48.b
		}
			
	}
}

# pod1230objectives.49 = {
# 	type = character_event
#     window = fullscreen_event
# 	title = pod1230objectives.49.t
# 	desc = pod1230objectives.49.desc
# 	theme = cappadocian_coa
# 	override_background = { reference = sargon_codex_background }
# 	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }

# 	immediate = {
# 		play_music_cue = "mx_cue_epic_sacral_moment"
# 	}

# 	option = {
# 		name = pod1230objectives.49.a
		
# 		add_trait = lunatic_1
# 		remove_trait = dull
# 		remove_trait = intellect_bad_1
# 		remove_trait = intellect_bad_2
# 		remove_trait = intellect_bad_3
# 		change_trait_rank = {
# 			trait = intellect_good
# 			rank = 3
# 			max = 3
# 		}
# 		add_stress = monumental_stress_gain
		
# 		add_character_modifier = {
# 			modifier = sargon_codex_modifier
# 		}
		
# 		hidden_effect = {
# 		every_player = { 
# 		limit = {
# 			NOT = { this = scope:victorious_cappadocian }
# 			}
# 		trigger_event = pod1230objectives.50
# 			}
# 		}	
		
# 	}
	
# 	option = {
# 		name = pod1230objectives.49.b	
			
# 		add_prestige = massive_prestige_value
# 		add_prestige_level = 2		
		
# 		add_character_modifier = {
# 			modifier = sargon_fragment_modifier
# 		}
		
# 		custom_tooltip = pod1230objectives.49.custom
		
# 		hidden_effect = {		
# 		every_living_character = {
# 		limit = {
# 			is_cappadocian_trigger = yes
# 			NOT = { this = scope:victorious_cappadocian }
# 		}
# 		add_opinion = {
# 				modifier = grateful_brethren_opinion
# 				target = scope:victorious_cappadocian
# 				years = 50
# 			}		
# 		}
# 		}
		
# 		hidden_effect = {
# 		every_player = { 
# 		limit = {
# 			NOT = { this = scope:victorious_cappadocian }
# 			}
# 		trigger_event = pod1230objectives.50
# 			}
# 		}		
		
# 	}
	
# 	option = {
# 		name = pod1230objectives.49.c
		
# 		trigger = { 
# 			this = character:790140
# 			}
			
# 		custom_tooltip = sargon_ambrogino_tooltip
# 		add_internal_flag = special
		
# 		add_trait = intellect_good_3
# 		add_stress = monumental_stress_gain
		
		
# 		add_character_modifier = {
# 			modifier = ambrogino_sargon_codex_modifier
# 		}		
		
# 		hidden_effect = {
# 		every_player = { 
# 		limit = {
# 			NOT = { this = scope:victorious_cappadocian }
# 			}
# 		trigger_event = pod1230objectives.50
# 			}
# 		}	
		
# 	}		
# }

# pod1230objectives.50 = {
# 	type = character_event
# 	content_source = dlc_POD
# 	title = pod1230objectives.49.t
# 	desc = pod1230objectives.49.desc
# 	theme = cappadocian_coa
# 	left_portrait = {
# 		character = scope:victorious_cappadocian
# 		animation = worry
# 	}

# 	immediate = {
# 		play_music_cue = "mx_cue_epic_sacral_moment"	
# 	}

# 	option = {
# 		name = { # Regular
# 			trigger = {
# 				NOT = {
# 			is_malkavian_trigger = yes	
# 				}
# 			}
# 			text = pod1230objectives.50.a
# 		}
# 		name = { # Malkavian
# 			trigger = {
# 				is_malkavian_trigger = yes		
# 				}
# 			text = pod1230objectives.50.b
# 		}
			
# 	}
# }


pod1230objectives.51 = {
	type = character_event
    window = fullscreen_event
	title = pod1230objectives.51.t
	desc = pod1230objectives.51.desc
	theme = giovanni_coa
	override_background = { reference = the_conspiracy_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.51.a

		if = {
			limit = {
				OR = {
				NOT = {
					has_any_nickname = yes
					}
				this = character:505018
				}
			}
			give_nickname = nick_the_antediluvian
		}
		
		if = {
			limit = {
				NOT = {
					has_character_modifier = young_third_modifier
					}
					}
		add_character_modifier = {
			modifier = pseudo_third_modifier
		}
		}
		custom_tooltip = pod1230objectives.51.custom
		
		hidden_effect = {
			every_living_character = {
				limit = {
					is_giovanni_trigger = yes
				}
				remove_trait = cappadocian
				add_trait = giovanni
				add_character_modifier = {
					modifier = cappadocian_purge_modifier
					years = 20
				}
				}	
			every_living_character = {
				limit = {
					is_cappadocian_trigger = yes
					is_giovanni_trigger = no		
				}	
				add_character_modifier = {
					modifier = kill_on_sight_modifier
					years = 200
				}			
			}
		
		}	
	
	hidden_effect = {
		every_held_title = { #Should shift all dejure of all Empires owned at the time.
			limit = {
				tier >= tier_empire
			}
			every_in_de_jure_hierarchy = {
				limit = {
					tier = tier_kingdom
				}
				set_de_jure_liege_title = title:e_giovanni
				
			}
		}
		every_held_title = { #Completely Controlled Kingdoms as well.
			limit = {
				tier = tier_kingdom
				root = { completely_controls = prev }
			}
			set_de_jure_liege_title = title:e_giovanni
		}
	}	
	
		create_title_and_vassal_change = {
			type = created
			save_scope_as = change
			add_claim_on_loss = no
		}

		title:e_giovanni = {
			change_title_holder = {
			holder = root
			change = scope:change
			}
		}
		resolve_title_and_vassal_change = scope:change
		hidden_effect = { set_primary_title_to = title:e_giovanni }

	every_held_title = { #Should destroy all other Empires owned at the time.
		limit = {
				tier >= tier_empire
			NOT = { this = title:e_giovanni }
		}
		root = { destroy_title = prev }
	}
			
		hidden_effect = {
		every_player = { 
		limit = {
			is_vampire_trigger = yes
			NOT = { this = scope:victorious_giovanni }
			}
		trigger_event = pod1230objectives.52
			}
		}	
		
	}	
}

pod1230objectives.52 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.51.t
	desc = pod1230objectives.51.desc
	theme = giovanni_coa
	left_portrait = {
		character = scope:victorious_giovanni
		animation = schadenfreude
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = { # Regular
			trigger = {
				NOT = {
			is_cappadocian_trigger = yes	
				}
			}
			text = pod1230objectives.52.a
		}
		name = { # Cappadocian
			trigger = {
				is_cappadocian_trigger = yes		
				}
			text = pod1230objectives.52.b
		}
			
	}
}

pod1230objectives.53 = {
	type = character_event
    window = fullscreen_event
	title = pod1230objectives.53.t
	desc = pod1230objectives.53.desc
	theme = diplomacy_majesty_focus
	override_background = { reference = the_new_beginnings_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"

		random_sub_realm_barony = {
			limit = {
				holder = {
					is_ai = yes
					NOT = { this = root }
					highest_held_title_tier = tier_barony 
					}
				}
			save_scope_as = barony
		}			
	}

	option = {
		name = pod1230objectives.53.a
		
		add_character_modifier = {
			modifier = decentralized_rule_modifier
		}

	hidden_effect = {
		every_held_title = { #Should shift all dejure of all Empires owned at the time.
			limit = {
				tier >= tier_empire
			}
			every_in_de_jure_hierarchy = {
				limit = {
					tier = tier_kingdom
				}
				set_de_jure_liege_title = title:e_free_states
				
			}
		}
		every_held_title = { #Completely Controlled Kingdoms as well.
			limit = {
				tier = tier_kingdom
				root = { completely_controls = prev }
			}
			set_de_jure_liege_title = title:e_free_states
		}
	}
		
		create_title_and_vassal_change = {
			type = created
			save_scope_as = change
			add_claim_on_loss = no
		}

		title:e_free_states = {
			change_title_holder = {
			holder = root
			change = scope:change
			}
		}
		resolve_title_and_vassal_change = scope:change
		hidden_effect = { set_primary_title_to = title:e_free_states }
	
	every_held_title = { #Should destroy all other Empires owned at the time.
		limit = {
				tier >= tier_empire
			NOT = { this = title:e_free_states }
		}
		root = { destroy_title = prev }
	}
	
		custom_tooltip = create_holy_order_decision_effect_message
		
		hidden_effect = {
			if = {
				limit = { NOT = { scope:barony.holder = root } }
		create_title_and_vassal_change = {
			type = created
			save_scope_as = change
			add_claim_on_loss = no
		}

				scope:barony = {
					change_title_holder_include_vassals = {
						holder = root
						change = scope:change
					}
				}
				resolve_title_and_vassal_change = scope:change
			}
		}
		
		create_character = {
			gender_female_chance = 50
			template_character = root
			trait = brujah
			trait = vampire
			trait = zealous
			trait = education_martial_4
			trait = order_member
			random_traits_list = {
				count = 1
				presence = {}
				auspex = {}
				dominate = {}
				potence = {}
				celerity = {}
				fortitude = {}
				obfuscate = {}
			}	
			location = scope:barony.title_province
			save_scope_as = leader
		}

		create_holy_order = {
			leader = scope:leader
			capital = scope:barony
			save_scope_as = new_holy_order
		}

		hidden_effect = {
			scope:leader = {
				add_gold = 100 #So that they have some money to lend out
				add_piety_level = 2
				add_gold = holy_order_starting_gold
				every_courtier = {
					add_trait = order_member
				}
			}
		}
		hidden_effect = {
		every_player = { 
		limit = {
			is_vampire_trigger = yes
			NOT = { this = scope:victorious_furore }
			}
		trigger_event = pod1230objectives.54
			}
		}	
		
	}	
}

pod1230objectives.54 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.53.t
	desc = pod1230objectives.53.desc
	theme = diplomacy_majesty_focus
	left_portrait = {
		character = scope:victorious_furore
		animation = personality_honorable
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = { # Regular
			trigger = {
				NOT = {
				has_faith = faith:viafurores
				has_faith = faith:vialiberatio
				has_faith = faith:viaadversarius
				}
			}
			text = pod1230objectives.54.a
		}
		name = { # Furores
			trigger = {
				has_faith = faith:viafurores
				has_faith = faith:vialiberatio
				has_faith = faith:viaadversarius		
				}
			text = pod1230objectives.54.b
		}
			
	}
}

pod1230objectives.55 = {
	type = character_event
    window = fullscreen_event
	title = pod1230objectives.55.t
	desc = pod1230objectives.55.desc
	theme = setite_coa
	override_background = { reference = the_serpents_embrace_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.55.a

								if = {
			limit = {
				NOT = {
					has_any_nickname = yes
					}
					}
						give_nickname = nick_sets_herald
		}

	add_character_modifier = {
		modifier = serpent_allure_modifier
		}	

	custom_tooltip = pod1230objectives.55.custom
	
	add_pressed_claim = title:e_assamites	
	add_pressed_claim = title:k_webofknives
	add_pressed_claim = title:k_losttribe
	add_pressed_claim = title:k_makran
	
	title:k_olives = {
	set_de_jure_liege_title = title:e_setite
	}

	title:k_syria = {
	set_de_jure_liege_title = title:e_setite
	}
	
	custom_tooltip = pod1230objectives.55.customb
	
		hidden_effect = {		
		every_living_character = {
		limit = {
			is_vampire_trigger = yes
			NOT = { faith = root.faith }
			NOT = { has_trait = zealous }
			is_ai = yes
			OR = {
				has_trait = lustful
				has_trait = gluttonous
				has_trait = greedy
				}
		}
			set_character_faith = root.faith
		}
		}
		
		hidden_effect = {
		every_player = { 
		limit = {
			is_vampire_trigger = yes
			NOT = { this = scope:victorious_setite }
			}
		trigger_event = pod1230objectives.56
			}
		}	
		
	}
		
}

pod1230objectives.56 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.55.t
	desc = pod1230objectives.55.desc
	theme = setite_coa
	left_portrait = {
		character = scope:victorious_setite
		animation = flirtation
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = { # Regular
			trigger = {
				NOT = {
					is_setite_trigger = yes	
				}
			}
			text = pod1230objectives.56.a
		}
		name = { # Setite
			trigger = {
				is_setite_trigger = yes	
				}
			text = pod1230objectives.56.b
		}
			
	}
}

pod1230objectives.57 = {
	type = character_event
    window = fullscreen_event
	title = pod1230objectives.57.t
	desc = pod1230objectives.57.desc
	theme = salubri_coa
	override_background = { reference = the_reckoning_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.57.a

		create_artifact = {
			name = sword_samiel_artifact_name
			description = sword_samiel_artifact_description
			decaying = no	
			wealth = 90
			quality = 90			
			history = {
				type = created_before_history
			}
			type = sword
			visuals = wall_POD_sword_of_nul
			modifier = sword_samiel_modifier
		}

	give_nickname = nick_avenging_angel

	hidden_effect = {
		every_held_title = { #Should shift all dejure of all Empires owned at the time.
			limit = {
				tier >= tier_empire
			}
			every_in_de_jure_hierarchy = {
				limit = {
					tier = tier_kingdom
				}
				set_de_jure_liege_title = title:e_salubri
				
			}
		}
		every_held_title = { #Completely Controlled Kingdoms as well.
			limit = {
				tier = tier_kingdom
				root = { completely_controls = prev }
			}
			set_de_jure_liege_title = title:e_salubri
		}
	}

		create_title_and_vassal_change = {
			type = created
			save_scope_as = change
			add_claim_on_loss = no
		}

	title:e_salubri = {
		change_title_holder = {
			holder = root
			change = scope:change
		}
	}
	resolve_title_and_vassal_change = scope:change
	hidden_effect = { set_primary_title_to = title:e_salubri }
	
	every_held_title = { #Should destroy all other Empires owned at the time.
		limit = {
				tier >= tier_empire
			NOT = { this = title:e_salubri }
		}
		root = { destroy_title = prev }
	}
	
	custom_tooltip = pod1230objectives.57.custom
	
	hidden_effect = {		
		every_living_character = {
		limit = {
			is_tremere_trigger = yes
		}
		add_character_modifier = {
		modifier = usurpers_exposed_modifier
		}	
		}
		}
		
		hidden_effect = {
		every_player = { 
		limit = {
			is_vampire_trigger = yes
			NOT = { this = scope:victorious_salubri }
			}
		trigger_event = pod1230objectives.58
			}
		}	
		
	}
	
	option = {
		name = pod1230objectives.57.b

	add_character_modifier = {
		modifier = saulot_heir_modifier
		}	

	hidden_effect = {
		every_held_title = { #Should shift all dejure of all Empires owned at the time.
			limit = {
				tier >= tier_empire
			}
			every_in_de_jure_hierarchy = {
				limit = {
					tier = tier_kingdom
				}
				set_de_jure_liege_title = title:e_salubri
				
			}
		}
		every_held_title = { #Completely Controlled Kingdoms as well.
			limit = {
				tier = tier_kingdom
				root = { completely_controls = prev }
			}
			set_de_jure_liege_title = title:e_salubri
		}
	}

		create_title_and_vassal_change = {
			type = created
			save_scope_as = change
			add_claim_on_loss = no
		}

	title:e_salubri = {
		change_title_holder = {
			holder = root
			change = scope:change
		}
	}
	resolve_title_and_vassal_change = scope:change
	hidden_effect = { set_primary_title_to = title:e_salubri }
	
	every_held_title = { #Should destroy all other Empires owned at the time.
		limit = {
				tier >= tier_empire
			NOT = { this = title:e_salubri }
		}
		root = { destroy_title = prev }
	}
	
	custom_tooltip = pod1230objectives.57.custom
	
	hidden_effect = {		
		every_living_character = {
		limit = {
			is_tremere_trigger = yes
		}
		add_character_modifier = {
		modifier = usurpers_exposed_modifier
		}	
		}
		}
		
		hidden_effect = {
		every_player = { 
		limit = {
			is_vampire_trigger = yes
			NOT = { this = scope:victorious_salubri }
			}
		trigger_event = pod1230objectives.58
			}
		}	
		
	}	
}

pod1230objectives.58 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.57.t
	desc = pod1230objectives.57.desc
	theme = salubri_coa
	left_portrait = {
		character = scope:victorious_salubri
		animation = personality_vengeful
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = { # Regular
			trigger = {
				NOT = {
					is_tremere_trigger = yes	
				}
			}
			text = pod1230objectives.58.a
		}
		name = { # Tremere
			trigger = {
				is_tremere_trigger = yes	
				}
			text = pod1230objectives.58.b
		}
			
	}
}


pod1230objectives.59 = {
	type = character_event
    window = fullscreen_event
	title = pod1230objectives.59.t
	desc = pod1230objectives.59.desc
	theme = baali_coa
	override_background = { reference = the_end_of_ages_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.59.a

						if = {
			limit = {
				NOT = {
					has_any_nickname = yes
					}
					}
						give_nickname = nick_the_great_enemy
		}

	add_character_modifier = {
		modifier = herald_of_the_end_modifier
		}	

	hidden_effect = {
		every_held_title = { #Should shift all dejure of all Empires owned at the time.
			limit = {
				tier >= tier_empire
			}
			every_in_de_jure_hierarchy = {
				limit = {
					tier = tier_kingdom
				}
				set_de_jure_liege_title = title:e_baali
				
			}
		}
		every_held_title = { #Completely Controlled Kingdoms as well.
			limit = {
				tier = tier_kingdom
				root = { completely_controls = prev }
			}
			set_de_jure_liege_title = title:e_baali
		}
	}

		create_title_and_vassal_change = {
			type = created
			save_scope_as = change
			add_claim_on_loss = no
		}

	title:e_baali = {
		change_title_holder = {
			holder = root
			change = scope:change
		}
	}
	resolve_title_and_vassal_change = scope:change
	hidden_effect = { set_primary_title_to = title:e_baali }

	every_held_title = { #Should destroy all other Empires owned at the time.
		limit = {
				tier >= tier_empire
			NOT = { this = title:e_baali }
		}
		root = { destroy_title = prev }
	}
	
	root.dynasty = {
			add_dynasty_prestige = 20000
			add_dynasty_prestige_level = 1
		
		}
		
	dynasty ?= { set_variable = demons_unlock_variable }		

	custom_tooltip =  baali_victory_objective_decision_effect_tooltip 
	
	hidden_effect = {
		every_player = { 
		limit = {
			is_vampire_trigger = yes
			NOT = { this = scope:victorious_baali }
			}
		trigger_event = pod1230objectives.60
			}
		}	
		
	}
	
}

pod1230objectives.60 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.59.t
	desc = pod1230objectives.59.desc
	theme = baali_coa
	left_portrait = {
		character = scope:victorious_baali
		animation = anger
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = { # Regular
			trigger = {
				NOT = {
					is_baali_trigger = yes	
				}
			}
			text = pod1230objectives.60.a
		}
		name = { # Baali
			trigger = {
				is_baali_trigger = yes	
				}
			text = pod1230objectives.60.b
		}
			
	}
}

pod1230objectives.61 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.61.t
	desc = pod1230objectives.61.desc
	theme = baali_coa
	left_portrait = {
		character = scope:victorious_molochim
		animation = personality_rational
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"

		random_sub_realm_barony = {
			limit = {
				holder = {
					is_ai = yes
					NOT = { this = root }
					highest_held_title_tier = tier_barony 
					}
				}
			save_scope_as = barony
		}			
	}

	option = {
		name = pod1230objectives.61.a

								if = {
			limit = {
				NOT = {
					has_any_nickname = yes
					}
					}
						give_nickname = nick_warden_of_baali
		}

		custom_tooltip = create_holy_order_decision_effect_message
		
		hidden_effect = {
			if = {
				limit = { NOT = { scope:barony.holder = root } }
		create_title_and_vassal_change = {
			type = created
			save_scope_as = change
			add_claim_on_loss = no
		}

				scope:barony = {
					change_title_holder_include_vassals = {
						holder = root
						change = scope:change
					}
				}
				resolve_title_and_vassal_change = scope:change
			}
		}
		
		create_character = {
			gender_female_chance = 50
			template_character = root
			trait = baali
			trait = vampire
			trait = zealous
			trait = education_martial_4
			trait = order_member
			random_traits_list = {
				count = 1
				presence = {}
				auspex = {}
				dominate = {}
				potence = {}
				celerity = {}
				fortitude = {}
				obfuscate = {}
			}	
			location = scope:barony.title_province
			save_scope_as = leader
		}

		create_holy_order = {
			leader = scope:leader
			capital = scope:barony
			save_scope_as = new_holy_order
		}

		hidden_effect = {
			scope:leader = {
				add_gold = 100 #So that they have some money to lend out
				add_piety_level = 2
				add_gold = holy_order_starting_gold
				every_courtier = {
					add_trait = order_member
				}
			}
		}
		
	add_piety = massive_piety_value
	add_piety_level = 2
	
			faith = {
				add_doctrine = warden_network_doctrine
			}		
		
		
	hidden_effect = {
		every_player = { 
		limit = {
			is_vampire_trigger = yes
			NOT = { this = scope:victorious_molochim }
			}
		trigger_event = pod1230objectives.62
			}
		}	
		
	}
	
}

pod1230objectives.62 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.61.t
	desc = pod1230objectives.61.desc
	theme = baali_coa
	left_portrait = {
		character = scope:victorious_molochim
		animation = personality_rational
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = { # Regular
			trigger = {
				NOT = {
					is_baali_trigger = yes	
				}
			}
			text = pod1230objectives.62.a
		}
		name = { # Baali
			trigger = {
				is_baali_trigger = yes	
				}
			text = pod1230objectives.62.b
		}
			
	}
}

pod1230objectives.63 = {
	type = character_event
    window = fullscreen_event
	title = pod1230objectives.63.t
	desc = pod1230objectives.63.desc
	theme = ravnos_coa
	override_background = { reference = west_and_east_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
		
	}

	option = {
		name = pod1230objectives.63.a

	hidden_effect = {
		every_held_title = { #Should shift all dejure of all Empires owned at the time.
			limit = {
				tier >= tier_empire
			}
			every_in_de_jure_hierarchy = {
				limit = {
					tier = tier_kingdom
				}
				set_de_jure_liege_title = title:e_western_ravnos
				
			}
		}
		every_held_title = { #Completely Controlled Kingdoms as well.
			limit = {
				tier = tier_kingdom
				root = { completely_controls = prev }
			}
			set_de_jure_liege_title = title:e_western_ravnos
		}
	}
		
		create_title_and_vassal_change = {
			type = created
			save_scope_as = change
			add_claim_on_loss = no
		}

	title:e_western_ravnos = {
		change_title_holder = {
			holder = root
			change = scope:change
		}
	}
	resolve_title_and_vassal_change = scope:change
	hidden_effect = { set_primary_title_to = title:e_western_ravnos }

	every_held_title = { #Should destroy all other Empires owned at the time.
		limit = {
				tier >= tier_empire
			NOT = { this = title:e_western_ravnos }
		}
		root = { destroy_title = prev }
	}

	custom_tooltip = pod1230objectives.63.custom		
	hidden_effect = {	
	every_independent_ruler = {
			limit = {
				OR = {
			is_ventrue_trigger = yes
			is_lasombra_trigger = yes
			is_tzimisce_trigger = yes
			}
			}
			add_character_modifier = {
				modifier = broken_authority_modifier
				years = 50
				}		
			}				
	}		
	
	custom_tooltip = pod1230objectives.63.customb	
	hidden_effect = {	
		create_character = {
			gender_female_chance = 50
			template_character = root
			culture = culture:hindustani
			trait = intellect_good_3
			trait = education_diplomacy_4	
			trait = mortal
			location = root.capital_province
			save_scope_as = ravnos_candidate
			diplomacy = 10
			stewardship = 10
			learning = 10
		}	
		add_courtier = scope:ravnos_candidate
	}	
	hidden_effect = {
		every_player = { 
		limit = {
			is_vampire_trigger = yes
			NOT = { this = scope:victorious_ravnos }
			}
		trigger_event = pod1230objectives.64
			}
		}	
	
	if = {
		limit = {
			this = character:790274
			}
		custom_tooltip = durga_young_tt
		set_immortal_age = 18
		remove_character_modifier = baba_yagas_curse_modifier
		add_trait = beauty_good_3
		}
	}	
	
	option = {
		name = pod1230objectives.63.b
		
	add_pressed_claim = title:e_ravnos	
		
	hidden_effect = {
		every_held_title = { #Should shift all dejure of all Empires owned at the time.
			limit = {
				tier >= tier_empire
			}
			every_in_de_jure_hierarchy = {
				limit = {
					tier = tier_kingdom
				}
				set_de_jure_liege_title = title:e_western_ravnos
				
			}
		}
		every_held_title = { #Completely Controlled Kingdoms as well.
			limit = {
				tier = tier_kingdom
				root = { completely_controls = prev }
			}
			set_de_jure_liege_title = title:e_western_ravnos
		}
	}
		
		create_title_and_vassal_change = {
			type = created
			save_scope_as = change
			add_claim_on_loss = no
		}

	title:e_western_ravnos = {
		change_title_holder = {
			holder = root
			change = scope:change
		}
	}
	resolve_title_and_vassal_change = scope:change
	hidden_effect = { set_primary_title_to = title:e_western_ravnos }

	every_held_title = { #Should destroy all other Empires owned at the time.
		limit = {
				tier >= tier_empire
			NOT = { this = title:e_western_ravnos }
		}
		root = { destroy_title = prev }
	}
	
	custom_tooltip = pod1230objectives.63.custom		
	hidden_effect = {	
	every_independent_ruler = {
			limit = {
				OR = {
			is_ventrue_trigger = yes
			is_lasombra_trigger = yes
			is_tzimisce_trigger = yes
			}
			}
			add_character_modifier = {
				modifier = broken_authority_modifier
				years = 50
				}		
			}				
	}			
		
	hidden_effect = {
		every_player = { 
		limit = {
			is_vampire_trigger = yes
			NOT = { this = scope:victorious_ravnos }
			}
		trigger_event = pod1230objectives.64
			}
		}
		
	if = {
		limit = {
			this = character:790274
			}
		custom_tooltip = durga_young_tt
		set_immortal_age = 18
		remove_character_modifier = baba_yagas_curse_modifier
		add_trait = beauty_good_3
		}		
	}	
}

pod1230objectives.64 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.63.t
	desc = pod1230objectives.63.desc
	theme = ravnos_coa
	left_portrait = {
		character = scope:victorious_ravnos
		animation = personality_honorable
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = { # Regular
			trigger = {
				NOT = {
					is_ravnos_trigger = yes	
				}
			}
			text = pod1230objectives.64.a
		}
		name = { # Ravnos
			trigger = {
				is_ravnos_trigger = yes	
				}
			text = pod1230objectives.64.b
		}
			
	}
}

pod1230objectives.65 = {
	type = character_event
    window = fullscreen_event
	title = pod1230objectives.65.t
	desc = pod1230objectives.65.desc
	theme = stewardship_duty_focus
	override_background = { reference = ending_the_eternal_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
		
	}

	option = {
		name = pod1230objectives.65.a
		
	add_trait = chakravarti

	add_prestige = massive_prestige_value
	add_prestige_level = 2
	custom_tooltip = pod1230objectives.65.custom

	hidden_effect = {	
	every_living_character = {
			limit = {
				is_kueijin_trigger = yes
			}
			add_character_modifier = {
				modifier = kill_on_sight_modifier
				years = 50
				}		
			}				
	}		
	
	custom_tooltip = pod1230objectives.65.customb	
	hidden_effect = {	
	#Create the title and make it primary
	create_title_and_vassal_change = {
		type = created
		save_scope_as = title_change
		add_claim_on_loss = no
	}
	title:h_india = {
		change_title_holder = {
			holder = root
			change = scope:title_change
		}
	}
	resolve_title_and_vassal_change = scope:title_change
	set_primary_title_to = title:h_india

	title:e_rajastan = { add_to_list = indian_empire }
	title:e_deccan = { add_to_list = indian_empire }
	title:e_bengal = { add_to_list = indian_empire }
	title:e_ravnos = { add_to_list = indian_empire }
	title:e_infinite_thunder = { add_to_list = indian_empire }

	every_in_list = {
		list = indian_empire
		every_in_de_jure_hierarchy = {
			limit = {
				tier = tier_empire
			}
			set_de_jure_liege_title = title:h_india
		}
	}
	}	
	hidden_effect = {
		every_player = { 
		limit = {
			is_vampire_trigger = yes
			NOT = { this = scope:victorious_indian }
			}
		trigger_event = pod1230objectives.66
			}
		}	
		
	}	
	
}

pod1230objectives.66 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.65.t
	desc = pod1230objectives.65.desc
	theme = stewardship_duty_focus
	left_portrait = {
		character = scope:victorious_indian
		animation = personality_bold
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = { # Regular
			trigger = {
				NOT = {
					is_kueijin_trigger = yes	
				}
			}
			text = pod1230objectives.66.a
		}
		name = { # Kuei Jin
			trigger = {
				is_kueijin_trigger = yes	
				}
			text = pod1230objectives.66.b
		}
			
	}
}

pod1230objectives.67 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.67.t
	desc = pod1230objectives.67.desc
	theme = stewardship_duty_focus
	left_portrait = {
		character = scope:victorious_kueijin
		animation = personality_bold
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
		
	}

	option = {
		name = pod1230objectives.67.a
		

	add_prestige = massive_prestige_value
	add_prestige_level = 2
	
	add_gold = 5000
	
	custom_tooltip = pod1230objectives.67.custom	
	hidden_effect = {	
	#Create the title and make it primary
	create_title_and_vassal_change = {
		type = created
		save_scope_as = title_change
		add_claim_on_loss = no
	}
	title:h_india = {
		change_title_holder = {
			holder = root
			change = scope:title_change
		}
	}
	resolve_title_and_vassal_change = scope:title_change
	set_primary_title_to = title:h_india

	title:e_rajastan = { add_to_list = indian_empire }
	title:e_deccan = { add_to_list = indian_empire }
	title:e_bengal = { add_to_list = indian_empire }
	title:e_ravnos = { add_to_list = indian_empire }
	title:e_infinite_thunder = { add_to_list = indian_empire }

	every_in_list = {
		list = indian_empire
		every_in_de_jure_hierarchy = {
			limit = {
				tier = tier_empire
			}
			set_de_jure_liege_title = title:h_india
		}
	}

	}
	hidden_effect = {
		every_player = { 
		limit = {
			capital_province = {
				geographical_region = world_india
			}			
			NOT = { this = scope:victorious_kueijin }
			}
		trigger_event = pod1230objectives.68
			}
		}	
		
	}	
	
	option = {
		name = pod1230objectives.67.b
		

	add_prestige = massive_prestige_value
	add_prestige_level = 2
	
	add_character_modifier = {
		modifier = rebel_conqueror_modifier
		}	
	
	custom_tooltip = pod1230objectives.67.custom	
	
	hidden_effect = {
		every_player = { 
		limit = {
			capital_province = {
				geographical_region = world_india
			}				
			NOT = { this = scope:victorious_kueijin }
			}
		trigger_event = pod1230objectives.68
			}
		}	
		
	}		
	
}

pod1230objectives.68 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.67.t
	desc = pod1230objectives.67.desc
	theme = stewardship_duty_focus
	left_portrait = {
		character = scope:victorious_kueijin
		animation = personality_bold
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = { # Regular
			trigger = {
				NOT = {
					is_kueijin_trigger = yes	
				}
			}
			text = pod1230objectives.68.a
		}
		name = { # Kuei Jin
			trigger = {
				is_kueijin_trigger = yes	
				}
			text = pod1230objectives.68.b
		}
			
	}
}

pod1230objectives.69 = {
	type = character_event
    window = fullscreen_event
	title = pod1230objectives.69.t
	desc = pod1230objectives.69.desc
	theme = stewardship_duty_focus
	override_background = { reference = the_ebony_kingdom_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
		
	}

	option = {
		name = pod1230objectives.69.a
		

	add_prestige = massive_prestige_value
	add_prestige_level = 2
	
	add_gold = 1000

	add_character_modifier = {
		modifier = first_magaji_modifier
		}

	hidden_effect = {
		every_held_title = { #Should shift all dejure of all Empires owned at the time.
			limit = {
				tier >= tier_empire
			}
			every_in_de_jure_hierarchy = {
				limit = {
					tier = tier_kingdom
				}
				set_de_jure_liege_title = title:e_laibon
				
			}
		}
		every_held_title = { #Completely Controlled Kingdoms as well.
			limit = {
				tier = tier_kingdom
				root = { completely_controls = prev }
			}
			set_de_jure_liege_title = title:e_laibon
		}
	}
		
		create_title_and_vassal_change = {
			type = created
			save_scope_as = change
			add_claim_on_loss = no
		}

	title:e_laibon = {
		change_title_holder = {
			holder = root
			change = scope:change
		}
	}
	resolve_title_and_vassal_change = scope:change
	hidden_effect = { set_primary_title_to = title:e_laibon }
	
	every_held_title = { #Should destroy all other Empires owned at the time.
		limit = {
				tier >= tier_empire
			NOT = { this = title:e_laibon }
		}
		root = { destroy_title = prev }
	}
	
	hidden_effect = {
		every_player = { 
		limit = {
			capital_province = {
				geographical_region = world_africa
			}				
			NOT = { this = scope:victorious_laibon }
			}
		trigger_event = pod1230objectives.70
			}
		}	
		
	}	
	
}

pod1230objectives.70 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.69.t
	desc = pod1230objectives.69.desc
	theme = stewardship_duty_focus
	left_portrait = {
		character = scope:victorious_laibon
		animation = personality_bold
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = { # Regular
			trigger = {
				NOT = {
					has_religion = religion:roadoflaibon_religion
				}
			}
			text = pod1230objectives.70.a
		}
		name = { # Laibon
			trigger = {
				has_religion = religion:roadoflaibon_religion	
				}
			text = pod1230objectives.70.b
		}
			
	}
}


pod1230objectives.71 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.71.t
	desc = pod1230objectives.71.desc
	theme = inquisition
	left_portrait = {
		character = scope:victorious_knight
		animation = personality_bold
	}
	
	right_portrait = {
		character = scope:knight_of_acre
		animation = personality_bold
	}	
	

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
		
		if = {
			limit = {
				scope:victorious_knight = { is_female = no }
			}
		
			create_character = {
				save_scope_as = knight_of_acre
				name = "Matthieu"
				age = 18 
				location = scope:victorious_knight.capital_province
				dynasty_house = scope:victorious_knight.house
				culture = culture:french
				faith = scope:victorious_knight.faith
				gender = male
				trait = mortal
				trait = physique_good_3
				trait = zealous
				trait = brave
				trait = diligent
				trait = education_martial_4
				trait = order_member
				trait = strategist
				prowess = 20
				martial = 10
				random_traits = no
				after_creation = {	POD_character_vampire_lifestyle_initialization_effect = yes }
			}
		}			

		else = {
			
			create_character = {
				save_scope_as = knight_of_acre
				name = "Alix"
				age = 18 
				location = scope:victorious_knight.capital_province
				dynasty_house = scope:victorious_knight.house
				culture = culture:french
				faith = scope:victorious_knight.faith
				gender = female
				trait = mortal
				trait = physique_good_3
				trait = zealous
				trait = brave
				trait = diligent
				trait = education_martial_4
				trait = order_member
				trait = strategist
				prowess = 20
				martial = 10
				random_traits = no
				after_creation = {	POD_character_vampire_lifestyle_initialization_effect = yes }
			}	
		}			
	}

	option = {
		name = pod1230objectives.71.a
		
		faith = {
			add_doctrine = knights_acre_doctrine
		}
		dynasty = { add_dynasty_modifier = support_from_knight_of_acre_modifier }
		
		custom_tooltip = pod1230objectives.71.custom

		custom_tooltip = pod1230objectives.71.customb	

		add_courtier = scope:knight_of_acre
		
	hidden_effect = {
		every_player = { 
		limit = {
			capital_province = {
				geographical_region = world_europe
			}			
			NOT = { this = scope:victorious_knight }
			}
		trigger_event = pod1230objectives.72
			}
		}	
		
	}	
	
}

pod1230objectives.72 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.71.t
	desc = pod1230objectives.71.desc
	theme = inquisition
	left_portrait = {
		character = scope:victorious_knight
		animation = personality_bold
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = { # Regular
			trigger = {
				NOT = {
					has_religion = religion:hunters_religion
				}
			}
			text = pod1230objectives.72.a
		}
		name = { # Inquisition
			trigger = {
				has_religion = religion:hunters_religion	
				}
			text = pod1230objectives.72.b
		}
			
	}
}


pod1230objectives.73 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.73.t
	desc = pod1230objectives.73.desc
	theme = inquisition
	left_portrait = {
		character = scope:victorious_sister
		animation = personality_bold
	}
	
	right_portrait = {
		character = scope:sister_of_stjohn
		animation = personality_bold
	}	
	

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
		
		create_character = {
			save_scope_as = sister_of_stjohn
			name = "Mary"
			age = 18 
			location = scope:victorious_sister.capital_province
			dynasty_house = scope:victorious_sister.house
			culture = culture:english
			faith = scope:victorious_sister.faith
			gender = female
			trait = mortal
			trait = intellect_good_3
			trait = zealous
			trait = patient
			trait = diligent
			trait = education_diplomacy_4
			trait = order_member
			trait = diplomat
			diplomacy = 10
			stewardship = 10
			random_traits = no
			after_creation = {	POD_character_vampire_lifestyle_initialization_effect = yes }
				}			
		
	}

	option = {
		name = pod1230objectives.73.a
		
		faith = {
			add_doctrine = sisters_stjohn_doctrine	
		}
		
		dynasty = { add_dynasty_modifier = support_from_sister_of_stjohn_modifier }

		custom_tooltip = pod1230objectives.73.custom

		custom_tooltip = pod1230objectives.73.customb	

		add_courtier = scope:sister_of_stjohn
		
		hidden_effect = {
			every_player = { 
				limit = {
					capital_province = {
						geographical_region = world_europe
					}					
					NOT = { this = scope:victorious_sister }
				}
				trigger_event = pod1230objectives.74
			}
		}	
		
	}	
	
}

pod1230objectives.74 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.73.t
	desc = pod1230objectives.73.desc
	theme = inquisition
	left_portrait = {
		character = scope:victorious_sister
		animation = personality_bold
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = { # Regular
			trigger = {
				NOT = {
					has_religion = religion:hunters_religion
				}
			}
			text = pod1230objectives.72.a
		}
		name = { # Inquisition
			trigger = {
				has_religion = religion:hunters_religion	
				}
			text = pod1230objectives.72.b
		}
			
	}
}


pod1230objectives.75 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.75.t
	desc = pod1230objectives.75.desc
	theme = inquisition
	left_portrait = {
		character = scope:victorious_oculi
		animation = personality_bold
	}
	
	right_portrait = {
		character = scope:oculi_dei
		animation = personality_bold
	}	
	

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
		
		create_character = {
			save_scope_as = oculi_dei
			name = "Francesca"
			age = 18 
			location = scope:victorious_oculi.capital_province
			dynasty_house = scope:victorious_oculi.house
			culture = culture:castilian
			faith = scope:victorious_oculi.faith
			gender = female
			trait = mortal
			trait = intellect_good_3
			trait = zealous
			trait = patient
			trait = deceitful
			trait = education_intrigue_4
			trait = schemer
			intrigue = 10
			diplomacy = 10
			random_traits = no
			after_creation = {	POD_character_vampire_lifestyle_initialization_effect = yes }
				}			
		
	}

	option = {
		name = pod1230objectives.75.a
		
		faith = {
			add_doctrine = oculi_dei_doctrine	
		}

		dynasty = { add_dynasty_modifier = support_from_oculi_dei_modifier }
		
		custom_tooltip = pod1230objectives.75.custom

		custom_tooltip = pod1230objectives.75.customb	

		add_courtier = scope:oculi_dei
		
	hidden_effect = {
		every_player = { 
		limit = {
			capital_province = {
				geographical_region = world_europe
			}
			NOT = { this = scope:victorious_oculi }
			}
		trigger_event = pod1230objectives.76
			}
		}	
		
	}	
	
}

pod1230objectives.76 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.75.t
	desc = pod1230objectives.75.desc
	theme = inquisition
	left_portrait = {
		character = scope:victorious_oculi
		animation = personality_bold
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = { # Regular
			trigger = {
				NOT = {
					has_religion = religion:hunters_religion
				}
			}
			text = pod1230objectives.72.a
		}
		name = { # Inquisition
			trigger = {
				has_religion = religion:hunters_religion	
				}
			text = pod1230objectives.72.b
		}
			
	}
}


pod1230objectives.77 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.77.t
	desc = pod1230objectives.77.desc
	theme = inquisition
	left_portrait = {
		character = scope:victorious_red
		animation = personality_bold
	}
	
	right_portrait = {
		character = scope:red_order
		animation = personality_bold
	}	
	

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
		
		create_character = {
			save_scope_as = red_order
			name = "Andrea"
			age = 18 
			location = scope:victorious_red.capital_province
			dynasty_house = scope:victorious_red.house
			culture = culture:italian
			faith = scope:victorious_red.faith
			gender = female
			trait = mortal
			trait = intellect_good_3
			trait = zealous
			trait = patient
			trait = calm
			trait = education_learning_4
			trait = scholar
			learning = 10
			intrigue = 10
			random_traits = no
			after_creation = {	POD_character_vampire_lifestyle_initialization_effect = yes }
				}			
		
	}

	option = {
		name = pod1230objectives.77.a
		
		faith = {
			add_doctrine = red_order_doctrine	
		}

		dynasty = { add_dynasty_modifier = support_from_red_order_modifier }
		
		custom_tooltip = pod1230objectives.77.custom

		custom_tooltip = pod1230objectives.77.customb	

		add_courtier = scope:red_order
		
	hidden_effect = {
		every_player = { 
		limit = {
			capital_province = {
				geographical_region = world_europe
			}			
			NOT = { this = scope:victorious_red }
			}
		trigger_event = pod1230objectives.78
			}
		}	
		
	}	
	
}

pod1230objectives.78 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.77.t
	desc = pod1230objectives.77.desc
	theme = inquisition
	left_portrait = {
		character = scope:victorious_red
		animation = personality_bold
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = { # Regular
			trigger = {
				NOT = {
					has_religion = religion:hunters_religion
				}
			}
			text = pod1230objectives.72.a
		}
		name = { # Inquisition
			trigger = {
				has_religion = religion:hunters_religion	
				}
			text = pod1230objectives.72.b
		}
			
	}
}


pod1230objectives.79 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.79.t
	desc = pod1230objectives.79.desc
	theme = inquisition
	left_portrait = {
		character = scope:victorious_murnau
		animation = personality_bold
	}
	
	right_portrait = {
		character = scope:von_murnau
		animation = personality_bold
	}	
	

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
		
		create_character = {
			save_scope_as = von_murnau
			name = "Adelheid"
			age = 18 
			location = scope:victorious_murnau.capital_province
			dynasty_house = scope:victorious_murnau.house
			culture = culture:bavarian
			faith = scope:victorious_murnau.faith
			gender = female
			trait = mortal
			trait = intellect_good_3
			trait = zealous
			trait = gregarious
			trait = calm
			trait = education_stewardship_4
			trait = administrator
			stewardship = 10
			diplomacy = 10
			random_traits = no
			after_creation = {	POD_character_vampire_lifestyle_initialization_effect = yes }
				}			
		
	}

	option = {
		name = pod1230objectives.79.a
		
		faith = {
			add_doctrine = von_murnau_doctrine	
		}

		dynasty = { add_dynasty_modifier = support_from_von_murnau_modifier }
		
	    custom_tooltip = pod1230objectives.79.custom

		custom_tooltip = pod1230objectives.79.customb	

		add_courtier = scope:von_murnau
		
	hidden_effect = {
		every_player = { 
		limit = {
			capital_province = {
				geographical_region = world_europe
			}			
			NOT = { this = scope:victorious_murnau }
			}
		trigger_event = pod1230objectives.80
			}
		}	
		
	}	
	
}

pod1230objectives.80 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.79.t
	desc = pod1230objectives.79.desc
	theme = inquisition
	left_portrait = {
		character = scope:victorious_murnau
		animation = personality_bold
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = { # Regular
			trigger = {
				NOT = {
					has_religion = religion:hunters_religion
				}
			}
			text = pod1230objectives.72.a
		}
		name = { # Inquisition
			trigger = {
				has_religion = religion:hunters_religion	
				}
			text = pod1230objectives.72.b
		}
			
	}
}

pod1230objectives.81 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.81.t
	desc = pod1230objectives.81.desc
	theme = inquisition
	left_portrait = {
		character = scope:victorious_inquisitor
		animation = personality_bold
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"			
	}

	option = {
		name = pod1230objectives.81.a

		# hidden_effect = {
		# 	every_held_title = { #Should shift all dejure of all Empires owned at the time.
		# 		limit = {
		# 			tier >= tier_empire
		# 		}
		# 		every_in_de_jure_hierarchy = {
		# 			limit = {
		# 				tier = tier_kingdom
		# 			}
		# 			set_de_jure_liege_title = title:h_shadow_inquisition
					
		# 		}
		# 	}
		# 	every_held_title = { #Completely Controlled Kingdoms as well.
		# 		limit = {
		# 			tier = tier_kingdom
		# 			root = { completely_controls = prev }
		# 		}
		# 		set_de_jure_liege_title = title:h_shadow_inquisition
		# 	}
		# }
		
		create_title_and_vassal_change = {
			type = created
			save_scope_as = change
			add_claim_on_loss = no
		}

		title:h_shadow_inquisition = {
			change_title_holder = {
				holder = root
				change = scope:change
			}
		}
		resolve_title_and_vassal_change = scope:change
		hidden_effect = { set_primary_title_to = title:h_shadow_inquisition }
		# every_held_title = { #Should destroy all other Empires owned at the time.
		# 	limit = {
		# 			tier >= tier_empire
		# 		NOT = { this = title:h_shadow_inquisition }
		# 	}
		# 	root = { destroy_title = prev }
		# }
	
		give_nickname = nick_light_bringer
		
		add_character_modifier = {
			modifier = chosen_of_light_modifier
		}
		root.dynasty = {
			add_dynasty_prestige = 1000
			add_dynasty_prestige_level = 1
		}		
		
		if = {
			limit = { has_trait = beatific }
			POD_advance_beatific_multiple_effect = { VALUE = 5 }
		}
		
	hidden_effect = {
		every_player = { 
		limit = {
			capital_province = {
				geographical_region = world_europe
			}			
			NOT = { this = scope:victorious_inquisitor }
			}
		trigger_event = pod1230objectives.82
			}
		}	
		
	}	
	
}

pod1230objectives.82 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.81.t
	desc = pod1230objectives.81.desc
	theme = inquisition
	left_portrait = {
		character = scope:victorious_inquisitor
		animation = personality_bold
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = { # Regular
			trigger = {
				NOT = {
					has_religion = religion:hunters_religion
				}
			}
			text = pod1230objectives.72.a
		}
		name = { # Inquisition
			trigger = {
				has_religion = religion:hunters_religion	
				}
			text = pod1230objectives.72.b
		}
			
	}
}

pod1230objectives.83 = {
	type = character_event
    window = fullscreen_event
	title = pod1230objectives.83.t
	desc = pod1230objectives.83.desc
	theme = faith
	override_background = { reference = beginning_the_end_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"			
	}

	option = {
		name = pod1230objectives.83.a
		
		add_pressed_claim = title:k_armenia	
		add_pressed_claim = title:e_talmahera
		
		capital_county = {
			add_county_modifier = {
				modifier = link_enoch_modifier
			}
		}
		if = {
			limit = { is_ai = no }
			if = {
				limit = { NOT = { has_variable_list = known_umbra_realms_list } }
				POD_create_umbra_location = { NAME = flag:earth }
			}
			POD_create_umbra_location = { NAME = flag:first_city }
		}

		custom_tooltip = talmahera_objective_custom
				
		hidden_effect = {
		every_independent_ruler = {
			limit = { NOT = { has_religion = religion:talmahera_religion } } 
		every_vassal_or_below = {
			limit = {
				NOT = { has_religion = religion:talmahera_religion }
				NOT = { liege = root }
				}
			add_character_modifier = {
				modifier = seed_of_rebellion_modifier
				years = 50
				}		
			}
		}
	}	
	hidden_effect = {
		every_player = { 
		limit = {
			is_vampire_trigger = yes
			NOT = { this = scope:victorious_talmahera }
			}
		trigger_event = pod1230objectives.84
			}
		}	
		
	}	
	
}

pod1230objectives.84 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.83.t
	desc = pod1230objectives.83.desc
	theme = faith
	left_portrait = {
		character = scope:victorious_talmahera
		animation = personality_zealous
	}
			
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = { # Regular
			trigger = {
				NOT = {
					has_religion = religion:talmahera_religion
				}
			}
			text = pod1230objectives.84.a
		}
		name = { # Talmahera
			trigger = {
				has_religion = religion:talmahera_religion	
				}
			text = pod1230objectives.84.b
		}
			
	}
}

pod1230objectives.85 = {
	type = character_event
    window = fullscreen_event
	title = pod1230objectives.85.t
	desc = pod1230objectives.85.desc
	theme = ventrue_coa
	override_background = { reference = under_the_black_cross_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	

		hidden_effect = {	
			create_character = {
			name = "Lucinde" 
			age = 18 
			gender = female
			dynasty = none
			martial = 20
			diplomacy = 10
			stewardship = 7
			intrigue = 10
			learning = 10
			prowess = 20
			faith = faith:viahumanitatis
			culture = culture:bavarian
			trait = education_martial_prowess_4
			trait = physique_good_1
			trait = vengeful
			trait = zealous
			trait = stubborn
			trait = lifestyle_blademaster
			trait = mortal
			random_traits = no		
			location = root.capital_province	
			save_scope_as = obj_lucinde
			after_creation = {
			give_nickname = nick_red_prodigy
			}
			}	
		}			
	}

	option = {
		name = pod1230objectives.85.a
		
		add_pressed_claim = title:e_fiefs_of_the_black_cross	
		add_pressed_claim = title:e_love
		add_pressed_claim = title:e_avalon

		#custom_tooltip = blackcross_objective_custom

		add_courtier = scope:obj_lucinde				

	hidden_effect = {
		every_player = { 
		limit = {
			capital_province = {
				geographical_region = world_europe
			}			
			NOT = { this = scope:victorious_blackcross }
			}
		trigger_event = pod1230objectives.86
			}
		}	
		
	}	
	
}

pod1230objectives.86 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.85.t
	desc = pod1230objectives.85.desc
	theme = ventrue_coa
	left_portrait = {
		character = scope:victorious_blackcross
		animation = personality_bold
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = { # Regular
			trigger = {
				NOT = {
					is_ventrue_trigger = yes
				}
			}
			text = pod1230objectives.86.a
		}
		name = { # Ventrue
			trigger = {
				is_ventrue_trigger = yes
				}
			text = pod1230objectives.86.b
		}
			
	}
}

scripted_effect duel_pod1230objectives_87_effect = { 
	duel = {
		skill = learning
		value = high_skill_rating
		50 = {
			desc = pod1230objectives.87.sucess
			compare_modifier = {
				value = scope:duel_value
				multiplier = 0.5
			}
			modifier = {
				scope:vampiresire = { has_trait = vampgeneration2 }
				factor = 0.1
			}
			modifier = {
				scope:vampiresire = { has_trait = vampgeneration1 }
				factor = 0.01
			}
			show_as_tooltip = { 
				add_trait_force_tooltip = vampire 
				if = { 
					limit = { has_trait = fera }
					fera_embrace_effect = yes
				}
			}
			hidden_effect = { POD_become_vampire_effect = yes }
			if = {
				limit = { is_alive = yes }
				if = {
					limit = { scope:vampiresire = { is_female = no } }
					set_father = scope:vampiresire
				}
				else = {
					set_mother = scope:vampiresire
				}
			
				add_trait_force_tooltip = vampgeneration4 # Nah, just 4th gen
				POD_character_vampire_inherit_clan_effect = yes
					
				POD_character_vampire_clan_special_effect = yes
				POD_salubri_caste_new_vampire_initialization_effect = yes
				
				POD_character_vampire_bloodpotency_initialization_effect = yes
				
				hidden_effect = { 
					if = {
						limit = { NOT = { faith.religion = { is_in_family = rf_kindred } } }
						POD_character_vampire_faith_initialization_effect = yes
					}
					POD_change_government_if_landed = { GOVERNMENT = traditions_government }
				}
				POD_remove_disease_traits_effect = yes
				add_character_flag = immune_to_disease
				trigger_event = pod1230objectives.88
			}
		}
		50 = {
			desc = pod1230objectives.87.fail
			compare_modifier = {
				value = scope:duel_value
				multiplier = -0.5
			}
			custom_tooltip = pod1230objectives.87.fail.tt
			if = {
				limit = { NOT = { has_trait = ghoul } }
				POD_become_ghoul_effect = yes
			}
			add_character_modifier = {
				modifier = antediluvian_dominor_modifier
				years = 50
			}
		}
	}
}

pod1230objectives.87 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.87.t
	desc = pod1230objectives.87.desc
	theme = learning_scholarship_focus
	left_portrait = {
		character = scope:victorious_revenant
		animation = personality_bold
	}

	immediate = {
		save_scope_as = created_vampirechilde	
	}

	option = {
		name = Haqim
		trigger = {
			any_prisoner = {
				has_trait = vampgeneration4
				has_trait = assamite
			}
		}
		character:505009 = { save_scope_as = vampiresire }
		duel_pod1230objectives_87_effect = yes
	}

	option = {
		name = Ashur
		trigger = {
			any_prisoner = {
				has_trait = vampgeneration4
				has_trait = baali
			}
		}
		character:791695 = { save_scope_as = vampiresire }
		duel_pod1230objectives_87_effect = yes
	}

	option = {
		name = Brujah
		trigger = {
			any_prisoner = {
				has_trait = vampgeneration4
				has_trait = truebrujah
			}
		}
		character:505015 = { save_scope_as = vampiresire }
		duel_pod1230objectives_87_effect = yes
	}

	option = {
		name = Troile
		trigger = {
			any_prisoner = {
				has_trait = vampgeneration4
				has_trait = brujah
			}
		}
		character:505016 = { save_scope_as = vampiresire }
		duel_pod1230objectives_87_effect = yes
	}

	option = {
		name = Cappadocius
		trigger = {
			any_prisoner = {
				has_trait = vampgeneration4
				has_trait = cappadocian
			}
		}
		character:505017 = { save_scope_as = vampiresire }
		duel_pod1230objectives_87_effect = yes
	}

	option = {
		name = Ennoia
		trigger = {
			any_prisoner = {
				has_trait = vampgeneration4
				is_gangrel_clan_or_bloodline_trigger = yes
			}
		}
		character:505013 = { save_scope_as = vampiresire }
		duel_pod1230objectives_87_effect = yes
	}

	option = {
		name = Lau_Som_Bheu
		trigger = {
			any_prisoner = {
				has_trait = vampgeneration4
				has_trait = lasombra
			}
		}
		character:505019 = { save_scope_as = vampiresire }
		duel_pod1230objectives_87_effect = yes
	}

	option = {
		name = Malkav
		trigger = {
			any_prisoner = {
				has_trait = vampgeneration4
				has_trait = malkavian
			}
		}
		character:505007 = { save_scope_as = vampiresire }
		duel_pod1230objectives_87_effect = yes
	}

	option = {
		name = Absimiliard
		trigger = {
			any_prisoner = {
				has_trait = vampgeneration4
				is_nosferatu_clan_or_bloodline_trigger = yes
			}
		}
		character:505011 = { save_scope_as = vampiresire }
		duel_pod1230objectives_87_effect = yes
	}

	option = {
		name = Zapathasura
		trigger = {
			any_prisoner = {
				has_trait = vampgeneration4
				is_ravnos_clan_or_bloodline_trigger = yes
			}
		}
		character:505020 = { save_scope_as = vampiresire }
		duel_pod1230objectives_87_effect = yes
	}

	option = {
		name = Saulot
		trigger = {
			any_prisoner = {
				has_trait = vampgeneration4
				has_trait = salubri
			}
		}
		character:505008 = { save_scope_as = vampiresire }
		duel_pod1230objectives_87_effect = yes
	}

	option = {
		name = Set
		trigger = {
			any_prisoner = {
				has_trait = vampgeneration4
				has_trait = setite
			}
		}
		character:505012 = { save_scope_as = vampiresire }
		duel_pod1230objectives_87_effect = yes
	}

	option = {
		name = Arikel
		trigger = {
			any_prisoner = {
				has_trait = vampgeneration4
				has_trait = toreador
			}
		}
		character:505006 = { save_scope_as = vampiresire }
		duel_pod1230objectives_87_effect = yes
	}

	option = {
		name = Tremere
		trigger = {
			any_prisoner = {
				has_trait = vampgeneration4
				is_tremere_clan_or_bloodline_trigger = yes
			}
		}
		character:505022 = { save_scope_as = vampiresire }
		duel_pod1230objectives_87_effect = yes
	}

	option = {
		name = Tzimisce
		trigger = {
			any_prisoner = {
				has_trait = vampgeneration4
				is_tzimisce_clan_or_bloodline_trigger = yes
			}
		}
		character:505021 = { save_scope_as = vampiresire }
		duel_pod1230objectives_87_effect = yes
	}

	option = {
		name = Ventru
		trigger = {
			any_prisoner = {
				has_trait = vampgeneration4
				is_ventrue_clan_or_bloodline_trigger = yes
			}
		}
		character:505014 = { save_scope_as = vampiresire }
		duel_pod1230objectives_87_effect = yes
	}

	option = {
		name = Enoch
		trigger = {
			any_prisoner = {
				has_trait = vampgeneration4
				is_toreador_trigger = yes
			}
			any_prisoner = {
				has_trait = vampgeneration4
				is_malkavian_trigger = yes
			}
			any_prisoner = {
				has_trait = vampgeneration4
				is_ventrue_clan_or_bloodline_trigger = yes
			}
			any_prisoner = {
				has_trait = vampgeneration4
				is_tzimisce_clan_or_bloodline_trigger = yes
			}
			any_prisoner = {
				has_trait = vampgeneration4
				is_salubri_trigger = yes
			}
			any_prisoner = {
				has_trait = vampgeneration4
				is_gangrel_clan_or_bloodline_trigger = yes
			}
		}
		character:505003 = { save_scope_as = vampiresire }
		duel_pod1230objectives_87_effect = yes
	}

	option = {
		name = Irad
		trigger = {
			any_prisoner = {
				has_trait = vampgeneration4
				is_ravnos_clan_or_bloodline_trigger = yes
			}
			any_prisoner = {
				has_trait = vampgeneration4
				is_brujah_trigger = yes
			}
			any_prisoner = {
				has_trait = vampgeneration4
				is_cappadocian_trigger = yes
			}
			any_prisoner = {
				has_trait = vampgeneration4
				is_lasombra_trigger = yes
			}
		}
		character:505004 = { save_scope_as = vampiresire }
		duel_pod1230objectives_87_effect = yes
	}

	option = {
		name = Zilah
		trigger = {
			any_prisoner = {
				has_trait = vampgeneration4
				is_assamite_trigger = yes
			}
			any_prisoner = {
				has_trait = vampgeneration4
				is_nosferatu_clan_or_bloodline_trigger = yes
			}
			any_prisoner = {
				has_trait = vampgeneration4
				is_setite_trigger = yes
			}
		}
		character:505005 = { save_scope_as = vampiresire }
		duel_pod1230objectives_87_effect = yes
	}

	option = {
		name = Caine
		trigger = {
			any_prisoner = {
				has_trait = vampgeneration4
				is_ravnos_clan_or_bloodline_trigger = yes
			}
			any_prisoner = {
				has_trait = vampgeneration4
				is_brujah_trigger = yes
			}
			any_prisoner = {
				has_trait = vampgeneration4
				is_cappadocian_trigger = yes
			}
			any_prisoner = {
				has_trait = vampgeneration4
				is_lasombra_trigger = yes
			}
			any_prisoner = {
				has_trait = vampgeneration4
				is_toreador_trigger = yes
			}
			any_prisoner = {
				has_trait = vampgeneration4
				is_malkavian_trigger = yes
			}
			any_prisoner = {
				has_trait = vampgeneration4
				is_ventrue_clan_or_bloodline_trigger = yes
			}
			any_prisoner = {
				has_trait = vampgeneration4
				is_tzimisce_clan_or_bloodline_trigger = yes
			}
			any_prisoner = {
				has_trait = vampgeneration4
				is_salubri_trigger = yes
			}
			any_prisoner = {
				has_trait = vampgeneration4
				is_assamite_trigger = yes
			}
			any_prisoner = {
				has_trait = vampgeneration4
				is_gangrel_clan_or_bloodline_trigger = yes
			}
			any_prisoner = {
				has_trait = vampgeneration4
				is_nosferatu_clan_or_bloodline_trigger = yes
			}
			any_prisoner = {
				has_trait = vampgeneration4
				is_setite_trigger = yes
			}
		}
		character:505001 = { save_scope_as = vampiresire }
		duel_pod1230objectives_87_effect = yes
		
		# random = {
			# chance = 100
			# death = { death_reason = death_mysterious }
			# modifier = {
				# add = -1
				# AND = {
					# has_trait = potenceadvanced
					# has_trait = celerityadvanced
					# has_trait = flightadvanced
					# has_trait = fortitudeadvanced
				# }
			# }
		# }
	}
}

pod1230objectives.88 = {
    type = character_event
    window = fullscreen_event 
	title = pod1230objectives.88.t
	desc = pod1230objectives.88.desc
	theme = vampire
	override_background = { reference = power_of_blood_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }
	
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
	}

	option = {
		name = pod1230objectives.88.a
		
		every_player = {
			limit = { 
			NOT = { this = root } 
			is_vampire_trigger = yes
			}
			trigger_event = pod1230objectives.89
		}
	}
}
	
pod1230objectives.89 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.88.t
	desc = pod1230objectives.88.desc
	theme = learning_scholarship_focus
	left_portrait = {
		character = scope:victorious_revenant
		animation = personality_bold
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = { # Regular
			trigger = {
				POD_is_any_kind_of_ghoul_trigger = no
			}
			text = pod1230objectives.89.a
		}
		name = { # Revenant
			trigger = {
				POD_is_any_kind_of_ghoul_trigger = yes
			}
			text = pod1230objectives.89.b
		}	
	}
}
	
# Caitiff objective

pod1230objectives.255 = {
    type = character_event
    window = fullscreen_event 
	title = pod1230objectives.255.title
	desc = pod1230objectives.255.desc
	theme = vampire
	override_background = { reference = power_of_blood_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
		dynasty = {
			    every_dynasty_member = {
					limit = { has_trait = caitiff }
				    remove_trait = caitiff
				    add_trait = custom_bloodline
			    }
				set_variable = {
				    name = POD_custom_bloodline
					value = yes
				}
		    }
			trigger_event = {
			    id = pod1230objectives.256
				days = 1
			}
			trigger_event = {
			    id = pod1230objectives.256
				days = 6
			}
			trigger_event = {
			    id = pod1230objectives.256
				days = 12
			}
			trigger_event = {
			    id = pod1230objectives.257
				days = 20
			}			
			
	}
	
	#diplomacy bloodline
	option = {
	    name = pod1230objectives.255.option.diplomacy
		dynasty = {
		    set_variable = {
			    name = POD_custom_bloodline_diplomacy
				value = yes
			}
		}
		add_character_modifier = {
			modifier = bloodline_founder_modifier
		}
		
		dynasty = {
			add_dynasty_modifier = {
			    modifier = dynn_custom_bloodline_diplomacy_modifier
		    }
		}
		add_character_flag = POD_custom_bloodline_diplomacy_flag
	}
	
	#war bloodline
	option = {
	    name = pod1230objectives.255.option.war
		dynasty = {
		    set_variable = {
			    name = POD_custom_bloodline_war
				value = yes
			}
		}
		add_trait = custom_bloodline
		add_character_modifier = {
			modifier = bloodline_founder_modifier
		}
		
		dynasty = {
			add_dynasty_modifier = {
			    modifier = dynn_custom_bloodline_war_modifier
		    }
		}
		add_character_flag = POD_custom_bloodline_war_flag
	}
	
	#intrigue bloodline
	option = {
	    name = pod1230objectives.255.option.intrigue
		dynasty = {
		    set_variable = {
			    name = POD_custom_bloodline_intrigue
				value = yes
			}
		}
		add_trait = custom_bloodline
		add_character_modifier = {
			modifier = bloodline_founder_modifier
		}
		
		dynasty = {
			add_dynasty_modifier = {
			    modifier = dynn_custom_bloodline_intrigue_modifier
		    }
		}
		add_character_flag = POD_custom_bloodline_intrigue_flag
	}
	
	#learning bloodline
	option = {
	    name = pod1230objectives.255.option.learning
		dynasty = {
		    set_variable = {
			    name = POD_custom_bloodline_learning
				value = yes
			}
		}
		add_trait = custom_bloodline
		add_character_modifier = {
			modifier = bloodline_founder_modifier
		}
		
		dynasty = {
			add_dynasty_modifier = {
			    modifier = dynn_custom_bloodline_learning_modifier
		    }
		}
		add_character_flag = POD_custom_bloodline_learning_flag
	}
	
	#stewardship bloodline
	option = {
	    name = pod1230objectives.255.option.stewardship
		dynasty = {
		    set_variable = {
			    name = POD_custom_bloodline_stewardship
				value = yes
			}
		}
		add_trait = custom_bloodline
		add_character_modifier = {
			modifier = bloodline_founder_modifier
		}
		
		dynasty = {
		    add_dynasty_modifier = {
			    modifier = dynn_custom_bloodline_stewardship_modifier
		    }
		}
		add_character_flag = POD_custom_bloodline_stewardship_flag
	}
	
	#prowess bloodline
	option = {
	    name = pod1230objectives.255.option.prowess
		dynasty = {
		    set_variable = {
			    name = POD_custom_bloodline_prowess
				value = yes
			}
		}
		add_trait = custom_bloodline
		add_character_modifier = {
			modifier = bloodline_founder_modifier
		}
		
		dynasty = {
		    add_dynasty_modifier = {
			    modifier = dynn_custom_bloodline_prowess_modifier
		    }
		}
		add_character_flag = POD_custom_bloodline_prowess_flag
	}
	
	#secret bloodline
	option = {
		trigger = {
		    realm_size >= 75
			has_trait_rank = {
				trait = vampgeneration
				rank <= 4
			}
			prestige >= 35000
			OR = {
			    has_character_modifier = bloodpotency8_modifier
				has_character_modifier = bloodpotency9_modifier
				has_character_modifier = bloodpotency10_modifier
			}
		}
	    name = pod1230objectives.255.option.secret
		dynasty = {
		    set_variable = {
			    name = POD_custom_bloodline_secret
				value = yes
			}
		}
		add_trait = custom_bloodline
		add_character_modifier = {
			modifier = bloodline_founder_modifier
		}
		
		dynasty = {
		    add_dynasty_modifier = {
			    modifier = dynn_custom_bloodline_secret_modifier
		    }
		}
		add_character_flag = POD_custom_bloodline_secret_flag
	}
}

scripted_trigger POD_custom_bloodline_lacks_discipline = {
	dynasty = {
		NOT = {
			any_in_list = {
				variable = custom_bloodline_disciplines
				this = trait:$TRAIT$
			}
		}
	}
}

scripted_effect POD_custom_bloodline_add_discipline = {
	hidden_effect = {
		dynasty = {
			add_to_variable_list = {
				name = custom_bloodline_disciplines
				target = trait:$TRAIT$
			}
			add_to_variable_list = {
				name = custom_bloodline_advanced_disciplines
				target = trait:$TRAIT$advanced
			}
		}
	}
}

pod1230objectives.256 = {
    type = character_event
	content_source = dlc_POD
	title = pod1230objectives.256.title
	desc = pod1230objectives.256.desc
	theme = vampire
	left_portrait = {
	    character = scope:victorious_caitiff
		animation = personality_zealous
	}
	
	widget = {
		gui = "POD_shader_event_fog_alley_night"
		container = "background_shader_vfx_container"
	}
	
	#potence
	option = {
		name = pod1230objectives.256.potence
		trigger = {
			has_trait = potencediscipline
			POD_custom_bloodline_lacks_discipline = {
				TRAIT = potence
			}
		}
		POD_custom_bloodline_add_discipline = {
			TRAIT = potence
		}
	}
	
	#celerity
	option = {
		name = pod1230objectives.256.celerity
		trigger = {
			has_trait = celeritydiscipline
			POD_custom_bloodline_lacks_discipline = {
				TRAIT = celerity
			}
		}
		POD_custom_bloodline_add_discipline = {
			TRAIT = celerity
		}
	}
	
	#fortitude
	option = {
		name = pod1230objectives.256.fortitude
		trigger = {
			has_trait = fortitudediscipline
			POD_custom_bloodline_lacks_discipline = {
				TRAIT = fortitude
			}
		}
		POD_custom_bloodline_add_discipline = {
			TRAIT = fortitude
		}
	}
	
	#dominate
	option = {
		name = pod1230objectives.256.dominate
		trigger = {
			has_trait = dominatediscipline
			POD_custom_bloodline_lacks_discipline = {
				TRAIT = dominate
			}
		}
		POD_custom_bloodline_add_discipline = {
			TRAIT = dominate
		}
	}
	
	#bloodsorcery
	option = {
		name = pod1230objectives.256.bloodsorcery
		trigger = {
			has_trait = bloodsorceryadvanced
			POD_custom_bloodline_lacks_discipline = {
				TRAIT = bloodsorcery
			}
		}
		POD_custom_bloodline_add_discipline = {
			TRAIT = bloodsorcery
		}
		stress_impact = {
			base = major_stress_gain
		}
	}
	
	#protean
	option = {
		name = pod1230objectives.256.protean
		trigger = {
			has_trait = proteandiscipline
			POD_custom_bloodline_lacks_discipline = {
				TRAIT = protean
			}
		}
		POD_custom_bloodline_add_discipline = {
			TRAIT = protean
		}
	}
	
	#animalism
	option = {
		name = pod1230objectives.256.animalism
		trigger = {
			has_trait = animalismdiscipline
			POD_custom_bloodline_lacks_discipline = {
				TRAIT = animalism
			}
		}
		POD_custom_bloodline_add_discipline = {
			TRAIT = animalism
		}
	}
	
	#presence
	option = {
		name = pod1230objectives.256.presence
		trigger = {
			has_trait = presencediscipline
			POD_custom_bloodline_lacks_discipline = {
				TRAIT = presence
			}
		}
		POD_custom_bloodline_add_discipline = {
			TRAIT = presence
		}
	}
	
	#oblivion
	option = {
		name = pod1230objectives.256.oblivion
		trigger = {
			has_trait = oblivionadvanced
			POD_custom_bloodline_lacks_discipline = {
				TRAIT = oblivion
			}
		}
		POD_custom_bloodline_add_discipline = {
			TRAIT = oblivion
		}
		stress_impact = {
			base = major_stress_gain
		}
	}
	
	#auspex
	option = {
		name = pod1230objectives.256.auspex
		trigger = {
			has_trait = auspexdiscipline
			POD_custom_bloodline_lacks_discipline = {
				TRAIT = auspex
			}
		}
		POD_custom_bloodline_add_discipline = {
			TRAIT = auspex
		}
	}
	
	#obfuscate
	option = {
		name = pod1230objectives.256.obfuscate
		trigger = {
			has_trait = obfuscatediscipline
			POD_custom_bloodline_lacks_discipline = {
				TRAIT = obfuscate
			}
		}
		POD_custom_bloodline_add_discipline = {
			TRAIT = obfuscate
		}
	}
	
	#vicissitude
	option = {
		name = pod1230objectives.256.vicissitude
		trigger = {
			has_trait = vicissitudeadvanced
			POD_custom_bloodline_lacks_discipline = {
				TRAIT = vicissitude
			}
		}
		POD_custom_bloodline_add_discipline = {
			TRAIT = vicissitude
		}
		stress_impact = {
			base = major_stress_gain
		}
	}
	
	#obtenebration
	option = {
		name = pod1230objectives.256.obtenebration
		trigger = {
			has_trait = obtenebrationadvanced
			POD_custom_bloodline_lacks_discipline = {
				TRAIT = obtenebration
			}
		}
		POD_custom_bloodline_add_discipline = {
			TRAIT = obtenebration
		}
		stress_impact = {
			base = major_stress_gain
		}
	}
	
	#serpentis
	option = {
		name = pod1230objectives.256.serpentis
		trigger = {
			has_trait = serpentisadvanced
			POD_custom_bloodline_lacks_discipline = {
				TRAIT = serpentis
			}
		}
		POD_custom_bloodline_add_discipline = {
			TRAIT = serpentis
		}
		stress_impact = {
			base = major_stress_gain
		}
	}
	
	#daimonion
	option = {
		name = pod1230objectives.256.daimonion
		trigger = {
			has_trait = daimonionadvanced
			POD_custom_bloodline_lacks_discipline = {
				TRAIT = daimonion
			}
		}
		POD_custom_bloodline_add_discipline = {
			TRAIT = daimonion
		}
		stress_impact = {
			base = major_stress_gain
		}
	}
	
	#necromancy
	option = {
		name = pod1230objectives.256.necromancy
		trigger = {
			has_trait = necromancyadvanced
			POD_custom_bloodline_lacks_discipline = {
				TRAIT = necromancy
			}
		}
		POD_custom_bloodline_add_discipline = {
			TRAIT = necromancy
		}
		stress_impact = {
			base = major_stress_gain
		}
	}

	#abombwe
	option = {
		name = pod1230objectives.256.abombwe
		trigger = {
			has_trait = abombweadvanced
			POD_custom_bloodline_lacks_discipline = {
				TRAIT = abombwe
			}
		}
		POD_custom_bloodline_add_discipline = {
			TRAIT = abombwe
		}
		stress_impact = {
			base = major_stress_gain
		}
	}

	#visceratika
	option = {
		name = pod1230objectives.256.visceratika
		trigger = {
			has_trait = visceratikaadvanced
			POD_custom_bloodline_lacks_discipline = {
				TRAIT = visceratika
			}
		}
		POD_custom_bloodline_add_discipline = {
			TRAIT = visceratika
		}
		stress_impact = {
			base = major_stress_gain
		}
	}

	#temporis
	option = {
		name = pod1230objectives.256.temporis
		trigger = {
			has_trait = temporisadvanced
			POD_custom_bloodline_lacks_discipline = {
				TRAIT = temporis
			}
		}
		POD_custom_bloodline_add_discipline = {
			TRAIT = temporis
		}
		stress_impact = {
			base = major_stress_gain
		}
	}

	#dementation
	option = {
		name = pod1230objectives.256.dementation
		trigger = {
			has_trait = dementationadvanced
			POD_custom_bloodline_lacks_discipline = {
				TRAIT = dementation
			}
		}
		POD_custom_bloodline_add_discipline = {
			TRAIT = dementation
		}
		stress_impact = {
			base = major_stress_gain
		}
	}

	#melpominee
	option = {
		name = pod1230objectives.256.melpominee
		trigger = {
			has_trait = melpomineeadvanced
			POD_custom_bloodline_lacks_discipline = {
				TRAIT = melpominee
			}
		}
		POD_custom_bloodline_add_discipline = {
			TRAIT = melpominee
		}
		stress_impact = {
			base = major_stress_gain
		}
	}

	#spiritus
	option = {
		name = pod1230objectives.256.spiritus
		trigger = {
			has_trait = spiritusadvanced
			POD_custom_bloodline_lacks_discipline = {
				TRAIT = spiritus
			}
		}
		POD_custom_bloodline_add_discipline = {
			TRAIT = spiritus
		}
		stress_impact = {
			base = major_stress_gain
		}
	}

	#valeren
	option = {
		name = pod1230objectives.256.valeren
		trigger = {
			has_trait = valerenadvanced
			POD_custom_bloodline_lacks_discipline = {
				TRAIT = valeren
			}
		}
		POD_custom_bloodline_add_discipline = {
			TRAIT = valeren
		}
		stress_impact = {
			base = major_stress_gain
		}
	}

	#quietus
	option = {
		name = pod1230objectives.256.quietus
		trigger = {
			has_trait = quietusadvanced
			POD_custom_bloodline_lacks_discipline = {
				TRAIT = quietus
			}
		}
		POD_custom_bloodline_add_discipline = {
			TRAIT = quietus
		}
		stress_impact = {
			base = major_stress_gain
		}
	}

	#mytherceria
	option = {
		name = pod1230objectives.256.mytherceria
		trigger = {
			has_trait = mytherceriaadvanced
			POD_custom_bloodline_lacks_discipline = {
				TRAIT = mytherceria
			}
		}
		POD_custom_bloodline_add_discipline = {
			TRAIT = mytherceria
		}
		stress_impact = {
			base = major_stress_gain
		}
	}
	
	#chimerstry
	option = {
		name = pod1230objectives.256.chimerstry
		trigger = {
			has_trait = chimerstryadvanced
			POD_custom_bloodline_lacks_discipline = {
				TRAIT = chimerstry
			}
		}
		POD_custom_bloodline_add_discipline = {
			TRAIT = chimerstry
		}
		stress_impact = {
			base = major_stress_gain
		}
	}
	
	#thinbloodalchemy
	option = {
		name = pod1230objectives.256.thinbloodalchemy
		trigger = {
			has_trait = thinbloodalchemyadvanced
			POD_custom_bloodline_lacks_discipline = {
				TRAIT = thinbloodalchemy
			}
		}
		POD_custom_bloodline_add_discipline = {
			TRAIT = thinbloodalchemy
		}
		stress_impact = {
			base = major_stress_gain
		}
	}

	#bardo
	option = {
		name = pod1230objectives.256.bardo
		trigger = {
			has_trait = bardoadvanced
			POD_custom_bloodline_lacks_discipline = {
				TRAIT = bardo
			}
		}
		POD_custom_bloodline_add_discipline = {
			TRAIT = bardo
		}
		stress_impact = {
			base = major_stress_gain
		}
	}

	#flight
	option = {
		name = pod1230objectives.256.flight
		trigger = {
			has_trait = flightadvanced
			POD_custom_bloodline_lacks_discipline = {
				TRAIT = flight
			}
		}
		POD_custom_bloodline_add_discipline = {
			TRAIT = flight
		}
		stress_impact = {
			base = major_stress_gain
		}
	}

	#kai
	option = {
		name = pod1230objectives.256.kai
		trigger = {
			has_trait = kaiadvanced
			POD_custom_bloodline_lacks_discipline = {
				TRAIT = kai
			}
		}
		POD_custom_bloodline_add_discipline = {
			TRAIT = kai
		}
		stress_impact = {
			base = major_stress_gain
		}
	}

	#rift
	option = {
		name = pod1230objectives.256.rift
		trigger = {
			has_trait = riftadvanced
			POD_custom_bloodline_lacks_discipline = {
				TRAIT = rift
			}
		}
		POD_custom_bloodline_add_discipline = {
			TRAIT = rift
		}
		stress_impact = {
			base = major_stress_gain
		}
	}
}

pod1230objectives.257 = {
    type = character_event
	content_source = dlc_POD
	title = pod1230objectives.257.title
	desc = pod1230objectives.257.desc
	theme = vampire
	
	left_portrait = {
	    character = root
		animation = personality_bold
	}
	
	widget = {
		gui = "POD_shader_event_fog_alley_night"
		container = "background_shader_vfx_container"
	}

	immediate = {
		primary_title = {
			save_scope_as = custom_realm
		}
		
		dynasty = {
			save_scope_as = custom_dynasty
		}
		
		house = {
			save_scope_as = custom_house
		}
	}
	
	#Pick coat of arms

	option = {
		name = pod1230objectives.257.option.2a
		trigger = { 
			has_character_flag = POD_custom_bloodline_secret_flag			
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline2a
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline2a
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}
	
	option = {
		name = pod1230objectives.257.option.2b
		trigger = { 
			has_character_flag = POD_custom_bloodline_secret_flag				
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline2b
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline2b
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}	
	
	option = {
		name = pod1230objectives.257.option.2c
		trigger = { 
			has_character_flag = POD_custom_bloodline_secret_flag				
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline2c
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline2c
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}	

	option = {
		name = pod1230objectives.257.option.2d
		trigger = { 
			has_character_flag = POD_custom_bloodline_secret_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline2d
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline2d
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}	

	option = {
		name = pod1230objectives.257.option.2e
		trigger = { 
			has_character_flag = POD_custom_bloodline_secret_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline2e
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline2e
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}	

	option = {
		name = pod1230objectives.257.option.2f
		trigger = { 
			has_character_flag = POD_custom_bloodline_secret_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline2f
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline2f
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}
	
	option = {
		name = pod1230objectives.257.option.2g
		trigger = { 
			has_character_flag = POD_custom_bloodline_secret_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline2g
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline2g
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}	
	
	option = {
		name = pod1230objectives.257.option.3a
		trigger = { 
			has_character_flag = POD_custom_bloodline_war_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline3a
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline3a
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}
	
	option = {
		name = pod1230objectives.257.option.3b
		trigger = { 
			has_character_flag = POD_custom_bloodline_war_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline3b
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline3b
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}	

	option = {
		name = pod1230objectives.257.option.3c
		trigger = { 
			has_character_flag = POD_custom_bloodline_war_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline3c
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline3c
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}
	
	option = {
		name = pod1230objectives.257.option.3d
		trigger = { 
			has_character_flag = POD_custom_bloodline_war_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline3d
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline3d
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}

	option = {
		name = pod1230objectives.257.option.3e
		trigger = { 
			has_character_flag = POD_custom_bloodline_war_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline3e
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline3e
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}

	option = {
		name = pod1230objectives.257.option.3f
		trigger = { 
			has_character_flag = POD_custom_bloodline_war_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline3f
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline3f
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}

	option = {
		name = pod1230objectives.257.option.3g
		trigger = { 
			has_character_flag = POD_custom_bloodline_war_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline3g
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline3g
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}	

	option = {
		name = pod1230objectives.257.option.4a
		trigger = { 
			has_character_flag = POD_custom_bloodline_learning_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline4a
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline4a
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}
	
	option = {
		name = pod1230objectives.257.option.4b
		trigger = { 
			has_character_flag = POD_custom_bloodline_learning_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline4b
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline4b
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}	

	option = {
		name = pod1230objectives.257.option.4c
		trigger = { 
			has_character_flag = POD_custom_bloodline_learning_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline4c
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline4c
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}
	
	option = {
		name = pod1230objectives.257.option.4d
		trigger = { 
			has_character_flag = POD_custom_bloodline_learning_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline4d
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline4d
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}


	option = {
		name = pod1230objectives.257.option.5a
		trigger = { 
			has_character_flag = POD_custom_bloodline_stewardship_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline5a
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline5a
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}
	
	option = {
		name = pod1230objectives.257.option.5b
		trigger = { 
			has_character_flag = POD_custom_bloodline_stewardship_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline5b
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline5b
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}	

	option = {
		name = pod1230objectives.257.option.5c
		trigger = { 
			has_character_flag = POD_custom_bloodline_stewardship_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline5c
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline5c
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}
	
	option = {
		name = pod1230objectives.257.option.5d
		trigger = { 
			has_character_flag = POD_custom_bloodline_stewardship_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline5d
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline5d
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}

	option = {
		name = pod1230objectives.257.option.5e
		trigger = { 
			has_character_flag = POD_custom_bloodline_stewardship_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline5e
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline5e
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}

	option = {
		name = pod1230objectives.257.option.5f
		trigger = { 
			has_character_flag = POD_custom_bloodline_stewardship_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline5f
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline5f
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}	

	option = {
		name = pod1230objectives.257.option.5g
		trigger = { 
			has_character_flag = POD_custom_bloodline_stewardship_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline5g
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline5g
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}	

	option = {
		name = pod1230objectives.257.option.6a
		trigger = { 
			has_character_flag = POD_custom_bloodline_prowess_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline6a
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline6a
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}
	
	option = {
		name = pod1230objectives.257.option.6b
		trigger = { 
			has_character_flag = POD_custom_bloodline_prowess_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline6b
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline6b
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}	

	option = {
		name = pod1230objectives.257.option.6c
		trigger = { 
			has_character_flag = POD_custom_bloodline_prowess_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline6c
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline6c
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}
	
	option = {
		name = pod1230objectives.257.option.6d
		trigger = { 
			has_character_flag = POD_custom_bloodline_prowess_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline6d
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline6d
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}

	option = {
		name = pod1230objectives.257.option.6e
		trigger = { 
			has_character_flag = POD_custom_bloodline_prowess_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline6e
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline6e
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}

	option = {
		name = pod1230objectives.257.option.6f
		trigger = { 
			has_character_flag = POD_custom_bloodline_prowess_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline6f
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline6f
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}

	option = {
		name = pod1230objectives.257.option.6g
		trigger = { 
			has_character_flag = POD_custom_bloodline_prowess_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline6g
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline6g
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}

	option = {
		name = pod1230objectives.257.option.7a
		trigger = { 
			has_character_flag = POD_custom_bloodline_diplomacy_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline7a
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline7a
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}
	
	option = {
		name = pod1230objectives.257.option.7b
		trigger = { 
			has_character_flag = POD_custom_bloodline_diplomacy_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline7b
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline7b
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}	

	option = {
		name = pod1230objectives.257.option.7c
		trigger = { 
			has_character_flag = POD_custom_bloodline_diplomacy_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline7c
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline7c
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}
	
	option = {
		name = pod1230objectives.257.option.7d
		trigger = { 
			has_character_flag = POD_custom_bloodline_diplomacy_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline7d
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline7d
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}

	option = {
		name = pod1230objectives.257.option.7e
		trigger = { 
			has_character_flag = POD_custom_bloodline_diplomacy_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline7e
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline7e
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}

	option = {
		name = pod1230objectives.257.option.7f
		trigger = { 
			has_character_flag = POD_custom_bloodline_diplomacy_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline7f
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline7f
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}
	
	option = {
		name = pod1230objectives.257.option.7g
		trigger = { 
			has_character_flag = POD_custom_bloodline_diplomacy_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline7g
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline7g
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}	
	
	option = {
		name = pod1230objectives.257.option.8a
		trigger = { 
			has_character_flag = POD_custom_bloodline_intrigue_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline8a
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline8a
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}
	
	option = {
		name = pod1230objectives.257.option.8b
		trigger = { 
			has_character_flag = POD_custom_bloodline_intrigue_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline8b
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline8b
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}	

	option = {
		name = pod1230objectives.257.option.8c
		trigger = { 
			has_character_flag = POD_custom_bloodline_intrigue_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline8c
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline8c
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}
	
	option = {
		name = pod1230objectives.257.option.8d
		trigger = { 
			has_character_flag = POD_custom_bloodline_intrigue_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline8d
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline8d
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}

	option = {
		name = pod1230objectives.257.option.8e
		trigger = { 
			has_character_flag = POD_custom_bloodline_intrigue_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline8e
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline8e
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}

	option = {
		name = pod1230objectives.257.option.8f
		trigger = { 
			has_character_flag = POD_custom_bloodline_intrigue_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline8f
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline8f
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}	

	option = {
		name = pod1230objectives.257.option.8g
		trigger = { 
			has_character_flag = POD_custom_bloodline_intrigue_flag					
		}			
		scope:custom_dynasty = {
			set_coa = dynasty:PODcustombloodline8g
		}
		scope:custom_house = {
			set_coa = dynasty:PODcustombloodline8g
		}
		trigger_event = {
			id = pod1230objectives.258
			days = 6
		}		
	}
	
	# option = {
		# name = pod1230objectives.257.option.1a	
		# trigger = { 
			# has_character_flag = POD_custom_bloodline_blooddrop_flag					
		# }	
		# scope:custom_dynasty = {
			# set_coa = dynasty:PODcustombloodline1a
		# }
		# scope:custom_house = {
			# set_coa = dynasty:PODcustombloodline1a
		# }
		# trigger_event = {
			# id = pod1230objectives.258
			# days = 6
		# }		
		
	# }
	
	# option = {
		# name = pod1230objectives.257.option.1b	
		# trigger = { 
			# has_character_flag = POD_custom_bloodline_blooddrop_flag					
		# }
		# scope:custom_dynasty = {
			# set_coa = dynasty:PODcustombloodline1b
		# }
		# scope:custom_house = {
			# set_coa = dynasty:PODcustombloodline1b
		# }
		# trigger_event = {
			# id = pod1230objectives.258
			# days = 6
		# }
	# }	
	
	# option = {
		# name = pod1230objectives.257.option.1c	
		# trigger = { 
			# has_character_flag = POD_custom_bloodline_blooddrop_flag					
		# }
		# scope:custom_dynasty = {
			# set_coa = dynasty:PODcustombloodline1c
		# }
		# scope:custom_house = {
			# set_coa = dynasty:PODcustombloodline1c
		# }
		# trigger_event = {
			# id = pod1230objectives.258
			# days = 6
		# }		
	# }	

	# option = {
		# name = pod1230objectives.257.option.1d	
		# trigger = { 
			# has_character_flag = POD_custom_bloodline_blooddrop_flag					
		# }
		# scope:custom_dynasty = {
			# set_coa = dynasty:PODcustombloodline1d
		# }
		# scope:custom_house = {
			# set_coa = dynasty:PODcustombloodline1d
		# }
		# trigger_event = {
			# id = pod1230objectives.258
			# days = 6
		# }		
	# }		
}

pod1230objectives.258 = {
    type = character_event
	content_source = dlc_POD
	title = pod1230objectives.258.title
	desc = pod1230objectives.258.desc
	theme = vampire
	
	widget = {
		gui = "POD_shader_event_fog_alley_night"
		container = "background_shader_vfx_container"
	}
	
	left_portrait = {
	    character = root
		animation = personality_bold
	}
	
	#Reconsider
	option = {
		name = pod1230objectives.258.option.a
		
		trigger_event = {
			id = pod1230objectives.257
			days = 6
		}		
	}
	
	#Satisfied
	option = {
		name = pod1230objectives.258.option.b
		add_prestige = 100
	}	

	#Change the realm's COA as well
	option = {
		name = pod1230objectives.258.option.c
		add_prestige = 250
		scope:custom_realm = {
			set_coa = scope:custom_dynasty
		}
	}	

	
}

pod1230objectives.91 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.91.t
	desc = pod1230objectives.91.desc
	theme = learning_scholarship_focus
	left_portrait = {
		character = scope:firewielding_supe
		animation = personality_bold
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.91.a
	
		dynasty = {
			 	add_dynasty_modifier = masters_of_fire
			}
		
		every_player = {
			limit = {
				is_supehunter_trigger = yes
				NOT = { this = root }
				}
			trigger_event = pod1230objectives.92
		}
	}
}

pod1230objectives.92 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.92.t
	desc = pod1230objectives.92.desc
	theme = learning_scholarship_focus
	left_portrait = {
		character = scope:firewielding_supe
		animation = personality_bold
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = { # Regular
			trigger = {
				is_supehunter_trigger = no
			}
			text = pod1230objectives.92.a
		}
		name = { # Hunter
			trigger = {
				is_supehunter_trigger = yes
			}
			text = pod1230objectives.92.b
		}	
	}
}

pod1230objectives.93 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.93.t
	desc = pod1230objectives.93.desc
	theme = learning_theology_focus
	left_portrait = {
		character = scope:victorious_ghoulbro
		animation = personality_bold
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.93.a
	
		custom_tooltip = POD_unlocked_empire_ghw
		add_character_flag = enable_ghw
		faith = {
			add_doctrine = great_awakening_doctrine
			}	
		
		every_player = {
			limit = {
				has_trait = shih
				NOT = { this = root }
				}
			trigger_event = pod1230objectives.94
		}
	}
}

pod1230objectives.94 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.94.t
	desc = pod1230objectives.94.desc
	theme = learning_theology_focus
	left_portrait = {
		character = scope:victorious_ghoulbro
		animation = personality_bold
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
	name = pod1230objectives.92.a
	}
}

pod1230objectives.95 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.95.t
	desc = pod1230objectives.95.desc
	theme = tzimisce_coa
	left_portrait = {
		character = scope:victorious_poltzimi
		animation = personality_bold
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.95.a
	
		title:b_krakow.title_province = {
		add_special_building = northern_throne_01
		add_province_modifier = extra_building_slot
		}
		add_pressed_claim = title:e_voivodate
		every_player = {
			limit = {
				is_tzimisce_trigger = yes
				NOT = { this = root }
				}
			trigger_event = pod1230objectives.96
		}
	}
}

pod1230objectives.96 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.96.t
	desc = pod1230objectives.96.desc
	theme = tzimisce_coa
	left_portrait = {
		character = scope:victorious_poltzimi
		animation = personality_bold
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = { # All
			trigger = {
				is_tzimisce_trigger = no
			}
			text = pod1230objectives.96.a
		}
		name = { # Tzimisce
			trigger = {
				is_tzimisce_trigger = yes
			}
			text = pod1230objectives.96.b
		}	
	}
}


pod1230objectives.97 = {
	type = character_event
    window = fullscreen_event
	title = pod1230objectives.97.t
	desc = pod1230objectives.97.desc
	theme = banu_haqim_coa
	override_background = { reference = ending_the_curse_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.97.a
	
	remove_character_modifier = tremere_blood_curse_modifier

	custom_tooltip = tremere_blood_curse_removed_tt

	root.dynasty = {
		add_dynasty_prestige = 1000
		add_dynasty_prestige_level = 1
	}

	custom_tooltip = pod1230objectives.57.custom
	
	hidden_effect = {		
		every_living_character = {
		limit = {
			is_tremere_trigger = yes
		}
		add_character_modifier = {
		modifier = usurpers_exposed_modifier
		}	
		}
	}
	
	hidden_effect = {
		every_living_character = {
			limit = {
				has_character_modifier = tremere_blood_curse_modifier
				}
			remove_character_modifier = tremere_blood_curse_modifier
		}
	}	
		every_player = {
			limit = {
				is_vampire_trigger = yes
				NOT = { this = root }
				}
			trigger_event = pod1230objectives.98
		}
	}
}

pod1230objectives.98 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.97.t
	desc = pod1230objectives.97.desc
	theme = banu_haqim_coa
	left_portrait = {
		character = scope:victorious_decurser
		animation = personality_bold
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = { # All
			trigger = {
				is_tremere_trigger = no
			}
			text = pod1230objectives.98.a
		}
		name = { # Tremere
			trigger = {
				is_tremere_trigger = yes
			}
			text = pod1230objectives.98.b
		}	
	}
}

pod1230objectives.99 = {
	type = character_event
    window = fullscreen_event
	title = pod1230objectives.99.t
	desc = pod1230objectives.99.desc
	theme = toreador_coa
	override_background = { reference = dazzling_grandeur_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }


	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"

		create_character = {
			gender_female_chance = 50
			template_character = root
			trait = mortal
			stewardship = 8
			diplomacy = 7
			trait = intellect_good_3
			trait = education_learning_4
			trait = scholar
			location = scope:barony.title_province
			save_scope_as = inspired_reward
		}		
	}

	option = {
		name = pod1230objectives.99.a
		add_character_modifier = {
			modifier = toreador_grandeur_modifier
		}
		root.dynasty = {
			add_dynasty_prestige = 1000
			add_dynasty_prestige_level = 1
		}

		root.culture = {
		add_random_innovation = yes
		add_random_innovation = yes		
		}
		
		custom_tooltip = toreador_grandeur_event_tooltip	
		
		scope:inspired_reward = {
			create_inspiration = book_inspiration 
		}
		
		add_courtier = scope:inspired_reward
		
		every_player = {
			limit = {
				is_vampire_trigger = yes
				NOT = { this = root }
				}
			trigger_event = pod1230objectives.100
		}
	}
	
}

pod1230objectives.100 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.99.t
	desc = pod1230objectives.99.desc
	theme = toreador_coa
	left_portrait = {
		character = scope:victorious_toreador_grandeur
		animation = personality_honorable
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
	}

	option = {
		name = { # Regular
			trigger = {
				is_toreador_trigger = no
			}
			text = pod1230objectives.100.a
		}
		name = { 
			trigger = {
				is_toreador_trigger = yes			
				}
			text = pod1230objectives.100.b
		}
	}
}

pod1230objectives.101 = {
	type = character_event
    window = fullscreen_event
	title = pod1230objectives.101.t
	desc = pod1230objectives.101.desc
	theme = vampire
	override_background = { reference = eternal_knowledge_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }


	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"		
	}

	option = {
		name = pod1230objectives.101.a
		add_character_modifier = {
			modifier = custodian_library_undead_modifier
		}
		root.dynasty = {
			add_dynasty_prestige = 1000
			add_dynasty_prestige_level = 1
		}

		root.culture = {
		add_random_innovation = yes
		add_random_innovation = yes		
		}		
		
		every_player = {
			limit = {
				is_vampire_trigger = yes
				NOT = { this = root }
				}
			trigger_event = pod1230objectives.102
		}
	}
	
}

pod1230objectives.102 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.101.t
	desc = pod1230objectives.101.desc
	theme = vampire
	left_portrait = {
		character = scope:victorious_library
		animation = personality_honorable
	}
	
	widget = {
		gui = "POD_shader_event_fog_alley_night"
		container = "background_shader_vfx_container"
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
	}

	option = {
		name = pod1230objectives.102.a
	}
}

pod1230objectives.103 = {
	type = character_event
    window = fullscreen_event
	title = pod1230objectives.103.t
	desc = pod1230objectives.103.desc
	theme = toreador_coa
	override_background = { reference = avenge_arikels_shame_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
		
	}

	option = {
		name = pod1230objectives.103.a
		#custom_tooltip = pod1230objectives.103.a.tt

		root.dynasty = {
			add_dynasty_prestige = 1000
			add_dynasty_prestige_level = 1
		}
		
		dynasty:10000006 = {
			add_dynasty_modifier = shamed_gangrel_modifier
		}
			
			
		set_artifact_rarity_illustrious = yes
		save_scope_value_as = {
			name = owner_fm
			value = flag:female
		}
		if = {
			limit = { has_ep1_dlc_trigger = yes }
			create_artifact = {
				name = artifact_sculpture_of_ishtar_name
				description = artifact_sculpture_of_ishtar_description
				visuals = statue
				type = sculpture
				modifier = sculpture_of_ishtar_modifier
				save_scope_as = sculpture_of_ishtar
				template = sculpture_of_ishtar_template
				wealth = scope:wealth
				quality = scope:quality				
				history = {
					type = created_before_history
				}
				decaying = no				
			}
		}
		else = {
			create_artifact = {
				name = artifact_sculpture_of_ishtar_name
				description = artifact_sculpture_of_ishtar_description
				visuals = statue
				type = miscellaneous_when_not_court
				modifier = sculpture_of_ishtar_modifier
				save_scope_as = sculpture_of_ishtar
				template = sculpture_of_ishtar_template
				wealth = scope:wealth
				quality = scope:quality				
				history = {
					type = created_before_history
				}
				decaying = no				
			}
		}
		scope:sculpture_of_ishtar = {
			#set_variable = sculpture_of_ishtar
			save_scope_value_as = {
				name = sculpture_of_ishtar
				value = yes
			}
		}
		hidden_effect = {
			every_player = {
				limit = {
					is_vampire_trigger = yes
					NOT = { this = scope:victorious_toreador_avenge }
				}
				trigger_event = pod1230objectives.104
			}
		}
	}
}

pod1230objectives.104 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.103.t
	desc = pod1230objectives.103.desc
	theme = toreador_coa
	left_portrait = {
		character = scope:victorious_toreador_avenge
		animation = personality_honorable
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = { # Regular
			trigger = {
				is_gangrel_trigger = no
			}
			text = pod1230objectives.104.a
		}
		name = { # Gangrel
			trigger = {
				is_gangrel_trigger = yes
			}
			text = pod1230objectives.104.b
		}
			
	}
}

pod1230objectives.105 = {
	type = character_event
    window = fullscreen_event
	title = pod1230objectives.105.t
	desc = pod1230objectives.105.desc
	theme = toreador_coa
	override_background = { reference = a_new_era_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.105.a

		root.dynasty = {
			add_dynasty_prestige = 1000
			add_dynasty_prestige_level = 1
			add_dynasty_modifier = french_toreador_modifier
		}

	hidden_effect = {
		every_held_title = { #Should shift all dejure of all Empires owned at the time.
			limit = {
				tier >= tier_empire
			}
			every_in_de_jure_hierarchy = {
				limit = {
					tier = tier_kingdom
				}
				set_de_jure_liege_title = title:e_toreador
				
			}
		}
		every_held_title = { #Completely Controlled Kingdoms as well.
			limit = {
				tier = tier_kingdom
				root = { completely_controls = prev }
			}
			set_de_jure_liege_title = title:e_toreador
		}
	}
	
		create_title_and_vassal_change = {
			type = created
			save_scope_as = change
			add_claim_on_loss = no
		}

		title:e_toreador = {
			change_title_holder = {
				holder = root
				change = scope:change
			}
		}
		resolve_title_and_vassal_change = scope:change	
		
	hidden_effect = { set_primary_title_to = title:e_toreador }
	#every_held_title = { #Should destroy all other Empires owned at the time.
	#	limit = {
	#			tier >= tier_empire
	#		NOT = { this = title:e_toreador }
	#	}
	#	root = { destroy_title = prev }
	#}
	
		hidden_effect = {
			set_primary_title_to = title:e_toreador
			every_player = {
				limit = {
					is_vampire_trigger = yes
					NOT = { this = scope:victorious_toreador_unity }
				}
				trigger_event = pod1230objectives.106
			}
		}	
		
	}
}

pod1230objectives.106 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.105.t
	desc = pod1230objectives.105.desc
	theme = toreador_coa
	left_portrait = {
		character = scope:victorious_toreador_unity
		animation = personality_honorable
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = { # Regular
			trigger = {
				NOT = {
					is_toreador_trigger = no	
				}
			}
			text = pod1230objectives.106.a
		}
		name = { # Toreador
			trigger = {
				is_toreador_trigger = yes
			}
			text = pod1230objectives.106.b
		}
			
	}
}

pod1230objectives.113 = {
	type = character_event
    window = fullscreen_event
	title = pod1230objectives.113.t
	desc = pod1230objectives.113.desc
	theme = court
	override_background = { reference = the_third_way_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.113.a
		
		add_prestige = massive_prestige_value
		add_prestige_level = 2
		
		
		add_character_modifier = heir_yzebel_modifier
		
		hidden_effect = {
		every_independent_ruler = {
			limit = {
				is_lasombra_trigger = yes
				}
			add_character_modifier = {
				modifier = broken_authority_modifier
				years = 50
				}		
			}
		}
		custom_tooltip = thirdway_effect_tt
		
		every_player = {
			limit = {
			capital_province = {
				geographical_region = world_europe
			}
				NOT = { this = root }
				}
			trigger_event = pod1230objectives.114
		}
	}
	
	after = {
		# End Struggle
		struggle:reconquista_struggle = {
			end_struggle = noconquista_objective_decision
		}
	}	
}



pod1230objectives.114 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.113.t
	desc = pod1230objectives.113.desc
	theme = court
	left_portrait = {
		character = scope:thirdway_conqueror
		animation = personality_honorable
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
	}

	option = {
		name =  pod1230objectives.114.a
		}	
}

pod1230objectives.115 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.115.t
	desc = pod1230objectives.115.desc
	theme = faith
	left_portrait = root

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
	}

	option = {
		name = pod1230objectives.115.a
		
		add_character_modifier = wisdom_stealer_modifier
		add_prestige = massive_prestige_value
		dynasty = { add_dynasty_prestige = 3000 }
		custom_tooltip = unlock_chiiumuh_tooltip
	}	
}

pod1230objectives.116 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.116.t
	desc = pod1230objectives.116.desc
	theme = stewardship_duty_focus
	left_portrait = {
		character = root
		animation = personality_honorable
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}
	
	option = {
		name = pod1230objectives.116.a
		
		add_prestige = massive_prestige_value

		title:b_lhasa.title_province = {
			add_special_building = unique_dragon_nest_01
			add_province_modifier = extra_building_slot
		} 
		title:b_qamdo.title_province = {
			add_special_building = unique_dragon_nest_01
			add_province_modifier = extra_building_slot
		}
			
		create_title_and_vassal_change = {
			type = created
			save_scope_as = change
			add_claim_on_loss = no
		}
		title:e_tibet = {
			change_title_holder = {
				holder = root
				change = scope:change
			}
		}
		resolve_title_and_vassal_change = scope:change
	}
}


#pod1230objectives.123 = {
#	type = character_event
#	content_source = dlc_POD
#	title = pod1230objectives.123.t
#	desc = pod1230objectives.123.desc
#	theme = stewardship_duty_focus
#	left_portrait = {
#		character = root
#		animation = personality_honorable
#	}
#
#	immediate = {
#		play_music_cue = "mx_cue_epic_sacral_moment"	
#	}
#	
#	option = {
#		name = pod1230objectives.123.a
#		
#		add_prestige = massive_prestige_value
#		declare_bloodline_holy_decision_effect = yes
#		house:house_anda = {
#			every_house_member = {
#				limit = { is_landed = yes}
#				every_held_title = {
#					limit  = { is_capital_barony = no } # Error: add_pressed_claim effect [ Can't claim capital baronies; claim the county ]
#					root = { add_pressed_claim = prev }
#				}
#			}
#		}
#	}
#}


pod1230objectives.124 = {
	type = character_event
    window = fullscreen_event
	title = pod1230objectives.124.t
	desc = pod1230objectives.124.desc
	theme = brujah_coa
	override_background = { reference = the_truth_about_brujah_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.124.a
		
		root.dynasty = {
			add_dynasty_prestige = 1000
			add_dynasty_prestige_level = 1
		}

		custom_tooltip = repentant_brujah_tooltip

		hidden_effect = {
			every_living_character = {
				limit = {
					is_brujah_trigger = yes
					is_truebrujah_trigger = no	
				}	
				add_character_modifier = repentant_brujah_modifier			
			}
		}
		
	every_player = {
			limit = {
				is_vampire_trigger = yes
				NOT = { this = root }
				}
			trigger_event = pod1230objectives.125
		}
	}
	
	option = {
		name = pod1230objectives.124.b
		
		root.dynasty = {
			add_dynasty_prestige = 1000
			add_dynasty_prestige_level = 1
		}

		custom_tooltip = end_false_brujah_tooltip

		hidden_effect = {
			every_living_character = {
				limit = {
					is_brujah_trigger = yes
					is_truebrujah_trigger = no	
				}	
				add_character_modifier = kill_on_sight_modifier		
			}
		}
		
	every_player = {
			limit = {
				is_vampire_trigger = yes
				NOT = { this = root }
				}
			trigger_event = pod1230objectives.125
		}	
		
	add_character_modifier = {
			modifier = politically_secure_modifier
		}
	}		
}

pod1230objectives.125 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.124.t
	desc = pod1230objectives.124.desc
	theme = brujah_coa
	left_portrait = {
		character = scope:victorious_trujah
		animation = personality_honorable
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
	}

	option = {
		name = { # Regular
			trigger = {
				NOT = {
				is_brujah_trigger = yes
				is_truebrujah_trigger = no	
				}
			}
			text = pod1230objectives.125.a
		}
		name = { # Brujah
			trigger = {
				is_brujah_trigger = yes
				is_truebrujah_trigger = no		
				}
			text = pod1230objectives.125.b
		}
			
	}
}

pod1230objectives.126 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.126.t
	desc = pod1230objectives.126.desc
	theme = faith
	left_portrait = {
		character = root
		animation = personality_honorable
	}
	right_portrait = {
		character = character:792593
		animation = personality_bold
	}
	
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}
	
	option = {
		name = pod1230objectives.126.a
		
		add_character_modifier = extra_life_1_modifier
		add_prestige = massive_prestige_value
		add_gold = massive_gold_value
	}
	
	option = {
		name = pod1230objectives.126.b
		
		add_internal_flag = dangerous
		
		custom_tooltip = become_mummy_ikwan_tt

		every_held_title = {
			limit = {
				tier > tier_county
			}
			add_to_temporary_list = titles_to_destroy
		}

		every_in_list = {
			list = titles_to_destroy
			holder = {
				destroy_title = prev
			}
		}
				
		character:792593 = { save_scope_as = actor }
		root = { save_scope_as = recipient }
		
		scope:recipient = {
			POD_become_mummy_effect = yes
			
			remove_relation_worshipped_reborn = scope:actor
			
			add_opinion = {
				modifier = POD_spell_of_life_opinion
				target = scope:actor
			}
			scope:actor = {
				switch = {
					trigger = has_trait
					shemsuheru = { scope:recipient = { POD_mummy_initialization_shemsu_heru_effect = yes } }
					cabiri     = { scope:recipient = { POD_mummy_initialization_cabiri_effect = yes } }
					# placeholder for future content
					wutian     = { scope:recipient = { POD_mummy_initialization_wutian_effect = yes } }
					wukuei     = { scope:recipient = { POD_mummy_initialization_wukuei_effect = yes } }
				}
			}
			if = {
				limit = { scope:actor = { POD_is_mummy_trigger = no } }
				set_character_faith = scope:actor.faith
			}
		
		}		
		
		add_prestige = massive_prestige_value
		add_gold = massive_gold_value
	}	
	 
}

pod1230objectives.127 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.127.t
	desc = pod1230objectives.127.desc
	theme = faith
	left_portrait = {
		character = root
		animation = personality_honorable
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}
	
	option = {
		name = pod1230objectives.127.a
		
		custom_tooltip = ikhwan_al_safa_arabia_objective_decision_effect_tooltip
		hidden_effect = {
			create_title_and_vassal_change = {
				type = usurped
				save_scope_as = title_change
				add_claim_on_loss = no
			}
			every_county_in_region = {
				region = world_middle_east_arabia
				limit = { holder = { has_trait = vampire } }
				change_title_holder = {
					holder = root
					change = scope:title_change
				}
			}
			resolve_title_and_vassal_change = scope:title_change
		}
		add_character_modifier = keening_modifier
		add_prestige = massive_prestige_value
	}
}

pod1230objectives.128 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.128.t
	desc = pod1230objectives.128.desc
	theme = faith
	left_portrait = {
		character = root
		animation = personality_honorable
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}
	
	option = {
		name = pod1230objectives.128.a
		
		custom_tooltip = ikhwan_al_safa_persia_objective_decision
		faith:ikhwan_al_safa = {
			add_doctrine = special_doctrine_sorcerer_ordination
		}
		add_character_modifier = sufi_mystic_modifier
		add_prestige = massive_prestige_value
		add_trait = sorcerer
		if = {
			limit = { has_trait = beatific }
			POD_advance_beatific_multiple_effect = { VALUE = 5 }
		}
	}
}

pod1230objectives.130 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.130.t
	desc = pod1230objectives.130.desc
	theme = faith
	left_portrait = root

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
	}

	option = {
		name = pod1230objectives.130.a
		
		remove_character_modifier = wisdom_stealer_modifier
		add_trait = hun_and_po
		add_trait = dharma1
		add_prestige = massive_prestige_value
		POD_assing_age_modifier_effect = yes
		dynasty = { add_dynasty_prestige = 3000 }
		
		trigger_event = podintroductions.5102
	}	
}

pod1230objectives.131 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.131.t
	desc = pod1230objectives.131.desc
	theme = faith
	left_portrait = root

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
	}

	option = {
		name = pod1230objectives.131.a
		
		faith:akritai = {
			add_doctrine = special_doctrine_hunter_schism_mended
			change_fervor = {
				value = 25
				desc = fervor_gain_mended_schism
			}
		}
		faith:shadowinquisition = {
			change_fervor = {
				value = -25
				desc = fervor_loss_mended_schism
			}
		}
		
		custom_tooltip = {
			text = akritai_schism_tt
			
		every_living_character = {
			limit = {
				is_ai = yes
				has_faith = faith:shadowinquisition
			}
		set_character_faith = faith:akritai
		
		#Reset their buildings, since incompatible post conversion
		every_held_county = {
			random_county_province = {
				limit = { 
				has_holding_type = castle_holding 				
				}
				set_holding_type = tribal_holding
				set_holding_type = castle_holding			
			}
			
			random_county_province = {
				limit = { 
				has_holding_type = city_holding 				
				}
				set_holding_type = tribal_holding
				set_holding_type = city_holding			
			}	
			
			random_county_province = {
				limit = { 
				has_holding_type = church_holding 				
				}
				set_holding_type = tribal_holding
				set_holding_type = church_holding			
			}
			
			random_county_province = {
				limit = { 
				has_holding_type = grand_city_holding 				
				}
				POD_reset_grand_city_effect = yes
			}
		}
		}
		}
		
		set_nickname_effect = { NICKNAME = nick_the_ecumenist }
	}	
}

pod1230objectives.132 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.132.t
	desc = pod1230objectives.132.desc
	theme = faith
	left_portrait = {
		character = root
		animation = personality_honorable
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}
	
	option = {
		name = pod1230objectives.132.a
		
		add_character_modifier = kabbalah_modifier
		faith = { add_doctrine = special_doctrine_theurgist_ordination }
		faith = { remove_doctrine = doctrine_magicraft_shunned }
		faith = { add_doctrine = doctrine_magicraft_accepted }
		if = {
			limit = { has_trait = beatific }
			POD_advance_beatific_multiple_effect = { VALUE = 5 }
		}
		
		add_prestige = massive_prestige_value
	}
}

#pod1230objectives.133 = {
#	type = character_event
#	content_source = dlc_POD
#	title = pod1230objectives.133.t
#	desc = pod1230objectives.133.desc
#	theme = faith
#	left_portrait = {
#		character = root
#		animation = personality_honorable
#	}
#
#	immediate = {
#		play_music_cue = "mx_cue_epic_sacral_moment"	
#	}
#	
#	option = {
#		name = pod1230objectives.133.a
#		
#		custom_tooltip = ikhwan_al_safa_persia_objective_decision # Re-use loca
#		faith = { add_doctrine = special_doctrine_theurgist_ordination }
#		add_trait = theurgist
#		if = {
#			limit = { has_trait = beatific }
#			POD_advance_beatific_multiple_effect = { VALUE = 5 }
#		}
#	}
#}


pod1230objectives.135 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.135.t
	desc = pod1230objectives.135.desc
	theme = visceratika
	left_portrait = {
		character = root
		animation = personality_honorable
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}
	
	option = {
		name = pod1230objectives.135.a
		
		every_living_character = {
			limit = { is_gargoyle_trigger = yes }
			add_trait = visceratika
		}
		dynasty = {
			add_dynasty_prestige = 2500
		}
		set_global_variable = {
			name = visceratika_created
			value = yes
		}
		if = {
			limit = {
				is_ai = no
				this = character:POD_Rock_Lord_01
			}
			set_global_variable = pod_achiev_visceratika # Achievement: Stone Cold Stunner
		}
	}
		
	after = {
		save_scope_as = visceratika_creator
		hidden_effect = {
			every_player = { 
				limit = {
					has_trait = vampire
					OR = {
						has_trait = tremere
						has_trait = gargoyle
					}
					NOT = { this = root }
				}
				trigger_event = pod1230objectives.137
			}
		}
	}
}

pod1230objectives.136 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.136.t
	desc = pod1230objectives.136.desc
	theme = visceratika
	left_portrait = {
		character = root
		animation = personality_honorable
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}
	
	option = {
		name = pod1230objectives.136.a
		
		add_trait = visceratika
		every_living_character = {
			limit = { is_gargoyle_trigger = yes }
			add_trait = visceratika
		}
		dynasty = {
			add_dynasty_prestige = 1000
		}
		set_global_variable = {
			name = visceratika_created
			value = yes
		}
		if = {
			limit = {
				is_ai = no
				this = character:790870
			}
			set_global_variable = pod_achiev_visceratika # Achievement: Stone Cold Stunner
		}
	}
		
	after = {
		save_scope_as = visceratika_creator
		hidden_effect = {
			every_player = { 
				limit = {
					has_trait = vampire
					NOT = { this = root }
				}
				trigger_event = pod1230objectives.137
			}
		}
	}
}

pod1230objectives.137 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.137.t
	desc = pod1230objectives.137.desc
	theme = visceratika
	left_portrait = {
		character = scope:visceratika_creator
		animation = personality_honorable
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
	}

	option = {
		name = { # Regular
			trigger = {
				NOT = { has_trait = gargoyle }
			}
			text = pod1230objectives.137.a
		}
		name = { # Gargoyle
			trigger = {
				has_trait = gargoyle		
			}
			text = pod1230objectives.137.b
		}
	}
}

# Roguelike mode: Success
pod1230objectives.7000 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.7000.t
	desc = pod1230objectives.7000.desc
	theme = vampire
	override_background = { reference = alamut }

	left_portrait = {
		character = root
		animation = personality_bold
	}

	option = {
		name = pod1230objectives.7000.a
		POD_lift_roguelike_curses_effect = yes
	}
}


pod1230objectives.138 = {
	type = character_event
    window = fullscreen_event
	title = pod1230objectives.138.t
	desc = pod1230objectives.138.desc
	theme = martial
	override_background = { reference = eye_of_the_storm_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"

		dynasty ?= {
		add_dynasty_prestige = 3000
		}
		add_prestige = 1500		
	}

	option = {
		name =  pod1230objectives.138.a
		
		custom_tooltip = quincunx_invasion_removed_tt
		
	spawn_army = {
		uses_supply = no
		inheritable = yes
		name = mongol_event_troops
		#levies = {
		#	value = 5000
		#}
		men_at_arms = {
			type = horse_archers
			stacks = 5
		}
		men_at_arms = {
			type = anda_jagun_maa
			stacks = 5
		}
		men_at_arms = {
			type = light_horsemen
			stacks = 5
		}		
		men_at_arms = {
			type = trebuchet
			stacks = 3
		}
		location = capital_province
		origin = capital_province
	}		
	}
	
	option = {
		name =  pod1230objectives.138.b
		
		custom_tooltip = quincunx_invasion_removed_tt
		custom_tooltip = werewolves_friendship_variable_tt
		
		dynasty ?= { set_variable = werewolves_friendship_variable }
		
	}	
} 

pod1230objectives.139 = {
	type = character_event
    window = fullscreen_event
	title = pod1230objectives.139.t
	desc = pod1230objectives.139.desc
	theme = martial
	override_background = { reference = eye_of_the_storm_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"

		dynasty ?= {
		add_dynasty_prestige = 3000
		}		
		add_prestige = 1500		
	}

	
	option = {
		name =  pod1230objectives.139.a
		
		custom_tooltip = dazbog_victory_objective_decision_effect_tooltip
		
			# Create the artifact
			create_artifact = {
				name = artifact_szczerbiec_name
				description = artifact_szczerbiec_description
				template = general_unique_template
				type = sword
				visuals = sword
				wealth = 90
				quality = 90
				history = {
					type = created_before_history
				}
				modifier = szczerbiec_modifier
				save_scope_as = newly_created_artifact
				decaying = no
			}
		
			scope:newly_created_artifact = {
				set_variable = { name = historical_unique_artifact value = yes }
				set_variable = szczerbiec
				save_scope_as = epic
			}
		
		dynasty ?= { set_variable = dazbog_triumph_variable }
		
	}	
} 

pod1230objectives.140 = {
	type = character_event
    window = fullscreen_event
	title = pod1230objectives.140.t
	desc = pod1230objectives.140.desc
	theme = martial
	override_background = { reference = demon_redemption_background }
	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"

		dynasty ?= {
		add_dynasty_prestige = 3000
		}		
		add_prestige = 1500		
	}

	option = {
		name =  pod1230objectives.140.a
		
		dynasty ?= {
		add_dynasty_modifier = dynasty_hunter_administrative_modifier
		}
	}
	
	option = {
		name =  pod1230objectives.140.b
	
		dynasty ?= {
		add_dynasty_modifier = dynasty_hunter_military_modifier
		}
	}	
	
	option = {
		name =  pod1230objectives.140.c

		dynasty ?= {
		add_dynasty_modifier = dynasty_hunter_intrigue_modifier
		}
	}

	option = {
		name =  pod1230objectives.140.d

		faith = { add_doctrine = special_doctrine_sorcerer_ordination }
		faith = { remove_doctrine = doctrine_magicraft_evil }
		faith = { add_doctrine = doctrine_magicraft_accepted }
		
		dynasty ?= {
		add_dynasty_modifier = dynasty_hunter_sorcery_modifier
		}
	}

	option = {
		name =  pod1230objectives.140.e

		faith = { add_doctrine = special_doctrine_theurgist_ordination }

		dynasty ?= {
		add_dynasty_modifier = dynasty_hunter_theurgist_modifier
		}
		if = {
			limit = { has_trait = beatific }
			POD_advance_beatific_multiple_effect = { VALUE = 5 }
		}
	}
}	

# pod1230objectives.141 = {
# 	type = character_event
# 	content_source = dlc_POD
# 	title = pod1230objectives.141.t
# 	desc = pod1230objectives.141.desc
# 	theme = stewardship_duty_focus
# 	left_portrait = {
# 		character = root
# 		animation = personality_honorable
# 	}

# 	immediate = {
# 		play_music_cue = "mx_cue_epic_sacral_moment"	
# 	}
	
# 	option = {
# 		name = pod1230objectives.141.a
		
# 		add_prestige = massive_prestige_value
# 		add_prestige_level = 2
# 		add_character_modifier = the_enforcer_of_dictum_mortuum
# 	}
# }

#pod1230objectives.142 = {
#	type = character_event
#	content_source = dlc_POD
#	title = pod1230objectives.142.t
#	desc = pod1230objectives.142.desc
#	theme = stewardship_duty_focus
#	left_portrait = {
#		character = root
#		animation = personality_honorable
#	}
#
#	immediate = {
#		play_music_cue = "mx_cue_epic_sacral_moment"	
#	}
#	
#	option = {
#		name = pod1230objectives.142.a
#		
#		character:POD_wraith_01.var:siklos = {
#			add_artifact_modifier = artifact_domain_limit_2_modifier
#			add_artifact_modifier = artifact_monthly_lifestyle_xp_10_modifier
#		}
#	}
#}
#
#pod1230objectives.144 = {
#	type = character_event
#	content_source = dlc_POD
#	title = new_demon_warrior_empire_objective_decision
#	desc = pod1230objectives.144.desc
#	theme = stewardship_duty_focus
#	left_portrait = {
#		character = root
#		animation = personality_honorable
#	}
#
#	immediate = {
#		play_music_cue = "mx_cue_epic_sacral_moment"	
#	}
#	
#	option = {
#		name = new_demon_warrior_empire_objective_decision_confirm
#		
#		add_prestige = massive_prestige_value
#		custom_tooltip = POD_unlocked_empire_ghw
#		add_character_flag = enable_ghw
#			
#		hidden_effect = {
#			every_held_title = { #Should shift all dejure of all Empires owned at the time.
#				limit = {
#					tier >= tier_empire
#				}
#				every_in_de_jure_hierarchy = {
#					limit = {
#						tier = tier_kingdom
#					}
#					set_de_jure_liege_title = title:e_demon_warrior_empire
#					
#				}
#			}
#			every_held_title = { #Completely Controlled Kingdoms as well.
#				limit = {
#					tier = tier_kingdom
#					root = { completely_controls = prev }
#				}
#				set_de_jure_liege_title = title:e_demon_warrior_empire
#			}
#		}
#		create_title_and_vassal_change = {
#			type = created
#			save_scope_as = change
#			add_claim_on_loss = no
#		}
#		title:e_demon_warrior_empire = {
#			change_title_holder = {
#				holder = root
#				change = scope:change
#			}
#		}
#		resolve_title_and_vassal_change = scope:change
#		hidden_effect = { set_primary_title_to = title:e_demon_warrior_empire }
#		every_held_title = { #Should destroy all other Empires owned at the time.
#			limit = {
#				tier >= tier_empire
#				NOT = { this = title:e_demon_warrior_empire }
#			}
#			root = { destroy_title = prev }
#		}
#	}
#}

pod1230objectives.145 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.145.t
	desc = pod1230objectives.145.desc
	theme = stewardship_duty_focus
	left_portrait = {
		character = root
		animation = personality_honorable
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
		POD_save_real_prowess = yes
	}
	
	option = {
		name = pod1230objectives.145.a
		custom_description = {
			text  = POD_save_real_prowess_desc
			value = scope:real_prowess
		}
		random_list = {
			50 = {
				desc = pod1230objectives.1581.sucess
				modifier = {
					add = {
						value = scope:real_prowess
						subtract = 80
						multiply = 0.5
					}
				}
				add_prestige = massive_prestige_value
				add_character_modifier = yama_king_modifier
				switch = {
					trigger = has_trait
					dharma9 = { remove_trait = dharma9 }
					dharma8 = { remove_trait = dharma8 }
					dharma7 = { remove_trait = dharma7 }
					dharma6 = { remove_trait = dharma6 }
					dharma5 = { remove_trait = dharma5 }
					dharma4 = { remove_trait = dharma4 }
					dharma3 = { remove_trait = dharma3 }
					dharma2 = { remove_trait = dharma2 }
					dharma1 = { remove_trait = dharma1 }
				}
				POD_assing_age_modifier_effect = yes
				#POD_change_wheel_of_ages_progress = { VALUE = 50 }
			}
			50 = {
				desc = pod1230objectives.1581.failure
				modifier = {
					add = {
						value = scope:real_prowess
						subtract = 80
						multiply = -0.5
					}
				}
				death = { death_reason = death_annihilated }
			}
		}
	}
	
	option = {
		name = pod1230objectives.145.b
	}
}

# pod1230objectives.146 = {
# 	type = character_event
# 	content_source = dlc_POD
# 	title = pod1230objectives.146.t
# 	desc = pod1230objectives.146.desc
# 	theme = stewardship_duty_focus
# 	left_portrait = {
# 		character = root
# 		animation = personality_honorable
# 	}

# 	immediate = {
# 		play_music_cue = "mx_cue_epic_sacral_moment"	
# 	}
	
# 	option = {
# 		name = pod1230objectives.146.a
		
# 		add_character_modifier = mantis_of_wheel_modifier
		
# 		add_prestige = massive_prestige_value
# 		declare_bloodline_holy_decision_effect = yes
		
# 		custom_tooltip = fifth_age_prevented
# 		set_global_variable = fifth_age_prevented
# 	}
# }

# pod1230objectives.147 = {
# 	type = character_event
# 	content_source = dlc_POD
# 	title = pod1230objectives.147.t
# 	desc = pod1230objectives.147.desc
# 	theme = stewardship_duty_focus
# 	left_portrait = {
# 		character = root
# 		animation = personality_honorable
# 	}

# 	immediate = {
# 		play_music_cue = "mx_cue_epic_sacral_moment"	
# 	}
	
# 	option = {
# 		name = pod1230objectives.147.a
		
# 		add_character_modifier = mantis_of_wheel_modifier
		
# 		add_prestige = massive_prestige_value
# 		declare_bloodline_holy_decision_effect = yes
		
# 		custom_tooltip = back_to_fourth_age
# 		set_global_variable = {
# 			name = wheel_of_ages
# 			value = 4 # Fourth Age
# 		}
# 	}
# }

pod1230objectives.148 = {
	type = character_event
	content_source = dlc_POD
	title = reckoning_war_of_shame_objective_decision
	desc = pod1230objectives.148.desc
	theme = stewardship_duty_focus
	left_portrait = {
		character = root
		animation = personality_honorable
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}
	
	option = {
		name = pod1230objectives.148.a
		
		add_prestige = massive_prestige_value
		dynasty = { add_dynasty_prestige = excessive_dynasty_prestige_value }
		
		add_character_modifier = unshameer_modifier

		create_character = {
			gender_female_chance = 50
			template_character = root
			trait = werewolf
			faith = faith:hakken
			stewardship = 10
			diplomacy = 10
			learning = 10
			trait = intellect_good_3
			trait = education_learning_5
			trait = scholar
			employer = root
		}
		
			if = {
				limit = {
					current_date <= 1350.1.1
				}
			custom_tooltip = wheel_ages_lose_dharma_prevented_tt
			}		
	}
}

pod1230objectives.149 = {
	type = character_event
	content_source = dlc_POD
	title = reckoning_dragon_river_war_objective_decision
	desc = pod1230objectives.149.desc
	theme = stewardship_duty_focus
	left_portrait = {
		character = root
		animation = personality_honorable
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}
	
	option = {
		name = pod1230objectives.149.a
		
		add_prestige = massive_prestige_value
		dynasty = { add_dynasty_prestige = excessive_dynasty_prestige_value }
		add_character_modifier = sun_curse_lifter_modifier
		
		custom_tooltip = sunny_wankuei
		set_global_variable = sunny_wankuei
		
		if = {
			limit = {
				has_trait = shih
			}
		custom_tooltip = shih_curse_lifter_tt
		
		hidden_effect = {
		religion:deviltigers_religion = {
			every_faith = {			
		 remove_doctrine = doctrine_supehunting_crime 
		 add_doctrine = doctrine_supehunting_accepted 		
		}
		}
		religion:resplendentcranes_religion = {
			every_faith = {			
		 remove_doctrine = doctrine_supehunting_crime 
		 add_doctrine = doctrine_supehunting_accepted 
		}
		}
		religion:thousandwhispers_religion = {
			every_faith = {			
		 remove_doctrine = doctrine_supehunting_crime 
		 add_doctrine = doctrine_supehunting_accepted 
		}
		}
		religion:boneflowers_religion = {
			every_faith = {			
		 remove_doctrine = doctrine_supehunting_crime 
		 add_doctrine = doctrine_supehunting_accepted 
		}
		}
		religion:kueijin_religion = {
			every_faith = {			
		 remove_doctrine = doctrine_supehunting_crime 
		 add_doctrine = doctrine_supehunting_accepted 
		}
		}	
		religion:thrashingdragons_religion = {
			every_faith = {			
		 remove_doctrine = doctrine_supehunting_crime 
		 add_doctrine = doctrine_supehunting_accepted 
		}
		}			
		}
		}		
	}
}

pod1230objectives.150 = {
	type = character_event
	content_source = dlc_POD
	title = little_god_reinstatement_objective_decision
	desc = pod1230objectives.150.desc
	theme = diplomacy_majesty_focus
	left_portrait = {
		character = root
		animation = personality_honorable
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}
	
	option = {
		name = pod1230objectives.150.a
		
		add_prestige = massive_prestige_value
		dynasty = { add_dynasty_prestige = excessive_dynasty_prestige_value }
		
		add_character_modifier = best_mediator_modifier
				
		custom_tooltip = hsien_fae
		set_global_variable = hsien_fae
		hidden_effect = {
			every_living_character = {
				limit = { has_trait = hsien }
				remove_trait = changeling
				add_trait = fae
			}
		}
	}
}

# pod1230objectives.151 = {
# 	type = character_event
# 	content_source = dlc_POD
# 	title = pod1230objectives.151.t
# 	desc = pod1230objectives.151.desc
# 	theme = stewardship_duty_focus
# 	left_portrait = {
# 		character = root
# 		animation = personality_honorable
# 	}

# 	immediate = {
# 		play_music_cue = "mx_cue_epic_sacral_moment"	
# 	}
	
# 	option = {
# 		name = pod1230objectives.151.a
		
# 		add_prestige = massive_prestige_value
# 		dynasty = { add_dynasty_prestige = excessive_dynasty_prestige_value }
		
# 		add_character_modifier = reverser_of_wheel_modifier
		
# 		custom_tooltip = back_to_third_age
# 		set_global_variable = {
# 			name = wheel_of_ages
# 			value = 3 # Third Age
# 		}
# 	}
# }

#pod1230objectives.152 = {
#	type = character_event
#	content_source = dlc_POD
#	title = pod1230objectives.152.t
#	desc = pod1230objectives.152.desc
#	theme = stewardship_duty_focus
#	left_portrait = {
#		character = root
#		animation = personality_honorable
#	}
#
#	immediate = {
#		play_music_cue = "mx_cue_epic_sacral_moment"	
#	}
#	
#	option = {
#		name = pod1230objectives.152.a
#		
#		add_prestige = massive_prestige_value
#		dynasty = { add_dynasty_prestige = excessive_dynasty_prestige_value }
#		
#		add_character_modifier = wall_beaker_modifier
#		
#		custom_tooltip = unsevering_objective_decision_effect_tooltip
#		set_global_variable = weaver_down
#		POD_change_wheel_of_ages_progress = { VALUE = -50 }
#	}
#}

pod1230objectives.153 = {
	type = character_event
	content_source = dlc_POD
	title = unhell_objective_decision
	desc = pod1230objectives.153.desc
	theme = martial_strategy_focus
	left_portrait = {
		character = root
		animation = personality_bold
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}
	
	option = {
		name = pod1230objectives.153.a
		
		add_prestige = massive_prestige_value
		dynasty = { add_dynasty_prestige = excessive_dynasty_prestige_value }
		
		add_character_modifier = unhellish_modifier
		
	}
}

#pod1230objectives.154 = {
#	type = character_event
#	content_source = dlc_POD
#	title = pod1230objectives.154.t
#	desc = pod1230objectives.154.desc
#	theme = stewardship_duty_focus
#	left_portrait = {
#		character = root
#		animation = personality_honorable
#	}
#
#	immediate = {
#		play_music_cue = "mx_cue_epic_sacral_moment"	
#	}
#	
#	option = {
#		name = pod1230objectives.154.a
#		
#		add_prestige = massive_prestige_value
#		dynasty = { add_dynasty_prestige = excessive_dynasty_prestige_value }
#		
#		add_character_modifier = imbued_teacher_modifier
#		
#		custom_tooltip = unkuei_objective_decision_effect_tooltip
#		set_global_variable = wan_xian_wan_kuei
#		POD_change_wheel_of_ages_progress = { VALUE = -50 }
#	}
#}

# pod1230objectives.155 = {
# 	type = character_event
#     window = fullscreen_event
# 	title = pod1230objectives.155.t
# 	desc = pod1230objectives.155.desc
# 	theme = faith
# 	override_background = { reference = demon_redemption_background }
# 	override_sound = { reference = "event:/DLC/FP2/SFX/UI/fp2_struggle_ui_intro_end_animate" }
	
# 	immediate = {
# 		play_music_cue = "mx_cue_epic_sacral_moment"
# 		custom_tooltip = back_to_second_age
# 		set_global_variable = {
# 			name = wheel_of_ages
# 			value = 2 # Second Age
# 		}
# 	}
	
# 	option = {
# 		name = pod1230objectives.155.a
		
# 		add_internal_flag = dangerous
# 		custom_tooltip = middle_kingdom_ending_tooltip
		
# 		set_global_variable = {
# 			name = the_end_of_the_world
# 			value = yes
# 		}
# 	}
# }

pod1230objectives.156 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.156.t
	desc = pod1230objectives.156.desc
	theme = tzimisce_coa
	left_portrait = {
		character = ROOT
		animation = schadenfreude
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.156.a
		add_trait = azhi_dahaka_scholar
		ordered_prisoner = {
			limit = { vampgeneration_less_or_equal_to_trigger = { LEVEL = 10 } }
			order_by = age
			max = 10
			check_range_bounds = no
			death = {
	        		death_reason = death_sacrificed_to_gods
				killer = root
	        	}
		}
		if = {  
			limit = { 
				NOT = {
					any_realm_county = { 
						any_county_province = {
							has_building = cathedral_of_flesh_01
						}
					}
				}
			}
			ordered_relation = {
				limit = { has_relation_ghoul_domitor = ROOT }
				order_by = age
				max = 5
				check_range_bounds = no
				death = {
					death_reason = death_sacrificed_to_gods
					killer = root
				}
			}
		}
	}
}

pod1230objectives.157 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.157.t
	desc = pod1230objectives.157.desc
	theme = lasombra_coa
	left_portrait = {
		character = ROOT
		animation = schadenfreude
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.157.a
		custom_tooltip = pod1230objectives.157.a.t
		add_character_flag = access_to_leviathan
	}
	option = {
		name = pod1230objectives.157.b
		custom_tooltip = pod1230objectives.157.b.t
		if = { limit = { has_abyssal_mysticism_bloodmagic_trigger = no } POD_learn_abyssal_mysticism_bloodmagic_effect = yes }
		assign_abyssal_mysticism_effect = { LEVEL = 5 }
		add_character_flag = knows_ritual_cry_that_slays_light
		add_character_flag = knows_ritual_lord_aludians_claim
	}
}

pod1230objectives.158 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.158.t
	desc = pod1230objectives.158.desc
	theme = baali_coa
	left_portrait = {
		character = ROOT
		animation = schadenfreude
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.158.a
		custom_tooltip = pod1230objectives.158.a.t
		trigger_event = { id = pod1230objectives.1581 months = { 1 4 } }
	}
}

pod1230objectives.1581 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.1581.t
	desc = pod1230objectives.1581.desc
	theme = baali_coa
	left_portrait = {
		character = ROOT
		animation = schadenfreude
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
		POD_save_real_prowess = yes	
	}

	option = {
		name = pod1230objectives.1581.a
		custom_tooltip = pod1230objectives.1581.a.t
		add_character_modifier = decani_boon_modifier
	}
	option = {
		name = pod1230objectives.1581.b
		custom_tooltip = pod1230objectives.1581.b.t
		custom_description = {
			text  = POD_save_real_prowess_desc
			value = scope:real_prowess
		}
		
		random_list = {
			50 = {
				desc = pod1230objectives.1581.sucess
				modifier = {
					add = {
						value = scope:real_prowess
						subtract = 80
						multiply = 0.5
					}
				}
				add_character_modifier = decani_modifier
			}
			50 = {
				desc = pod1230objectives.1581.failure
				modifier = {
					add = {
						value = scope:real_prowess
						subtract = 80
						multiply = -0.5
					}
				}
				death = { death_reason = death_battle }
			}
		}
	}
}

pod1230objectives.159 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.159.t
	desc = pod1230objectives.159.desc
	theme = cappadocian_coa
	left_portrait = {
		character = ROOT
		animation = schadenfreude
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.159.a
		custom_tooltip = quest_for_sargon_codex_objective_decision_at_effect1
		custom_tooltip = quest_for_sargon_codex_objective_decision_at_effect2
		custom_tooltip = quest_for_sargon_codex_objective_decision_at_effect3
	}
}
pod1230objectives.1591 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.1591.t
	desc = pod1230objectives.1591.desc
	theme = cappadocian_coa
	left_portrait = {
		character = ROOT
		animation = schadenfreude
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.1591.a
		custom_tooltip = pod1230objectives.1591.a.tt
		assign_abombwe_effect = yes
		assign_animalism_effect = yes
		assign_protean_effect = yes
		assign_celerity_effect = yes
		assign_potence_effect = yes
		assign_vicissitude_effect = yes
		assign_fortitude_effect = yes
		assign_obfuscate_effect = yes
		assign_melancholy_necromancy_effect = yes
		assign_auspex_effect = yes
		assign_dominate_effect = yes
		assign_presence_effect = yes
		assign_obtenebration_effect = yes
		assign_daimonion_effect = yes
		assign_serpentis_effect = yes
		assign_visceratika_effect = yes
		assign_temporis_effect = yes
		assign_dementation_effect = yes
		assign_melpominee_effect = yes
		assign_animal_spiritus_effect = yes
		assign_healer_valeren_effect = yes
		assign_warrior_valeren_effect = yes
		assign_watcher_valeren_effect = yes
		assign_sorcerer_quietus_effect = yes
		assign_warrior_quietus_effect = yes
		assign_vizier_quietus_effect = yes
		assign_bloodsorcery_effect = yes
		assign_mytherceria_effect = yes
		assign_chimerstry_effect = yes
		assign_bardo_effect = yes
		assign_animal_flight_effect = yes
		assign_kai_effect = yes
		assign_rift_effect = yes
		
		if = {
			limit = { has_any_bloodmagic_path = no }
			add_character_flag = has_thaumaturgy_bloodmagic_flag
		}
		
		if = {
			limit = { has_any_necromancy_path = no }
			add_character_flag = has_cappadocian_necromancy_flag
		}
	}
}
pod1230objectives.1592 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.1592.t
	desc = pod1230objectives.1592.desc
	theme = vampire
	override_background = { reference = shader_event_gold }
	
	widget = {
		gui = "POD_shader_event_gold"
		container = "background_shader_vfx_container"
	}
	left_portrait = {
		character = ROOT
		animation = schadenfreude
	}
	right_portrait = {
		character = character:505017
		animation = schadenfreude
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
		character:505017 = {
			set_death_reason = { death_reason = death_sargon_cappadocious }
			# add_dead_character_flag = {
			# 	flag = POD_light_form_flag
			# 	years = 500
			# }
		}
	}

	option = {
		name = pod1230objectives.1592.a
		custom_tooltip = pod1230objectives.1592.a.tt
		trigger_event = pod1230objectives.1593
	}
}
pod1230objectives.1593 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.1593.t
	desc = pod1230objectives.1593.desc
	theme = vampire
	override_background = { reference = shader_event_blood }
	
	widget = {
		gui = "POD_shader_event_blood"
		container = "background_shader_vfx_container"
	}
	right_portrait = {
		character = character:505001
		animation = anger
	}
	left_portrait = {
		character = character:505017
		animation = schadenfreude
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.1593.a
		custom_tooltip = pod1230objectives.1593.a.tt
		add_internal_flag = dangerous
		
		set_global_variable = {
			name = the_end_of_the_world
			value = yes
		}
	}
}

pod1230objectives.160 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.160.t
	desc = pod1230objectives.160.desc
	theme = malkavian_coa

	right_portrait = {
		character = ROOT
		animation = schadenfreude
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.160.a
		custom_tooltip = malkavian_aenigmatis_objective_decision_effect
	}
}

pod1230objectives.1601 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.1601.t
	desc = pod1230objectives.1601.desc
	theme = malkavian_coa

	right_portrait = {
		character = ROOT
		animation = schadenfreude
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.1601.a
		custom_tooltip = pod1230objectives.1601.a.tt
		add_character_flag = suppressed_clan_curse_flag
		POD_remove_clan_curse_effect = yes
	}
}
pod1230objectives.1602 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.1602.t
	desc = pod1230objectives.1602.desc
	theme = malkavian_coa

	right_portrait = {
		character = ROOT
		animation = schadenfreude
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.1602.a
		custom_tooltip = pod1230objectives.1602.a.tt
		add_character_flag = suppressed_beast_flag
	}
}
pod1230objectives.161 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.161.t
	desc = pod1230objectives.161.desc
	theme = malkavian_coa

	right_portrait = {
		character = ROOT
		animation = schadenfreude
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.161.a
		custom_tooltip = malkavian_ecstasis_objective_decision_effect
	}
}
pod1230objectives.1611 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.1611.t
	desc = pod1230objectives.1611.desc
	theme = malkavian_coa

	right_portrait = {
		character = ROOT
		animation = schadenfreude
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.1611.a
		custom_tooltip = pod1230objectives.1611.a.tt
		add_character_flag = suppressed_clan_curse_flag
		POD_remove_clan_curse_effect = yes
	}
}
pod1230objectives.1612 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.1612.t
	desc = pod1230objectives.1612.desc
	theme = malkavian_coa

	right_portrait = {
		character = ROOT
		animation = schadenfreude
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.1612.a
		custom_tooltip = pod1230objectives.1612.a.tt
		add_character_flag = suppressed_beast_flag
	}
}
pod1230objectives.162 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.162.t
	desc = pod1230objectives.162.desc
	theme = malkavian_coa

	right_portrait = {
		character = ROOT
		animation = schadenfreude
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.162.a
		custom_tooltip = malkavian_maleficus_objective_decision_effect
		add_character_modifier = malkavian_demon_friend_diplomacy_modifier
	}

	option = {
		name = pod1230objectives.162.b
		custom_tooltip = malkavian_maleficus_objective_decision_effect
		add_character_modifier = malkavian_demon_friend_martial_modifier
	}

	option = {
		name = pod1230objectives.162.c
		custom_tooltip = malkavian_maleficus_objective_decision_effect
		add_character_modifier = malkavian_demon_friend_stewardship_modifier
	}

	option = {
		name = pod1230objectives.162.d
		custom_tooltip = malkavian_maleficus_objective_decision_effect
		add_character_modifier = malkavian_demon_friend_intrigue_modifier
	}

	option = {
		name = pod1230objectives.162.e
		custom_tooltip = malkavian_maleficus_objective_decision_effect
		add_character_modifier = malkavian_demon_friend_learning_modifier
	}
}
pod1230objectives.1621 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.1621.t
	desc = pod1230objectives.1621.desc
	theme = malkavian_coa

	right_portrait = {
		character = ROOT
		animation = schadenfreude
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.1621.a
		custom_tooltip = pod1230objectives.1621.a.tt
		add_character_flag = suppressed_clan_curse_flag
		POD_remove_clan_curse_effect = yes
	}
}
pod1230objectives.1622 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.1622.t
	desc = pod1230objectives.1622.desc
	theme = malkavian_coa

	right_portrait = {
		character = ROOT
		animation = schadenfreude
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"	
	}

	option = {
		name = pod1230objectives.1622.a
		custom_tooltip = pod1230objectives.1622.a.tt
		add_character_flag = suppressed_beast_flag
	}
}

pod1230objectives.163 = {
	type = character_event
	content_source = dlc_POD
	title = POD_landless_inquisition_victory_decision
	desc = pod1230objectives.163.desc
	theme = inquisition
	left_portrait = {
		character = root
		animation = personality_bold
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"			
	}

	option = {
		name = pod1230objectives.163.a

		give_nickname = nick_light_bringer
		
		custom_tooltip = landless_inquisition_victory_objective_decision_effect_tooltip
		
		add_character_modifier = chosen_of_light_modifier

		root.dynasty = {
			add_dynasty_prestige = 1000
			add_dynasty_prestige_level = 1
		}		
		
		if = {
			limit = { has_trait = beatific }
			POD_advance_beatific_multiple_effect = { VALUE = 5 }
		}
		
	}	
	
}

pod1230objectives.164 = {
	type = character_event
	content_source = dlc_POD
	title = ikhwan_al_safa_landless_objective_decision
	desc = pod1230objectives.164.desc
	theme = faith
	left_portrait = {
		character = root
		animation = personality_bold
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"

	}

	option = {
		name = pod1230objectives.164.a		

		POD_add_free_dynasty_perk = { PERK = hunter_alliances_legacy_2 }
		
		custom_tooltip = pod_gift_county_order_tt
		
		create_character = {
		location = root.capital_province
		dynasty_house = character:792903.house
		age = { 18 20 }
		trait = supehunter
		faith = faith:ikhwan_al_safa
		random_traits_list = {
			count = {0 1}
			schemer = {
				weight = { base = 10 }
			}
			seducer = {
				weight = { base = 10 }
			}
		}
			
		#Congenital
			
			random_traits_list = {
			count = {0 1}
			shrewd = {
				weight = { base = 10 }
			}
			intellect_good_1 = {
				weight = { base = 35 }
			}
			intellect_good_2 = {
				weight = { base = 25 }
			}
			intellect_good_3 = {
				weight = { base = 15 }
			}
			beauty_good_1 = {
				weight = { base = 5 }
			}
				beauty_good_2 = {
				weight = { base = 5 }
			}
				beauty_good_3 = {
				weight = { base = 5 }
			}
			}
		
		#Education
		random_traits_list = {
			count = 1
			education_intrigue_3 = {
				weight = { base = 20 }
			}
			education_intrigue_4 = {
				weight = { base = 10 }
			}
		}
		
		#Personality
		trait = zealous
		
		random_traits_list = {
			count = 2
			ambitious = {}
			wrathful = {}
			just = {}
			arrogant = {}
			diligent = {}
			honest = {}
			stubborn = {}
			gregarious = {}
			temperate = {}
			lustful = {}
		}
	
		culture = culture:bedouin
	
		gender_female_chance = 50
		
		intrigue = 6
				
		save_scope_as = prospect
		}	
		
		hidden_effect = {
		scope:prospect = {
		POD_remove_all_terrible_traits_effect = yes
		random = {
				chance = 50
				add_trait = sorcerer
			}			
		}
		}		

		create_title_and_vassal_change = {
			type = created
			save_scope_as = change
			add_claim_on_loss = no
			}
	
		title:c_tunis = {
			change_title_holder = {
				holder = scope:prospect
				change = scope:change
			}
		}
		resolve_title_and_vassal_change = scope:change
		
		scope:prospect = {

		spawn_army = {
			uses_supply = no
			inheritable = yes
			name = event_troop_default_name
			#levies = {
			#	value = 5000
			#}
			men_at_arms = {
				type = vampires_hunters
				stacks = 5
			}
			men_at_arms = {
				type = demons_hunters
				stacks = 5
			}
			men_at_arms = {
				type = monsters_hunters
				stacks = 5
			}		
			location = capital_province
			origin = capital_province
		}
		}
		
		if = {
			limit = { has_trait = beatific }
			POD_advance_beatific_multiple_effect = { VALUE = 5 }
		}

		add_to_global_variable_list = {
			name = unavailable_unique_decisions
			target = flag:ikhwan_al_safa_landless_objective_decision
		}		
	}	

	option = {
		name = pod1230objectives.164.b

	}
	
}


pod1230objectives.165 = {
	type = character_event
	content_source = dlc_POD
	title = judges_landless_objective_decision
	desc = pod1230objectives.165.desc
	theme = faith
	left_portrait = {
		character = root
		animation = personality_bold
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"

	}

	option = {
		name = pod1230objectives.164.a		

		POD_add_free_dynasty_perk = { PERK = hunter_alliances_legacy_3 }
		
		create_character = {
		location = root.capital_province
		dynasty_house = character:792902.house
		age = { 18 20 }
		trait = supehunter
		faith = faith:judge
		random_traits_list = {
			count = {0 1}
			theologian = {
				weight = { base = 10 }
			}
			scholar = {
				weight = { base = 10 }
			}
		}
			
		#Congenital
			
			random_traits_list = {
			count = {0 1}
			shrewd = {
				weight = { base = 10 }
			}
			intellect_good_1 = {
				weight = { base = 35 }
			}
			intellect_good_2 = {
				weight = { base = 25 }
			}
			intellect_good_3 = {
				weight = { base = 15 }
			}
		}
		
		#Education
		random_traits_list = {
			count = 1
			education_learning_3 = {
				weight = { base = 20 }
			}
			education_learning_4 = {
				weight = { base = 10 }
			}
		}
		
		#Personality
		trait = zealous
		
		random_traits_list = {
			count = 2
			ambitious = {}
			wrathful = {}
			just = {}
			arrogant = {}
			diligent = {}
			honest = {}
			stubborn = {}
			gregarious = {}
			temperate = {}
			lustful = {}
		}
	
		culture = culture:sephardi
	
		gender_female_chance = 50
		
		learning = 6
				
		save_scope_as = prospect
		}	
		
		hidden_effect = {
		scope:prospect = {
		POD_remove_all_terrible_traits_effect = yes
		random = {
				chance = 50
				add_trait = theurgist
			}			
		}
		}		

		create_title_and_vassal_change = {
			type = created
			save_scope_as = change
			add_claim_on_loss = no
			}
	
		title:c_jerusalem = {
			change_title_holder = {
				holder = scope:prospect
				change = scope:change
			}
		}
		resolve_title_and_vassal_change = scope:change
		
		scope:prospect = {

		spawn_army = {
			uses_supply = no
			inheritable = yes
			name = event_troop_default_name
			#levies = {
			#	value = 5000
			#}
			men_at_arms = {
				type = vampires_hunters
				stacks = 5
			}
			men_at_arms = {
				type = demons_hunters
				stacks = 5
			}
			men_at_arms = {
				type = monsters_hunters
				stacks = 5
			}		
			location = capital_province
			origin = capital_province
		}
		}
		
		if = {
			limit = { has_trait = beatific }
			POD_advance_beatific_multiple_effect = { VALUE = 5 }
		}

		add_to_global_variable_list = {
			name = unavailable_unique_decisions
			target = flag:judges_landless_objective_decision
		}		
	}	

	option = {
		name = pod1230objectives.164.b

	}
	
}


pod1230objectives.166 = {
	type = character_event
	content_source = dlc_POD
	title = akritai_landless_objective_decision
	desc = pod1230objectives.166.desc
	theme = faith
	left_portrait = {
		character = root
		animation = personality_bold
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"

	}

	option = {
		name = pod1230objectives.164.a		

		POD_add_free_dynasty_perk = { PERK = hunter_alliances_legacy_4 }
		
		create_character = {
		location = root.capital_province
		dynasty_house = character:792900.house
		age = { 18 20 }
		trait = supehunter
		trait = order_member
		faith = faith:akritai
		random_traits_list = {
			count = {0 1}
			administrator = {
				weight = { base = 10 }
			}
			avaricious = {
				weight = { base = 10 }
			}
		}
			
		#Congenital
			
			random_traits_list = {
			count = {0 1}
			shrewd = {
				weight = { base = 10 }
			}
			intellect_good_1 = {
				weight = { base = 35 }
			}
			intellect_good_2 = {
				weight = { base = 25 }
			}
			intellect_good_3 = {
				weight = { base = 15 }
			}
		}
		
		#Education
		random_traits_list = {
			count = 1
			education_stewardship_3 = {
				weight = { base = 20 }
			}
			education_stewardship_4 = {
				weight = { base = 10 }
			}
		}
		
		#Personality
		trait = zealous
		
		random_traits_list = {
			count = 2
			ambitious = {}
			wrathful = {}
			just = {}
			arrogant = {}
			diligent = {}
			honest = {}
			stubborn = {}
			gregarious = {}
			temperate = {}
			lustful = {}
		}
	
		random_culture = {
			culture:greek = {}
			culture:russian = {}
			culture:armenian = {}
			culture:bulgarian = {}
		}
	
		gender_female_chance = 50
		
		stewardship = 6
				
		save_scope_as = prospect
		}	
		
		hidden_effect = {
		scope:prospect = {
		POD_remove_all_terrible_traits_effect = yes
		random = {
				chance = 5
				add_trait = truefaith
			}			
		}
		}		

		create_title_and_vassal_change = {
			type = created
			save_scope_as = change
			add_claim_on_loss = no
			}
	
		title:c_byzantion = {
			change_title_holder = {
				holder = scope:prospect
				change = scope:change
			}
		}
		resolve_title_and_vassal_change = scope:change
		
		scope:prospect = {

		spawn_army = {
			uses_supply = no
			inheritable = yes
			name = event_troop_default_name
			#levies = {
			#	value = 5000
			#}
			men_at_arms = {
				type = vampires_hunters
				stacks = 5
			}
			men_at_arms = {
				type = demons_hunters
				stacks = 5
			}
			men_at_arms = {
				type = monsters_hunters
				stacks = 5
			}		
			location = capital_province
			origin = capital_province
		}
		}
		
		if = {
			limit = { has_trait = beatific }
			POD_advance_beatific_multiple_effect = { VALUE = 5 }
		}

		add_to_global_variable_list = {
			name = unavailable_unique_decisions
			target = flag:akritai_landless_objective_decision
		}		
	}	

	option = {
		name = pod1230objectives.164.b

	}
	
}

pod1230objectives.167 = {
	type = character_event
	content_source = dlc_POD
	title = qorjin_landless_objective_decision
	desc = pod1230objectives.168.desc
	theme = faith
	left_portrait = {
		character = root
		animation = personality_bold
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"

	}

	option = {
		name = pod1230objectives.164.a		

		POD_add_free_dynasty_perk = { PERK = hunter_alliances_legacy_5 }
		
		create_character = {
		location = root.capital_province
		dynasty_house = character:792910.house
		age = { 18 20 }
		trait = supehunter
		faith = faith:qorjin_baghatur
		random_traits_list = {
			count = {0 1}
			strategist = {
				weight = { base = 10 }
			}
			gallant = {
				weight = { base = 10 }
			}
		}
			
		#Congenital
			
		random_traits_list = {
			count = {0 1}
			shrewd = {
				weight = { base = 10 }
			}
			physique_good_1 = {
				weight = { base = 35 }
			}
			physique_good_2 = {
				weight = { base = 25 }
			}
			physique_good_3 = {
				weight = { base = 15 }
			}
		}
		
		#Education
		random_traits_list = {
			count = 1
			education_martial_3 = {
				weight = { base = 20 }
			}
			education_martial_4 = {
				weight = { base = 10 }
			}
		}
		
		#Personality
		trait = zealous
		
		random_traits_list = {
			count = 2
			ambitious = {}
			wrathful = {}
			just = {}
			arrogant = {}
			diligent = {}
			honest = {}
			stubborn = {}
			gregarious = {}
			temperate = {}
			lustful = {}
		}
		
		#Commander
		random_traits_list = {
			count = 1
			unyielding_defender = {
				weight = { base = 5 }
			}
			forder = {
				weight = { base = 5 }
			}
			logistician = {
				weight = { base = 10 }
			}
			military_engineer = {
				weight = { base = 10 }
			}
			organizer = {
				weight = { base = 10 }
			}
			rough_terrain_expert = {
				weight = { base = 20 }
			}
			aggressive_attacker = {
				weight = { base = 20 }
			}
			reckless = {
				weight = { base = 20 }
			}
			open_terrain_expert = {
				weight = { base = 50 }
			}
		}
		
		#Personality
		trait = zealous
		
		random_traits_list = {
			count = 2
			ambitious = {}
			wrathful = {}
			just = {}
			arrogant = {}
			diligent = {}
			honest = {}
			stubborn = {}
			gregarious = {}
			temperate = {}
			lustful = {}
		}
	
		culture = culture:mongol
	
		gender_female_chance = 50
		
		martial = 6
				
		save_scope_as = prospect
		}	
		
		hidden_effect = {
		scope:prospect = {
		POD_remove_all_terrible_traits_effect = yes
		}
		}
		
		create_title_and_vassal_change = {
			type = created
			save_scope_as = change
			add_claim_on_loss = no
			}
	
		title:c_karakorum = {
			change_title_holder = {
				holder = scope:prospect
				change = scope:change
			}
		}
		resolve_title_and_vassal_change = scope:change
		
		scope:prospect = {

		spawn_army = {
			uses_supply = no
			inheritable = yes
			name = event_troop_default_name
			#levies = {
			#	value = 5000
			#}
			men_at_arms = {
				type = vampires_hunters
				stacks = 5
			}
			men_at_arms = {
				type = demons_hunters
				stacks = 5
			}
			men_at_arms = {
				type = monsters_hunters
				stacks = 5
			}		
			location = capital_province
			origin = capital_province
		}
		}
		
		if = {
			limit = { has_trait = beatific }
			POD_advance_beatific_multiple_effect = { VALUE = 5 }
		}

		add_to_global_variable_list = {
			name = unavailable_unique_decisions
			target = flag:qorjin_landless_objective_decision
		}		
	}	

	option = {
		name = pod1230objectives.164.b

	}
	
}

pod1230objectives.168 = {
	type = character_event
	content_source = dlc_POD
	title = shadow_landless_objective_decision
	desc = pod1230objectives.167.desc
	theme = faith
	left_portrait = {
		character = root
		animation = personality_bold
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"

	}

	option = {
		name = pod1230objectives.164.a		

		POD_add_free_dynasty_perk = { PERK = hunter_alliances_legacy_1 }
		
		create_character = {
		location = root.capital_province
		dynasty_house = character:791707.house
		age = { 18 20 }
		trait = supehunter
		trait = order_member
		faith = faith:shadowinquisition
		random_traits_list = {
			count = {0 1}
			lifestyle_blademaster = {
				weight = { base = 10 }
			}
			faith_warrior = {
				weight = { base = 10 }
			}
		}
			
		#Congenital
			
			random_traits_list = {
			count = {0 1}
			shrewd = {
				weight = { base = 10 }
			}
			physique_good_1 = {
				weight = { base = 35 }
			}
			physique_good_2 = {
				weight = { base = 25 }
			}
			physique_good_3 = {
				weight = { base = 15 }
			}
			beauty_good_1 = {
				weight = { base = 5 }
			}
				beauty_good_2 = {
				weight = { base = 5 }
			}
				beauty_good_3 = {
				weight = { base = 5 }
			}
			}
		
		#Education
		random_traits_list = {
			count = 1
			education_martial_prowess_3 = {
				weight = { base = 20 }
			}
			education_martial_prowess_4 = {
				weight = { base = 10 }
			}
		}
		
		#Personality
		trait = zealous
		
		random_traits_list = {
			count = 2
			ambitious = {}
			wrathful = {}
			just = {}
			arrogant = {}
			diligent = {}
			honest = {}
			stubborn = {}
			gregarious = {}
			temperate = {}
			lustful = {}
		}
	
		random_culture = {
			culture:french = {}
			culture:occitan = {}
			culture:norman = {}
			culture:breton = {}
			culture:bavarian = {}
			culture:italian = {}
			culture:cisalpine = {}
			culture:franconian = {}
			culture:english = {}
			culture:aragonese = {}
			culture:castilian = {}
			culture:galician = {}
			culture:scottish = {}
			culture:irish = {}
			culture:swedish = {}
			culture:danish = {}
		}
	
		gender_female_chance = 0
		
		martial = {
			6 7
			}
		
		prowess = 13
		
		save_scope_as = prospect
		}	
		
		hidden_effect = {
		scope:prospect = {
		POD_remove_all_terrible_traits_effect = yes
		POD_give_orison_effect = yes
		random = {
				chance = 5
				add_trait = truefaith
			}			
		}
		}
		
		create_title_and_vassal_change = {
			type = created
			save_scope_as = change
			add_claim_on_loss = no
			}
	
		title:c_roma = {
			change_title_holder = {
				holder = scope:prospect
				change = scope:change
			}
		}
		resolve_title_and_vassal_change = scope:change
		
		scope:prospect = {

		spawn_army = {
			uses_supply = no
			inheritable = yes
			name = event_troop_default_name
			#levies = {
			#	value = 5000
			#}
			men_at_arms = {
				type = vampires_hunters
				stacks = 5
			}
			men_at_arms = {
				type = demons_hunters
				stacks = 5
			}
			men_at_arms = {
				type = monsters_hunters
				stacks = 5
			}		
			location = capital_province
			origin = capital_province
		}
		}
		
		if = {
			limit = { has_trait = beatific }
			POD_advance_beatific_multiple_effect = { VALUE = 5 }
		}

		add_to_global_variable_list = {
			name = unavailable_unique_decisions
			target = flag:shadow_landless_objective_decision
		}		
	}	

	option = {
		name = pod1230objectives.164.b

	}
	
}

pod1230objectives.169 = {
	type = character_event
	content_source = dlc_POD
	title = ashen_ambassador_decision
	desc = pod1230objectives.169.desc
	theme = diplomacy_majesty_focus
	left_portrait = {
		character = root
		animation = admiration
	}
	right_portrait = {
		character = scope:recipient
		animation = personality_bold
	}
	
	immediate = {
	}

	option = {
		name = pod1230objectives.169.a	

		remove_character_flag = ambassador_searching_for_patron_flag

		every_relation = {
			type = ashen_ambassadorial_patron
			
			custom_tooltip = {
				text = remove_relation_ashen_ambassadorial_patron
			remove_relation_ashen_ambassadorial_patron = root 
			}
			
			add_opinion = {
				target = root
				opinion = -50
				modifier = betrayal_opinion
			}			
		}
		
		custom_tooltip = set_relation_ashen_ambassadorial_patron
		
		hidden_effect = {
			scope:recipient = {
				set_relation_ashen_ambassadorial_patron = root
			}
		}
	}	

	option = {
		name = pod1230objectives.169.b

	}
}


scripted_effect POD_ashen_ambassador_xp_on_critical_success = {
	add_trait_xp = {
		trait = ashen_adventurer
		track = ashen_ambassador
		value = 3
	}
}

scripted_effect POD_ashen_ambassador_xp_on_success = {	
	add_trait_xp = {
		trait = ashen_adventurer
		track = ashen_ambassador
		value = 1
	}
}

scripted_effect POD_ashen_ambassador_xp_on_failure = {
	add_trait_xp = {
		trait = ashen_adventurer
		track = ashen_ambassador
		value = -3
	}
}

pod1230objectives.171 = {
	type = character_event
	content_source = dlc_POD
	title = POD_ambassadorial_visit_interaction
	desc = pod1230objectives.170.desc
	theme = diplomacy_majesty_focus
	left_portrait = {
		character = root
		animation = admiration
	}
	right_portrait = {
		character = scope:recipient
		animation = personality_rational
	}
	lower_left_portrait = scope:ambassadorial_patron
	
	immediate = {
		random_relation = { #Only one so fake random
			type = ashen_ambassadorial_patron
			
			save_scope_as = ambassadorial_patron
		}
					
	}

	option = {
		name = pod1230objectives.171.a	
	
		duel = {
			skill = diplomacy
			value = 20
			30 = {
				compare_modifier = {
					value = scope:duel_value
					multiplier = 0.5
				}
				POD_ashen_ambassador_success_modifier = yes
				
				desc = pod1230objectives.170.effect.success.desc
				
				send_interface_toast = {
					title = pod1230objectives.170.effect.success.desc
					left_icon = scope:recipient
					
					scope:recipient = {
						add_opinion = {
							modifier = respect_opinion
							opinion = 50
							target = scope:ambassadorial_patron
						}
					}
					POD_ashen_ambassador_xp_on_critical_success = yes
				}				
			}
			30 = {
				compare_modifier = {
					value = scope:duel_value
					multiplier = 0.5
				}
				
				desc = pod1230objectives.170.failure.effect.desc
				
				send_interface_toast = {
					title = pod1230objectives.170.failure.effect.desc
					left_icon = root
					
					scope:recipient = {
						add_opinion = {
							modifier = respect_opinion
							opinion = 25
							target = scope:ambassadorial_patron
						}
					}
					POD_ashen_ambassador_xp_on_success = yes
				}
			}
			15 = {
				compare_modifier = {
					value = scope:duel_value
					multiplier = -2.5
				}
				
				desc = pod1230objectives.170.critical.failure.effect.desc
				
				send_interface_toast = {
					title = pod1230objectives.170.critical.failure.effect.desc
					left_icon = root
					
					scope:recipient = {
						add_opinion = {
							modifier = hate_opinion
							opinion = -50
							target = scope:ambassadorial_patron
						}
					}
					POD_ashen_ambassador_xp_on_failure = yes
				}
			}
		}
	}	

	option = {
		name = pod1230objectives.171.b
		
		duel = {
			skill = diplomacy
			value = scope:recipient.diplomacy
			35 = {
				compare_modifier = {
					value = scope:duel_value
					multiplier = 0.5
				}
				POD_ashen_ambassador_success_modifier = yes
				
				desc = pod1230objectives.170.effect.success.desc
				
				send_interface_toast = {
					title = pod1230objectives.170.effect.success.desc
					left_icon = scope:recipient
					
					scope:recipient = {
						add_prestige = -100
					}
					scope:ambassadorial_patron = {
						add_prestige = 100
					}
					POD_ashen_ambassador_xp_on_critical_success = yes
				}
			}
			35 = {
				compare_modifier = {
					value = scope:duel_value
					multiplier = 0.5
				}
				
				desc = pod1230objectives.170.failure.effect.desc
				
				send_interface_toast = {
					title = pod1230objectives.170.failure.effect.desc
					left_icon = root
					
					scope:recipient = {
						add_prestige = -50
					}	
					scope:ambassadorial_patron = {
						add_prestige = 50
					}
					POD_ashen_ambassador_xp_on_success = yes
				}
			}
			15 = {
				compare_modifier = {
					value = scope:duel_value
					multiplier = -2.5
				}
				
				desc = pod1230objectives.170.critical.failure.effect.desc
				
				send_interface_toast = {
					title = pod1230objectives.170.critical.failure.effect.desc
					left_icon = root
					
					scope:recipient = {
						add_prestige = 100
					}
					scope:ambassadorial_patron = {
						add_prestige = -100
					}
					POD_ashen_ambassador_xp_on_failure = yes
				}
			}
		}
	}	

	option = {
		name = pod1230objectives.171.c

		duel = {
			skill = stewardship
			value = 20
			35 = {
				compare_modifier = {
					value = scope:duel_value
					multiplier = 0.5
				}
				POD_ashen_ambassador_success_modifier = yes
				
				desc = pod1230objectives.170.effect.success.desc
				
				send_interface_toast = {
					title = pod1230objectives.170.effect.success.desc
					left_icon = scope:recipient
					
					scope:recipient = {
						add_legitimacy = 10
					}
					scope:ambassadorial_patron = {
						add_legitimacy = 10
					}
					POD_ashen_ambassador_xp_on_critical_success = yes			
				}
			}
			35 = {
				compare_modifier = {
					value = scope:duel_value
					multiplier = 0.5
				}
				
				desc = pod1230objectives.170.failure.effect.desc
				
				send_interface_toast = {
					title = pod1230objectives.170.failure.effect.desc
					left_icon = root
					
					scope:recipient = {
						add_legitimacy = 5
					}
					scope:ambassadorial_patron = {
						add_legitimacy = 5
					}
					POD_ashen_ambassador_xp_on_success = yes
				}
			}
			15 = {
				compare_modifier = {
					value = scope:duel_value
					multiplier = -2.5
				}
				
				desc = pod1230objectives.170.critical.failure.effect.desc
				
				send_interface_toast = {
					title = pod1230objectives.170.critical.failure.effect.desc
					left_icon = root
					
					scope:recipient = {
						add_legitimacy = -10
					}
					scope:ambassadorial_patron = {
						add_legitimacy = -10
					}
					POD_ashen_ambassador_xp_on_failure = yes
				}
			}
		}
	}	


	option = {
		name = pod1230objectives.171.d

		duel = {
			skill = stewardship
			value = scope:recipient.stewardship
			35 = {
				compare_modifier = {
					value = scope:duel_value
					multiplier = 0.5
				}
				POD_ashen_ambassador_success_modifier = yes
				
				desc = pod1230objectives.170.effect.success.desc
				
				send_interface_toast = {
					title = pod1230objectives.170.effect.success.desc
					left_icon = scope:recipient
					
					scope:recipient = {
						remove_short_term_gold = 100
					}
					scope:ambassadorial_patron = {
						add_gold = 100
					}
					POD_ashen_ambassador_xp_on_critical_success = yes
				}
			}
			35 = {
				compare_modifier = {
					value = scope:duel_value
					multiplier = 0.5
				}
				
				desc = pod1230objectives.170.failure.effect.desc
				
				send_interface_toast = {
					title = pod1230objectives.170.failure.effect.desc
					left_icon = root
					
					scope:recipient = {
						remove_short_term_gold = 50
					}
					scope:ambassadorial_patron = {
						add_gold = 50
					}
					POD_ashen_ambassador_xp_on_success = yes
				}
			}
			15 = {
				compare_modifier = {
					value = scope:duel_value
					multiplier = -2.5
				}
				
				desc = pod1230objectives.170.critical.failure.effect.desc
				
				send_interface_toast = {
					title = pod1230objectives.170.critical.failure.effect.desc
					left_icon = root
					
					rightfully_imprison_character_less_verbose_effect = { 
						TARGET = root 
						IMPRISONER = scope:recipient 
					}
					
					POD_ashen_ambassador_xp_on_failure = yes
				}
			}
		}
	}	

	option = {
		name = pod1230objectives.171.e

		duel = {
			skill = intrigue
			value = 20
			35 = {
				compare_modifier = {
					value = scope:duel_value
					multiplier = 0.5
				}
				POD_ashen_ambassador_success_modifier = yes
				
				desc = pod1230objectives.170.effect.success.desc
				
				send_interface_toast = {
					title = pod1230objectives.170.effect.success.desc
					left_icon = scope:recipient
					
					scope:recipient = {
						add_character_modifier = {
							modifier = politically_secure_modifier
							years = 2
						}
					}
					scope:ambassadorial_patron = {
						add_character_modifier = {
							modifier = politically_secure_modifier
							years = 2
						}
					}
					POD_ashen_ambassador_xp_on_critical_success = yes
				}		
			}
			35 = {
				compare_modifier = {
					value = scope:duel_value
					multiplier = 0.5
				}
				
				desc = pod1230objectives.170.failure.effect.desc
				
				send_interface_toast = {
					title = pod1230objectives.170.failure.effect.desc
					left_icon = root
					
					scope:recipient = {
						add_character_modifier = {
							modifier = politically_secure_modifier
							months = 6
						}
					}
					scope:ambassadorial_patron = {
						add_character_modifier = {
							modifier = politically_secure_modifier
							months = 6
						}
					}
					POD_ashen_ambassador_xp_on_success = yes
				}
			}
			15 = {
				compare_modifier = {
					value = scope:duel_value
					multiplier = -2.5
				}
				
				desc = pod1230objectives.170.critical.failure.effect.desc
				
				send_interface_toast = {
					title = pod1230objectives.170.critical.failure.effect.desc
					left_icon = root
					
					scope:recipient = {
						add_character_modifier = {
							modifier = targeted_by_baali_modifier
							months = 6
						}
					}
					scope:ambassadorial_patron = {
						add_character_modifier = {
							modifier = targeted_by_baali_modifier
							months = 6
						}
					}
					POD_ashen_ambassador_xp_on_failure = yes
				}
			}
		}
	}	

	option = {
		name = pod1230objectives.171.f

		duel = {
			skill = intrigue
			value = scope:recipient.intrigue
			35 = {
				compare_modifier = {
					value = scope:duel_value
					multiplier = 0.5
				}
				POD_ashen_ambassador_success_modifier = yes
				
				desc = pod1230objectives.170.effect.success.desc
				
				send_interface_toast = {
					title = pod1230objectives.170.effect.success.desc
					left_icon = scope:recipient
					
					scope:recipient = {
						add_character_modifier = {
							modifier = broken_authority_modifier
							years = 1
						}
					}
					
					POD_ashen_ambassador_xp_on_critical_success = yes
				}
			}
			35 = {
				compare_modifier = {
					value = scope:duel_value
					multiplier = 0.5
				}
				
				desc = pod1230objectives.170.failure.effect.desc
				
				send_interface_toast = {
					title = pod1230objectives.170.failure.effect.desc
					left_icon = root
					
					scope:recipient = {
						add_character_modifier = {
							modifier = broken_authority_modifier
							months = 6
						}
					}
					
					POD_ashen_ambassador_xp_on_success = yes
				}
			}
			15 = {
				compare_modifier = {
					value = scope:duel_value
					multiplier = -2.5
				}
				
				desc = pod1230objectives.170.critical.failure.effect.desc
				
				send_interface_toast = {
					title = pod1230objectives.170.critical.failure.effect.desc
					left_icon = root
					
					rightfully_imprison_character_less_verbose_effect = { 
						TARGET = root 
						IMPRISONER = scope:recipient 
					}
					
					add_trait_xp = {
						trait = ashen_adventurer
						track = ashen_ambassador
						value = -1
					}
				}
			}
		}
	}
	
	option = {
		name = pod1230objectives.169.b
		
		remove_interaction_cooldown = POD_ambassadorial_visit_interaction
	}
	
}


pod1230objectives.170 = {
	type = character_event
	content_source = dlc_POD
	title = ashen_ambassador_decision
	desc = pod1230objectives.170.desc
	theme = diplomacy_majesty_focus
	left_portrait = {
		character = root
		animation = admiration
	}
	right_portrait = {
		character = scope:recipient
		animation = personality_bold
	}
	
	immediate = {
	}

	option = {
		name = pod1230objectives.170.a	
		
		if = { 
			limit = { 	
					has_trait_xp = {
					trait = ashen_adventurer
					track = ashen_ambassador
					value >= 80
					}	  
			}
					add_trait_xp = {
					trait = ashen_adventurer
					track = ashen_ambassador
					value = -5
					}	
		}
		else_if = { 
			limit = { 	
					has_trait_xp = {
					trait = ashen_adventurer
					track = ashen_ambassador
					value >= 20
					}	  
			}
					add_trait_xp = {
					trait = ashen_adventurer
					track = ashen_ambassador
					value = -8
					}	
		}
		else = { 
					add_trait_xp = {
					trait = ashen_adventurer
					track = ashen_ambassador
					value = -10
					}		
		}
	
		duel = {
			skill = diplomacy
			value = scope:recipient.diplomacy
			35 = {
				compare_modifier = {
					value = scope:duel_value
					multiplier = 0.5
				}
				desc = pod1230objectives.170.effect.success.desc
				
				send_interface_toast = {
					title = pod1230objectives.170.effect.success.desc
					left_icon = root
					
				add_prestige = 100
				add_piety = 100
				}
					
			}
			35 = {
				compare_modifier = {
					value = scope:duel_value
					multiplier = 0.5
				}
				
				desc = pod1230objectives.170.failure.effect.desc
				
				send_interface_toast = {
					title = pod1230objectives.170.failure.effect.desc
					left_icon = root
					
				add_prestige = 50
				add_piety = 50
				}
			}
			15 = {
				compare_modifier = {
					value = scope:duel_value
					multiplier = -2.5
				}
				
				desc = pod1230objectives.170.critical.failure.effect.desc
				
				send_interface_toast = {
					title = pod1230objectives.170.critical.failure.effect.desc
					left_icon = root
					
				add_prestige = -50
				add_piety = -50
				}
			}
		}
	}	

	option = {
		name = pod1230objectives.170.b

		if = { 
			limit = { 	
					has_trait_xp = {
					trait = ashen_adventurer
					track = ashen_ambassador
					value >= 80
					}	  
			}
					add_trait_xp = {
					trait = ashen_adventurer
					track = ashen_ambassador
					value = -5
					}	
		}
		else_if = { 
			limit = { 	
					has_trait_xp = {
					trait = ashen_adventurer
					track = ashen_ambassador
					value >= 20
					}	  
			}
					add_trait_xp = {
					trait = ashen_adventurer
					track = ashen_ambassador
					value = -8
					}	
		}
		else = { 
					add_trait_xp = {
					trait = ashen_adventurer
					track = ashen_ambassador
					value = -10
					}		
		}
		
		duel = {
			skill = stewardship
			value = scope:recipient.stewardship
			35 = {
				compare_modifier = {
					value = scope:duel_value
					multiplier = 0.5
				}
				desc = pod1230objectives.170.effect.success.desc
				
				send_interface_toast = {
					title = pod1230objectives.170.effect.success.desc
					left_icon = root

				add_gold = 100
				domicile = {
					change_provisions = 100
				}
				
				}
				
			}
			35 = {
				compare_modifier = {
					value = scope:duel_value
					multiplier = 0.5
				}
				
				desc = pod1230objectives.170.failure.effect.desc
				
				send_interface_toast = {
					title = pod1230objectives.170.failure.effect.desc
					left_icon = root

				add_gold = 50
				domicile = {
					change_provisions = 50
				}
				}
			}
			15 = {
				compare_modifier = {
					value = scope:duel_value
					multiplier = -2.5
				}
				
				desc = pod1230objectives.170.critical.failure.effect.desc
				
				send_interface_toast = {
					title = pod1230objectives.170.critical.failure.effect.desc
					left_icon = root
					
				remove_short_term_gold = 50	
				}
			}
		}
	}	

	option = {
		name = pod1230objectives.170.c

		if = { 
			limit = { 	
					has_trait_xp = {
					trait = ashen_adventurer
					track = ashen_ambassador
					value >= 80
					}	  
			}
					add_trait_xp = {
					trait = ashen_adventurer
					track = ashen_ambassador
					value = -5
					}	
		}
		else_if = { 
			limit = { 	
					has_trait_xp = {
					trait = ashen_adventurer
					track = ashen_ambassador
					value >= 20
					}	  
			}
					add_trait_xp = {
					trait = ashen_adventurer
					track = ashen_ambassador
					value = -8
					}	
		}
		else = { 
					add_trait_xp = {
					trait = ashen_adventurer
					track = ashen_ambassador
					value = -10
					}		
		}
		
		trigger = {
			any_maa_regiment = {
				maa_current_troops_count < maa_max_troops_count 
			}
		}

		every_maa_regiment = {
			limit = { maa_current_troops_count < maa_max_troops_count }
			add_to_list = damaged_maa_regiments
		}
			
		duel = {
			skill = martial
			value = scope:recipient.martial
			35 = {
				compare_modifier = {
					value = scope:duel_value
					multiplier = 0.5
				}
				desc = pod1230objectives.170.effect.success.desc
				
				send_interface_toast = {
					title = pod1230objectives.170.effect.success.desc
					left_icon = root

				custom_tooltip = {
					text = pod1230objectives.170.effect.success.desc.tt
					every_in_list = {
						list = damaged_maa_regiments
						change_maa_troops_count = maa_max_troops_count
					}
				}
				
				}
				
			}
			35 = {
				compare_modifier = {
					value = scope:duel_value
					multiplier = 0.5
				}
				
				desc = pod1230objectives.170.failure.effect.desc
				
				send_interface_toast = {
					title = pod1230objectives.170.failure.effect.desc
					left_icon = root

				custom_tooltip = {
					text = pod1230objectives.170.effect.failure.desc.tt
					random_in_list = {
						list = damaged_maa_regiments
						change_maa_troops_count = maa_max_troops_count
					}
				}
				}
			}
			15 = {
				compare_modifier = {
					value = scope:duel_value
					multiplier = -2.5
				}
				
				desc = pod1230objectives.170.critical.failure.effect.desc
				
				send_interface_toast = {
					title = pod1230objectives.170.critical.failure.effect.desc
					left_icon = root
					
				add_prestige = -50	
				}
			}
		}
	}	

	option = {
		name = pod1230objectives.170.d
		
		trigger = {
			var:military_order_precept ?= flag:dedicated
			POD_military_order_rank >= 1
		}	
		
		add_trait_xp = {
			trait = ashen_adventurer
			track = ashen_ambassador
			value = 5
		}
		
		if = {
			limit = {
				POD_military_order_rank >= 3
			}
			scope:recipient = {
				create_maa_regiment = {
					type = teutonic_knights          
					check_can_recruit = no
					size = 5
				}
			}				
		}
		else_if = {
			limit = {
				POD_military_order_rank >= 2
			}
			scope:recipient = {
				create_maa_regiment = {
					type = teutonic_knights          
					check_can_recruit = no
					size = 3
				}
			}				
		}
		else_if = {
			limit = {
				POD_military_order_rank >= 1
			}
			scope:recipient = {
				create_maa_regiment = {
					type = teutonic_knights          
					check_can_recruit = no
					size = 1
				}
			}				
		}		
	}
	
	option = {
		name = pod1230objectives.169.b
		
		remove_interaction_cooldown = POD_ambassadorial_request_interaction
	}
	
}


pod1230objectives.172 = {
	type = character_event
	content_source = dlc_POD
	title = ashen_grandmaster_decision
	desc = pod1230objectives.172.desc
	theme = martial_strategy_focus
	left_portrait = {
		character = root
		animation = personality_rational
	}
	
	immediate = {
	}

	option = {
		name = pod1230objectives.172.a	
		
		custom_tooltip = initial_ashen_grandmaster_zealous_tt	

		POD_set_military_order_precept = { PRECEPT = flag:zealous }
	}

	option = {
		name = pod1230objectives.172.b	
		
		custom_tooltip = initial_ashen_grandmaster_specific_tt	

		POD_set_military_order_precept = { PRECEPT = flag:specific }
	}

	option = {
		name = pod1230objectives.172.c
		
		custom_tooltip = initial_ashen_grandmaster_mendicant_tt	

		POD_set_military_order_precept = { PRECEPT = flag:mendicant }
	}

	option = {
		name = pod1230objectives.172.d
		
		custom_tooltip = initial_ashen_grandmaster_mercenaries_tt	

		POD_set_military_order_precept = { PRECEPT = flag:mercenaries }
	}

	option = {
		name = pod1230objectives.172.e
		
		custom_tooltip = initial_ashen_grandmaster_dedicated_tt	

		POD_set_military_order_precept = { PRECEPT = flag:dedicated }
	}

	after = {
		if = {
			limit = {
				NOT = { has_trait = ashen_adventurer }
			}
			add_trait = ashen_adventurer
			add_trait_xp = {
				trait = ashen_adventurer
				track = ashen_grandmaster
				value = 1
			} 			
		}
		else = {
			add_trait_xp = {
				trait = ashen_adventurer
				track = ashen_grandmaster
				value = 1
			} 		
		}
		trigger_event = pod1230objectives.173
	}
}

pod1230objectives.173 = {
	type = character_event
	content_source = dlc_POD
	title = ashen_grandmaster_decision
	desc = pod1230objectives.173.desc
	theme = martial_strategy_focus
	left_portrait = {
		character = root
		animation = personality_rational
	}
	
	immediate = {
	}

	option = {
		name = pod1230objectives.173.a	
		
		custom_tooltip = initial_ashen_grandmaster_recruitment_tt	

		add_character_modifier = ashen_grandmaster_honor_1
	}

	option = {
		name = pod1230objectives.173.b	
		
		custom_tooltip = initial_ashen_grandmaster_recruitment_tt	

		add_character_modifier = ashen_grandmaster_shadow_1
	}

	option = {
		name = pod1230objectives.173.c
		
		custom_tooltip = initial_ashen_grandmaster_recruitment_tt	

		add_character_modifier = ashen_grandmaster_elitist_1
	}

	option = {
		name = pod1230objectives.173.d
		
		custom_tooltip = initial_ashen_grandmaster_recruitment_tt	

		add_character_modifier = ashen_grandmaster_numbers_1
	}

	option = {
		name = pod1230objectives.173.e
		
		custom_tooltip = initial_ashen_grandmaster_recruitment_tt	

		add_character_modifier = ashen_grandmaster_specific_1
	}

	after = {
		trigger_event = pod1230objectives.174
	}
}

pod1230objectives.174 = {
	type = character_event
	content_source = dlc_POD
	title = ashen_grandmaster_decision
	desc = pod1230objectives.174.desc
	theme = martial_strategy_focus
	left_portrait = {
		character = root
		animation = personality_rational
	}
	
	immediate = {
	}

	option = {
		name = pod1230objectives.174.a	
		
		custom_tooltip = initial_ashen_grandmaster_recruitment_tt	

		add_character_modifier = ashen_grandmaster_disciplined_1
	}

	option = {
		name = pod1230objectives.174.b	
		
		custom_tooltip = initial_ashen_grandmaster_recruitment_tt	

		add_character_modifier = ashen_grandmaster_rowdy_1
	}

	option = {
		name = pod1230objectives.174.c
		
		custom_tooltip = initial_ashen_grandmaster_recruitment_tt	

		add_character_modifier = ashen_grandmaster_specialists_1
	}

	option = {
		name = pod1230objectives.174.d
		
		custom_tooltip = initial_ashen_grandmaster_recruitment_tt	

		add_character_modifier = ashen_grandmaster_balance_1
	}

	option = {
		name = pod1230objectives.174.e
		
		custom_tooltip = initial_ashen_grandmaster_recruitment_tt	

		add_character_modifier = ashen_grandmaster_task_force_1
	}

}

scripted_effect leveling_up_cause = {
	if = {
		limit = {
			POD_military_order_rank < 3
		}
		change_variable = {
			name = military_order_rank
			add  = 1
		}
		add_trait_xp = {
			trait = ashen_adventurer
			track = ashen_grandmaster
			value = -50
		}
		custom_tooltip = ashen_grandmaster_leveling_up_cause_tt
	}
	else = {
		custom_tooltip = military_order_fully_upgraded_tt
	}
}	


scripted_effect leveling_up_recruitment = {
	if = {
		limit = {
			has_character_modifier = ashen_grandmaster_honor_1
		}		
		remove_character_modifier = ashen_grandmaster_honor_1
		add_character_modifier = ashen_grandmaster_honor_2
		add_trait_xp = {
			trait = ashen_adventurer
			track = ashen_grandmaster
			value = -50
		}
	}
	else_if = {
		limit = {
			has_character_modifier = ashen_grandmaster_honor_2
		}		
		remove_character_modifier = ashen_grandmaster_honor_2
		add_character_modifier = ashen_grandmaster_honor_3
		add_trait_xp = {
			trait = ashen_adventurer
			track = ashen_grandmaster
			value = -50
		}
	}
	else_if = {
		limit = {
			has_character_modifier = ashen_grandmaster_shadow_1
		}		
		remove_character_modifier = ashen_grandmaster_shadow_1
		add_character_modifier = ashen_grandmaster_shadow_2
		add_trait_xp = {
			trait = ashen_adventurer
			track = ashen_grandmaster
			value = -50
		}
	}
	else_if = {
		limit = {
			has_character_modifier = ashen_grandmaster_shadow_2
		}		
		remove_character_modifier = ashen_grandmaster_shadow_2
		add_character_modifier = ashen_grandmaster_shadow_3
		add_trait_xp = {
			trait = ashen_adventurer
			track = ashen_grandmaster
			value = -50
		}
	}	
	else_if = {
		limit = {
			has_character_modifier = ashen_grandmaster_elitist_1
		}		
		remove_character_modifier = ashen_grandmaster_elitist_1
		add_character_modifier = ashen_grandmaster_elitist_2	
		add_trait_xp = {
			trait = ashen_adventurer
			track = ashen_grandmaster
			value = -50
		}
	}
	else_if = {
		limit = {
			has_character_modifier = ashen_grandmaster_elitist_2
		}		
		remove_character_modifier = ashen_grandmaster_elitist_2
		add_character_modifier = ashen_grandmaster_elitist_3	
		add_trait_xp = {
			trait = ashen_adventurer
			track = ashen_grandmaster
			value = -50
		}
	}	
	else_if = {
		limit = {
			has_character_modifier = ashen_grandmaster_numbers_1
		}		
		remove_character_modifier = ashen_grandmaster_numbers_1
		add_character_modifier = ashen_grandmaster_numbers_2
		add_trait_xp = {
			trait = ashen_adventurer
			track = ashen_grandmaster
			value = -50
		}
	}
	else_if = {
		limit = {
			has_character_modifier = ashen_grandmaster_numbers_2
		}		
		remove_character_modifier = ashen_grandmaster_numbers_2
		add_character_modifier = ashen_grandmaster_numbers_3	
		add_trait_xp = {
			trait = ashen_adventurer
			track = ashen_grandmaster
			value = -50
		}
	}
	else_if = {
		limit = {
			has_character_modifier = ashen_grandmaster_specific_1
		}		
		remove_character_modifier = ashen_grandmaster_specific_1
		add_character_modifier = ashen_grandmaster_specific_2
		add_trait_xp = {
			trait = ashen_adventurer
			track = ashen_grandmaster
			value = -50
		}
	}
	else_if = {
		limit = {
			has_character_modifier = ashen_grandmaster_specific_2
		}		
		remove_character_modifier = ashen_grandmaster_specific_2
		add_character_modifier = ashen_grandmaster_specific_3
		add_trait_xp = {
			trait = ashen_adventurer
			track = ashen_grandmaster
			value = -50
		}
	}
	else = {
		custom_tooltip = military_order_fully_upgraded_tt
	}
}

scripted_effect leveling_up_training = {
	if = {
		limit = {
			has_character_modifier = ashen_grandmaster_disciplined_1
		}		
		remove_character_modifier = ashen_grandmaster_disciplined_1
		add_character_modifier = ashen_grandmaster_disciplined_2
		add_trait_xp = {
			trait = ashen_adventurer
			track = ashen_grandmaster
			value = -50
		}
	}
	else_if = {
		limit = {
			has_character_modifier = ashen_grandmaster_disciplined_2
		}		
		remove_character_modifier = ashen_grandmaster_disciplined_2
		add_character_modifier = ashen_grandmaster_disciplined_3
		add_trait_xp = {
			trait = ashen_adventurer
			track = ashen_grandmaster
			value = -50
		}
	}
	else_if = {
		limit = {
			has_character_modifier = ashen_grandmaster_rowdy_1
		}		
		remove_character_modifier = ashen_grandmaster_rowdy_1
		add_character_modifier = ashen_grandmaster_rowdy_2
		add_trait_xp = {
			trait = ashen_adventurer
			track = ashen_grandmaster
			value = -50
		}
	}
	else_if = {
		limit = {
			has_character_modifier = ashen_grandmaster_rowdy_2
		}		
		remove_character_modifier = ashen_grandmaster_rowdy_2
		add_character_modifier = ashen_grandmaster_rowdy_3
		add_trait_xp = {
			trait = ashen_adventurer
			track = ashen_grandmaster
			value = -50
		}
	}	
	else_if = {
		limit = {
			has_character_modifier = ashen_grandmaster_specialists_1
		}		
		remove_character_modifier = ashen_grandmaster_specialists_1
		add_character_modifier = ashen_grandmaster_specialists_2	
		add_trait_xp = {
			trait = ashen_adventurer
			track = ashen_grandmaster
			value = -50
		}
	}
	else_if = {
		limit = {
			has_character_modifier = ashen_grandmaster_specialists_2
		}		
		remove_character_modifier = ashen_grandmaster_specialists_2
		add_character_modifier = ashen_grandmaster_specialists_3	
		add_trait_xp = {
			trait = ashen_adventurer
			track = ashen_grandmaster
			value = -50
		}
	}	
	else_if = {
		limit = {
			has_character_modifier = ashen_grandmaster_balance_1
		}		
		remove_character_modifier = ashen_grandmaster_balance_1
		add_character_modifier = ashen_grandmaster_balance_2
		add_trait_xp = {
			trait = ashen_adventurer
			track = ashen_grandmaster
			value = -50
		}
	}
	else_if = {
		limit = {
			has_character_modifier = ashen_grandmaster_balance_2
		}		
		remove_character_modifier = ashen_grandmaster_balance_2
		add_character_modifier = ashen_grandmaster_balance_3	
		add_trait_xp = {
			trait = ashen_adventurer
			track = ashen_grandmaster
			value = -50
		}
	}
	else_if = {
		limit = {
			has_character_modifier = ashen_grandmaster_task_force_1
		}		
		remove_character_modifier = ashen_grandmaster_task_force_1
		add_character_modifier = ashen_grandmaster_task_force_2
		add_trait_xp = {
			trait = ashen_adventurer
			track = ashen_grandmaster
			value = -50
		}
	}
	else_if = {
		limit = {
			has_character_modifier = ashen_grandmaster_task_force_2
		}		
		remove_character_modifier = ashen_grandmaster_task_force_2
		add_character_modifier = ashen_grandmaster_task_force_3
		add_trait_xp = {
			trait = ashen_adventurer
			track = ashen_grandmaster
			value = -50
		}
	}
	else = {
		custom_tooltip = military_order_fully_upgraded_tt
	}
}

pod1230objectives.175 = {
	type = character_event
	content_source = dlc_POD
	title = ashen_grandmaster_decision
	desc = {
		desc = pod1230objectives.175.desc
		desc = line_break
		triggered_desc = {
			trigger = {
				var:military_order_precept ?= flag:zealous
			}
			desc = line_break
			desc = initial_ashen_grandmaster_zealous_tt
		}
		triggered_desc = {
			trigger = {
				var:military_order_precept ?= flag:specific
			}
			desc = line_break
			desc = initial_ashen_grandmaster_specific_tt
		}
		triggered_desc = {
			trigger = {
				var:military_order_precept ?= flag:dedicated
			}
			desc = line_break
			desc = initial_ashen_grandmaster_dedicated_tt
		}
		triggered_desc = {
			trigger = {
				var:military_order_precept ?= flag:mendicant
			}
			desc = line_break
			desc = initial_ashen_grandmaster_mendicant_tt
		}
		triggered_desc = {
			trigger = {
				var:military_order_precept ?= flag:mercenaries
			}
			desc = line_break
			desc = initial_ashen_grandmaster_mercenaries_tt
		}
		triggered_desc = {
			trigger = {
				POD_military_order_rank = 1
			}
			desc = ashen_grandmaster_core1_tt
		}
		triggered_desc = {
			trigger = {
				POD_military_order_rank = 2
			}
			desc = ashen_grandmaster_core2_tt
		}
		triggered_desc = {
			trigger = {
				POD_military_order_rank = 3
			}
			desc = ashen_grandmaster_core3_tt
		}
		desc = line_break		
		triggered_desc = {
			trigger = {
				OR = {
					has_character_modifier = ashen_grandmaster_honor_1
					has_character_modifier = ashen_grandmaster_honor_2
					has_character_modifier = ashen_grandmaster_honor_3
				}
			}
			desc = line_break
			desc = ashen_grandmaster_honor_1_event_desc
		}
		triggered_desc = {
			trigger = {
				OR = {
					has_character_modifier = ashen_grandmaster_shadow_1
					has_character_modifier = ashen_grandmaster_shadow_2
					has_character_modifier = ashen_grandmaster_shadow_3
				}
			}
			desc = line_break
			desc = ashen_grandmaster_shadow_1_event_desc
		}
		triggered_desc = {
			trigger = {
				OR = {
					has_character_modifier = ashen_grandmaster_elitist_1
					has_character_modifier = ashen_grandmaster_elitist_2
					has_character_modifier = ashen_grandmaster_elitist_3
				}
			}
			desc = line_break
			desc = ashen_grandmaster_elitist_1_event_desc
		}
		triggered_desc = {
			trigger = {
				OR = {
					has_character_modifier = ashen_grandmaster_numbers_1
					has_character_modifier = ashen_grandmaster_numbers_2
					has_character_modifier = ashen_grandmaster_numbers_3
				}
			}
			desc = line_break
			desc = ashen_grandmaster_numbers_1_event_desc
		}
		triggered_desc = {
			trigger = {
				OR = {
					has_character_modifier = ashen_grandmaster_specific_1
					has_character_modifier = ashen_grandmaster_specific_2
					has_character_modifier = ashen_grandmaster_specific_3
				}
			}
			desc = line_break
			desc = ashen_grandmaster_specific_1_event_desc
		}
		desc = line_break		
		triggered_desc = {
			trigger = {
				OR = {
					has_character_modifier = ashen_grandmaster_disciplined_1
					has_character_modifier = ashen_grandmaster_disciplined_2
					has_character_modifier = ashen_grandmaster_disciplined_3
				}
			}
			desc = line_break
			desc = ashen_grandmaster_disciplined_1_event_desc
		}
		triggered_desc = {
			trigger = {
				OR = {
					has_character_modifier = ashen_grandmaster_rowdy_1
					has_character_modifier = ashen_grandmaster_rowdy_2
					has_character_modifier = ashen_grandmaster_rowdy_3
				}
			}
			desc = line_break
			desc = ashen_grandmaster_rowdy_1_event_desc
		}
		triggered_desc = {
			trigger = {
				OR = {
					has_character_modifier = ashen_grandmaster_specialists_1
					has_character_modifier = ashen_grandmaster_specialists_2
					has_character_modifier = ashen_grandmaster_specialists_3
				}
			}
			desc = line_break
			desc = ashen_grandmaster_specialists_1_event_desc
		}
		triggered_desc = {
			trigger = {
				OR = {
					has_character_modifier = ashen_grandmaster_balance_1
					has_character_modifier = ashen_grandmaster_balance_2
					has_character_modifier = ashen_grandmaster_balance_3
				}
			}
			desc = line_break
			desc = ashen_grandmaster_balance_1_event_desc
		}
		triggered_desc = {
			trigger = {
				OR = {
					has_character_modifier = ashen_grandmaster_task_force_1
					has_character_modifier = ashen_grandmaster_task_force_2
					has_character_modifier = ashen_grandmaster_task_force_3
				}
			}
			desc = line_break
			desc = ashen_grandmaster_task_force_1_event_desc
		}
	}
	theme = martial_strategy_focus
	left_portrait = {
		character = root
		animation = personality_rational
	}
	
	immediate = {
	}

	option = {
		name = pod1230objectives.175.a	
		
		trigger = {
			has_trait_xp = {
				trait = ashen_adventurer
				track = ashen_grandmaster
				value >= 50
			}
		}
		
		show_as_unavailable = {
			has_trait_xp = {
				trait = ashen_adventurer
				track = ashen_grandmaster
				value < 50
			}
		}
		
		leveling_up_cause = yes
	}

	option = {
		name = pod1230objectives.175.b	
		
		trigger = {
			has_trait_xp = {
				trait = ashen_adventurer
				track = ashen_grandmaster
				value >= 50
			}
		}
		
		show_as_unavailable = {
			has_trait_xp = {
				trait = ashen_adventurer
				track = ashen_grandmaster
				value < 50
			}			
		}

		# set_global_variable = {
		# 	name = military_order_specific
		# 	value = 1
		# }
		
		leveling_up_recruitment = yes
	}

	option = {
		name = pod1230objectives.175.c
		
		trigger = {
		has_trait_xp = {
			trait = ashen_adventurer
			track = ashen_grandmaster
		value >= 50
		}
		}
		
		show_as_unavailable = {
		has_trait_xp = {
			trait = ashen_adventurer
			track = ashen_grandmaster
			value < 50
		}			
		}
		
		leveling_up_training = yes
	}

	option = {
		name = pod1230objectives.169.b
		
	}

}


pod1230objectives.176 = {
	type = character_event
	content_source = dlc_POD
	title = ashen_cult_later_decision
	desc = pod1230objectives.176.desc
	theme = faith
	left_portrait = {
		character = root
		animation = personality_zealous
	}
	
	immediate = {
	}

	option = {
		name = pod1230objectives.176.a	
		
		trigger = {
			scope:culted_county = {
				NOT = { faith = root.faith }
			}			
		}
		
		duel = {
			skills = { diplomacy learning }
			value = very_high_skill_rating
			50 = {
				compare_modifier = {
					value = scope:duel_value
					multiplier = 3.5
					min = -49
				}
				modifier = {
					add = {
						subtract = scope:culted_county.county_opinion
					}
				}
				modifier = {
					factor = 0.75
					scope:culted_county.faith.religion = root.religion
				}
				modifier = {
					factor = 0.75
					knows_language_of_culture = scope:culted_county.county.culture
				}
				send_interface_toast = {
					type = event_toast_effect_good
					title = ep3_laamp_decision_event.1103.a.success
					left_icon = root
					right_icon = scope:culted_county
					scope:culted_county = {
						set_county_faith = root.faith
					}
					add_trait_xp = {
						trait = ashen_adventurer
						track = ashen_cult
						value = 5
					}					
				}
			}
			50 = {
				compare_modifier = {
					value = scope:duel_value
					multiplier = -3.5
					min = -49
				}
				modifier = {
					add = scope:culted_county.development_level
				}
				send_interface_toast = {
					type = event_toast_effect_good
					title = ep3_laamp_decision_event.1103.a.failure
					left_icon = root
					right_icon = scope:culted_county
					add_stress = major_stress_gain

					add_trait_xp = {
						trait = ashen_adventurer
						track = ashen_cult
						value = 1
					}						
				}
			}
		}

		reverse_add_opinion = {
			modifier = vengeful_opinion
			opinion = -75
			target = scope:culted_county.holder
		}

	}

	option = {
		name = pod1230objectives.176.b
		
		trigger = {
			scope:culted_county = {
				NOT = { faith = root.faith }
			}			
		}
		
		add_stress = medium_stress_gain		

		scope:culted_county = {
			add_county_modifier = {
				modifier = high_investment_in_revolt_modifier
				years = 1
			}
		}

		add_trait_xp = {
			trait = ashen_adventurer
			track = ashen_cult
			value = 2
		}
					
		reverse_add_opinion = {
			modifier = vengeful_opinion
			opinion = -75
			target = scope:culted_county.holder
		}
	}

	option = {
		name = pod1230objectives.176.c
		
		trigger = {
			scope:culted_county = {
				NOT = { faith = root.faith }
			}			
		}
		
		add_stress = medium_stress_gain		

		scope:culted_county = {
			add_county_modifier = {
				modifier = POD_county_defenses_weakened_modifier
				years = 5
			}
		}

		add_trait_xp = {
			trait = ashen_adventurer
			track = ashen_cult
			value = 2
		}
					
		reverse_add_opinion = {
			modifier = vengeful_opinion
			opinion = -75
			target = scope:culted_county.holder
		}
	}

	option = {
		name = pod1230objectives.176.d
		
		trigger = {
			scope:culted_county = {
				faith = root.faith 
			}			
		}
		
		add_stress = medium_stress_gain		

		scope:culted_county = {
			add_county_modifier = {
				modifier = inspired_by_tales
				years = 10
			}
			change_county_control = 30
		}

		add_trait_xp = {
			trait = ashen_adventurer
			track = ashen_cult
			value = 2
		}
					
		reverse_add_opinion = {
			modifier = grateful_opinion
			opinion = 25
			target = scope:culted_county.holder
		}
	}

	option = {
		name = pod1230objectives.176.e
		
		trigger = {
			scope:culted_county = {
				faith = root.faith 
			}			
		}
		
		add_stress = medium_stress_gain		

		scope:culted_county = {
			add_county_modifier = {
				modifier = POD_county_diligent_populace_modifier
				years = 10
			}
		}

		add_trait_xp = {
			trait = ashen_adventurer
			track = ashen_cult
			value = 2
		}
					
		reverse_add_opinion = {
			modifier = grateful_opinion
			opinion = 25
			target = scope:culted_county.holder
		}
	}

	option = {
		name = pod1230objectives.176.f
		
		trigger = {
			scope:culted_county = {
				faith = root.faith 
			}			
		}
		
		add_gold = 50
		add_piety = -50

		add_trait_xp = {
			trait = ashen_adventurer
			track = ashen_cult
			value = 2
		}
					
	}
}


pod1230objectives.177 = {
	type = character_event
	content_source = dlc_POD
	title = year_black_kites_japan_decision
	desc = pod1230objectives.177.desc
	theme = vampire
	left_portrait = {
		character = root
		animation = personality_rational
	}
	
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
		title:e_japan = { set_title_name = h_uji_clans }
		#title:k_azuma = { set_title_name = k_azuma }
		title:k_yamato = { set_de_jure_liege_title = title:e_japan }
		title:k_azuma = { set_de_jure_liege_title = title:e_japan }
		title:k_tsukushi = { set_de_jure_liege_title = title:e_japan }
		title:e_goryeo = { set_title_name = e_green_courts }
	}

	option = {
		name = pod1230objectives.177.a
		
		add_character_modifier = {
			modifier = peaceful_year_black_kites_modifier
			years = 15
		}
		
		add_prestige = 100
			
	}

	option = {
		name = pod1230objectives.177.b
		
		add_character_modifier = {
			modifier = aggressive_year_black_kites_modifier
			years = 15
		}
		
		add_prestige = 200
		add_gold = 150
		
	}
	
	after = {
		every_player = {
			limit = {
				NOT = { this = root }
				OR = {
				capital_province = {
					geographical_region = world_asia_japan
				}
				capital_province = {
					geographical_region = world_asia_korea
				}
				}				
				}
		trigger_event = pod1230objectives.178
		}
	}
}

pod1230objectives.178 = {
	type = character_event
	content_source = dlc_POD
	title = year_black_kites_japan_decision
	desc = pod1230objectives.178.desc
	theme = vampire
	
	left_portrait = {
		character = scope:year_black_kites_announcer
		animation = personality_rational
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
	}

	option = {
		name = pod1230objectives.178.a
		
		show_as_tooltip = {
		title:e_japan = { set_title_name = h_uji_clans }
		title:k_yamato = { set_de_jure_liege_title = title:e_japan }
		title:k_azuma = { set_de_jure_liege_title = title:e_japan }
		title:k_tsukushi = { set_de_jure_liege_title = title:e_japan }
		}
	}
}


pod1230objectives.179 = {
	type = character_event
	content_source = dlc_POD
	title = rising_sun_japan_decision
	desc = pod1230objectives.179.desc
	theme = vampire
	left_portrait = {
		character = root
		animation = personality_bold
	}
	
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"

		title:e_japan = { set_de_jure_liege_title = title:h_uji_clans }
		
		hidden_effect = {
		title:e_japan = { set_title_name = e_japan }
		}
	}

	option = {
		name = pod1230objectives.179.a
		
		title:e_andong = { set_de_jure_liege_title = title:h_uji_clans }

		add_character_modifier = {
			modifier = politically_secure_modifier
		}			
	}

	option = {
		name = pod1230objectives.179.b
		
		title:e_goryeo = { set_de_jure_liege_title = title:h_uji_clans }

		add_character_modifier = {
			modifier = politically_secure_modifier
		}		
	}

	after = {
		every_player = {
			limit = {
				NOT = { this = root }
				capital_province = {
					geographical_region = world_asia
				}				
				}
		trigger_event = pod1230objectives.180
		}
	}
}


pod1230objectives.180 = {
	type = character_event
	content_source = dlc_POD
	title = rising_sun_japan_decision
	desc = pod1230objectives.179.desc
	theme = vampire
	left_portrait = {
		character = scope:rising_sun_flag
		animation = personality_bold
	}
	
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
		
	}

	option = {
		name = pod1230objectives.180.a
					
	}
}

pod1230objectives.181 = {
	hidden = yes
	scope = none
		
	immediate = {
		if = {
			limit = {
				character:795039 = { is_alive = yes }
				character:795039 = { has_title = title:h_china }
			}
			character:795039 = { trigger_event = pod1230objectives.182 }
		}
		else_if = { 
			limit = {
				exists = title:h_china.holder
			}				
			title:h_china.holder = {
				trigger_event = pod1230objectives.182
			}
		}
		add_to_global_variable_list = {
			name = unavailable_unique_decisions
			target = flag:activate_consolidate_china_variable
		}		
	}

}

pod1230objectives.182 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.182.t
	desc = {
		triggered_desc = {
			trigger = {
				root = character:795039
			}
			desc = pod1230objectives.182.desc.wang
		}
		triggered_desc = {
			trigger = {
				NOT = { root = character:795039 }
			}
			desc = pod1230objectives.182.desc.notwang
		}
	}		
	theme = skull
	left_portrait = {
		character = root
		animation = shock
	}
	
	immediate = {
		# tooltip for clarity
		if = {
			limit = { exists = title:e_anda.holder }
			show_as_tooltip = {
				title:e_anda.holder = {
					add_trait = conqueror
				}
			}
		}
		custom_tooltip = activate_consolidation_china_cb_tt
	}

	option = {
		name = pod1230objectives.182.a
		
		death = { death_reason = death_murder }
		
		destroy_title = title:h_china 
		
		every_held_title = { #Should destroy all other Empires owned at the time if wang created them before 
			limit = {
				tier = tier_empire
			}
			root = { destroy_title = prev }
		}		
	}
	
	option = {
		name = pod1230objectives.182.b
		
		custom_tooltip = pod1230objectives.182.tt
		
		trigger = {
			is_ai = no #AI wang always dies
		}
		
		if = {
			limit = {
				has_character_modifier = POD_all_is_well_under_heaven_modifier
			}
			remove_character_modifier = POD_all_is_well_under_heaven_modifier
		}
		
		destroy_title = title:h_china 
		
		every_held_title = { #Should destroy all other Empires owned at the time if wang created them before 
			limit = {
				tier = tier_empire
			}
			root = { destroy_title = prev }
		}			
	}

	after = {
		every_player = {
			limit = {
				NOT = { this = root }
				OR = {
					capital_province = {
						geographical_region = world_asia
					}
					has_title = title:e_anda
				}
			}
			trigger_event = pod1230objectives.183
		}
		if = {
			limit = {
				exists = title:e_anda.holder
				title:e_anda.holder = {
					is_ai = yes
				}
			}
			title:e_anda.holder = {
				trigger_event = pod1230objectives.183
			}
		}
	}	
}

pod1230objectives.183 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.182.t
	desc = pod1230objectives.182.desc.wang
	theme = vampire
	
	left_portrait = {
		character = character:795039
		animation = shock
	}
	
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
		# tooltip for clarity
		if = {
			limit = {
				exists = title:e_anda.holder
				NOT = { this = title:e_anda.holder }
			}
			show_as_tooltip = {
				title:e_anda.holder = {
					add_trait = conqueror
				}
			}
		}
		custom_tooltip = activate_consolidation_china_cb_tt		
	}

	option = {
		name = pod1230objectives.183.a

		trigger = {
			NOT = { title:e_anda.holder ?= this }
		}
		
		custom_tooltip = pod1230objectives.183.tt
					
	}
	
	option = {
		name = pod1230objectives.183.b
		
		trigger = {
			title:e_anda.holder ?= this
		}
		
		custom_tooltip = pod1230objectives.183.tt
		
		add_pressed_claim = title:k_daibei
		add_pressed_claim = title:k_raole
		add_pressed_claim = title:k_youji

		if = {
			limit = {
				NOT = { has_trait = conqueror }
			}
			POD_become_scripted_conqueror = yes
		}	
		
		spawn_army = {
			uses_supply = no
			inheritable = yes
			name = mongol_event_troops
			men_at_arms = {
				type = mangudai
				stacks = 5
			}
			men_at_arms = {
				type = heavy_horse_archers
				stacks = 5
			}
			men_at_arms = {
				type = steppe_raiders
				stacks = 5
			}
			men_at_arms = {
				type = nomad_lancers
				stacks = 5
			}
			men_at_arms = {
				type = anda_jagun_maa
				stacks = 5
			}
			men_at_arms = {
				type = trebuchet
				stacks = 5
			}
			location = capital_province
			origin = capital_province
		}		
	}	
}

pod1230objectives.184 = {
	type = character_event
	content_source = dlc_POD
	title = quincunx_formation_decision
	desc = pod1230objectives.184.desc
	theme = vampire
	left_portrait = {
		character = root
		animation = personality_rational
	}
	
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"

		title:h_china = { set_title_name = e_quincunx }

		create_title_and_vassal_change = {
			type = created
			save_scope_as = change
			add_claim_on_loss = no
		}
		
		title:h_china = {
			change_title_holder_include_vassals = {
				holder = root
				change = scope:change
			}
		}
		resolve_title_and_vassal_change = scope:change
	}

	option = {
		name = pod1230objectives.184.a
		
		title:e_goryeo = { set_de_jure_liege_title = title:h_china }			
	}

	option = {
		name = pod1230objectives.184.b
		
		custom_tooltip = quincunx_offensive_modifier_desc
		
		add_character_modifier = quincunx_offensive_modifier
	}

	option = {
		name = pod1230objectives.184.c
		
		custom_tooltip = quincunx_consolidation_modifier_desc
		
		add_character_modifier = quincunx_consolidation_modifier
	}
	
	after = {
		every_player = {
			limit = {
				NOT = { this = root }
				capital_province = {
					geographical_region = world_asia
				}
				}				
		trigger_event = pod1230objectives.185
		}
	}
}

pod1230objectives.185 = {
	type = character_event
	content_source = dlc_POD
	title = quincunx_formation_decision
	desc = pod1230objectives.184.desc
	theme = vampire
	left_portrait = {
		character = scope:quincunx_announcer
		animation = personality_bold
	}
	
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
		
	}

	option = {
		name = pod1230objectives.185.a
					
	}
}

pod1230objectives.186 = {
	type = character_event
	content_source = dlc_POD
	title = year_black_kites_korea_decision
	desc = pod1230objectives.186.desc
	theme = vampire
	left_portrait = {
		character = root
		animation = personality_rational
	}
	
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"

	}

	option = {
		name = pod1230objectives.186.a
		
		custom_tooltip = azure_dragon_consolidation_modifier_desc
		
		add_character_modifier = {
			modifier = azure_dragon_consolidation_modifier
		}
		
		add_prestige = 100
			
	}
	
	after = {
		every_player = {
			limit = {
				NOT = { this = root }
				OR = {
				capital_province = {
					geographical_region = world_asia_japan
				}
				capital_province = {
					geographical_region = world_asia_korea
				}
				}				
				}
		trigger_event = pod1230objectives.187
		}
	}
}

pod1230objectives.187 = {
	type = character_event
	content_source = dlc_POD
	title = year_black_kites_korea_decision
	desc = pod1230objectives.186.desc
	theme = vampire
	
	left_portrait = {
		character = scope:year_black_kites_announcer
		animation = personality_rational
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
	}

	option = {
		name = pod1230objectives.187.a
		
	}
}


pod1230objectives.188 = {
	type = character_event
	content_source = dlc_POD
	title = new_seat_heaven_decision
	desc = pod1230objectives.188.desc
	theme = vampire
	left_portrait = {
		character = root
		animation = personality_rational
	}
	
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"

		title:e_goryeo = { set_title_name = e_goryeo }

		create_title_and_vassal_change = {
			type = created
			save_scope_as = change
			add_claim_on_loss = no
		}
		
		title:h_azure_dragon_court = {
			change_title_holder_include_vassals = {
				holder = root
				change = scope:change
			}
		}
		resolve_title_and_vassal_change = scope:change

		title:e_goryeo = { set_de_jure_liege_title = title:h_azure_dragon_court }
		title:e_andong = { set_de_jure_liege_title = title:h_azure_dragon_court }
	}

	option = {
		name = pod1230objectives.188.a
		
		add_character_modifier = {
			modifier = politically_secure_modifier
		}
		
		add_prestige = massive_prestige_value
	}

	option = {
		name = pod1230objectives.188.b
		
		add_prestige = -500
		
		title:h_china = {
			every_in_de_jure_hierarchy = {
				limit = {
					tier = tier_empire
				}
				set_de_jure_liege_title = title:h_azure_dragon_court
			}
		}	
	}
	
	after = {
		every_player = {
			limit = {
				NOT = { this = root }
				capital_province = {
					geographical_region = world_asia
				}
				}				
		trigger_event = pod1230objectives.189
		}
	}
}

pod1230objectives.189 = {
	type = character_event
	content_source = dlc_POD
	title = new_seat_heaven_decision
	desc = pod1230objectives.188.desc
	theme = vampire
	left_portrait = {
		character = scope:new_seat_heaven_announcer
		animation = personality_bold
	}
	
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
		
	}

	option = {
		name = pod1230objectives.189.a
					
	}
}

pod1230objectives.190 = {
	type = character_event
	content_source = dlc_POD
	title = green_crossroads_decision
	desc = pod1230objectives.190.desc
	theme = vampire
	left_portrait = {
		character = root
		animation = personality_rational
	}
	
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
	}

	option = {
		name = pod1230objectives.190.a
	
		title:b_Goryeo_Gaeseong_Gaeseong.title_province = {
			add_province_modifier = jade_trade_modifier
		}
			
		title:b_Goryeo_Gyoju_Gyoju.title_province = {
			add_province_modifier = jade_trade_modifier
		}
		
		title:b_Goryeo_Bukgye_Jangjeong.title_province = {
			add_province_modifier = jade_trade_modifier
		}
		
		title:b_Goryeo_Bukgye_Seogyeong.title_province = {
			add_province_modifier = jade_trade_modifier
		}
		
		title:b_Goryeo_Yanggwan_Gwangju.title_province = {
			add_province_modifier = jade_trade_modifier
		}
		
		capital_province = {
			add_province_modifier = jade_trade_modifier
		}		
						
	}
	
	after = {
		every_player = {
			limit = {
				NOT = { this = root }
				capital_province = {
					geographical_region = world_asia_korea
				}
				}				
		trigger_event = pod1230objectives.191
		}
	}
}

pod1230objectives.191 = {
	type = character_event
	content_source = dlc_POD
	title = green_crossroads_decision
	desc = pod1230objectives.190.desc
	theme = vampire
	left_portrait = {
		character = scope:green_crossroads_announcer
		animation = personality_bold
	}
	
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
		
	}

	option = {
		name = pod1230objectives.191.a
					
	}
}

pod1230objectives.192 = {
	type = character_event
	content_source = dlc_POD
	title = thriving_in_chaos_decision
	desc = pod1230objectives.192.desc
	theme = vampire
	left_portrait = {
		character = root
		animation = personality_bold
	}
	
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
	}

	option = {
		name = pod1230objectives.192.a
	
		house ?= {
			add_house_modifier = scarlet_consolidation_house_modifier
		}

		custom_tooltip = scarlet_phoenix_consolidation_modifier_desc
		custom_tooltip = scarlet_phoenix_consolidation_tt
		
		add_character_modifier = scarlet_phoenix_consolidation_modifier
		
		if = {
			limit = {
				NOT = { 
					has_title = title:h_scarlet_phoenix_court
				}
			}
		create_title_and_vassal_change = {
			type = created
			save_scope_as = change
			add_claim_on_loss = no
		}
		
		title:h_scarlet_phoenix_court = {
			change_title_holder_include_vassals = {
				holder = root
				change = scope:change
			}
		}
		resolve_title_and_vassal_change = scope:change
		}
		
		ai_chance = {
			base = 50
			
			modifier = {
			factor = 0
			
			faith = faith:the_passion_bloodflowers
			}
		}
	}

	option = {
		name = pod1230objectives.192.b

		title:h_scarlet_phoenix_court = { set_title_name = e_golden_courts }

		custom_tooltip = golden_courts_birth_tt
	
		house ?= {
			add_house_modifier = golden_courts_birth_modifier
		}

		if = {
			limit = {
				NOT = { 
					has_title = title:h_scarlet_phoenix_court
				}
			}
		create_title_and_vassal_change = {
			type = created
			save_scope_as = change
			add_claim_on_loss = no
		}
		
		title:h_scarlet_phoenix_court = {
			change_title_holder_include_vassals = {
				holder = root
				change = scope:change
			}
		}
		resolve_title_and_vassal_change = scope:change
		}		
	}
	
	after = {
		every_player = {
			limit = {
				NOT = { this = root }
				capital_province = {
					geographical_region = world_asia
				}
				}				
		trigger_event = pod1230objectives.193
		}
	}
}

pod1230objectives.193 = {
	type = character_event
	content_source = dlc_POD
	title = thriving_in_chaos_decision
	desc = pod1230objectives.192.desc
	theme = vampire
	left_portrait = {
		character = scope:thriving_in_chaos_announcer
		animation = personality_bold
	}
	
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
		
	}

	option = {
		name = pod1230objectives.193.a
					
	}
}

pod1230objectives.194 = {
	type = character_event
	content_source = dlc_POD
	title = phoenix_rise_decision
	desc = pod1230objectives.194.desc
	theme = vampire
	left_portrait = {
		character = root
		animation = personality_bold
	}
	
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
	}

	option = {
		name = pod1230objectives.194.a
		
		add_character_modifier = {
			modifier = politically_secure_modifier
		}

		cp:councillor_marshal ?= { add_martial_skill = 5 }	
		cp:councillor_steward ?= { add_stewardship_skill = 5 }
		cp:councillor_chancellor ?= { add_diplomacy_skill = 5 }
		cp:councillor_spymaster ?= { add_intrigue_skill = 5 }
		cp:councillor_court_chaplain ?= { add_learning_skill = 5 }		

		every_directly_owned_province = {
			add_province_modifier = extra_building_slot
		}
		
	}
	
	after = {
		every_player = {
			limit = {
				NOT = { this = root }
				capital_province = {
					geographical_region = world_asia
				}
				}				
		trigger_event = pod1230objectives.195
		}
	}
}

pod1230objectives.195 = {
	type = character_event
	content_source = dlc_POD
	title = phoenix_rise_decision
	desc = pod1230objectives.194.desc
	theme = vampire
	left_portrait = {
		character = scope:phoenix_rise_announcer
		animation = personality_bold
	}
	
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
		
	}

	option = {
		name = pod1230objectives.195.a
					
	}
}

pod1230objectives.196 = {
	type = character_event
	content_source = dlc_POD
	title = bloody_gold_decision
	desc = pod1230objectives.196.desc
	theme = vampire
	left_portrait = {
		character = root
		animation = personality_zealous
	}
	
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
	}

	option = {
		name = pod1230objectives.196.a
		
		custom_tooltip = POD_invasion_war_modifier_desc
		
		add_character_modifier = POD_invasion_war_modifier

		create_artifact_peacock_throne_effect = { OWNER = ROOT }		
		create_artifact_taming_sari_effect = { OWNER = ROOT }
	}
	
	after = {
		every_player = {
			limit = {
				NOT = { this = root }
				capital_province = {
					geographical_region = world_asia
				}
				}				
		trigger_event = pod1230objectives.197
		}
	}
}

pod1230objectives.197 = {
	type = character_event
	content_source = dlc_POD
	title = bloody_gold_decision
	desc = pod1230objectives.196.desc
	theme = vampire
	left_portrait = {
		character = scope:bloody_gold_announcer
		animation = personality_zealous
	}
	
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
		
	}

	option = {
		name = pod1230objectives.197.a
					
	}
}


pod1230objectives.198 = {
	type = character_event
	content_source = dlc_POD
	title = bring_down_courts_decision
	desc = pod1230objectives.198.desc
	theme = vampire
	left_portrait = {
		character = root
		animation = personality_callous
	}
	
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
	}

	option = {
		name = pod1230objectives.198.a
		
		custom_tooltip = POD_invasion_war_modifier_desc
		
		add_character_modifier = POD_invasion_war_modifier
			
		add_character_modifier = POD_yama_vanguard_modifier
		
		custom_tooltip = POD_yama_vanguard_modifier_desc

		custom_tooltip = {
			text = pod1230objectives.198.tt
			
		every_ruler = {
			limit = {
				NOT = { religion = religion:thousandhells_religion }
				NOT = { has_trait = zealous } # Never!
				is_kueijin_trigger = yes
				is_ai = yes
			}
			set_character_faith = root.faith	
		}
		every_held_title = {
			limit = { tier = tier_county }
			set_county_faith = faith:wayofthetenthousandscreams
		}
		}
	}
	
	after = {
		every_player = {
			limit = {
				NOT = { this = root }
				capital_province = {
					geographical_region = world_asia
				}
				}				
		trigger_event = pod1230objectives.199
		}
	}
}

pod1230objectives.199 = {
	type = character_event
	content_source = dlc_POD
	title = bring_down_courts_decision
	desc = pod1230objectives.198.desc
	theme = vampire

	left_portrait = {
		character = scope:bring_down_courts_announcer
		animation = personality_callous
	}
	
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
		
	}

	option = {
		name = pod1230objectives.199.a
					
	}
}


pod1230objectives.200 = {
	type = character_event
	content_source = dlc_POD
	title = enduring_tortoise_decision
	desc = pod1230objectives.200.desc
	theme = vampire
	left_portrait = {
		character = root
		animation = personality_bold
	}
	
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
	}

	option = {
		name = pod1230objectives.200.a
		
		custom_tooltip = POD_invasion_war_modifier_desc
		
		add_character_modifier = POD_invasion_war_modifier
					
		title:e_andong = { set_title_name = e_andong }
		title:e_goryeo = { set_de_jure_liege_title = title:h_black_tortoise_court }
		title:e_andong = { set_de_jure_liege_title = title:h_black_tortoise_court }
		title:e_zhongyuan = { set_de_jure_liege_title = title:h_black_tortoise_court }
		title:e_yongliang = { set_de_jure_liege_title = title:h_black_tortoise_court }
		title:e_amur = { set_de_jure_liege_title = title:h_black_tortoise_court }

		create_title_and_vassal_change = {
			type = created
			save_scope_as = change
			add_claim_on_loss = no
		}
		
		title:h_black_tortoise_court = {
			change_title_holder_include_vassals = {
				holder = root
				change = scope:change
			}
		}
		resolve_title_and_vassal_change = scope:change

		house ?= {
			add_house_modifier = enduring_tortoise_modifier
		}		
	}
	
	after = {
		every_player = {
			limit = {
				NOT = { this = root }
				capital_province = {
					geographical_region = world_asia
				}
				}				
		trigger_event = pod1230objectives.201
		}
	}
}

pod1230objectives.201 = {
	type = character_event
	content_source = dlc_POD
	title = enduring_tortoise_decision
	desc = pod1230objectives.200.desc
	theme = vampire
	left_portrait = {
		character = scope:enduring_tortoise_announcer
		animation = personality_bold
	}
	
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
		
	}

	option = {
		name = pod1230objectives.201.a
					
	}
}

pod1230objectives.202 = {
	type = character_event
	content_source = dlc_POD
	title = anda_steppes_decision
	desc = pod1230objectives.202.desc
	theme = vampire
	left_portrait = {
		character = root
		animation = personality_bold
	}
	
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
	}

	option = {
		name = pod1230objectives.200.a
		
		custom_tooltip = POD_invasion_war_modifier_desc
		
		add_character_modifier = POD_invasion_war_modifier
			
		if = {
			limit = {
				NOT = { has_trait = conqueror }
			}
		POD_become_scripted_conqueror = yes
		}	
	}
	
	after = {
		every_player = {
			limit = {
				NOT = { this = root }
				capital_province = {
					geographical_region = world_asia
				}
				}				
		trigger_event = pod1230objectives.203
		}
	}
}

pod1230objectives.203 = {
	type = character_event
	content_source = dlc_POD
	title = anda_steppes_decision
	desc = pod1230objectives.202.desc
	theme = vampire
	left_portrait = {
		character = scope:victorious_anda
		animation = personality_bold
	}
	
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
		
	}

	option = {
		name = pod1230objectives.201.a
					
	}
}


pod1230objectives.204 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.204.t
	desc = pod1230objectives.204.desc
	theme = vampire
	left_portrait = {
		character = root
		animation = shock
	}
		
	immediate = {		
	}

	option = {
		name = pod1230objectives.204.a

		if = {
			limit = {
				has_trait = conqueror
			}
		remove_trait = conqueror 
		}

		if = {
			limit = {
				has_character_modifier = POD_invasion_war_modifier
			}
		remove_character_modifier = POD_invasion_war_modifier 
		}
		
		add_character_modifier = {
			modifier = broken_authority_modifier
			years = 25
		}
		
		custom_tooltip = anda_lost_momemtum_tt
					
	}

	after = {
		every_player = {
			limit = {
				NOT = { this = root }
				capital_province = {
					geographical_region = world_asia
				}
				}				
		trigger_event = pod1230objectives.205
		}
	}	
}

pod1230objectives.205 = {
	type = character_event
	content_source = dlc_POD
	title = pod1230objectives.204.t
	desc = pod1230objectives.204.desc
	theme = vampire
	
	immediate = {		
	}

	option = {
		name = pod1230objectives.205.a

		
		custom_tooltip = anda_lost_momemtum_tt
					
	}	
}

pod1230objectives.206 = {
	type = character_event
	content_source = dlc_POD
	title = anda_china_decision
	desc = pod1230objectives.206.desc
	theme = vampire
	left_portrait = {
		character = root
		animation = personality_bold
	}
	
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
	}

	option = {
		name = pod1230objectives.206.a
		
		if = {
			limit = {
				NOT = { 
					has_character_modifier = POD_invasion_war_modifier
				}
			}	
		custom_tooltip = POD_invasion_war_modifier_desc
		
		add_character_modifier = POD_invasion_war_modifier
		}	
			
		if = {
			limit = {
				NOT = { has_trait = conqueror }
			}
		POD_become_scripted_conqueror = yes
		}	
		
		add_gold = 1000
	}
	
	after = {
		every_player = {
			limit = {
				NOT = { this = root }
				capital_province = {
					geographical_region = world_asia
				}
				}				
		trigger_event = pod1230objectives.207
		}
	}
}

pod1230objectives.207 = {
	type = character_event
	content_source = dlc_POD
	title = anda_china_decision
	desc = pod1230objectives.206.desc
	theme = vampire
	left_portrait = {
		character = scope:victorious_anda
		animation = personality_bold
	}
	
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
		
	}

	option = {
		name = pod1230objectives.201.a
					
	}
}

pod1230objectives.208 = {
	type = character_event
	content_source = dlc_POD
	title = anda_final_decision
	desc = pod1230objectives.208.desc
	theme = vampire
	left_portrait = {
		character = root
		animation = personality_bold
	}
	
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
	}

	option = {
		name = pod1230objectives.208.a
		
		if = {
			limit = {
				NOT = { 
					has_character_modifier = POD_invasion_war_modifier
				}
			}	
		custom_tooltip = POD_invasion_war_modifier_desc
		
		add_character_modifier = POD_invasion_war_modifier
		}	
			
		if = {
			limit = {
				NOT = { has_trait = conqueror }
			}
		POD_become_scripted_conqueror = yes
		}	
		
		title:e_anda = { set_title_name = e_mongolia }
		title:e_goryeo = { set_de_jure_liege_title = title:h_anda }
		title:e_andong = { set_de_jure_liege_title = title:h_anda }
		title:e_anda = { set_de_jure_liege_title = title:h_anda }
		title:e_shadow_curtain = { set_de_jure_liege_title = title:h_anda }
		title:e_tartaria = { set_de_jure_liege_title = title:h_anda }

		title:h_china = {
			every_in_de_jure_hierarchy = {
				limit = {
					tier = tier_empire
				}
				set_de_jure_liege_title = title:h_anda
			}
		}	
		
		create_title_and_vassal_change = {
			type = created
			save_scope_as = change
			add_claim_on_loss = no
		}
		
		title:h_anda = {
			change_title_holder_include_vassals = {
				holder = root
				change = scope:change
			}
		}
		resolve_title_and_vassal_change = scope:change
		
		faith = {
			add_doctrine = secure_anda_doctrine
		}	

		add_character_modifier = {
			modifier = politically_secure_modifier
		}			
	}
	
	after = {
		every_player = {
			limit = {
				NOT = { this = root }
				capital_province = {
					geographical_region = world_asia
				}
				}				
		trigger_event = pod1230objectives.209
		}
	}
}

pod1230objectives.209 = {
	type = character_event
	content_source = dlc_POD
	title = anda_final_decision
	desc = pod1230objectives.208.desc
	theme = vampire
	left_portrait = {
		character = scope:victorious_anda
		animation = personality_bold
	}
	
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
		
	}

	option = {
		name = pod1230objectives.201.a
		
	}
}

pod1230objectives.210 = {
	type = character_event
	content_source = dlc_POD
	title = great_clan_victory_objective_decision
	desc = pod1230objectives.210.desc
	theme = vampire

	override_background = { reference = shader_event_yomi }
	
	widget = {
		gui = "POD_shader_event_yomi"
		container = "background_shader_vfx_container"
	}
	
	left_portrait = {
		character = scope:victorious_great_clan
		animation = personality_zealous
	}
	
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
		
	}

	option = {
		name = { # Regular
			trigger = {
				NOT = {
					this = character:793303
				}
			}
			text = pod1230objectives.210.a
		}
		name = { # kagaseo
			trigger = {
				this = character:793303				
			}
			text = pod1230objectives.210.b
		}
		
		if = {
			limit = {
				NOT = { has_trait = conqueror }
			}
			POD_become_scripted_conqueror = yes
		}
		title:e_japan = { set_title_name = e_conclave_stars }
		
		#Replace by defilement when done
		
		if = {
			limit = {
				NOT = { has_trait = daimonionadvanced }
			}
			assign_daimonion_effect = yes
		}
		
	}
}

pod1230objectives.211 = {
	type = character_event
	content_source = dlc_POD
	title = blood_tribe_victory_objective_decision
	desc = pod1230objectives.211.desc
	theme = vampire
	left_portrait = {
		character = root
		animation = personality_bold
	}
	
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
		
	}

	option = {
		name = { # Regular
			trigger = {
				NOR = {
					this = character:793304
					this = character:793312
				}
			}
			text = pod1230objectives.211.a
		}
		name = { # miyako
			trigger = {
				this = character:793304				
				}
			text = pod1230objectives.211.b
		}
		name = { # yoshino
			trigger = {
				this = character:793312				
				}
			text = pod1230objectives.211.c
		}			
		if = {
			limit = {
				NOT = { has_trait = conqueror }
			}
			POD_become_scripted_conqueror = yes 
		}
		
		primary_title = { set_title_name = e_blood_commune }
		
		faith = {
			add_doctrine = burning_faith_doctrine
		}		

		
	}
}

pod1230objectives.212 = {
	type = character_event
	content_source = dlc_POD
	title = kizoku_victory_objective_decision
	desc = pod1230objectives.212.desc
	theme = vampire
	left_portrait = {
		character = root
		animation = personality_bold
	}
	
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
		
	}

	option = {
		name = pod1230objectives.212.a	

		house ?= {
			add_house_modifier = house_bishamon_improved_modifier
		}

		add_prestige = 1000	
	}
	
	option = {
		name = pod1230objectives.212.b

		house ?= {
			add_house_modifier = house_genji_improved_modifier
		}

		add_gold = 1000
	}

	option = {
		name = pod1230objectives.212.c

		house ?= {
			add_house_modifier = house_iga_improved_modifier
		}

		add_prowess_skill = 10
	}

	option = {
		name = pod1230objectives.212.d
	
		house ?= {
			add_house_modifier = house_echizen_improved_modifier
		}
	
		add_piety = 1000
	}

	option = {
		name = pod1230objectives.212.e

		house ?= {
			add_house_modifier = house_taira_improved_modifier
		}

		add_legitimacy = 1000
	}	
}

pod1230objectives.213 = {
	type = character_event
	content_source = dlc_POD
	title = anh_victory_objective_decision
	desc = pod1230objectives.213.desc
	theme = vampire
	
	override_background = { reference = tgp_village_sea }
	
	left_portrait = {
		character = root
		animation = personality_bold
	}
	
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
		
	}

	option = {
		name = pod1230objectives.213.a

		title:e_nusantara = { set_title_name = e_blood_seas }
		
		hidden_effect = {
			every_county_in_region  = {
				region = world_asia_philippines
				
				every_county_province = {
					add_province_modifier = {
						modifier = POD_secure_seas_modifier
					}
				}
			}
		}

		custom_tooltip = anh_victory_objective_decision_effect_tooltip
	}
}


pod1230objectives.214 = {
	type = character_event
	content_source = dlc_POD
	title = anh_victory_objective_decision
	desc = pod1230objectives.214.desc
	theme = vampire
	left_portrait = {
		character = root
		animation = personality_bold
	}
	
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
		
	}

	option = {
		name = pod1230objectives.214.a
	
		house:house_kuntilanak = {
			remove_house_modifier = house_kuntilanak_modifier
			add_house_modifier = house_kuntilanak_improved_modifier
		}
		
	}
}


pod1230objectives.215 = {
	type = character_event
	content_source = dlc_POD
	title = sangun_victory_objective_decision
	desc = pod1230objectives.215.desc
	theme = vampire
	left_portrait = {
		character = root
		animation = personality_bold
	}
	
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
		
	}

	option = {
		name = pod1230objectives.215.a
	
		house:house_sangun = {
			add_house_modifier = dynasty_ventrue_modifier
		}
		
	}
}

pod1230objectives.216 = {
	type = character_event
	content_source = dlc_POD
	title = banpaia_victory_objective_decision
	desc = pod1230objectives.216.desc
	theme = vampire
	left_portrait = {
		character = root
		animation = personality_bold
	}
	
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
		
	}

	option = {
		name = pod1230objectives.216.a
		
		house:house_banpaia = {
			every_house_member = {
				set_character_faith = faith:tremerecode
			}		
		}
		
		#if = {
		#	limit = {
		#		NOT = { has_variable = influence_inner_council }
		#	}
		#custom_tooltip = tremere_council_entry_tt
		#
		#add_to_global_variable_list = {
		#	name = tremere_council_list
		#	target = root
		#}
		#
		#set_variable = {
		#	name = influence_inner_council
		#	value = 50
		#}
		#}
		if = {
			limit = { has_ep1_dlc_trigger = yes }
			create_artifact_corpus_hermeticum_effect = { OWNER = root TYPE = book }
		}
		else = {
			create_artifact_corpus_hermeticum_effect = { OWNER = root TYPE = miscellaneous_when_not_court }
		}
		add_character_modifier = prime_councilor_modifier	
	}
	
	option = {
		name = pod1230objectives.216.b
		
		every_courtier = {
			limit = {
				has_trait = gargoyle 
			}
		add_prowess_skill = 15
		}
		
	}
}

pod1230objectives.217 = {
	type = character_event
	content_source = dlc_POD
	title = ashen_grandmaster_kj_decision
	desc = pod1230objectives.217.desc
	theme = vampire
	
	left_portrait = {
		character = root
		animation = wu_shu_bao_quan_li
	}
	
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
		
	}

	option = {
		name = pod1230objectives.217.a
		
		trigger = {
			NOT = { 
				has_trait_xp = {
				trait = twilight_warrior
				value >= 100
			}
			}
		}			

		if = {
			limit = {
				NOT = {
					has_trait = twilight_warrior
				}
			}
		add_trait = twilight_warrior
		}
		
		else = {
			add_trait_xp = {
				trait = twilight_warrior
				value = 50
			}	
		}
		add_trait_xp = {
			trait = ashen_adventurer
			track = ashen_grandmaster
			value = -50
		}		
	}

	option = {
		name = pod1230objectives.217.b
		
		trigger = {
			NOT = { 
				has_trait_xp = {
				trait = midnight_warrior
				value >= 100
			}
			}	
		}
	
		if = {
			limit = {
				NOT = {
					has_trait = midnight_warrior
				}
			}
		add_trait = midnight_warrior
		}
		
		else = {
			add_trait_xp = {
				trait = midnight_warrior
				value = 50
			}	
		}
		add_trait_xp = {
			trait = ashen_adventurer
			track = ashen_grandmaster
			value = -50
		}		
	}
	
	option = {
		name = pod1230objectives.217.c
		
		trigger = {
			NOT = { 
				has_trait_xp = {
				trait = wayang_kulit
				value >= 100
			}
			}	
		}

		if = {
			limit = {
				NOT = {
					has_trait = wayang_kulit
				}
			}
		add_trait = wayang_kulit
		}
		
		else = {
			add_trait_xp = {
				trait = wayang_kulit
				value = 50
			}	
		}
		add_trait_xp = {
			trait = ashen_adventurer
			track = ashen_grandmaster
			value = -50
		}		
	}

	option = {
		name = pod1230objectives.217.d
				
	}	
}


pod1230objectives.218 = {
	type = character_event
	content_source = dlc_POD
	title = road_horizon_victory_objective_decision
	desc = pod1230objectives.218.desc
	theme = vampire
	left_portrait = {
		character = root
		animation = personality_bold
	}
	
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
		
	}

	option = {
		name = { # Regular
			trigger = {
				NOR = {
					this = character:793305
					this = character:793310
					this = character:793311
				}
			}
			text = pod1230objectives.218.a
		}
		name = { # asuka
			trigger = {
				this = character:793305				
				}
			text = pod1230objectives.218.b
		}
		name = { # naja
			trigger = {
				this = character:793310				
				}
			text = pod1230objectives.218.c
		}	
		name = { # indah
			trigger = {
				this = character:793311				
				}
			text = pod1230objectives.218.d
		}	
		
		#add quincunx participation as reward
		
		custom_tooltip = road_horizon_victory_objective_decision_effect_tooltip	
	}
	
}

pod1230objectives.219 = {
	type = character_event
	content_source = dlc_POD
	title = chibo_victory_objective_decision
	desc = pod1230objectives.219.desc
	theme = vampire
	left_portrait = {
		character = root
		animation = personality_bold
	}
	
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
		
	}

	option = {
		name = pod1230objectives.219.a
		
	create_artifact = {
		decaying = no	
		name = artifact_hand_mikaboshi_name
		description = artifact_hand_mikaboshi_description
		#category = inventory
		type = miscellaneous
		template = general_unique_template	
		visuals = medium_box	
		wealth = 90
		quality = 90
		modifier = artifact_scheme_resistance_mult_1_modifier				
		
		save_scope_as = newly_created_artifact
	}
	scope:newly_created_artifact = {
		set_variable = { name = historical_unique_artifact value = yes }
		set_variable = artifact_blood_magic_spell_success_25
		set_variable = artifact_blood_magic_ritual_speed_10
		set_variable = artifact_blood_magic_spell_defense_10
	}			
	}
	
}

pod1230objectives.220 = {
	type = character_event
	content_source = dlc_POD
	title = monomi_victory_objective_decision
	desc = pod1230objectives.220.desc
	theme = vampire
	left_portrait = {
		character = root
		animation = personality_bold
	}
	
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
		
	}

	option = {
		name = pod1230objectives.220.a
		
	create_artifact = {
		decaying = no	
		name = artifact_sword_stars_name
		description = artifact_sword_stars_description
		#category = inventory
		type = sword
		template = general_unique_template	
		visuals = sword	
		wealth = 90
		quality = 90
		modifier = sword_samiel_modifier	
	}		
	}
	
}


pod1230objectives.221 = {
	type = character_event
	content_source = dlc_POD
	title = bushi_victory_objective_decision
	desc = pod1230objectives.221.desc
	theme = vampire
	left_portrait = {
		character = root
		animation = personality_bold
	}
	
	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
		
	}

	option = {
		name = pod1230objectives.221.a
		
		random_relation = {
			type = soulmate
			
			limit = {
				has_trait = kueijin
			}
			
			death = { death_reason = death_execution }
		}	
		
		add_trait = hun_and_po
	}
	
}


