###############################
# Soissons reconquest events
#
# SOS.1 -> SOS.17, SOS.40
###############################

namespace = SOS

### Lost Roman Provinces

# Provincia Syria Palaestina
narrative_event = {
	id = SOS.1
	title = EVTNAMESOS.1
	desc = EVTDESCSOS.1
	
	picture = GFX_evt_victory_arch_byzantine
	
	ai = no
	has_dlc = "Legacy of Rome"
	
	trigger = {
		primary_title = {
			title = k_soissons
		}
		OR = {
			religion_group = christian
			religion_group = pagan_group
		}
		NOT = { has_global_flag = soissons_syria_palaestina }
		completely_controls_region = custom_diocese_oriens
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = EVTOPTASOS.1
		set_global_flag = soissons_syria_palaestina
		prestige = 100
	}
}

# Provincia Aegyptus
narrative_event = {
	id = SOS.2
	title = EVTNAMESOS.2
	desc = EVTDESCSOS.2
	
	picture = GFX_evt_victory_arch_byzantine
	
	ai = no
	has_dlc = "Legacy of Rome"
	
	trigger = {
		primary_title = {
			title = k_soissons
		}
		OR = {
			religion_group = christian
			religion_group = pagan_group
		}
		NOT = { has_global_flag = soissons_aegyptus }
		completely_controls_region = custom_diocese_aegyptus
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = EVTOPTASOS.1
		set_global_flag = soissons_aegyptus
		prestige = 100
	}
}

# Provincia Cyrenaica et Creta
narrative_event = {
	id = SOS.3
	title = EVTNAMESOS.3
	desc = EVTDESCSOS.3
	
	picture = GFX_evt_victory_arch_byzantine
	
	ai = no
	has_dlc = "Legacy of Rome"
	
	trigger = {
		primary_title = {
			title = k_soissons
		}
		OR = {
			religion_group = christian
			religion_group = pagan_group
		}
		NOT = { has_global_flag = soissons_cyrenaica }
		completely_controls = d_cyrenaica
		completely_controls = d_krete
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = EVTOPTASOS.1
		set_global_flag = soissons_cyrenaica
		prestige = 100
	}
}

# Provincia Africa
narrative_event = {
	id = SOS.4
	title = EVTNAMESOS.4
	desc = EVTDESCSOS.4
	
	picture = GFX_evt_victory_arch_byzantine
	
	ai = no
	has_dlc = "Legacy of Rome"
	
	trigger = {
		primary_title = {
			title = k_soissons
		}
		OR = {
			religion_group = christian
			religion_group = pagan_group
		}
		NOT = { has_global_flag = soissons_africa }
		completely_controls = d_tripolitania
		completely_controls = d_carthago
		completely_controls = d_leptis_magna
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = EVTOPTASOS.1
		set_global_flag = soissons_africa
		prestige = 100
	}
}

# Provincia Illyricum
narrative_event = {
	id = SOS.5
	title = EVTNAMESOS.5
	desc = EVTDESCSOS.5
	
	picture = GFX_evt_victory_arch_byzantine
	
	ai = no
	has_dlc = "Legacy of Rome"
	
	trigger = {
		primary_title = {
			title = k_soissons
		}
		OR = {
			religion_group = christian
			religion_group = pagan_group
		}
		NOT = { has_global_flag = soissons_illyricum }
		completely_controls_region = custom_diocese_pannoniae
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = EVTOPTASOS.1
		set_global_flag = soissons_illyricum
		prestige = 100
	}
}

# Provincia Italia
narrative_event = {
	id = SOS.6
	title = EVTNAMESOS.6
	desc = EVTDESCSOS.6
	
	picture = GFX_evt_victory_arch_byzantine
	
	ai = no
	has_dlc = "Legacy of Rome"
	
	trigger = {
		primary_title = {
			title = k_soissons
		}
		OR = {
			religion_group = christian
			religion_group = pagan_group
		}
		NOT = { has_global_flag = soissons_italia }
		completely_controls_region = custom_diocese_italia_annonaria
		completely_controls_region = custom_diocese_italia_suburbicaria
		completely_controls_region = custom_diocese_raetia_noricum
	}
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = EVTOPTASOS.1
		set_global_flag = soissons_italia
		prestige = 100
	}
}

# Provincia Sicilia
narrative_event = {
	id = SOS.15
	title = EVTNAMESOS.15
	desc = EVTDESCSOS.15
	
	picture = GFX_evt_victory_arch_byzantine
	
	ai = no
	has_dlc = "Legacy of Rome"
	
	trigger = {
		primary_title = {
			title = k_soissons
		}
		OR = {
			religion_group = christian
			religion_group = pagan_group
		}
		NOT = { has_global_flag = soissons_sicilia }
		completely_controls = d_sicily
	}
	mean_time_to_happen = {
		days = 1
	}
	
	
	option = {
		name = EVTOPTASOS.1
		set_global_flag = soissons_sicilia
		prestige = 50
	}
}

# Provincia Corsica et Sardinia
narrative_event = {
	id = SOS.16
	title = EVTNAMESOS.16
	desc = EVTDESCSOS.16
	
	picture = GFX_evt_victory_arch_byzantine
	
	ai = no
	has_dlc = "Legacy of Rome"
	
	trigger = {
		primary_title = {
			title = k_soissons
		}
		OR = {
			religion_group = christian
			religion_group = pagan_group
		}
		NOT = { has_global_flag = soissons_sardinia }
		completely_controls = d_sardinia
	}
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = EVTOPTALoR.1
		set_global_flag = soissons_sardinia
		prestige = 50
	}
}

# Provincia Viennensis
narrative_event = {
	id = SOS.17
	title = EVTNAMESOS.17
	desc = EVTDESCSOS.17
	
	picture = GFX_evt_victory_arch_byzantine
	
	ai = no
	has_dlc = "Legacy of Rome"
	
	trigger = {
		primary_title = {
			title = k_soissons
		}
		OR = {
			religion_group = christian
			religion_group = pagan_group
		}
		NOT = { has_global_flag = soissons_viennensis }
		completely_controls_region = custom_diocese_sevenprovinces
	}
	mean_time_to_happen = {
		days = 1
	}
	
	
	option = {
		name = EVTOPTALoR.1
		set_global_flag = soissons_viennensis
		prestige = 100
	}
}

# Provincia Gallia
narrative_event = {
	id = SOS.7
	title = EVTNAMESOS.7
	desc = EVTDESCSOS.7
	
	picture = GFX_evt_victory_arch_byzantine
	
	ai = no
	has_dlc = "Legacy of Rome"
	
	trigger = {
		primary_title = {
			title = k_soissons
		}
		OR = {
			religion_group = christian
			religion_group = pagan_group
		}
		NOT = { has_global_flag = soissons_gallia }
		completely_controls_region = custom_diocese_gallia
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = EVTOPTASOS.1
		set_global_flag = soissons_gallia
		prestige = 100
	}
}

# Provincia Germania
narrative_event = {
	id = SOS.8
	title = EVTNAMESOS.8
	desc = EVTDESCSOS.8
	
	picture = GFX_evt_victory_arch_byzantine
	
	ai = no
	has_dlc = "Legacy of Rome"
	
	trigger = {
		primary_title = {
			title = k_soissons
		}
		OR = {
			religion_group = christian
			religion_group = pagan_group
		}
		NOT = { has_global_flag = soissons_germania }
		completely_controls_region = custom_diocese_germania_magna
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = EVTOPTASOS.1
		set_global_flag = soissons_germania
		prestige = 100
	}
}

# Provincia Britannia
narrative_event = {
	id = SOS.9
	title = EVTNAMESOS.9
	desc = EVTDESCSOS.9
	
	picture = GFX_evt_victory_arch_byzantine
	
	ai = no
	has_dlc = "Legacy of Rome"
	
	trigger = {
		primary_title = {
			title = k_soissons
		}
		OR = {
			religion_group = christian
			religion_group = pagan_group
		}
		NOT = { has_global_flag = soissons_britannia }
		completely_controls_region = custom_diocese_britannia
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = EVTOPTALoR.1
		set_global_flag = soissons_britannia
		prestige = 100
	}
}

# Provincia Hispania
narrative_event = {
	id = SOS.10
	title = EVTNAMESOS.10
	desc = EVTDESCSOS.10
	
	picture = GFX_evt_victory_arch_byzantine
	
	ai = no
	has_dlc = "Legacy of Rome"
	
	trigger = {
		primary_title = {
			title = k_soissons
		}
		OR = {
			religion_group = christian
			religion_group = pagan_group
		}
		NOT = { has_global_flag = soissons_hispania }
		completely_controls_region = custom_diocese_hispaniae
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = EVTOPTASOS.1
		set_global_flag = soissons_hispania
		prestige = 100
	}
}

# Provincia Mauretania
narrative_event = {
	id = SOS.11
	title = EVTNAMESOS.11
	desc = EVTDESCSOS.11
	
	picture = GFX_evt_victory_arch_byzantine
	
	ai = no
	has_dlc = "Legacy of Rome"
	
	trigger = {
		primary_title = {
			title = k_soissons
		}
		OR = {
			religion_group = christian
			religion_group = pagan_group
		}
		NOT = { has_global_flag = soissons_mauretania }
		completely_controls = d_caesariensis
		completely_controls = d_sitifensis
		completely_controls = d_numidia
		completely_controls = d_numidiamilitiana
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = EVTOPTASOS.1
		set_global_flag = soissons_mauretania
		prestige = 100
	}
}

# Provincia Mesopotamia
narrative_event = {
	id = SOS.12
	title = EVTNAMESOS.12
	desc = EVTDESCSOS.12
	
	picture = GFX_evt_victory_arch_byzantine
	
	ai = no
	
	trigger = {
		primary_title = {
			title = k_soissons
		}
		OR = {
			religion_group = christian
			religion_group = pagan_group
		}
		NOT = { has_global_flag = soissons_mesopotamia }
		completely_controls_region = custom_diocese_mesopotamia
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = EVTOPTASOS.1
		set_global_flag = soissons_mesopotamia
		prestige = 100
	}
}

# Provincia Caledonia
narrative_event = {
	id = SOS.13
	title = EVTNAMESOS.13
	desc = EVTDESCSOS.13
	
	picture = GFX_evt_victory_arch_byzantine
	
	ai = no
	has_dlc = "Legacy of Rome"
	
	trigger = {
		primary_title = {
			title = k_soissons
		}
		OR = {
			religion_group = christian
			religion_group = pagan_group
		}
		NOT = { has_global_flag = soissons_caledonia }
		completely_controls_region = custom_diocese_caledonia
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = EVTOPTASOS.1
		set_global_flag = soissons_caledonia
		prestige = 100
	}
}

# Provincia Hibernia
narrative_event = {
	id = SOS.14
	title = EVTNAMESOS.14
	desc = EVTDESCSOS.14
	
	picture = GFX_evt_victory_arch_byzantine
	
	ai = no
	has_dlc = "Legacy of Rome"
	
	trigger = {
		primary_title = {
			title = k_soissons
		}
		OR = {
			religion_group = christian
			religion_group = pagan_group
		}
		NOT = { has_global_flag = soissons_hibernia }
		completely_controls_region = custom_diocese_hibernia
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = EVTOPTALoR.1
		set_global_flag = soissons_hibernia
		prestige = 100
	}
}

### Roman Borders Restored

# Roman Borders
narrative_event = {
	id = SOS.40
	title = EVTNAMESOS.40
	desc = EVTDESCSOS.40
	
	picture = GFX_evt_rome_restored_byzantine
	
	ai = no
	has_dlc = "Legacy of Rome"
	
	trigger = {
		primary_title = {
			title = k_soissons
		}
		OR = {
			religion_group = christian
			religion_group = pagan_group
		}
		NOT = { has_global_flag = soissons_roman_borders }
		
		completely_controls_region = custom_imperium_romanum
	}
	
	immediate = {
		if = {
			limit = {
				ai = no
			}
			set_character_flag = achievement_spqr
		}
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = EVTOPTALoR.40
		set_global_flag = roman_borders
		prestige = 1000
	}
}