namespace = son_merc_company

character_event = {
	id = son_merc_company.0
	is_triggered_only = yes
	hide_window = yes
	
	immediate = {
		set_character_flag = wants_varangian
		father = {
			character_event = { id = son_merc_company.1 }
		}
	}
}
character_event = {
	id = son_merc_company.1
	desc = EVTDESCson_merc_company.1
	picture = GFX_evt_viking_throneroom_oldgods
	border = GFX_event_normal_frame_war
	
	is_triggered_only = yes
	
	option = { # Deny
		name = EVTOPTAson_merc_company.1
		FROM = {
			opinion = {
				modifier = opinion_very_disappointed
				years = 1
				who = ROOT
			}
			clr_character_flag = serving_varangian
			set_character_flag = denied_varangian
		}
		prestige = -25
	}
	option = { # Allow
		name = EVTOPTBson_merc_company.1
		random_independent_ruler = {
			limit = {
				primary_title = {
					OR = {
						title = d_south_alba_band
						title = d_acheron_band
						title = d_noctis_fossae_band
						title = d_valles_marineris_band
						title = d_xanthe_terra_band
						title = d_duzul_band
						title = d_tael_band
						title = d_karork_band
						title = d_gigas_sulci_band
					}
				}	
			}
			FROM = {
				move_character = PREV
			}
		}
		hidden_tooltip = {
			FROM = { 
				set_character_flag = serving_varangian
				character_event = { id = TOG.3108 days = 1750  random = 400 }
			}
		}
		prestige = 25
	}
}
character_event = {
	id = son_merc_company.2
	desc = EVTDESCson_merc_company.2
	picture = GFX_evt_viking_throneroom_oldgods
	border = GFX_event_normal_frame_war
	
	is_triggered_only = yes
	
	option = { # Deny
		name = EVTOPTAson_merc_company.2
		FROM = {
			opinion = {
				modifier = opinion_very_disappointed
				years = 1
				who = ROOT
			}
		}
		prestige = -25
	}
	option = { # Allow
		name = EVTOPTBson_merc_company.2
		random_independent_ruler = {
			limit = { mercenary = yes }
			FROM = {
				move_character = PREV
			}
		}
	}
}