capital = 547
OOB = "KEN_AFR"

starting_train_buffer = 2.0

set_technology = {
	### MOD ###
	basic_train = 1
	### INF ###
	infantry_weapons = 1
	infantry_weapons1 = 1
	tech_support = 1
	tech_recon = 1
	tech_engineers = 1
	tech_trucks = 1
	motorised_infantry = 1
	gw_artillery = 1
}

if = {
	limit = { has_dlc = "By Blood Alone" }
		#set_air_oob = "KEN_air_bba"

		set_technology = {
			aa_lmg = 1
			early_bombs = 1
			engines_1 = 1
			iw_small_airframe = 1
			air_torpedoe_1 = 1
		}
		MAF_MINOR_BBA_air_variants = yes
	else = {
		#set_air_oob = "KEN_air_legacy"
		set_technology = {
			early_fighter = 1
		}
	}
}

set_country_flag = KX_no_naval_tech_decision_enable

add_ideas = {
	GBR_Colonial_Government
	KEN_the_land_crisis
	KEN_settlers_strengthened
	KEN_boom
	KEN_Maumau
}
add_ideas = {
	KEN_Charles_Christopher_Fowkes_hog_ade
	KEN_Harry_Edward_Wetherall_for_ade
	KEN_William_Dimoline_eco_ade
	KEN_Alfred_Reade_Godwin_sec_ade
}

set_cosmetic_tag = KEN_GBR

UGA = { give_military_access = KEN } #representing access to the Lunatic Line and Mombasa

add_offsite_building = { type = industrial_complex level = 1 }

set_stability = 0.08
set_war_support = 0.17
add_political_power = -34
set_convoys = 20

set_research_slots = 2

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

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
	}
}

country_event = { id = kenia.1 days = 1 } #Intro to Kenya
MAF = { country_event = { id = kenia.1 days = 25 } }

country_event = { id = kenia.2 days = 14 } #Mau Maus
MAF = { country_event = { id = kenia.2 days = 13 } }
UGA = { country_event = { id = kenia.2 days = 14 } }

country_event = { id = kenia.101 days = 12 } #Squatter murders
MAF = { country_event = { id = kenia.101 days = 102 } }

country_event = { id = kenia.110 days = 24 } #Legco Wrangling
MAF = { country_event = { id = kenia.110 days = 47 } }
GER = { country_event = { id = kenia.110 days = 47 } }

country_event = { id = kenia.117 days = 45 } #Black Monday
MAF = { country_event = { id = kenia.117 days = 56 } }

country_event = { id = kenia.121 days = 68 } #Vigilance Committee
MAF = { country_event = { id = kenia.121 days = 118 } }
GER = { country_event = { id = kenia.121 days = 118 } }

country_event = { id = kenia.105 days = 84 } #Anti-Kipande protests
MAF = { country_event = { id = kenia.105 days = 124 } }

country_event = { id = ugken.23 days = 98 } #Mad Jack on the Attack
MAF = { country_event = { id = ugken.23 days = 98 } }
GER = { country_event = { id = ugken.23 days = 98 } }

country_event = { id = kenia.118 days = 108 } #Mass-Unemployment and Riots
MAF = { country_event = { id = kenia.118 days = 108 } }
UGA = { country_event = { id = kenia.118 days = 108 } }

country_event = { id = kenia.59 days = 123 } #The East African Montezuma
MAF = { country_event = { id = kenia.59 days = 323 } }

country_event = { id = kenia.106 days = 139 } #RVA march
MAF = { country_event = { id = kenia.106 days = 139 } }

country_event = { id = kenia.119 days = 161 } #Coffee burning
MAF = { country_event = { id = kenia.119 days = 161 } }
UGA = { country_event = { id = kenia.119 days = 161 } }

country_event = { id = kenia.115 days = 205 } #Anglo-German friendship
MAF = { country_event = { id = kenia.115 days = 205 } }
ZZB = { country_event = { id = kenia.115 days = 205 } }
UGA = { country_event = { id = kenia.115 days = 205 } }
MLW = { country_event = { id = kenia.115 days = 205 } }
GER = { country_event = { id = kenia.115 days = 205 } }
CAN = { country_event = { id = kenia.115 days = 205 } }

country_event = { id = kenia.111 days = 234 } #Indians complaining
MAF = { country_event = { id = kenia.111 days = 234 } }

country_event = { id = kenia.102 days = 275 } #Baden Powell speech
MAF = { country_event = { id = kenia.102 days = 275 } }
CAN = { country_event = { id = kenia.102 days = 275 } }
GER = { country_event = { id = kenia.102 days = 275 } }
ZIM = { country_event = { id = kenia.102 days = 275 } }
GHA = { country_event = { id = kenia.102 days = 275 } }
NGR = { country_event = { id = kenia.102 days = 275 } }
UGA = { country_event = { id = kenia.102 days = 275 } }
MLW = { country_event = { id = kenia.102 days = 275 } }
ZAM = { country_event = { id = kenia.102 days = 275 } }
BSC = { country_event = { id = kenia.102 days = 275 } }
ZZB = { country_event = { id = kenia.102 days = 275 } }
SIE = { country_event = { id = kenia.102 days = 275 } }
ZIM = { country_event = { id = kenia.102 days = 275 } }
SAF = { country_event = { id = kenia.102 days = 275 } }

country_event = { id = kenia.107 days = 304 } #Lamu Report
MAF = { country_event = { id = kenia.107 days = 304 } }
GER = { country_event = { id = kenia.107 days = 304 } }

country_event = { id = kenia.55 days = 321 } #The Aristocrats of Kenya
MAF = { country_event = { id = kenia.55 days = 321 } }

country_event = { id = kenia.113 days = 355 } #Out of Africa
MAF = { country_event = { id = kenia.113 days = 355 } }
KIK = { country_event = { id = kenia.113 days = 355 } }
ENG = { country_event = { id = kenia.113 days = 355 } }
CAN = { country_event = { id = kenia.113 days = 355 } }
GER = { country_event = { id = kenia.113 days = 355 } }
DEN = { country_event = { id = kenia.113 days = 355 } }
NGR = { country_event = { id = kenia.113 days = 355 } }
GHA = { country_event = { id = kenia.113 days = 355 } }
UGA = { country_event = { id = kenia.113 days = 355 } }
MLW = { country_event = { id = kenia.113 days = 355 } }
BSC = { country_event = { id = kenia.113 days = 355 } }
ZAM = { country_event = { id = kenia.113 days = 355 } }
ZZB = { country_event = { id = kenia.113 days = 355 } }
SIE = { country_event = { id = kenia.113 days = 355 } }
ZIM = { country_event = { id = kenia.113 days = 355 } }
SAF = { country_event = { id = kenia.113 days = 355 } }

country_event = { id = kenia.42 days = 377 } #Collapse of the Bowring Committee
UGA = { country_event = { id = kenia.42 days = 377 } }
MAF = { country_event = { id = kenia.42 days = 377 } }
GER = { country_event = { id = kenia.42 days = 377 } }

KEN = { country_event = { id = mittel.125 days = 395 } }#Kenyan Church is in shambles due to circumcision
MAF = { country_event = { id = mittel.125 days = 395 } }
GER = { country_event = { id = mittel.125 days = 395 } }
ENG = { country_event = { id = mittel.125 days = 395 } }
CAN = { country_event = { id = mittel.125 days = 395 } }
KIK = { country_event = { id = mittel.125 days = 395 } }

country_event = { id = kenia.116 days = 444 } #Rumours of return to Mombasa

country_event = { id = kenia.43 days = 467 } #Split in the Legion of Frontiersmen
UGA = { country_event = { id = kenia.43 days = 467 } }
MAF = { country_event = { id = kenia.43 days = 467 } }
GER = { country_event = { id = kenia.43 days = 467 } }

country_event = { id = kenia.49 days = 479 } #The Kakamega Dispute
MAF = { country_event = { id = kenia.49 days = 479 } }
GER = { country_event = { id = kenia.49 days = 479 } }

country_event = { id = kenia.120 days = 500 } #Return of Leakey from England
MAF = { country_event = { id = kenia.120 days = 500 } }
KIK = { country_event = { id = kenia.120 days = 500 } }
UGA = { country_event = { id = kenia.120 days = 500 } }
ZZB = { country_event = { id = kenia.120 days = 500 } }
MLW = { country_event = { id = kenia.120 days = 500 } }
BSC = { country_event = { id = kenia.120 days = 500 } }
ZAM = { country_event = { id = kenia.120 days = 500 } }
ZIM = { country_event = { id = kenia.120 days = 500 } }
SAF = { country_event = { id = kenia.120 days = 500 } }
SIE = { country_event = { id = kenia.120 days = 500 } }
ENG = { country_event = { id = kenia.120 days = 500 } }
CAN = { country_event = { id = kenia.120 days = 500 } }

country_event = { id = kenia.41 days = 529 } #John William Arthur Leaves Kenya
MAF = { country_event = { id = kenia.41 days = 529 } }
ENG = { country_event = { id = kenia.41 days = 529 } }
SCT = { country_event = { id = kenia.41 days = 529 } }

country_event = { id = kenia.44 days = 554 } #Rise of the Kenyan Dini Ya Roho
MAF = { country_event = { id = kenia.44 days = 554 } }
GER = { country_event = { id = kenia.44 days = 554 } }
KIK = { country_event = { id = kenia.44 days = 554 } }

country_event = { id = kenia.104 days = 587 } #Mombasa press
MAF = { country_event = { id = kenia.104 days = 587 } }
ZZB = { country_event = { id = kenia.104 days = 587 } }
KIK = { country_event = { id = kenia.104 days = 587 } }

country_event = { id = kenia.54 days = 602 } #The Watson Report
MAF = { country_event = { id = kenia.54 days = 602 } }
GER = { country_event = { id = kenia.54 days = 602 } }

country_event = { id = kenia.34 days = 632 } #Tourism boom in East Africa
MAF = { country_event = { id = kenia.34 days = 632 } }
KIK = { country_event = { id = kenia.34 days = 632 } }
GER = { country_event = { id = kenia.34 days = 632 } }
UGA = { country_event = { id = kenia.34 days = 632 } }
ZZB = { country_event = { id = kenia.34 days = 632 } }

country_event = { id = kenia.109 days = 686 } #Kedong Monument
KIK = { country_event = { id = kenia.109 days = 686 } }
MAF = { country_event = { id = kenia.109 days = 686 } }
GER = { country_event = { id = kenia.109 days = 686 } }
NFA = { country_event = { id = kenia.109 days = 686 } }
FRA = { country_event = { id = kenia.109 days = 686 } }

country_event = { id = kenia.103 days = 727 } #Big bloody lions in Tsavo
KIK = { country_event = { id = kenia.103 days = 727 } }
MAF = { country_event = { id = kenia.103 days = 727 } }
UGA = { country_event = { id = kenia.103 days = 727 } }
ZZB = { country_event = { id = kenia.103 days = 727 } }

country_event = { id = kenia.46 days = 748 } #The Gusii Civil War in Kenya
MAF = { country_event = { id = kenia.46 days = 748 } }
GER = { country_event = { id = kenia.46 days = 748 } }
KIK = { country_event = { id = kenia.46 days = 748 } }

country_event = { id = kenia.112 days = 783 } #Piraeus beauties
UGA = { country_event = { id = kenia.112 days = 783 } }
KIK = { country_event = { id = kenia.112 days = 783 } }
MAF = { country_event = { id = kenia.112 days = 783 } }
GER = { country_event = { id = kenia.112 days = 783 } }

country_event = { id = kenia.58 days = 821 } #The Kenya Society for the Study of Race Improvement
MAF = { country_event = { id = kenia.58 days = 821 } }

country_event = { id = kenia.108 days = 845 } #Through Masai Land
UGA = { country_event = { id = kenia.108 days = 845 } }
KIK = { country_event = { id = kenia.108 days = 845 } }
MAF = { country_event = { id = kenia.108 days = 845 } }
ENG = { country_event = { id = kenia.108 days = 845 } }
CAN = { country_event = { id = kenia.108 days = 845 } }
GER = { country_event = { id = kenia.108 days = 845 } }
NGR = { country_event = { id = kenia.108 days = 845 } }
GHA = { country_event = { id = kenia.108 days = 845 } }
MLW = { country_event = { id = kenia.108 days = 845 } }
BSC = { country_event = { id = kenia.108 days = 845 } }
ZAM = { country_event = { id = kenia.108 days = 845 } }
ZZB = { country_event = { id = kenia.108 days = 845 } }
SIE = { country_event = { id = kenia.108 days = 845 } }
ZIM = { country_event = { id = kenia.108 days = 845 } }
SAF = { country_event = { id = kenia.108 days = 845 } }

country_event = { id = kenia.48 days = 866 } #Kenyan Soda Ash Exports Soar
MAF = { country_event = { id = kenia.48 days = 866 } }
GER = { country_event = { id = kenia.48 days = 866 } }

country_event = { id = kenia.35 days = 901 } #Death of Wellington
MAF = { country_event = { id = kenia.35 days = 901 } }
KIK = { country_event = { id = kenia.35 days = 901 } }
UGA = { country_event = { id = kenia.35 days = 901 } }
MLW = { country_event = { id = kenia.35 days = 901 } }
BSC = { country_event = { id = kenia.35 days = 901 } }
ZAM = { country_event = { id = kenia.35 days = 901 } }
COG = { country_event = { id = kenia.35 days = 901 } }
KTG = { country_event = { id = kenia.35 days = 901 } }
ZZB = { country_event = { id = kenia.35 days = 901 } }
ZIM = { country_event = { id = kenia.35 days = 901 } }

country_event = { id = kenia.45 days = 947 } #Closure of Fort Jesus Prison
ZZB = { country_event = { id = kenia.45 days = 947 } }
POR = { country_event = { id = kenia.45 days = 947 } }
PAF = { country_event = { id = kenia.45 days = 947 } }
MAF = { country_event = { id = kenia.45 days = 947 } }
GER = { country_event = { id = kenia.45 days = 947 } }
KIK = { country_event = { id = kenia.45 days = 947 } }

country_event = { id = kenia.50 days = 981 } #Makhan Singh Deported from East Africa
MAF = { country_event = { id = kenia.50 days = 981 } }
GER = { country_event = { id = kenia.50 days = 981 } }
UGA = { country_event = { id = kenia.50 days = 981 } }
BHC = { country_event = { id = kenia.50 days = 981 } }
FRA = { country_event = { id = kenia.50 days = 981 } }
ENG = { country_event = { id = kenia.50 days = 981 } }

country_event = { id = kenia.53 days = 1024 } #Anniversary of the Teleki Expedition
MAF = { country_event = { id = kenia.53 days = 1024 } }
GER = { country_event = { id = kenia.53 days = 1024 } }
ZZB = { country_event = { id = kenia.53 days = 1024 } }
AUS = { country_event = { id = kenia.53 days = 1024 } }
HUN = { country_event = { id = kenia.53 days = 1024 } }

country_event = { id = kenia.114 days = 1049 } #White Man's Country
MAF = { country_event = { id = kenia.114 days = 1049 } }
KIK = { country_event = { id = kenia.114 days = 1049 } }
ENG = { country_event = { id = kenia.114 days = 1049 } }
CAN = { country_event = { id = kenia.114 days = 1049 } }
GER = { country_event = { id = kenia.114 days = 1049 } }
NGR = { country_event = { id = kenia.114 days = 1049 } }
GHA = { country_event = { id = kenia.114 days = 1049 } }
UGA = { country_event = { id = kenia.114 days = 1049 } }
BSC = { country_event = { id = kenia.114 days = 1049 } }
ZAM = { country_event = { id = kenia.114 days = 1049 } }
ZZB = { country_event = { id = kenia.114 days = 1049 } }
SIE = { country_event = { id = kenia.114 days = 1049 } }
ZIM = { country_event = { id = kenia.114 days = 1049 } }
SAF = { country_event = { id = kenia.114 days = 1049 } }

country_event = { id = kenia.47 days = 1076 } #Death of Alibhai Mulla Jeevanjee
ZZB = { country_event = { id = kenia.47 days = 1076 } }
UGA = { country_event = { id = kenia.47 days = 1076 } }
DEH = { country_event = { id = kenia.47 days = 1076 } }
PRF = { country_event = { id = kenia.47 days = 1076 } }
BHC = { country_event = { id = kenia.47 days = 1076 } }
MAF = { country_event = { id = kenia.47 days = 1076 } }
GER = { country_event = { id = kenia.47 days = 1076 } }
KIK = { country_event = { id = kenia.47 days = 1076 } }

country_event = { id = kenia.33 days = 1133 } #Brewing
MAF = { country_event = { id = kenia.33 days = 1133 } }
KIK = { country_event = { id = kenia.33 days = 1133 } }
UGA = { country_event = { id = kenia.33 days = 1133 } }
GER = { country_event = { id = kenia.33 days = 1133 } }
GEA = { country_event = { id = kenia.33 days = 1133 } }
ZZB = { country_event = { id = kenia.33 days = 1133 } }
MAG = { country_event = { id = kenia.33 days = 1133 } }

country_event = { id = kenia.52 days = 1199 } #Poaching Violence in Taru
MAF = { country_event = { id = kenia.52 days = 1199 } }
GER = { country_event = { id = kenia.52 days = 1199 } }

country_event = { id = kenia.51 days = 1287 } #African Sisal Production Booms
MAF = { country_event = { id = kenia.51 days = 1287 } }
GER = { country_event = { id = kenia.51 days = 1287 } }
UGA = { country_event = { id = kenia.51 days = 1287 } }

country_event = { id = kenia.56 days = 1443 } #The Murder of Lord Erroll
MAF = { country_event = { id = kenia.56 days = 1443 } }

country_event = { id = kenia.57 days = 1498 } #guilty
MAF = { country_event = { id = kenia.57 days = 1498 } }

	set_popularities = {
		totalist = 0
		radical_socialist = 4
		syndicalist = 5
		social_democrat = 7
		social_liberal = 7
		market_liberal = 11
		social_conservative = 28
		authoritarian_democrat = 18
		paternal_autocrat = 12
		national_populist = 8
	}
	create_country_leader = {
		name = "Jack Churchill"
		desc = "POLITICS_MADJACK_DESC"
		picture = "gfx/leaders/KEN/KEN_Jack_Churchill.png"
		expire = "1.1.1"
		ideology = militarism_subtype
		traits = {}
	}

	create_country_leader = {
	name = "Richard Meinertzhagen"
	desc = "POLITICS_MEINERTZHAGEN_DESC"
	picture = "gfx/leaders/KEN/KEN_Richard_Meinertzhagen.png"
	expire = "1.1.1"
	ideology = soccon_colonial_govt_subtype 
	traits = {}
	}

	create_country_leader = {
		name = "Hugh Cholmondeley"
		desc = "POLITICS_DELAMERE_DESC"
		picture = "gfx/leaders/KEN/Portrait_KEN_Delamere.png"
		expire = "1.1.1"
		ideology = authdem_toryism_subtype 
		traits = {}
	}
	
	create_country_leader = {
		name = "Ferdinand Cavendish-Bentinck"
		desc = "POLITICS_CAVENDISH_BENTINCK_DESC"
		picture = "gfx/leaders/KEN/Portrait_KEN_Cavendish.png"
		expire = "1.1.1"
		ideology = liberal_conservative_subtype
		traits = {}
	}

	create_country_leader = {
		name = "Rea Leaky"
		desc = "POLITICS_REA_LEAKY_DESC"
		picture = "gfx/leaders/KEN/Portrait_Kenya_Rea_Leaky.png"
		expire = "1.1.1"
		ideology = marlib_colonial_govt_subtype 
		traits = {}
	}	
	
create_field_marshal = {
	name = "Rea Leaky"
	portrait_path = "gfx/leaders/KEN/Portrait_Kenya_Rea_Leaky.png"
	traits = {
		offensive_doctrine
		trickster
		desert_fox
	}
	skill = 2
	attack_skill = 1
	defense_skill = 2
	planning_skill = 1
	logistics_skill = 3
}

create_corps_commander = {
	name = "Digby Tatham-Warter"
	portrait_path = "gfx/leaders/KEN/KEN_Digby_Tatham-Warter.png"
	traits = {
		commando
	}
	skill = 3
	attack_skill = 2
	defense_skill = 2
	planning_skill = 3
	logistics_skill = 3
}

create_corps_commander = {
	name = "Derek Anthony Seagrim"
	portrait_path = "gfx/leaders/KEN/KEN_Derek_Anthony_Seagrim.png"
	traits = {
		career_officer
		war_hero
	}
	skill = 1
	attack_skill = 1
	defense_skill = 2
	planning_skill = 1
	logistics_skill = 3
}

create_corps_commander = {
	name = "Philip Euen Mitchell"
	portrait_path = "gfx/leaders/KEN/KEN_Philip_Euen_Mitchell.png"
	traits = {
		old_guard
		war_hero
	}
	skill = 3
	attack_skill = 4
	defense_skill = 3
	planning_skill = 2
	logistics_skill = 3
}

create_corps_commander = {
	name = "Reginald Wingate"
	portrait_path = "gfx/leaders/KEN/KEN_Reginald_Wingate.png"
	traits = {
		old_guard
		commando
	}
	skill = 2
	attack_skill = 2
	defense_skill = 2
	planning_skill = 2
	logistics_skill = 3
}
create_corps_commander = {
	name = "Jack Churchill"
	portrait_path = "gfx/leaders/KEN/KEN_Jack_Churchill.png"
	traits = {
		commando
		jungle_rat
		swordbearer
	}
	skill = 3
	attack_skill = 3
	defense_skill = 3
	planning_skill = 2
	logistics_skill = 3
	id = 34508
}

