ideas = {
	## Foreign Policy
	foreign_policy = { 
		law = yes
		foreign_isolationism = {
			
			cost = 150
			removal_cost = -1
			level = 5
			modifier = {
				political_power_factor = 0.075
				drift_defence_factor = 0.1
				stability_factor = 0.05
				war_support_factor = 0.05
				foreign_subversive_activites = -0.10
				resistance_damage_to_garrison = -0.10
				justify_war_goal_time = 0.50
				generate_wargoal_tension = 0.50
				join_faction_tension = 0.70
				lend_lease_tension = 0.10
				send_volunteers_tension = 0.70
				guarantee_tension = 0.20
				
			}
			
			on_add = {
				set_country_flag = foreign_isolationism
				clr_country_flag = foreign_neutral
				clr_country_flag = foreign_cooperative
				clr_country_flag = foreign_interventionism
				clr_country_flag = foreign_warmonger
			}
			
			cancel_if_invalid = no
			
			ai_will_do = {
				factor = 1
				modifier = {
					factor = 10
					OR = {
						has_government = democratic
					}
					threat < 0.05
					is_major = no
				}
				modifier = {
					factor = 0
					OR = {
						threat > 0.90
						has_war = yes
					}
				}
				modifier = {
					factor = 10
					tag = USA
					date > 1941.6.1
				}
				modifier = {
					factor = 0
					is_historical_focus_on = yes
					date < 1946.1.1
					OR = {
						tag = ENG
						tag = FRA
					}
				}
			}
		}
                #Neutral
		foreign_neutral = {
			
			cost = 75
			removal_cost = -1
			level = 4
			modifier = {
				trade_opinion_factor = 0.10
				foreign_subversive_activites = -0.05
				justify_war_goal_time = 0.15
				join_faction_tension = 0.15
				guarantee_tension = 0.15
			}
			
			on_add = {
				set_country_flag = foreign_neutral
				clr_country_flag = foreign_isolationism
				clr_country_flag = foreign_cooperative
				clr_country_flag = foreign_interventionism
				clr_country_flag = foreign_warmonger
			}
			
			default = yes			
			cancel_if_invalid = no
			
			ai_will_do = {
				factor = 1
				modifier = {
					factor = 100
					is_major = no
					is_in_faction = no
				}
				modifier = {
					factor = 0
					has_war = yes
				}
				modifier = {
					factor = 0
					is_historical_focus_on = yes
					date < 1946.1.1
					OR = {
						tag = ENG
						tag = FRA
					}
				}
				modifier = {
					factor = 100
					tag = ITA
					date < 1940.5.1
					is_historical_focus_on = yes
				}
			}
		}
                #Cooperative
		foreign_cooperative = {
			
			cost = 75
			removal_cost = -1
			level = 3
			modifier = {
				political_power_factor = 0.05
				trade_opinion_factor = 0.25
				join_faction_tension = -0.05
				lend_lease_tension = -0.05
				send_volunteers_tension = -0.05
				
			}
			
			on_add = {
				set_country_flag = foreign_cooperative
				clr_country_flag = foreign_neutral
				clr_country_flag = foreign_isolationism
				clr_country_flag = foreign_interventionism
				clr_country_flag = foreign_warmonger
			}
			
			cancel_if_invalid = no
			
			ai_will_do = {
				factor = 1
				modifier = {
					factor = 10
					OR = {
						has_government = democratic
					}
					threat > 0.75
				}
				modifier = {
					factor = 100
					is_major = no
					is_in_faction = yes
				}
				modifier = {
					factor = 0 
					OR = {
						tag = USA
						tag = SOV
						has_government = fascism
					}
				}
				modifier = {
					factor = 0
					is_historical_focus_on = yes
					date < 1946.1.1
					OR = {
						tag = ENG
						tag = FRA
					}
				}
			}
		}
                #Interventionism
		foreign_interventionism = {
			
			available = {

			}
		
			cost = 75
			removal_cost = -1
			level = 2
			modifier = {
				justify_war_goal_time = -0.15
				stability_factor = -0.1
				war_support_factor = -0.1
				trade_opinion_factor = -0.05
				foreign_subversive_activites = 0.1
				resistance_damage_to_garrison = 0.075
				generate_wargoal_tension = -0.15
				join_faction_tension = -0.10
				lend_lease_tension = -0.10
				send_volunteers_tension = -0.15
				guarantee_tension = -0.15
			}
			
			on_add = {
				set_country_flag = foreign_interventionism
				clr_country_flag = foreign_neutral
				clr_country_flag = foreign_cooperative
				clr_country_flag = foreign_isolationism
				clr_country_flag = foreign_warmonger
			}
			
			cancel_if_invalid = no

			ai_will_do = {
   				factor = 1
			#number of divisions? manpower? needs to be big powerful, non-warmonger states
				modifier = {
					factor = 0					
					OR = {
						tag = GER
						tag = JAP
						tag = ITA
						tag = SOV
						has_government = fascism
					}
				}
				modifier = {
					factor = 10
					has_government = neutrality
				}
				modifier = {
					factor = 100
					OR = {
						tag = ENG
						tag = FRA
					}
				}
				modifier = {
					factor = 100
					tag = USA
					date > 1941.1.1
				}
			}
		}
                #Warmonger
		foreign_warmonger = {
			
			available = {

				OR = { 
					has_government = fascism
					has_government = communism
					has_government = neutrality
				}
			}
			
			cost = 75
			removal_cost = -1
			level = 1
			modifier = {
				justify_war_goal_time = -0.25
				stability_factor = -0.15
				war_support_factor = -0.15
				trade_opinion_factor = -0.15
				foreign_subversive_activites = 0.25
				resistance_damage_to_garrison = 0.25
				generate_wargoal_tension = -0.25
			}
			
			on_add = {
				set_country_flag = foreign_warmonger
				clr_country_flag = foreign_neutral
				clr_country_flag = foreign_cooperative
				clr_country_flag = foreign_interventionism
				clr_country_flag = foreign_isolationism
			}
			
			cancel_if_invalid = yes

			ai_will_do = {
   				factor = 1
				modifier = {
					factor = 90
					has_government = fascism
				}
				modifier = {
					factor = 0
					tag = ITA
					date < 1940.5.1
					is_historical_focus_on = yes
				}
				modifier = {
					factor = 10
					has_government = communism
				}
   				modifier = {
					factor = 0
					OR = {
						has_government = democratic
						has_manpower < 300000
					}
				}
   			}
		}
	}
}
### EOF ###