capital = 459
oob = "NFA"

set_research_slots = 2
set_convoys = 50
set_stability = 0.37
set_war_support = 0.25
starting_train_buffer = 2.0

if = {
	limit = {
		NOT = { has_dlc = "No Step Back" }
	}
	set_technology = {
		gwtank = 1
		basic_light_tank = 1
	}
}
if = {
	limit = {
		has_dlc = "No Step Back"
	}
	set_technology = {
		gwtank_chassis = 1
		basic_light_tank_chassis = 1
		engine_tech_1 = 1
	}
}

set_technology = {
	### MOD ###
	basic_train = 1
	### Tanks ###
	gwtank = 1
	basic_light_tank = 1
	### INF ###
	infantry_weapons = 1
	infantry_weapons1 = 1
	tech_support = 1
	tech_engineers = 1
	tech_mountaineers = 1
	tech_military_police = 1
	tech_trucks = 1
	motorised_infantry = 1
	marines = 1
	gw_artillery = 1
	interwar_antiair = 1
	### Camels ###
	camelry = 1
}

if = {
	limit = { has_dlc = "By Blood Alone" }
		set_air_oob = "FAR_air_bba"
		set_technology = {
			aa_lmg = 1
			early_bombs = 1
			engines_1 = 1
			iw_small_airframe = 1
			iw_medium_airframe = 1
			iw_large_airframe = 1
		}
	else = {
		set_air_oob = "FAR_air_legacy"
		set_technology = {
			early_fighter = 1
			naval_bomber1 = 1
			early_bomber = 1
			tactical_bomber1 = 1
			CAS1 = 1
			cv_early_fighter = 1
			cv_naval_bomber1 = 1
			cv_CAS1 = 1
		}
	}
}

if = {
	limit = {
		has_dlc = "La Resistance"
	}
	set_technology = {
		armored_car1 = 1
	}
	load_oob = "NFA_armored_cars"
}

### Offsite Factories ###
add_offsite_building = {
	type = arms_factory
	level = 1
}

add_offsite_building = {
	type = industrial_complex
	level = 2
}

### Navy - MtG ###
set_technology = {
	early_ship_hull_light = 1
	basic_ship_hull_light = 1
	early_ship_hull_cruiser = 1
	basic_ship_hull_cruiser = 1
	panzerschiffe = 1
	early_ship_hull_submarine = 1
	basic_ship_hull_submarine = 1
	early_ship_hull_carrier = 1
	basic_ship_hull_carrier = 1
	early_ship_hull_heavy = 1
	basic_ship_hull_heavy = 1
	coastal_defense_ships = 1
	pre_dreadnoughts = 1
	
	basic_naval_mines = 1

	## Modules##
	basic_battery = 1
	basic_light_battery = 1
	
	basic_heavy_battery = 1
	basic_depth_charges = 1
	basic_torpedo = 1
	improved_ship_torpedo_launcher = 1
	basic_cruiser_armor_scheme = 1
	basic_heavy_armor_scheme = 1
	sonar = 1

	### Transport ###
	mtg_transport = 1
}

create_country_leader = {
	name = "Paul Béchard"
	picture = "gfx/leaders/NFA/Portrait_NFA_Paul_Bechard.png"
	expire = "1.1.1"
	ideology = socdem_colonial_govt_subtype
	traits = {
		sec_health_and_safety
	}
}

create_country_leader = {
	name = "Paul Béchard"
	picture = "gfx/leaders/NFA/Portrait_NFA_Paul_Bechard.png"
	expire = "1.1.1"
	ideology = soclib_colonial_govt_subtype
	traits = {
		sec_health_and_safety
	}
}

create_country_leader = {
	name = "Félix Eboué"
	picture = "gfx/leaders/CAF/Portrait_CAF_Felix_Eboue.png"
	expire = "1.1.1"
	ideology = marlib_colonial_govt_subtype
	traits = {
		sec_man_of_the_people
	}
}

create_country_leader = {
	name = "Félix Eboué"
	picture = "gfx/leaders/CAF/Portrait_CAF_Felix_Eboue.png"
	expire = "1.1.1"
	ideology = soccon_colonial_govt_subtype
	traits = {
		sec_man_of_the_people
	}
}

create_country_leader = {
	name = "Marcel Peyrouton"
	picture = "gfx/leaders/NFA/Portrait_NFA_Marcel_Peyrouton.png"
	expire = "1.1.1"
	ideology = colonial_govt_subtype
	traits = {
		sec_prince_of_terror
	}
}

create_country_leader = {
	name = "Marcel Peyrouton"
	picture = "gfx/leaders/NFA/Portrait_NFA_Marcel_Peyrouton.png"
	expire = "1.1.1"
	ideology = autocratic_colonial_govt_subtype
	traits = {
		sec_prince_of_terror
	}
}

create_country_leader = {
	name = "Marcel Peyrouton"
	picture = "gfx/leaders/NFA/Portrait_NFA_Marcel_Peyrouton.png"
	expire = "1.1.1"
	ideology = militarism_subtype
	traits = {
		sec_prince_of_terror
	}
}

### Political Parties

set_party_name = {
	ideology = totalist
	name = "MPADP"
	long_name = "Mouvement Pan-Africains pour le Droit des Peuples (Léninistes)"
}

set_party_name = {
	ideology = syndicalist
	name = "MPADP"
	long_name = "Mouvement Pan-Africains pour le Droit des Peuples (Syndicaliste Agraire)"
}

set_party_name = {
	ideology = radical_socialist
	name = "MPADP"
	long_name = "Mouvement Pan-Africains pour le Droit des Peuples (Marxistes Modérés)"
}

set_party_name = {
	ideology = social_democrat
	name = "Gouvernement Colonial Français"
	long_name = "Gouvernement Colonial de Françafrique (Faction Socialiste)"
}

set_party_name = {
	ideology = social_liberal
	name = "Gouvernement Colonial Français"
	long_name = "Gouvernement Colonial de Françafrique (Faction Radicale)"
}

set_party_name = {
	ideology = market_liberal
	name = "Gouvernement Colonial Français"
	long_name = "Gouvernement Colonial de Françafrique (Faction des Evolués)"
}

set_party_name = {
	ideology = social_conservative
	name = "Gouvernement Colonial Français"
	long_name = "Gouvernement Colonial de Françafrique (Faction Nativiste Collaborationniste)"
}

set_party_name = {
	ideology = authoritarian_democrat
	name = "Gouvernement Colonial Français"
	long_name = "Gouvernement Colonial de Françafrique (Faction Traditionelle)"
}

set_party_name = {
	ideology = paternal_autocrat
	name = "Gouvernement Colonial Français"
	long_name = "Gouvernement Colonial de Françafrique (Faction Paternaliste)"
}

set_party_name = {
	ideology = national_populist
	name = "Gouvernement Colonial Français"
	long_name = "Gouvernement Colonial de Françafrique (Faction Militariste)"
}


set_politics = {
	ruling_party = authoritarian_democrat
	last_election = "1930.11.9"
}

set_cosmetic_tag = NFA_AFRICA

set_popularities = {
	totalist = 0
	radical_socialist = 0
	syndicalist = 0
	social_democrat = 26
	social_liberal = 7
	market_liberal = 6
	social_conservative = 24
	authoritarian_democrat = 8
	paternal_autocrat = 27
	national_populist = 2
}



add_equipment_to_stockpile = {
	type = infantry_equipment_0
	amount = 1000
	producer = NFA
}

if = {
	limit = {
		has_dlc = "No Step Back"
	}
	create_equipment_variant = {
		name = "Renault FT"
		type = light_tank_chassis_0
		parent_version = 0
		modules = {
			main_armament_slot = tank_small_cannon
			turret_type_slot = tank_light_one_man_tank_turret
			suspension_type_slot = tank_bogie_suspension
			armor_type_slot = tank_riveted_armor
			engine_type_slot = tank_gasoline_engine
		}
		upgrades = {
			tank_nsb_engine_upgrade = 1
			tank_nsb_armor_upgrade = 2
		}
		obsolete = yes
	}
	
	create_equipment_variant = {
		name = "H-35" #due to similar design this also covers R-35
		type = light_tank_chassis_1
		parent_version = 0
		modules = {
			main_armament_slot = tank_small_cannon
			turret_type_slot = tank_light_one_man_tank_turret
			suspension_type_slot = tank_bogie_suspension
			armor_type_slot = tank_cast_armor
			engine_type_slot = tank_gasoline_engine
		}
		upgrades = {
			tank_nsb_engine_upgrade = 2
			tank_nsb_armor_upgrade = 4
		}
		icon = "gfx/interface/technologies/FRA_basic_light_tank.png"
	}
	
	create_equipment_variant = {
		name = "Char B1" 
		type = heavy_tank_chassis_0
		parent_version = 0
		modules = {
			main_armament_slot = tank_medium_howitzer
			turret_type_slot = tank_heavy_fixed_superstructure_turret
			suspension_type_slot = tank_bogie_suspension
			armor_type_slot = tank_riveted_armor
			engine_type_slot = tank_gasoline_engine
			special_type_slot_1 = tank_radio_1
			special_type_slot_2 = secondary_turret_small_cannon
		}
		upgrades = {
			tank_nsb_engine_upgrade = 6
			tank_nsb_armor_upgrade = 4
		}
		icon = "gfx/interface/technologies/FRA_basic_heavy_tank.png"
	}
}

NFA_start_naval_variant = yes
