capital = 846
OOB = "empty"
set_research_slots = 2
set_technology = {
	### General ###
	electronic_mechanical_engineering = 1
	### Infantry ###
	infantry_weapons = 1
	basic_train = 1
	infantry_weapons1 = 1
	tech_support = 1
}

if = {
	limit = { has_dlc = "By Blood Alone" }
		set_air_oob = "MLY_air_bba"
		set_technology = {
			aa_lmg = 1
			early_bombs = 1
			engines_1 = 1
			iw_small_airframe = 1
		}
	else = {
		set_air_oob = "MLY_air_legacy"
		set_technology = {
			early_fighter = 1
		}
	}
}

### Navy - MtG ###

if = {
	limit = {
		has_dlc = "Man the Guns"
	}
	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
		
		### Transport ###
		mtg_transport = 1
	}
}

### Navy - Non MtG ###

if = {
	limit = {
		NOT = {
			has_dlc = "Man the Guns"
		}
	}
	set_technology = {
		early_destroyer = 1
		basic_destroyer = 1
		early_light_cruiser = 1
		basic_light_cruiser = 1
		
		transport = 1
	}
}

add_ideas = {
	MLY_Ibrahim_I_of_Johor_hog_ade
	MLY_Lee_Kuan_Yew_for_ade
	MLY_Hassan_Yunus_eco_pau
	MLY_Ibrahim_bin_Haji_Yaacob_sec_npo
}

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

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

create_country_leader = {
	name = "Ahmad Fuad Hassan"
	picture = "gfx/leaders/MLY/Portrait_Malaya_Ahmad_Fuad_Hassan.png"
	expire = "1.1.1"
	ideology = natpop_islamism_subtype
}
create_country_leader = { 
	name = "Ibrahim I of Johor"
	picture = "gfx/leaders/MLY/Portrait_Malaya_Ibrahim_I_Johor.png"
	expire = "1.1.1"
	ideology = absolute_monarchy_subtype
}
create_country_leader = {
	name = "Abu Bakar al-Baqir"
	picture = "gfx/leaders/MLY/Portrait_Malaya_Abu_Bakar_Al_Baqir.png"
	expire = "1.1.1"
	ideology = islamism_subtype
}
create_country_leader = {
	name = "Tunku Abdul Rahman"
	picture = "gfx/leaders/MLY/Portrait_Malaya_Tunku_Abdul_Rahman.png"
	expire = "1.1.1"
	ideology = soccon_islamism_subtype
}
create_country_leader = {
	name = "Haji Embok Suloh"
	picture = "gfx/leaders/MLY/Portrait_Malaya_Haji_Embok_Suloh.png"
	expire = "1.1.1"
	ideology = marlib_classical_liberalism_subtype
}
create_country_leader = {
	name = "Onn Jaafar"
	picture = "gfx/leaders/MLY/Portrait_Malaya_Onn_Jafaar.png"
	expire = "1.1.1"
	ideology = meritocratic_liberalism_subtype
}
create_country_leader = {
	name = "Mustapha Hussain"
	picture = "gfx/leaders/MLY/Portrait_Malaya_Mustapha_Hussain.png"
	expire = "1.1.1"
	ideology = socdem_radical_progressivism_subtype
}
create_country_leader = {
	name = "Yusof bin Ishak"
	picture = "gfx/leaders/MLY/Portrait_Malaya_Yusof_bin_Ishak.png"
	expire = "1.1.1"
	ideology = moderate_socialist_subtype
}
create_country_leader = {
	name = "Ibrahim Yaacob"
	picture = "gfx/leaders/MLY/Portrait_Malaya_Ibrahim_Yaacob.png"
	expire = "1.1.1"
	ideology = syn_developing_leftism_subtype
}
create_country_leader = {
	name = "Burhanuddin al Helmy"
	picture = "gfx/leaders/MLY/Portrait_Malaya_Burhanuddin_Al_Helmy.png"
	expire = "1.1.1"
	ideology = tot_islamic_socialism_subtype
}