capital = 559
OOB = "SOM"
set_naval_oob = "SOM_naval"
set_research_slots = 2

set_technology = {
	### Tanks ###
	### Infantry ###
	infantry_weapons = 1
	basic_train = 1
	tech_support = 1
	tech_engineers = 1
	gw_artillery = 1
}

if = {
	limit = { has_dlc = "By Blood Alone" }
		set_air_oob = "SOM_air_bba"
		set_technology = {
			aa_lmg = 1
			early_bombs = 1
			engines_1 = 1
			iw_small_airframe = 1
		}
	else = {
		set_air_oob = "SOM_air_legacy"
		set_technology = {
			early_fighter = 1
		}
	}
}
### Navy - MtG ###
set_technology = {
	early_ship_hull_light = 1
	basic_ship_hull_light = 1
	early_ship_hull_cruiser = 1
	basic_ship_hull_cruiser = 1
	
	basic_naval_mines = 1

	## Modules##
	basic_battery = 1
	basic_light_battery = 1
	smoke_generator = 1
}

set_stability = 0.19
set_war_support = 0.27
add_political_power = 14
add_offsite_building = { type = industrial_complex level = 1 }
add_offsite_building = { type = arms_factory level = 1 }

country_event = {id = som.1 days = 1 }
country_event = {id = som.23 days = 90 }

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

set_popularities = {
	totalist = 1
	radical_socialist = 0
	syndicalist = 5
	social_democrat = 2
	social_liberal = 5
	market_liberal = 5
	social_conservative = 10
	authoritarian_democrat = 47
	paternal_autocrat = 11
	national_populist = 14
}
set_convoys = 30
add_ideas = {
	SOM_iron_fist_of_warsangali
	SOM_foodplease
	extensive_conscription
	SOM_Cismaan_III_Maxamuud_hog_ade
	SOM_Abdullah_Mohamed_Fadil_for_ade
	SOM_Mohamoud_Ghelle_Yusuf_eco_ade
	SOM_Ismail_Ali_Abukar_sec_ade
}

create_country_leader = {
	name = "Mohamed Siad Barre"
	desc = "POLITICS_BARRE_DESC"
	picture = "gfx/leaders/SOM/Portrait_SOM_Mohamed_Siad_Barre.png"
	expire = "1.1.1"
	ideology = red_junta_subtype
}

create_country_leader = {
	name = "Mohamed Siad Barre"
	desc = "POLITICS_BARRE_DESC"
	picture = "gfx/leaders/SOM/Portrait_SOM_Mohamed_Siad_Barre.png"
	expire = "1.1.1"
	ideology = centralized_syndicalism_subtype
}

create_country_leader = {
	name = "Mohamed Siad Barre"
	desc = "POLITICS_BARRE_DESC"
	picture = "gfx/leaders/SOM/Portrait_SOM_Mohamed_Siad_Barre.png"
	expire = "1.1.1"
	ideology = radsoc_pan_somalism_subtype
}

create_country_leader = {
	name = "Haji Bashir Ismail Yusuf"
	picture = "gfx/leaders/SOM/Portrait_SOM_Haji_Bashir_Ismail_Yusuf.png"
	desc = "POLITICS_BASHIR_YUSUF_SOM_DESC"
	expire = "1.1.1"
	ideology = socdem_pan_somalism_subtype
}

create_country_leader = {
	name = "Abdirashid Ali Shermarke"
	desc = "POLITICS_ALI_SHERMARKE_DESC"
	picture = "gfx/leaders/SOM/Portrait_SOM_Abdirashid_Ali_Shermarke.png"
	expire = "1.1.1"
	ideology = soclib_pan_somalism_subtype
}

create_country_leader = {
	name = "Aden Abdulle Osman Daar"
	desc = ""
	picture = "gfx/leaders/SOM/Portrait_SOM_Aden_Daar.png"
	expire = "1.1.1"
	ideology = marlib_pan_somalism_subtype
}

create_country_leader = {
	name = "Maxamuud Cali Shiire"
	desc = "POLITICS_ALI_SHIRE_DESC"
	picture = "gfx/leaders/SOM/Portrait_SOM_Ali_Shire.png"
	expire = "1.1.1"
	ideology = soccon_tribal_chiefdom_subtype
}

create_country_leader = {
	name = "Maxamuud Cali Shiire"
	desc = "POLITICS_ALI_SHIRE_DESC"
	picture = "gfx/leaders/SOM/Portrait_SOM_Ali_Shire.png"
	expire = "1.1.1"
	ideology = tribal_chiefdom_subtype
}

create_country_leader = {
	name = "Maxamuud Cali Shiire"
	desc = "POLITICS_ALI_SHIRE_DESC"
	picture = "gfx/leaders/SOM/Portrait_SOM_Ali_Shire.png"
	expire = "1.1.1"
	ideology = pataut_tribal_chiefdom_subtype
}

create_country_leader = {
	name = "Haaji Mahammad Husseen"
	desc = "POLITICS_HAAJI_MAHAMMAD_DESC"
	picture = "gfx/leaders/SOM/Portrait_SOM_Haaji.png"
	expire = "1.1.1"
	ideology = natpop_pan_somalism_subtype
}

### Field Marshals ###

create_field_marshal = {
	name = "Boqor Mohammed Ali Shire"
	portrait_path = "gfx/leaders/SOM/Portrait_SOM_Ali_Shire.png"
	traits = {
		war_hero
		old_guard
		logistics_wizard
	}
	skill = 2
	attack_skill = 1
	defense_skill = 2
	planning_skill = 1
	logistics_skill = 3
	id = 21417
}

### Corp Commanders ###

create_corps_commander = {
	name = "Mohamed Siad Barre "
	portrait_path = "gfx/leaders/SOM/Portrait_SOM_Mohamed_Siad_Barre.png"
	traits = {
		career_officer
		harsh_leader
		trickster
		hidden_sympathies
	}
	skill = 2
	attack_skill = 2
	defense_skill = 2
	planning_skill = 1
	logistics_skill = 2
	id = 21418
}

create_corps_commander = {
	name = "Ismail Mire Elmi"
	portrait_path = "gfx/leaders/SOM/Portrait_SOM_Ismail_Mire_Elmi.png"
	traits = {
		cavalry_officer
		old_guard
	}
	skill = 2
	attack_skill = 1
	defense_skill = 2
	planning_skill = 2
	logistics_skill = 2
}

create_corps_commander = {
	name = "Cusmaan Yuusuf Keenadiid"
	portrait_path = "gfx/leaders/SOM/Portrait_SOM_Osman_Yusuf_Kenadid.png"
	traits = {
		politically_connected
		trait_cautious
		desert_fox
	}
	skill = 2
	attack_skill = 2
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 3
}

create_corps_commander = {
	name = "Ughaz Abdi II Warfa"
	portrait_path = "gfx/leaders/SOM/Portrait_SOM_Ughaz.png"
	traits = {
		politically_connected
		cavalry_officer
		commando
	}
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

### Admirals ###
create_navy_leader = {
	name = "Suldaan Cismaan III Maxamuud"
	portrait_path = "gfx/leaders/SOM/Portrait_SOM_Cismaan_III_Maxamuud.png"
	traits = {
		spotter
	}
	skill = 1
	attack_skill = 1
	defense_skill = 1
	maneuvering_skill = 1
	coordination_skill = 1
}

SOM_start_naval_variant = yes
