PER_historical_plan = {
	name = "Iran Historical Plan"
	desc = ""

	allowed = {
		original_tag = PER
		has_dlc = "Graveyard of Empires"
	}
	enable = {
		OR = {
			AND = {
				is_historical_focus_on = yes 
				has_game_rule = {
					rule = PER_AI_BEHAVIOR
					option = DEFAULT
				}
			}
			has_country_flag = PER_AI_RANDOM_HISTORICAL
			has_game_rule = {
				rule = PER_AI_BEHAVIOR
				option = HISTORICAL
			}
		}	
	}
	abort = {
		OR = {
			has_capitulated = yes
			is_subject = yes
			has_global_flag = SOV_has_early_war
		}
	}

	ai_national_focuses = {
		#1936
		SSB_the_saadabad_pact
		SSB_expand_turkish_chromium_deposits
		SSB_military_cooperation
		SSB_economic_cooperation
		SSB_joint_military_exercises
		SSB_integration_of_our_infrastructure
		SSB_expand_road_and_rail_connections
		SSB_coordinate_military_production
		SSB_combined_arms
		SSB_saadabad_research_cooperation
		SSB_expand_iraqs_military_infrastructure
		SSB_expand_irans_military_infrastructure
		SSB_expand_iranian_oil_fields
		SSB_baghlan_sugar_factory_branches
		
		#1936
		PER_fight_for_iran
		PER_dig_and_defend
		PER_capital_protect
		PER_secure_coastline # Do this if you can't protect Teheran


		PER_the_pahlavi_imperium
		PER_stand_with_giants
		PER_modernizing_iran
		PER_increase_military_funding
		PER_restructure_army
		PER_expand_military_facilities
		PER_increase_education_funding
		PER_open_abadan
		PER_trial_fifty_three
		PER_adult_literacy
		PER_national_museum
		PER_shiraz_university
		PER_educational_reforms
		PER_rapid_industrialization
		PER_tehran_power_plant
		PER_develop_cities
		PER_metropolitan_iran
		PER_develop_oil_fields
		PER_form_oil_company
		PER_profit_from_war


		PER_forced_secularization
		PER_expand_imperial_guard

		#1937
		PER_persian_german_trade

		#1938
		PER_foreign_retraining

		#1939
		PER_military_high_schools
		PER_wether_the_storm
		PER_stand_our_ground
		PER_bolster_civilian_industry
		PER_upscale_military_production
		PER_preparatory_mobilization
		PER_we_will_survive

		#1940
		PER_trans_iranian_railway
		PER_expand_tabriz_masshad
		PER_expand_tehran_emam
		PER_expand_tehran_abbas
		PER_trains_from_germany

		#1941
		PER_feat_of_engineering
		PER_bolster_infantry

		

	}

	focus_factors = {
		PER_swear_fealty = 0
		PER_push_negotiations = 0.01
	}

	research = {

	}

	ideas = {

	}

	# Keep small, as it is used as a factor for some things (such as research needs)
	# Recommended around 1.0. Useful for relation between plans
	weight = {
		factor = 1.0
		modifier = {
			factor = 1.0
		}
	}

}
PER_historical_plan_is_dead = {
	name = "Iran Historical Plan"
	desc = ""

	allowed = {
		original_tag = PER
		has_dlc = "Graveyard of Empires"
	}
	enable = {
		has_capitulated = yes
		OR = {
			AND = {
				is_historical_focus_on = yes 
				has_game_rule = {
					rule = PER_AI_BEHAVIOR
					option = DEFAULT
				}
			}
			has_country_flag = PER_AI_RANDOM_HISTORICAL
			has_game_rule = {
				rule = PER_AI_BEHAVIOR
				option = HISTORICAL
			}
		}	
	}
	abort = {
		OR = {
			has_capitulated = no
			is_subject = yes 
		}
	}

	ai_national_focuses = {

		#1936
		PER_fight_for_iran
		PER_dig_and_defend
		PER_capital_protect
		PER_secure_coastline
		PER_swear_fealty

	}

	focus_factors = {
		
	}

	research = {

	}

	ideas = {

	}

	# Keep small, as it is used as a factor for some things (such as research needs)
	# Recommended around 1.0. Useful for relation between plans
	weight = {
		factor = 1.0
		modifier = {
			factor = 1.0
		}
	}

}
PER_historical_plan_anti_soviet = {
	name = "Iran Historical Plan"
	desc = ""

	allowed = {
		original_tag = PER
		has_dlc = "Graveyard of Empires"
	}
	enable = {
		has_global_flag = SOV_has_early_war
		OR = {
			AND = {
				is_historical_focus_on = yes 
				has_game_rule = {
					rule = PER_AI_BEHAVIOR
					option = DEFAULT
				}
			}
			has_country_flag = PER_AI_RANDOM_HISTORICAL
			has_game_rule = {
				rule = PER_AI_BEHAVIOR
				option = HISTORICAL
			}
		}	
	}
	abort = {
		OR = {
			has_capitulated = yes
			is_subject = yes
		}
	}

	ai_national_focuses = {
		#1936
		SSB_the_saadabad_pact
		SSB_expand_turkish_chromium_deposits
		SSB_military_cooperation
		SSB_economic_cooperation
		SSB_joint_military_exercises
		SSB_integration_of_our_infrastructure
		SSB_expand_road_and_rail_connections
		SSB_coordinate_military_production
		SSB_combined_arms
		SSB_saadabad_research_cooperation
		SSB_expand_iraqs_military_infrastructure
		SSB_expand_irans_military_infrastructure
		SSB_expand_iranian_oil_fields
		SSB_baghlan_sugar_factory_branches
		
		#1936
		PER_fight_for_iran
		PER_force_them_back
		PER_push_to_deserts

		PER_the_pahlavi_imperium
		PER_stand_with_giants
		PER_modernizing_iran
		PER_increase_military_funding
		PER_restructure_army
		PER_expand_military_facilities
		PER_increase_education_funding
		PER_open_abadan
		PER_trial_fifty_three
		PER_adult_literacy
		PER_national_museum
		PER_shiraz_university
		PER_educational_reforms
		PER_rapid_industrialization
		PER_tehran_power_plant
		PER_develop_cities
		PER_metropolitan_iran
		PER_develop_oil_fields
		PER_form_oil_company
		PER_profit_from_war


		PER_forced_secularization
		PER_expand_imperial_guard

		#1937
		PER_persian_german_trade

		#1938
		PER_foreign_retraining

		#1939
		PER_military_high_schools
		PER_question_of_resources
		PER_prepare_for_worst
		PER_preemptive_strike
		PER_establish_northern_buffer_states

		#1940
		PER_trans_iranian_railway
		PER_expand_tabriz_masshad
		PER_expand_tehran_emam
		PER_expand_tehran_abbas
		PER_trains_from_germany

		#1941
		PER_feat_of_engineering
		PER_bolster_infantry

		

	}

	focus_factors = {
		PER_swear_fealty = 0
		PER_push_negotiations = 0.01
	}

	research = {

	}

	ideas = {

	}

	# Keep small, as it is used as a factor for some things (such as research needs)
	# Recommended around 1.0. Useful for relation between plans
	weight = {
		factor = 1.0
		modifier = {
			factor = 1.0
		}
	}

}