FIN_historical_plan = {

	allowed = {
		original_tag = FIN
	}
	enable = {
		OR = {
			SOV = { is_ai = no }
			has_global_flag = FIN_test_plan
		}
		OR = {
			AND = {
				is_historical_focus_on = yes
				has_game_rule = {
					rule = FIN_ai_behavior
					option = DEFAULT
				}
			}
			has_country_flag = FIN_AI_RANDOM_HISTORICAL
			has_game_rule = {
				rule = FIN_ai_behavior
				option = HISTORICAL
			}
		}
	}
	abort = {
		is_historical_focus_on = no
		SOV = {
			OR = {
				has_completed_focus = SOV_beaten_but_not_defeated
				has_completed_focus = SOV_the_left_opposition
				has_completed_focus = SOV_the_right_opposition
			}
		}
		OR = {
			FIN_NORDIC_is_not_friendly = yes
			FIN_NORDIC_is_friendly = yes
		}
	}

	ai_national_focuses = {
		FIN_militarized_society
		FIN_greater_finland
		FIN_finnish_march_of_conquest


		FIN_a_cry_for_help
		FIN_strengthen_military_administration
		FIN_power_from_the_dams
		FIN_extra_refresher_exercises
		FIN_jaeger_movement
		FIN_the_cold_front
		FIN_winter_warfare
		FIN_motti_tactics
		FIN_finnish_radio_intelligence


		FIN_finnish_neutrality
		FIN_increase_military_budget
		FIN_suomen_maavoimat
		FIN_political_unity
		FIN_academic_karelian_society
		FIN_collaboration_with_the_left
		FIN_the_finnish_swedish_peoples_party
		FIN_align_the_agrarian_league

		FIN_outokumpu_for_defence_industry

		FIN_enhance_southern_infrastructure
		FIN_industrial_development
		FIN_vaisala_radiosonde_tests
		
		FIN_janiskoski_power_plant
		FIN_expand_imatra_hydropower_plant
		FIN_oy_alkoholiliike
		FIN_take_over_the_suojeluskunta
		FIN_national_unity
		FIN_arm_the_lotta_svard
		FIN_union_of_finnish_brothers_in_arms

		FIN_utilize_the_sami
		FIN_long_range_patrols
		FIN_sissi
	
		FIN_reach_out_to_scandinavia
		FIN_moderate_politics

		FIN_salvaged_and_retooled

		FIN_military_promotions
		FIN_integrate_oy_tikkakoski
		FIN_industrial_upgrade_in_harjavalta
		FIN_suomen_ilmavoimat
		FIN_the_lone_wolf
		FIN_cooperation_with_germany
		FIN_german_military_advisors
		FIN_wartsila_engine_production
		FIN_joint_scientific_program
		FIN_modernize_the_industry
		FIN_modernize_the_army
		FIN_suomen_akatemia
		FIN_indoctrinate_the_workers
		FIN_intellectual_elite
		FIN_national_firepower

		FIN_bank_of_aland
		FIN_suomen_akatemia
	}

	#Focuses never to take
	focus_factors = {
		FIN_suomalainen_sosialismi = 0
		FIN_right_wing_policies = 0
		FIN_join_the_allies = 0
		FIN_northern_defense_front = 0
		FIN_viron_kansa = 0
	}			

	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
		}
	}

}

FIN_historical_plan_2 = {

	allowed = {
		original_tag = FIN
	}
	enable = {
		SOV = { is_ai = yes }
		NOT = { has_global_flag = FIN_test_plan }
		OR = {
			AND = {
				is_historical_focus_on = yes
				has_game_rule = {
					rule = FIN_ai_behavior
					option = DEFAULT
				}
			}
			has_country_flag = FIN_AI_RANDOM_HISTORICAL
			has_game_rule = {
				rule = FIN_ai_behavior
				option = HISTORICAL
			}
		}
	}
	abort = {
		is_historical_focus_on = no
		SOV = {
			OR = {
				has_completed_focus = SOV_beaten_but_not_defeated
				has_completed_focus = SOV_the_left_opposition
				has_completed_focus = SOV_the_right_opposition
			}
		}
		OR = {
			FIN_NORDIC_is_not_friendly = yes
			FIN_NORDIC_is_friendly = yes
		}
	
	}

	ai_national_focuses = {
		#1936
		FIN_finnish_neutrality
		FIN_enhance_southern_infrastructure
		FIN_industrial_development
		FIN_vaisala_radiosonde_tests #35 (1936 historically)
		FIN_increase_military_budget #35
		FIN_suomen_maavoimat
		FIN_helsinki_air_defense #35
		FIN_finnish_radio_intelligence #35
		FIN_bank_of_aland

		#1941 (Jun -> Continuation War)
		FIN_suomen_akatemia
		FIN_expand_imatra_hydropower_plant #35

		#1937
		FIN_reach_out_to_scandinavia #35
		FIN_moderate_politics #35
		FIN_national_unity
		FIN_outokumpu_for_defence_industry
		FIN_industrial_upgrade_in_harjavalta #35
		FIN_janiskoski_power_plant #35 (1938 historically)

		#1938
		FIN_political_unity
		FIN_railways_and_infrastructure
		FIN_repurpose_small_industries
		FIN_extra_refresher_exercises # (ASAP - gated behind WT)
		FIN_weapon_caches #35 (ASAP - gated behind WT)
		FIN_the_cold_front #35
		
		#1939 (Nov -> Winter War)
		FIN_a_cry_for_help #35 (ASAP - gated behind Winter War)
		FIN_defense_in_depth
		FIN_jaeger_movement
		FIN_salvaged_and_retooled
		FIN_motti_tactics #35
		FIN_winter_warfare #35
		FIN_oy_alkoholiliike #35
		FIN_mannerheim_line

		#1940
		FIN_underground_resistance_cells #35
		FIN_foreign_armor #35
		FIN_union_of_finnish_brothers_in_arms
		FIN_arm_the_lotta_svard
		FIN_the_lone_wolf #35
		FIN_cooperation_with_germany #35
		FIN_expand_state_military_factories
		FIN_german_military_advisors #35
		FIN_joint_scientific_program
		FIN_long_range_patrols #35
		FIN_utilize_the_sami #35

		#1942
		FIN_sissi
		FIN_integrate_oy_tikkakoski
		FIN_wartsila_engine_production # (1942 historically)
		FIN_suomen_ilmavoimat
		FIN_found_pohjolan_voima # (1943 historically)
			
		#1943
		FIN_tire_factory_at_nokia # (1943 historically)
		FIN_contract_with_yhteissisu # (1943 historically)
		FIN_suomen_merivoimat
		FIN_coastal_defense
		FIN_expand_air_bases

		#1944 (Sep -> Lapland War)
		FIN_pilot_training #35
		FIN_expand_air_force_academy
		FIN_modernize_the_army

		#1945

	}

	#Focuses never to take
	focus_factors = {
		FIN_suomalainen_sosialismi = 0
		FIN_right_wing_policies = 0
		FIN_join_the_allies = 0
		FIN_northern_defense_front = 0
		FIN_viron_kansa = 0
	}			

	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
		}
	}

}
FIN_historical_plan_ahist_nordic = {

	allowed = {
		original_tag = FIN
	}
	enable = {
		is_historical_focus_on = no
		SOV = {
			OR = {
				has_completed_focus = SOV_beaten_but_not_defeated
				has_completed_focus = SOV_the_left_opposition
				has_completed_focus = SOV_the_right_opposition
			}
		}
		FIN_NORDIC_is_friendly = yes		
		OR = {
			has_country_flag = FIN_AI_RANDOM_HISTORICAL
			has_game_rule = {
				rule = FIN_ai_behavior
				option = HISTORICAL
			}
		}
	}
	abort = {
	}

	ai_national_focuses = {

		FIN_increase_military_budget
		FIN_suomen_maavoimat

		FIN_finnish_neutrality	
		FIN_reach_out_to_scandinavia
		FIN_moderate_politics
		FIN_northern_defense_front
		FIN_industrialize_the_region
		FIN_increase_military_investment
		FIN_joint_scientific_program
		FIN_extra_refresher_exercises
		FIN_jaeger_movement
		FIN_the_cold_front
		FIN_winter_warfare
		FIN_motti_tactics
		FIN_finnish_radio_intelligence
		FIN_political_unity
		FIN_collaboration_with_the_left
		FIN_the_finnish_swedish_peoples_party
		FIN_national_unity
		FIN_viron_kansa
	}

	focus_factors = {
		FIN_suomalainen_sosialismi = 0
		FIN_right_wing_policies = 0
	}			

	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
		}
	}

}
FIN_historical_plan_ahist_allies = {

	allowed = {
		original_tag = FIN
	}
	enable = {
		is_historical_focus_on = no
		SOV = {
			OR = {
				has_completed_focus = SOV_beaten_but_not_defeated
				has_completed_focus = SOV_the_left_opposition
				has_completed_focus = SOV_the_right_opposition
			}
		}
		FIN_NORDIC_is_not_friendly = yes		
		OR = {
			has_country_flag = FIN_AI_RANDOM_HISTORICAL
			has_game_rule = {
				rule = FIN_ai_behavior
				option = HISTORICAL
			}
		}
	}
	abort = {
	}

	ai_national_focuses = {

		FIN_increase_military_budget
		FIN_suomen_maavoimat

		FIN_finnish_neutrality	
		FIN_reach_out_to_scandinavia
		FIN_moderate_politics
		FIN_join_the_allies
		FIN_military_aid
		FIN_mineral_wealth_development
		FIN_increase_military_investment
		FIN_joint_scientific_program
		FIN_political_unity
		FIN_collaboration_with_the_left
		FIN_the_finnish_swedish_peoples_party
		FIN_national_unity
		FIN_viron_kansa
		FIN_extra_refresher_exercises
		FIN_jaeger_movement
		FIN_the_cold_front
		FIN_winter_warfare
		FIN_motti_tactics
		FIN_finnish_radio_intelligence

		FIN_the_lone_wolf
		FIN_cooperation_with_germany
		FIN_wartsila_engine_production
		FIN_german_military_advisors
		FIN_extra_refresher_exercises
		FIN_jaeger_movement
		FIN_the_cold_front
		FIN_winter_warfare
		FIN_motti_tactics
		FIN_finnish_radio_intelligence

		FIN_increase_military_budget
		FIN_suomen_maavoimat

		FIN_finnish_neutrality
		FIN_academic_karelian_society

		FIN_outokumpu_for_defence_industry
		FIN_enhance_southern_infrastructure
		FIN_industrial_development
		FIN_vaisala_radiosonde_tests
		
		FIN_janiskoski_power_plant
		FIN_expand_imatra_hydropower_plant
		FIN_political_unity
		FIN_national_unity
		FIN_arm_the_lotta_svard
		FIN_union_of_finnish_brothers_in_arms
		FIN_take_over_the_suojeluskunta

		FIN_mannerheim_line
		FIN_utilize_the_sami
		FIN_oy_alkoholiliike
		FIN_long_range_patrols
		FIN_sissi
	
		FIN_reach_out_to_scandinavia
		FIN_moderate_politics

		FIN_military_promotions
		FIN_integrate_oy_tikkakoski
		FIN_suomen_ilmavoimat
		FIN_the_lone_wolf
		FIN_cooperation_with_germany
		FIN_german_military_advisors
		FIN_wartsila_engine_production
		FIN_joint_scientific_program
		FIN_modernize_the_industry
		FIN_modernize_the_army
		FIN_militarized_society
		FIN_maan_turva
		FIN_indoctrinate_the_workers
		FIN_intellectual_elite
	}

	focus_factors = {
		FIN_suomalainen_sosialismi = 0
		FIN_right_wing_policies = 0
	}			

	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
		}
	}

}
NORDIC_historical_plan_ahist = {

	allowed = {
		OR = {
			original_tag = FIN
			original_tag = SWE
			original_tag = DEN
			original_tag = ICE
			original_tag = NOR
		}
	}
	enable = {
		date > 1938.8.1 
		OR = {
			any_allied_country = {
				NORDIC_is_nordic = yes
				is_faction_leader = yes
			} 
			any_country = {
				is_in_faction_with = ROOT
				OR = {
					original_tag = FIN
					original_tag = SWE
					original_tag = DEN
					original_tag = ICE
					original_tag = NOR
				}
				is_faction_leader = yes
			}
		}
	}
	abort = {
	}

	ai_national_focuses = {
		NORDIC_form_joint_alliance
		NORDIC_political_cooperation
		NORDIC_economic_union
		NORDIC_shared_intelligence
		NORDIC_first_joint_institution
		NORDIC_nordic_research
		NORDIC_nordic_construction_developments
		NORDIC_materiel_design
		NORDIC_research_investments
		NORDIC_nordic_military_industry
		NORDIC_standarized_parts
		NORDIC_military_industry_hub
		NORDIC_machine_tools_research
		NORDIC_nordic_electronics
		NORDIC_nordic_industry
		NORDIC_civilian_contributions
		NORDIC_develop_resources
		NORDIC_northern_command
		NORDIC_nordic_army
		NORDIC_joint_military_exercises
		NORDIC_unified_recruitment
		NORDIC_infantry_first
		NORDIC_nordic_airforce
		NORDIC_nordic_navy
		NORDIC_air_exercises
		NORDIC_air_production
		NORDIC_fighter_command
	}

	focus_factors = {
		FIN_suomalainen_sosialismi = 0
		FIN_right_wing_policies = 0
	}			

	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 = 5.0
		modifier = {
			factor = 1.0
		}
	}

}