﻿
namespace = 0s_immortal_guard_event

0s_immortal_guard_event.0001 = {
	type = character_event
	title = 0s_immortal_guard_event.0001.t
	desc = 0s_immortal_guard_event.0001.d
	theme = emperor
	
	override_background = { reference = "throne_room" }
	
	left_portrait = {
		character = root
		animation = personality_honorable
	}

	right_portrait = {
		character = scope:immortal_guard_leader
		animation = celebrate_axe
	}

	immediate = {
		play_music_cue = "mx_cue_epic_sacral_moment"
		0s_immortal_guard_scripted_effect = yes
		every_ruler = {
			limit = {
				is_landed = yes
				this != root
				faith != root.faith
			}
			trigger_event = {
				id = 0s_immortal_guard_event.0002
				days = { 2 5 }
			}
		}
	}

	option = {
		name = 0s_immortal_guard_event.0001.a
	}
}

#followup event for different faiths
0s_immortal_guard_event.0002 = {
	type = character_event
	title = 0s_immortal_guard_event.0002.t
	desc = 0s_immortal_guard_event.0002.d
	theme = crown
	
	override_background = {
		reference = armory
	}
	
	left_portrait = {
		character = scope:persian_ruler
		animation = personality_bold
	}
	
	right_portrait = {
		character = root
		animation = shock
	}
	
	immediate = {
		play_music_cue = "mx_cue_crusade_starts"
	}

	option = {
		name = 0s_immortal_guard_event.0002.a
	}
}