capital = 266

oob = "PER_1936"
if = {
	limit = { has_dlc = "By Blood Alone" }
		set_air_oob = "PER_1936_air_bba"
	else = {
		set_air_oob = "PER_1936_air_legacy"
		set_technology = {
			early_fighter = 1
		}
	}
}

# Starting tech

IF = {
	limit = {
		has_dlc = "Graveyard of Empires"
	}

	set_technology = {
		infantry_weapons = 1
		tech_support = 1
		gw_artillery = 1
	}

	ELSE = {
		set_technology = {
			infantry_weapons = 1
			tech_support = 1
			gw_artillery = 1
		}
	}
	## This is a placeholder name until the player picks a fascist party to form
	set_party_name = {
		ideology = fascism
		name = PER_ultra_nationalists
		long_name = PER_ultra_nationalists_long
	}
}

### VARIABLES ###

### VARIABLES FOR POPULARITY ###
set_variable = { PER_democratic_popularity = 20 }
set_variable = { PER_communism_popularity = 5 }
set_variable = { PER_neutrality_popularity = 60 }
set_variable = { PER_fascism_popularity = 15 }

### VARIABLES FOR AIRFORCE ###

set_variable = { PER_airforce_modifier_air_doctrine_cost_factor = 0 }
set_variable = { PER_airforce_modifier_air_ace_generation_chance_factor = 0 }
set_variable = { PER_airforce_modifier_air_range_factor = 0 }
set_variable = { PER_airforce_modifier_air_superiority_efficiency = 0 }
set_variable = { PER_airforce_modifier_air_intercept_efficiency = 0 }
set_variable = { PER_airforce_modifier_air_mission_xp_gain_factor = 0 }
set_variable = { PER_airforce_modifier_air_agility_factor = 0 }
set_variable = { PER_airforce_modifier_ground_attack_factor = 0 }
set_variable = { PER_airforce_modifier_experience_gain_air = 0.2 }
set_variable = { PER_army_modifier_industrial_capacity_factory_airfoce = 0 }
set_variable = { PER_airforce_modifier_conscription_factor = 0 }
set_variable = { PER_airforce_modifier_air_strategic_bomber_bombing_factor = 0 }
set_variable = { PER_airforce_modifier_air_cas_present_factor = 0 }
set_variable = { PER_airforce_modifier_air_defence_factor = 0 }

### VARIABLES FOR LEGACY OF GREATNESS ###

set_variable = { PER_legacy_pp = 0.02 }
set_variable = { PER_legacy_research = 0 }
set_variable = { PER_legacy_civ = 0.05 }
set_variable = { PER_legacy_stability = 0}
set_variable = { PER_legacy_consumer_goods = 0}
set_variable = { PER_legacy_industrial_capacity_factory = 0}
set_variable = { PER_legacy_infra = 0}
set_variable = { PER_legacy_factory_efficiency = 0}
set_variable = { PER_legacy_conscription = 0}

### VARIABLES FOR STAND WITH GIANTS ###

set_variable = { PER_giants_pp = 0.02 }
set_variable = { PER_giants_research = 0 }
set_variable = { PER_giants_civ = 0 }
set_variable = { PER_giants_stability = 0.05 }
set_variable = { PER_giants_consumer_goods = 0}
set_variable = { PER_giants_industrial_capacity_factory = 0}
set_variable = { PER_giants_infra = 0}
set_variable = { PER_giants_factory_efficiency = 0}
set_variable = { PER_giants_conscription = 0}
set_variable = { PER_giants_mils = 0 }
set_variable = { PER_giants_training_time = 0 }


### Variables for opposition modifier
set_variable = { PER_opposition_political_power_factor = -0.1 }
set_variable = { PER_opposition_research_speed_factor = 0 }
set_variable = { PER_opposition_stability_factor = -0.1 }
set_variable = { PER_opposition_conscription_factor = -0.05 }
set_variable = { PER_opposition_fascism_drift = 0.02 }
set_variable = { PER_opposition_communism_drift = 0.02 }
set_variable = { PER_opposition_democratic_drift = 0.02 }
set_variable = { PER_army_core_defence_factor = 0 }
set_variable = { PER_army_core_attack_factor = 0 }
set_variable = { PER_fascist_militia_count = 4 }

### VARIABLES FOR OFFENSIVE TACTICS ###
set_variable = { PER_sub_unit_infantry_attack_factor = 0.1 }
set_variable = { PER_sub_unit_infantry_irregular_attack_factor = 0.1 }
set_variable = { PER_army_defence_factor = -0.05 }

### VARIABLES FOR DEFENSIVE MANEUVRES ###
set_variable = { PER_sub_unit_infantry_defence_factor = 0.1 }
set_variable = { PER_sub_unit_infantry_irregular_defence_factor = 0.1 }
set_variable = { PER_army_attack_factor = -0.05 }

### VARIABLES FOR SPECIAL FORCES ###
set_variable = { PER_special_units_special_forces = 0.15 }
set_variable = { PER_spec_force_training = -0.15 }

### VARIABLES FOR TECHNOLOGICAL MODIFIER ###
set_variable = { PER_technological_modifier_research_speed_factor = 0 }
set_variable = { PER_technological_modifier_special_project_speed_factor = 0 }
set_variable = { PER_technological_modifier_production_cost_air_facility_factor = 0 }
set_variable = { PER_technological_modifier_production_cost_land_facility_factor = 0 }
set_variable = { PER_technological_modifier_production_cost_naval_facility_factor = 0 }
set_variable = { PER_technological_modifier_production_cost_nuclear_facility_factor = 0 }

IF = {
	limit = {
		has_dlc = "Graveyard of Empires"
	}
	add_ideas = PER_anglo_iranian_oil_ns
	add_ideas = PER_rural_feudalism_ns
	add_ideas = PER_islamic_traditions_ns
	add_ideas = PER_azerbaijan_resistance_idea
	add_ideas = PER_kurdistan_resistance_idea

	recruit_character = PER_reza_shah_pahlavi
	recruit_character = PER_mohammed_reza_pahlavi
	recruit_character = PER_mohammad_hassan_mirza
	recruit_character = PER_mohammad_ali_foroughi
	recruit_character = PER_ali_dashti
	recruit_character = PER_zia_ol_din_tabatabee
	recruit_character = PER_mohammad_mosaddegh
	recruit_character = PER_iraj_eskandari
	recruit_character = PER_soleiman_eskandari
	recruit_character = PER_ruhollah_khomeini
	recruit_character = PER_fakhrafagh_parsa
	recruit_character = PER_andre_godard
	recruit_character = PER_arthur_millspaugh
	recruit_character = PER_ardeshir_ovanessian
	recruit_character = PER_ali_akbar_davar
	recruit_character = PER_abdolhossein_hazhir
	recruit_character = PER_teymur_bakhtiar
	recruit_character = PER_ahmad_ahmadi
	recruit_character = PER_nikolai_markov
	recruit_character = PER_bahram_aryana
	recruit_character = PER_gholam_ali_oveissi
	recruit_character = PER_ahmad_amir_ahmadi
	recruit_character = PER_fazlollah_zahedi
	recruit_character = PER_ali_akbar_derakhshani
	recruit_character = PER_ghulam_yahya_daneshian
	recruit_character = PER_jafar_kavian
	recruit_character = PER_ahmad_khan_nakhjavan
	recruit_character = PER_gholamali_bayandor
	recruit_character = PER_azad_hashemi
	recruit_character = PER_abdollah_zelli
	recruit_character = PER_abbas_darja_nawardi
	recruit_character = PER_fawzia_faud
	recruit_character = PER_teymourtash
	recruit_character = PER_irandokht
	recruit_character = PER_davud_monshizadeh
	recruit_character = PER_hasan_arfa
	recruit_character = PER_abol_ghasem_kashani
	recruit_character = PER_generic_non_aligned
	recruit_character = PER_sky_guy
	recruit_character = PER_land_guy
	recruit_character = PER_karim_buzarjamehri 
	recruit_character = PER_abdolsamad_kambakhsh
	recruit_character = PER_assadollah_hosseinpoor
	recruit_character = PER_haj_ali_razmara
	recruit_character = PER_rokneddin_mokhtari
	recruit_character = PER_kazem_hasibi
	recruit_character = PER_ahmad_zirakzadeh

	ELSE_IF = {
		limit = {
			NOT = {
				has_dlc = "Graveyard of Empires"
			}
		}
		recruit_character = PER_reza_shah_pahlavi
		recruit_character = PER_soleyman_mirza_eskandari
		recruit_character = PER_hasan_arfa
		recruit_character = PER_dalir_pesyan
		recruit_character = PER_sohrab_tahmasebi
		recruit_character = PER_mir_afkhami
		recruit_character = PER_ahmad_khan_nakhjavan
		recruit_character = PER_reza_mizani
		recruit_character = PER_ali_razmara
		recruit_character = PER_hassan_majid_firooz
		recruit_character = PER_ahmad_mira_khosravani
		recruit_character = PER_ahmad_khan_nakhjaavan
		recruit_character = PER_mohammed_nakhjavani
		recruit_character = PER_abdolreza_afkhami
		recruit_character = PER_fazlollah_zahedi
		recruit_character = PER_mohammed_reza_pahlavi
		recruit_character = PER_ali_akbar_deiva
		recruit_character = PER_hossein_afkhami
		recruit_character = PER_ali_zohayli
		recruit_character = PER_mahmud_jam
		recruit_character = PER_ali_khan_mansour
	}
}

set_convoys = 10
set_politics = {
	ruling_party = neutrality
	last_election = "1936.1.1"
	election_frequency = 48
	elections_allowed = no
}
set_popularities = {
	democratic = PER_democratic_popularity
	fascism = PER_fascism_popularity
	communism = PER_communism_popularity
	neutrality = PER_neutrality_popularity
}
