capital = 551
OOB = "SUD_AFR"
set_research_slots = 2
set_technology = {
	###MOD ###
	###INF ###
	infantry_weapons = 1
	basic_train = 1
	early_fighter = 1
}

add_ideas = {
	Generic_Colonial_Nation_lesser
	SUD_khartoumer_spirit
	SUD_egyptianization
	SUD_darfur_tensions
}

set_popularities = {
	totalist = 0
	radical_socialist = 0
	syndicalist = 0
	social_democrat = 2
	social_liberal = 6
	market_liberal = 6
	social_conservative = 12
	authoritarian_democrat = 35
	paternal_autocrat = 27
	national_populist = 12
}


if = {
	limit = {
		is_ai = no
	}
	set_rule = {
		can_send_volunteers = yes
		can_be_spymaster = yes
		can_decline_call_to_war = yes
		can_not_declare_war = no
		can_puppet = yes
		units_deployed_to_overlord = yes
	}
}

EGY = {
	set_autonomy = {
		target = SUD
		autonomous_state = kr_colonial_government
	}
}

add_offsite_building = { type = industrial_complex level = 1 }

set_politics = {
	ruling_party = authoritarian_democrat
	last_election = "1888.6.15"
	election_frequency = 48
	elections_allowed = no
}

country_event = { id = sudnew.1 days = 1 }#Intro
EGY = { country_event = { id = sudnew.1 days = 14 } }

EGY = { country_event = { id = sudnew.20 days = 38 } }

country_event = { id = sudnew.6 days = 50 }#Cotton Devastation
EGY = { country_event = { id = sudnew.6 days = 50 } }

EGY = { country_event = { id = sudnew.55 days = 76 } }#The White Flag League and the Sudanese Compromise

country_event = { id = sudnew.7 days = 94 }#Ansar rumblings
EGY = { country_event = { id = sudnew.7 days = 94 } }

SUD = { country_event = { id = sudnew.33 days = 101 } }#Detribalised issue
EGY = { country_event = { id = sudnew.33 days = 101 } }

country_event = { id = sudnew.70 days = 111 }#Legacy of the Treaty of Aswan
EGY = { country_event = { id = sudnew.70 days = 111 } }

country_event = { id = sudnew.58 days = 124 }#The Tribes of the South
EGY = { country_event = { id = sudnew.58 days = 124 } }

country_event = { id = sudnew.4 days = 147 }#In Desert and Wilderness
EGY = { country_event = { id = sudnew.4 days = 147 } }
POL = { country_event = { id = sudnew.4 days = 147 } }
AUS = { country_event = { id = sudnew.4 days = 147 } }
GER = { country_event = { id = sudnew.4 days = 147 } }
GAL = { country_event = { id = sudnew.4 days = 147 } }

country_event = { id = sudnew.52 days = 171 }#War Against the Nuer
EGY = { country_event = { id = sudnew.52 days = 171 } }

country_event = { id = sudnew.12 days = 194 }#Darfur complaints
EGY = { country_event = { id = sudnew.12 days = 194 } }

country_event = { id = sudnew.60 days = 213 }#The Legacy of Slavery
EGY = { country_event = { id = sudnew.60 days = 213 } }
CEA = { country_event = { id = sudnew.60 days = 213 } }
ETH = { country_event = { id = sudnew.60 days = 213 } }

country_event = { id = sudnew.48 days = 232 }#Sinking of the Melik
EGY = { country_event = { id = sudnew.48 days = 232 } }
CAN = { country_event = { id = sudnew.48 days = 232 } }
GBR = { country_event = { id = sudnew.48 days = 232 } }
ENG = { country_event = { id = sudnew.48 days = 232 } }

country_event = { id = sudnew.13 days = 266 }#Khalwas radicalise
EGY = { country_event = { id = sudnew.13 days = 266 } }

country_event = { id = sudnew.14 days = 294 }#Azza fi Hawak
EGY = { country_event = { id = sudnew.14 days = 294 } }

country_event = { id = sudnew.66 days = 317 }#The Legacy of the Fur Sultanate
EGY = { country_event = { id = sudnew.66 days = 317 } }
CEA = { country_event = { id = sudnew.66 days = 317 } }
NFA = { country_event = { id = sudnew.66 days = 317 } }

country_event = { id = sudnew.39 days = 342 }#Completion of the Jabal Awlia dam with Austrian help
EGY = { country_event = { id = sudnew.39 days = 342 } }
AUS = { country_event = { id = sudnew.39 days = 342 } }

country_event = { id = sudnew.15 days = 388 }#Bog Barons
EGY = { country_event = { id = sudnew.15 days = 388 } }
CAN = { country_event = { id = sudnew.15 days = 388 } }
ENG = { country_event = { id = sudnew.15 days = 388 } }

country_event = { id = sudnew.34 days = 404 }#Publication of Azande book
EGY = { country_event = { id = sudnew.34 days = 404 } }
CAN = { country_event = { id = sudnew.34 days = 404 } }
ENG = { country_event = { id = sudnew.34 days = 404 } }

country_event = { id = sudnew.71 days = 426 }#The El-Fasher Festival of Drums
EGY = { country_event = { id = sudnew.71 days = 426 } }

country_event = { id = sudnew.9 days = 440 }#Gordon College
EGY = { country_event = { id = sudnew.9 days = 440 } }
ENG = { country_event = { id = sudnew.9 days = 440 } }
CAN = { country_event = { id = sudnew.9 days = 440 } }

country_event = { id = sudnew.16 days = 466 }#Sayyid Ali backs us
EGY = { country_event = { id = sudnew.15 days = 466 } }

country_event = { id = sudnew.65 days = 485 }#The Rise of Equatorial Nationalism
EGY = { country_event = { id = sudnew.65 days = 485 } }

country_event = { id = sudnew.40 days = 507 }#Growth of Syndicalism in Atbara
EGY = { country_event = { id = sudnew.40 days = 507 } }

country_event = { id = sudnew.17 days = 533 }#Restoration of Suakin
EGY = { country_event = { id = sudnew.17 days = 533 } }

country_event = { id = sudnew.50 days = 555 }#The Closed District Ordinances
EGY = { country_event = { id = sudnew.50 days = 555 } }

country_event = { id = sudnew.67 days = 571 }#Legacy of the Nyala Revolt
EGY = { country_event = { id = sudnew.67 days = 571 } }

country_event = { id = sudnew.38 days = 597 }#Duse Mohammed Ali calls for Nile valley unity
EGY = { country_event = { id = sudnew.38 days = 597 } }
MAF = { country_event = { id = sudnew.38 days = 597 } }
USA = { country_event = { id = sudnew.38 days = 597 } }
COR = { country_event = { id = sudnew.38 days = 597 } }
NGR = { country_event = { id = sudnew.38 days = 597 } }
ENG = { country_event = { id = sudnew.38 days = 597 } }
COR = { country_event = { id = sudnew.38 days = 597 } }
BBR = { country_event = { id = sudnew.38 days = 597 } }

country_event = { id = sudnew.42 days = 621 }#Strikes in Atbara
EGY = { country_event = { id = sudnew.42 days = 621 } }

country_event = { id = sudnew.18 days = 644 }#Anti-Greek riots
EGY = { country_event = { id = sudnew.18 days = 644 } }
TUR = { country_event = { id = sudnew.18 days = 644 } }
GRE = { country_event = { id = sudnew.18 days = 644 } }
ETH = { country_event = { id = sudnew.18 days = 644 } }

country_event = { id = sudnew.10 days = 665 }#Nuba wars
EGY = { country_event = { id = sudnew.10 days = 665 } }

country_event = { id = sudnew.53 days = 689 }#The Juba Debate
EGY = { country_event = { id = sudnew.53 days = 689 } }
ETH = { country_event = { id = sudnew.53 days = 689 } }
UGA = { country_event = { id = sudnew.53 days = 689 } }
CEA = { country_event = { id = sudnew.53 days = 689 } }

country_event = { id = sudnew.11 days = 724 }#CMS protests
EGY = { country_event = { id = sudnew.11 days = 724 } }
ENG = { country_event = { id = sudnew.11 days = 724 } }
CAN = { country_event = { id = sudnew.11 days = 724 } }
UGA = { country_event = { id = sudnew.11 days = 724 } }
KEN = { country_event = { id = sudnew.11 days = 724 } }
CEA = { country_event = { id = sudnew.11 days = 724 } }

country_event = { id = sudnew.37 days = 758 }#Publication of Black Man, White Gold
EGY = { country_event = { id = sudnew.37 days = 758 } }
CIV = { country_event = { id = sudnew.37 days = 758 } }
TOG = { country_event = { id = sudnew.37 days = 758 } }
MAF = { country_event = { id = sudnew.37 days = 758 } }
NGR = { country_event = { id = sudnew.37 days = 758 } }
COG = { country_event = { id = sudnew.37 days = 758 } }
USA = { country_event = { id = sudnew.37 days = 758 } }
COR = { country_event = { id = sudnew.37 days = 758 } }
BBR = { country_event = { id = sudnew.37 days = 758 } }

country_event = { id = sudnew.63 days = 781 }#Growing Power of the Verona Fathers
EGY = { country_event = { id = sudnew.63 days = 781 } }
AUS = { country_event = { id = sudnew.63 days = 781 } }
HUN = { country_event = { id = sudnew.63 days = 781 } }
PAP = { country_event = { id = sudnew.63 days = 781 } }
ITA = { country_event = { id = sudnew.63 days = 781 } }
SRD = { country_event = { id = sudnew.63 days = 781 } }
SIC = { country_event = { id = sudnew.63 days = 781 } }
SRI = { country_event = { id = sudnew.63 days = 781 } }

country_event = { id = sudnew.19 days = 803 }#Death of Angelo Capato
EGY = { country_event = { id = sudnew.19 days = 803 } }
GRE = { country_event = { id = sudnew.19 days = 803 } }
COG = { country_event = { id = sudnew.19 days = 803 } }
KTG = { country_event = { id = sudnew.19 days = 803 } }
UMN = { country_event = { id = sudnew.19 days = 803 } }
MSF = { country_event = { id = sudnew.19 days = 803 } }
KIV = { country_event = { id = sudnew.19 days = 803 } }
LPD = { country_event = { id = sudnew.19 days = 803 } }
ORT = { country_event = { id = sudnew.19 days = 803 } }
KAS = { country_event = { id = sudnew.19 days = 803 } }
KOG = { country_event = { id = sudnew.19 days = 803 } }
CEA = { country_event = { id = sudnew.19 days = 803 } }

country_event = { id = sudnew.56 days = 842 }##The Jonglei Canal Project
EGY = { country_event = { id = sudnew.56 days = 842 } }

country_event = { id = sudnew.35 days = 876 }#Increase in Hajj traffic
EGY = { country_event = { id = sudnew.35 days = 876 } }
CEA = { country_event = { id = sudnew.35 days = 876 } }
NFA = { country_event = { id = sudnew.35 days = 876 } }
MAF = { country_event = { id = sudnew.35 days = 876 } }
TUR = { country_event = { id = sudnew.35 days = 876 } }
CMR = { country_event = { id = sudnew.35 days = 876 } }
COG = { country_event = { id = sudnew.35 days = 876 } }
ZZB = { country_event = { id = sudnew.35 days = 876 } }
NGR = { country_event = { id = sudnew.35 days = 876 } }
CIV = { country_event = { id = sudnew.35 days = 876 } }
GHA = { country_event = { id = sudnew.35 days = 876 } }
IVO = { country_event = { id = sudnew.35 days = 876 } }

country_event = { id = sudnew.60 days = 895 }#The Legacy of Slavery
EGY = { country_event = { id = sudnew.60 days = 895 } }

country_event = { id = sudnew.49 days = 931 }#Anniversary of the Fashoda Incident
EGY = { country_event = { id = sudnew.49 days = 931 } }
NFA = { country_event = { id = sudnew.49 days = 931 } }
CAN = { country_event = { id = sudnew.49 days = 931 } }
GBR = { country_event = { id = sudnew.49 days = 931 } }
ENG = { country_event = { id = sudnew.49 days = 931 } }

country_event = { id = sudnew.64 days = 956 }#The Zandeland Proposal
EGY = { country_event = { id = sudnew.64 days = 956 } }

country_event = { id = sudnew.36 days = 976 }#Migrant farmer tensions
EGY = { country_event = { id = sudnew.36 days = 976 } }
IVO = { country_event = { id = sudnew.36 days = 976 } }
CIV = { country_event = { id = sudnew.36 days = 976 } }
NFA = { country_event = { id = sudnew.36 days = 976 } }
MAF = { country_event = { id = sudnew.36 days = 976 } }

country_event = { id = sudnew.54 days = 1003 }#The Rumbek School Proposal
EGY = { country_event = { id = sudnew.54 days = 1003 } }

country_event = { id = sudnew.51 days = 1044 }#Fate of the Equatoria Corps
EGY = { country_event = { id = sudnew.51 days = 1044 } }

country_event = { id = sudnew.57 days = 1078 }#The Malakiyya Issue
EGY = { country_event = { id = sudnew.57 days = 1078 } }
KEN = { country_event = { id = sudnew.57 days = 1078 } }
UGA = { country_event = { id = sudnew.57 days = 1078 } }
CEA = { country_event = { id = sudnew.57 days = 1078 } }
MAF = { country_event = { id = sudnew.57 days = 1078 } }

country_event = { id = sudnew.59 days = 1145 }#Hofrat en Naha Copper Mines
EGY = { country_event = { id = sudnew.59 days = 1145 } }

country_event = { id = sudnew.2 days = 1205 }#Four Feathers
ENG = { country_event = { id = sudnew.2 days = 1205 } }
CAN = { country_event = { id = sudnew.2 days = 1205 } }
EGY = { country_event = { id = sudnew.2 days = 1205 } }
HUN = { country_event = { id = sudnew.2 days = 1205 } }
AUS = { country_event = { id = sudnew.2 days = 1205 } }

country_event = { id = sudnew.62 days = 1276 }#The Breaking of the Anuak
EGY = { country_event = { id = sudnew.62 days = 1276 } }
ETH = { country_event = { id = sudnew.62 days = 1276 } }
ERI = { country_event = { id = sudnew.62 days = 1276 } }

country_event = { id = sudnew.69 days = 1326 }##Refurbishment of Aba Island
EGY = { country_event = { id = sudnew.69 days = 1326 } }

add_opinion_modifier = { target = TUR modifier = embargo }

set_cosmetic_tag = SUD_EGYPT

set_stability = 0.19
set_war_support = 0.09
add_political_power = -16
set_convoys = 18

create_country_leader = {#Ali Abd al-Latif
	name = "Ali Abd al-Latif"
	desc = "POLITICS_LATIF_DESC"
	picture = "gfx/leaders/SUD/Portrait_SUD_Al_Latif.png"
	expire = "1.1.1"
	ideology = authoritarian_liberalism_subtype
}
create_country_leader = {
	name = "Farouk I"
	picture = "gfx/leaders/EGY/Portrait_Egypt_Farouk.png"
	expire = "1.1.1"
	ideology = moderate_authoritarianism_subtype
}

create_country_leader = {#Abd al-Rahman al-Mahdi
	name = "Abd al-Rahman al-Mahdi"
	picture = "gfx/leaders/SUD/Portrait_SUD_Abd_Mahdi.png"
	expire = "1.1.1"
	ideology = fundementalism_subtype
}
create_country_leader = {#Abd al-Rahman al-Mahdi
	name = "Abd al-Rahman al-Mahdi"
	picture = "gfx/leaders/SUD/Portrait_SUD_Abd_Mahdi.png"
	expire = "1.1.1"
	ideology = natpop_islamism_subtype
}

add_ideas = {
	SUD_Siddick_Sayed_el_Mahdi_hog_ade
	SUD_Sayed_Abd_el_Rahman_el_Mahdi_for_ade
	SUD_Slah_Elzubir_eco_sde
	SUD_Farik_Ibrahim_Abboud_sec_sde
}
###Generals
create_field_marshal = {#Ali Abd al Latif
	name = "Ali Abd al Latif"
	portrait_path = "gfx/leaders/SUD/Portrait_SUD_Ali Abd_al_Latif.png"
	traits = {	defensive_doctrine	}
	id = 3359
	skill = 2
	attack_skill = 2
	defense_skill = 2
	planning_skill = 2
	logistics_skill = 1
}
create_corps_commander = {#El Ferik Ibrahim Abboud
	name = "El Ferik Ibrahim Abboud"
	portrait_path = "gfx/leaders/SUD/Portrait_SUD_Ibrahim_Abboud.png"
	traits = { fortress_buster infantry_officer }
	skill = 3
	attack_skill = 3
	defense_skill = 3
	planning_skill = 2
	logistics_skill = 2
}
create_field_marshal = {#Abd al-Rahman al-Mahdi
	name = "Abd al-Rahman al-Mahdi"
	portrait_path = "gfx/leaders/SUD/Portrait_SUD_Abd_Mahdi.png"
	traits = { politically_connected }
	id = 3356
	skill = 2
	attack_skill = 4
	defense_skill = 1
	planning_skill = 2
	logistics_skill = 1
}

