focus_tree = {
	id = deluge_japan_focus
	
	country = {
		factor = 0
		
		modifier = {
			add = 10
			original_tag = JAP
		}
	}
	
	default = no
	reset_on_civilwar = yes

	# Social/political
	
	focus = {
		id = japan_deluge_meritocracy
		icon = GFX_goal_generic_production2
		mutually_exclusive = { focus = japan_deluge_aristocracy }
		x = 1
		y = 0
		available_if_capitulated = yes
		cost = 10
		completion_reward = {
			add_ideas = deluge_meritocracy_idea
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.1
				OR = {
					has_government = democratic
					has_government = fascism
				}
			}
			modifier = {
				factor = 0
				has_government = neutrality
			}
			modifier = {
				factor = 0
				date < 1936.5.15
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
			modifier = { # political power when at war and needs to change manpower law
				factor = 2
				has_war = yes
				OR = {
					has_idea = volunteer_only
					has_idea = limited_conscription
					has_idea = extensive_conscription
				}
				manpower_per_military_factory < 1000
			}
			modifier = { # political power when at war and needs to change economy law
				factor = 2
				has_war = yes
				OR = {
					has_idea = civilian_economy
					has_idea = low_economic_mobilisation
					has_idea = partial_economic_mobilisation
				}
			}
		}
	}

	focus = {
		id = japan_deluge_aristocracy
		icon = "GFX_goal_generic_air_doctrine"
		mutually_exclusive = { focus = japan_deluge_meritocracy }
		x = 3
		y = 0
		available_if_capitulated = yes
		cost = 10
		completion_reward = {
			add_ideas = deluge_aristocracy_idea
		}
		ai_will_do = {
			factor = 3
			modifier = {
				factor = 0.1
				OR = {
					has_government = democratic
					has_government = fascism
				}
			}
			modifier = {
				factor = 0
				has_government = communism
			}
			modifier = {
				factor = 0
				date < 1936.5.15
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
			modifier = { # political power when at war and needs to change manpower law
				factor = 2
				has_war = yes
				OR = {
					has_idea = volunteer_only
					has_idea = limited_conscription
					has_idea = extensive_conscription
				}
				manpower_per_military_factory < 1000
			}
			modifier = { # political power when at war and needs to change economy law
				factor = 2
				has_war = yes
				OR = {
					has_idea = civilian_economy
					has_idea = low_economic_mobilisation
					has_idea = partial_economic_mobilisation
				}
			}
		}
	}

	focus = {
		id = japan_deluge_popular_sovereignty
		icon = "GFX_goal_support_democracy"
		prerequisite = { focus = japan_deluge_meritocracy }
		x = 1
		y = 1
		available_if_capitulated = yes
		cost = 10
		completion_reward = {
			add_stability = 0.05
			add_political_power = 150
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.1
				OR = {
					has_government = democratic
					has_government = fascism
					has_government = neutrality
				}
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
			modifier = { # political power when at war and needs to change manpower law
				factor = 2
				has_war = yes
				OR = {
					has_idea = volunteer_only
					has_idea = limited_conscription
					has_idea = extensive_conscription
				}
				manpower_per_military_factory < 1000
			}
			modifier = { # political power when at war and needs to change economy law
				factor = 2
				has_war = yes
				OR = {
					has_idea = civilian_economy
					has_idea = low_economic_mobilisation
					has_idea = partial_economic_mobilisation
				}
			}
		}
	}

	focus = {
		id = japan_deluge_divine_right
		icon = GFX_focus_rom_royal_dictatorship
		prerequisite = { focus = japan_deluge_aristocracy }
		x = 3
		y = 1
		available_if_capitulated = yes
		cost = 10
		completion_reward = {
			add_stability = 0.05
			add_political_power = 150
		}
		ai_will_do = {
			factor = 3
			modifier = {
				factor = 0.1
				OR = {
					has_government = democratic
					has_government = fascism
					has_government = communism
				}
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
			modifier = { # political power when at war and needs to change manpower law
				factor = 2
				has_war = yes
				OR = {
					has_idea = volunteer_only
					has_idea = limited_conscription
					has_idea = extensive_conscription
				}
				manpower_per_military_factory < 1000
			}
			modifier = { # political power when at war and needs to change economy law
				factor = 2
				has_war = yes
				OR = {
					has_idea = civilian_economy
					has_idea = low_economic_mobilisation
					has_idea = partial_economic_mobilisation
				}
			}
		}
	}
	
	focus = {
		id = japan_deluge_individualism
		icon = GFX_goal_generic_demand_territory
		mutually_exclusive = { focus = japan_deluge_corporatism }
		x = 5
		y = 0
		available_if_capitulated = yes
		cost = 10
		completion_reward = {
			add_ideas = deluge_individualism_idea
		}
		ai_will_do = {
			factor = 3
			modifier = {
				factor = 0.1
				OR = {
					has_government = communism
					has_government = neutrality
				}
			}
			modifier = {
				factor = 0
				has_government = fascism
			}
			modifier = {
				factor = 0
				date < 1936.5.15
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
		}
	}

	focus = {
		id = japan_deluge_corporatism
		icon = GFX_goal_generic_political_pressure
		mutually_exclusive = { focus = japan_deluge_individualism }
		x = 7
		y = 0
		available_if_capitulated = yes
		cost = 10
		completion_reward = {
			add_ideas = deluge_corporatism_idea
		}
		ai_will_do = {
			factor = 3
			modifier = {
				factor = 0.1
				OR = {
					has_government = communism
					has_government = neutrality
				}
			}
			modifier = {
				factor = 0
				has_government = democratic
			}
			modifier = {
				factor = 0
				date < 1936.5.15
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
		}
	}

	focus = {
		id = japan_deluge_pluralism
		icon = "GFX_goal_generic_national_unity"
		prerequisite = { focus = japan_deluge_individualism }
		x = 5
		y = 1
		available_if_capitulated = yes
		cost = 10
		completion_reward = {
			add_ideas = deluge_pluralism_idea
		}
		ai_will_do = {
			factor = 3
			modifier = {
				factor = 0.1
				OR = {
					has_government = communism
					has_government = neutrality
					has_government = fascism
				}
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
		}
	}

	focus = {
		id = japan_deluge_leader_cult
		icon = "GFX_goal_support_fascism"
		prerequisite = { focus = japan_deluge_corporatism }
		x = 7
		y = 1
		available_if_capitulated = yes
		cost = 10
		completion_reward = {
			add_ideas = deluge_leader_cult_idea
		}
		ai_will_do = {
			factor = 3
			modifier = {
				factor = 0.1
				OR = {
					has_government = communism
					has_government = neutrality
					has_government = democratic
				}
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
		}
	}

	focus = {
		id = japan_deluge_youth_organisations
		icon = "GFX_goal_generic_position_armies"
		prerequisite = { focus = japan_deluge_leader_cult focus = japan_deluge_pluralism focus = japan_deluge_divine_right focus = japan_deluge_popular_sovereignty }
		x = 4
		y = 2
		available_if_capitulated = yes
		cost = 10
		completion_reward = {
			add_ideas = deluge_youth_organisations_idea
		}
		ai_will_do = {
			factor = 10
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
			modifier = { # political power when at war and needs to change manpower law
				factor = 2
				has_war = yes
				OR = {
					has_idea = volunteer_only
					has_idea = limited_conscription
					has_idea = extensive_conscription
				}
				manpower_per_military_factory < 1000
			}
			modifier = { # political power when at war and needs to change economy law
				factor = 2
				has_war = yes
				OR = {
					has_idea = civilian_economy
					has_idea = low_economic_mobilisation
					has_idea = partial_economic_mobilisation
				}
			}
		}
	}

	focus = {
		id = japan_deluge_land_reform
		icon = "GFX_goal_support_communism"
		prerequisite = { focus = japan_deluge_youth_organisations }
		mutually_exclusive = { focus = japan_deluge_manorialism }
		x = 1
		y = 3
		available_if_capitulated = yes
		cost = 10
		completion_reward = {
			add_ideas = deluge_land_reform_idea
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.1
				OR = {
					has_government = democratic
					has_government = fascism
				}
			}
			modifier = {
				factor = 0
				has_government = neutrality
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
			modifier = { # political power when at war and needs to change manpower law
				factor = 2
				has_war = yes
				OR = {
					has_idea = volunteer_only
					has_idea = limited_conscription
					has_idea = extensive_conscription
				}
				manpower_per_military_factory < 1000
			}
			modifier = { # political power when at war and needs to change economy law
				factor = 2
				has_war = yes
				OR = {
					has_idea = civilian_economy
					has_idea = low_economic_mobilisation
					has_idea = partial_economic_mobilisation
				}
			}
		}
	}

	focus = {
		id = japan_deluge_manorialism
		icon = GFX_focus_hun_elect_a_king
		prerequisite = { focus = japan_deluge_youth_organisations }
		mutually_exclusive = { focus = japan_deluge_land_reform }
		x = 3
		y = 3
		available_if_capitulated = yes
		cost = 10
		completion_reward = {
			add_ideas = deluge_manorialism_idea
		}
		ai_will_do = {
			factor = 3
			modifier = {
				factor = 0.1
				OR = {
					has_government = democratic
					has_government = fascism
				}
			}
			modifier = {
				factor = 0
				has_government = communism
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
			modifier = { # political power when at war and needs to change manpower law
				factor = 2
				has_war = yes
				OR = {
					has_idea = volunteer_only
					has_idea = limited_conscription
					has_idea = extensive_conscription
				}
				manpower_per_military_factory < 1000
			}
			modifier = { # political power when at war and needs to change economy law
				factor = 2
				has_war = yes
				OR = {
					has_idea = civilian_economy
					has_idea = low_economic_mobilisation
					has_idea = partial_economic_mobilisation
				}
			}
		}
	}
	
	focus = {
		id = japan_deluge_fraternal_nations
		icon = GFX_goal_anschluss
		prerequisite = { focus = japan_deluge_land_reform }
		x = 1
		y = 4
		available_if_capitulated = yes
		cost = 10
		completion_reward = {
			add_political_power = 150
			if = {
				limit = { has_idea = neutrality_idea }
				remove_ideas = neutrality_idea
			}
			add_stability = 0.05
			set_rule = { can_create_factions = yes }
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.1
				OR = {
					has_government = democratic
					has_government = fascism
					has_government = neutrality
				}
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
			modifier = { # political power when at war and needs to change manpower law
				factor = 2
				has_war = yes
				OR = {
					has_idea = volunteer_only
					has_idea = limited_conscription
					has_idea = extensive_conscription
				}
				manpower_per_military_factory < 1000
			}
			modifier = { # political power when at war and needs to change economy law
				factor = 2
				has_war = yes
				OR = {
					has_idea = civilian_economy
					has_idea = low_economic_mobilisation
					has_idea = partial_economic_mobilisation
				}
			}
		}
	}

	focus = {
		id = japan_deluge_dynastic_politics
		icon = GFX_goal_tfv_strengthen_commonwealth_ties
		prerequisite = { focus = japan_deluge_manorialism }
		x = 3
		y = 4
		available_if_capitulated = yes
		cost = 10
		completion_reward = {
			add_political_power = 150
			if = {
				limit = { has_idea = neutrality_idea }
				remove_ideas = neutrality_idea
			}
			add_stability = 0.05
			set_rule = { can_create_factions = yes }
		}
		ai_will_do = {
			factor = 3
			modifier = {
				factor = 0.1
				OR = {
					has_government = democratic
					has_government = fascism
					has_government = communism
				}
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
			modifier = { # political power when at war and needs to change manpower law
				factor = 2
				has_war = yes
				OR = {
					has_idea = volunteer_only
					has_idea = limited_conscription
					has_idea = extensive_conscription
				}
				manpower_per_military_factory < 1000
			}
			modifier = { # political power when at war and needs to change economy law
				factor = 2
				has_war = yes
				OR = {
					has_idea = civilian_economy
					has_idea = low_economic_mobilisation
					has_idea = partial_economic_mobilisation
				}
			}
		}
	}

	focus = {
		id = japan_deluge_police_consent
		icon = GFX_goal_molotov_ribbentrop_pact
		prerequisite = { focus = japan_deluge_youth_organisations }
		mutually_exclusive = { focus = japan_deluge_secret_police }
		x = 5
		y = 3
		available_if_capitulated = yes
		cost = 10
		completion_reward = {
			add_ideas = deluge_police_consent_idea
		}
		ai_will_do = {
			factor = 3
			modifier = {
				factor = 0.1
				OR = {
					has_government = communism
					has_government = neutrality
				}
			}
			modifier = {
				factor = 0
				has_government = fascism
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
		}
	}

	focus = {
		id = japan_deluge_secret_police
		icon = GFX_goal_generic_secret_weapon
		prerequisite = { focus = japan_deluge_youth_organisations }
		mutually_exclusive = { focus = japan_deluge_police_consent }
		x = 7
		y = 3
		available_if_capitulated = yes
		cost = 10
		completion_reward = {
			add_ideas = deluge_secret_police_idea
		}
		ai_will_do = {
			factor = 3
			modifier = {
				factor = 0.1
				OR = {
					has_government = communism
					has_government = neutrality
				}
			}
			modifier = {
				factor = 0
				has_government = democratic
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
		}
	}
	
	focus = {
		id = japan_deluge_judiciary
		icon = "GFX_goal_generic_neutrality_focus"
		prerequisite = { focus = japan_deluge_police_consent }
		x = 5
		y = 4
		available_if_capitulated = yes
		cost = 10
		completion_reward = {
			add_ideas = deluge_judiciary_idea
		}
		ai_will_do = {
			factor = 3
			modifier = {
				factor = 0.1
				OR = {
					has_government = communism
					has_government = neutrality
					has_government = fascism
				}
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
		}
	}

	focus = {
		id = japan_deluge_state_terror
		icon = GFX_focus_boot_scales
		prerequisite = { focus = japan_deluge_secret_police }
		x = 7
		y = 4
		available_if_capitulated = yes
		cost = 10
		completion_reward = {
			add_ideas = deluge_state_terror_idea
		}
		ai_will_do = {
			factor = 3
			modifier = {
				factor = 0.1
				OR = {
					has_government = communism
					has_government = neutrality
					has_government = democratic
				}
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
		}
	}

	focus = {
		id = japan_deluge_national_unity
		icon = GFX_goal_generic_propaganda
		prerequisite = { focus = japan_deluge_fraternal_nations focus = japan_deluge_dynastic_politics focus = japan_deluge_judiciary focus = japan_deluge_state_terror }
		x = 4
		y = 5
		available_if_capitulated = yes
		cost = 10
		completion_reward = {
			add_stability = 0.05
			add_war_support = 0.05
			if = {
				limit = { has_idea = deluge_great_war_horrors_idea }
				remove_ideas = deluge_great_war_horrors_idea
			}
			if = {
				limit = { has_idea = deluge_chinese_sectarianism_idea }
				remove_ideas = deluge_chinese_sectarianism_idea
			}			
			if = {
				limit = { has_idea = deluge_german_civil_war_idea }
				remove_ideas = deluge_german_civil_war_idea
			}
		}
		ai_will_do = {
			factor = 10
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
		}
	}
	
	focus = {
		id = japan_befriend_taiping
		icon = GFX_goal_generic_improve_relations
		prerequisite = { focus = japan_deluge_national_unity }
		mutually_exclusive = { focus = japan_claim_taiping }
		x = 3
		y = 6
		available_if_capitulated = no
		cost = 10
		available = {
			is_faction_leader = yes
			country_exists = PRC
			NOT = { has_war_with = PRC }
			PRC = {
				is_subject = no
				is_in_faction = no
			}
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.1
				PRC = { has_war = yes }
			}
			modifier = {
				factor = 0
				has_government = communism
			}
			modifier = {
				factor = 0
				has_government = democratic
			}
			modifier = {
				factor = 0
				date < 1937.1.1
			}
			modifier = {
				factor = 20
				is_historical_focus_on = yes
			}
		}
		completion_reward = {
			PRC = { country_event = japanese_diplomacy.4 }
		}
	}
	
	focus = {
		id = japan_claim_taiping
		icon = GFX_goal_generic_occupy_states_ongoing_war
		prerequisite = { focus = japan_deluge_national_unity }
		mutually_exclusive = { focus = japan_befriend_taiping }
		x = 1
		y = 6
		available_if_capitulated = no
		cost = 10
		available = {
			is_subject = no
			NOT = { is_in_faction_with = PRC }
			NOT = { has_global_flag = taiping_capitulated }
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 5
				has_war_with = PRC
			}
			modifier = {
				factor = 0.5
				has_war = yes
				NOT = { has_war_with = PRC }
			}
			modifier = {
				factor = 0
				has_government = democratic
				NOT = { has_war_with = PRC }
			}
			modifier = {
				factor = 0.5
				OR = {
					has_government = communism
					has_government = neutrality
				}
			}
			modifier = {
				factor = 0.5
				any_country = {
					ROOT = {
						has_wargoal_against = PREV
					}
				}
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_global_flag = flag_china_japan_peace_deal
			}
		}
		completion_reward = {
			if = {
				limit = {
					NOT = { has_war_with = PRC }
				}
				news_event = japanese_expansion.1
			}

			add_named_threat = { threat = 1 name = japan_claims_taiping }
			
			add_state_claim = 598
			add_state_claim = 613
			add_state_claim = 596
			add_state_claim = 595
			add_state_claim = 593
			add_state_claim = 592
			add_state_claim = 591
			add_state_claim = 594
			
			if = { limit = { NOT = { owns_state = 613 } }
				random_country = {
					limit = { owns_state = 613 }
					ROOT = {
						create_wargoal = {
							type = take_claimed_state
							target = PREV
							generator = { 613 598 596 593 592 591 594 }
						}
					}
				}
			}
		}
		will_lead_to_war_with = PRC
	}
	
	focus = {
		id = japan_claim_philippines
		icon = GFX_goal_generic_occupy_states_ongoing_war
		prerequisite = { focus = japan_deluge_national_unity }
		mutually_exclusive = { focus = japan_befriend_philippines }
		x = 4
		y = 7
		available_if_capitulated = no
		cost = 10
		available = {
			is_subject = no
			NOT = { is_in_faction_with = "PHI" }
		}
		bypass = {
			OR = {
				is_in_faction_with = "PHI"
				NOT = { country_exists = "PHI" }
			}
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 5
				has_war_with = "PHI"
			}
			modifier = {
				factor = 0.5
				has_war = yes
				NOT = { has_war_with = "PHI" }
			}
			modifier = {
				factor = 0
				has_government = democratic
				NOT = { has_war_with = "PHI" }
			}
			modifier = {
				factor = 0.5
				any_country = {
					ROOT = {
						has_wargoal_against = PREV
					}
				}
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
		}
		completion_reward = {
			if = {
				limit = {
					NOT = { has_war_with = "PHI" }
				}
				news_event = japanese_expansion.2
			}
			
			add_named_threat = { threat = 1 name = japan_claims_philippines }
			
			create_wargoal = {
				type = puppet_wargoal_focus
				target = "PHI"
			}
		}
		
		will_lead_to_war_with = "PHI"
	}
	
	focus = {
		id = japan_claim_china
		icon = GFX_goal_generic_occupy_states_ongoing_war
		prerequisite = { focus = japan_deluge_national_unity }
		x = 5
		y = 6
		available_if_capitulated = no
		cost = 10
		available = {
			is_subject = no
			NOT = { is_in_faction_with = CHI }
			NOT = { has_non_aggression_pact_with = CHI }
		}
		ai_will_do = {
			factor = 2
			modifier = {
				factor = 2
				is_in_faction_with = PRC
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
			modifier = {
				factor = 0
				has_government = democratic
			}
			modifier = {
				factor = 0
				has_war_with = SOV
			}
			modifier = {
				factor = 0.1
				OR = {
					has_government = communism
					has_government = neutrality
				}
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_global_flag = flag_china_japan_peace_deal
			}
		}
		completion_reward = {
			if = {
				limit = {
					NOT = {
						has_war_with = CHI
					}
				}
				news_event = japanese_expansion.3
			}

			add_named_threat = { threat = 2 name = japan_claims_china }
			
			every_state = {
				limit = {
					OR = {
						state = 715
						state = 612
						state = 610
						state = 611
						state = 609
						state = 608
						state = 614
						state = 597
						state = 714
						state = 561
						state = 560
						state = 657
						state = 763
						state = 761
					}
				}
				add_claim_by = ROOT
			}
			
			if = { limit = { NOT = { owns_state = 608 } }
				random_country = {
					limit = { owns_state = 608 }
					ROOT = {
						create_wargoal = {
							type = take_claimed_state
							target = PREV
							generator = { 608 715 612 610 611 609 614 597 714 561 560 657 763 761 }
						}
					}
				}
			}
			hidden_effect = {
				if = {
					limit = {
						CHI = { has_civil_war = yes }
					}
					random_country = {
						limit = {
							original_tag = CHI
							NOT = { is_in_faction_with = JAP }
							NOT = { tag = CHI }
						}
						JAP = {
							create_wargoal = {
								type = annex_everything
								target = PREV
							}
						}
					}
				}
			}
		}
		will_lead_to_war_with = CHI
	}
	
	focus = {
		id = japan_claim_siberia
		icon = GFX_goal_generic_occupy_states_ongoing_war
		prerequisite = { focus = japan_deluge_national_unity }
		x = 7
		y = 6
		available_if_capitulated = no
		cost = 10
		available = {
			is_subject = no
			NOT = { is_in_faction_with = SOV }
		}
		ai_will_do = {
			factor = 1
			
			modifier = {
				factor = 0
				country_exists = CHI
				CHI = {
					NOT = {
						OR = {
							is_subject_of = ROOT
							is_in_faction_with = ROOT
						}
					}
				}
			}
			modifier = {
				factor = 5
				has_war_with = SOV
			}
			modifier = {
				factor = 0.5
				has_war = yes
				NOT = { has_war_with = SOV }
			}
			modifier = {
				factor = 0
				has_war_with = CHI
				NOT = { has_war_with = SOV }
			}
			modifier = {
				factor = 0
				has_government = democratic
				NOT = { has_war_with = SOV }
			}
			modifier = {
				factor = 0.1
				OR = {
					has_government = communism
					has_government = neutrality
				}
			}
			modifier = {
				factor = 0.5
				any_country = {
					ROOT = {
						has_wargoal_against = PREV
					}
				}
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
		}
		completion_reward = {
			if = {
				limit = {
					NOT = { has_war_with = SOV }
				}
				news_event = japanese_expansion.4
			}
			
			add_named_threat = { threat = 5 name = japan_claims_siberia }
			
			every_state = {
				limit = {
					OR = {
						is_core_of = SIB
						is_core_of = KAZ
						is_core_of = TKM
						is_core_of = TJK
						is_core_of = KRG
						is_core_of = UZB
						is_core_of = ASK
						is_core_of = TAN
					}
				}
				add_claim_by = JAP
			}
			
			if = { limit = { NOT = { owns_state = 562 } }
				random_country = {
					limit = { owns_state = 562 }
					ROOT = {
						create_wargoal = {
							type = take_claimed_state
							target = PREV
							generator = { 562 637 644 574 575 565 563 564 566 567 516 576 568 329 577 578 569 654 40 570 571 403 653 572 580 579 }
						}
					}
				}
			}
		}
		will_lead_to_war_with = SOV
	}
	
	focus = {
		id = japan_claim_indochine
		icon = GFX_goal_generic_occupy_states_ongoing_war
		prerequisite = { focus = japan_claim_philippines focus = japan_befriend_philippines }
		x = 5
		y = 8
		available_if_capitulated = no
		cost = 10
		available = {
			is_subject = no
			NOT = { is_in_faction_with = FRA }
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 5
				has_war_with = FRA
			}
			modifier = {
				factor = 0.5
				has_war = yes
				NOT = { has_war_with = FRA }
			}
			modifier = {
				factor = 0
				has_government = democratic
				NOT = { has_war_with = FRA }
			}
			modifier = {
				factor = 0.1
				OR = {
					has_government = communism
					has_government = neutrality
				}
			}
			modifier = {
				factor = 0.5
				any_country = {
					ROOT = {
						has_wargoal_against = PREV
					}
				}
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
		}
		completion_reward = {
			if = {
				limit = {
					NOT = { has_war_with = FRA }
				}
				news_event = japanese_expansion.5
			}

			add_named_threat = { threat = 2 name = japan_claims_indochine }
			
			add_state_claim = 286
			add_state_claim = 670
			add_state_claim = 671
			add_state_claim = 641
			add_state_claim = 728
			
			if = { limit = { NOT = { owns_state = 286 } }
				random_country = {
					limit = { owns_state = 286 }
					ROOT = {
						create_wargoal = {
							type = take_claimed_state
							target = PREV
							generator = { 286 670 671 641 728 }
						}
					}
				}
			}
		}
		will_lead_to_war_with = FRA
	}
	
	focus = {
		id = japan_claim_dutch_east_indies
		icon = GFX_goal_generic_occupy_states_ongoing_war
		prerequisite = { focus = japan_claim_philippines focus = japan_befriend_philippines }
		x = 3
		y = 8
		available_if_capitulated = no
		cost = 10
		available = {
			is_subject = no
			NOT = { is_in_faction_with = HOL }
			NOT = { is_in_faction_with = INS }
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 5
				has_war_with = HOL
			}
			modifier = {
				factor = 0.5
				has_war = yes
				NOT = { has_war_with = HOL }
			}
			modifier = {
				factor = 0
				has_government = democratic
				NOT = { has_war_with = HOL }
			}
			modifier = {
				factor = 0.1
				OR = {
					has_government = communism
					has_government = neutrality
				}
			}
			modifier = {
				factor = 0.5
				any_country = {
					ROOT = {
						has_wargoal_against = PREV
					}
				}
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
		}
		completion_reward = {
			if = {
				limit = {
					NOT = { has_war_with = HOL }
				}
				news_event = japanese_expansion.6
			}
			
			add_named_threat = { threat = 2 name = japan_claims_dutch_east_indies }
			
			add_state_claim = 669
			add_state_claim = 738
			add_state_claim = 668
			add_state_claim = 673
			add_state_claim = 334
			add_state_claim = 667
			add_state_claim = 335
			add_state_claim = 672
			
			if = {
				limit = {
					country_exists = INS
					NOT = {
						is_in_faction_with = INS
					}
				}
				create_wargoal = {
					type = annex_everything
					target = INS
				}
			}
		}
		will_lead_to_war_with = HOL
		will_lead_to_war_with = INS
	}
	
	focus = {
		id = japan_claim_british_east_indies
		icon = GFX_goal_generic_occupy_states_ongoing_war
		prerequisite = { focus = japan_claim_philippines focus = japan_befriend_philippines }
		x = 1
		y = 8
		available_if_capitulated = no
		cost = 10
		available = {
			is_subject = no
			NOT = { is_in_faction_with = ENG }
			NOT = { is_in_faction_with = MAL }
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 5
				has_war_with = ENG
			}
			modifier = {
				factor = 0.5
				has_war = yes
				NOT = { has_war_with = ENG }
			}
			modifier = {
				factor = 0
				has_government = democratic
				NOT = { has_war_with = ENG }
			}
			modifier = {
				factor = 0.1
				OR = {
					has_government = communism
					has_government = neutrality
				}
			}
			modifier = {
				factor = 0.5
				any_country = {
					ROOT = {
						has_wargoal_against = PREV
					}
				}
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
		}
		completion_reward = {
			if = {
				limit = {
					NOT = { has_war_with = ENG }
				}
				news_event = japanese_expansion.7
			}
			
			add_named_threat = { threat = 2 name = japan_claims_british_east_indies }
			
			add_state_claim = 333
			add_state_claim = 336
			add_state_claim = 638
			add_state_claim = 632
			add_state_claim = 639
			add_state_claim = 725
			add_state_claim = 326
			add_state_claim = 787
			
			if = {
				limit = {
					country_exists = MAL
					NOT = {
						is_in_faction_with = MAL
					}
				}
				create_wargoal = {
					type = annex_everything
					target = MAL
				}
			}
			
			if = { limit = { NOT = { owns_state = 326 } }
				random_country = {
					limit = { owns_state = 326 }
					ROOT = {
						create_wargoal = {
							type = take_claimed_state
							target = PREV
							generator = { 638 632 639 725 326 787 }
						}
					}
				}
			}
		}
		will_lead_to_war_with = ENG
		will_lead_to_war_with = MAL
	}
	
	focus = {
		id = japan_claim_australia_new_zealand
		icon = GFX_goal_generic_occupy_states_ongoing_war
		prerequisite = { focus = japan_claim_philippines focus = japan_befriend_philippines }
		x = 7
		y = 8
		available_if_capitulated = no
		cost = 10
		available = {
			is_subject = no
			OR = {
				AND = {
					country_exists = AST
					NOT = { is_in_faction_with = AST }
				}
				AND = {
					country_exists = NZL
					NOT = { is_in_faction_with = NZL }
				}
			}
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 5
				has_war_with = AST
			}
			modifier = {
				factor = 5
				has_war_with = NZL
			}
			modifier = {
				factor = 0
				has_war = yes
				NOT = { has_war_with = AST }
			}
			modifier = {
				factor = 0
				has_war = yes
				NOT = { has_war_with = NZL }
			}
			modifier = {
				factor = 0
				has_government = democratic
				NOT = {
					OR = {
						has_war_with = AST
						has_war_with = NZL
					}
				}
			}
			modifier = {
				factor = 0.1
				OR = {
					has_government = communism
					has_government = neutrality
				}
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
		}
		completion_reward = {
			if = {
				limit = {
					OR = {
						NOT = { has_war_with = AST }
						NOT = { has_war_with = NZL }
					}
				}
				news_event = japanese_expansion.8
			}
			
			add_named_threat = { threat = 2 name = japan_claims_australia_new_zealand }
			
			if = { limit = { NOT = { is_in_faction_with = AST } }
				create_wargoal = {
					type = puppet_wargoal_focus
					target = AST
				}
			}
			if = { limit = { NOT = { is_in_faction_with = NZL } }
				create_wargoal = {
					type = puppet_wargoal_focus
					target = NZL
				}
			}
		}
		will_lead_to_war_with = AST
		will_lead_to_war_with = NZL
	}
	
	focus = {
		id = japan_befriend_philippines
		icon = GFX_goal_generic_improve_relations
		prerequisite = { focus = japan_deluge_national_unity }
		mutually_exclusive = { focus = japan_claim_philippines }
		x = 6
		y = 7
		available_if_capitulated = no
		cost = 10
		available = {
			is_faction_leader = yes
			country_exists = "PHI"
			NOT = { has_war_with = "PHI" }
			"PHI" = {
				is_subject = no
				is_in_faction = no
			}
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.1
				"PHI" = { has_war = yes }
			}
			modifier = {
				factor = 0
				has_government = fascism
			}
			modifier = {
				factor = 0
				date < 1937.1.1
			}
			modifier = {
				factor = 20
				is_historical_focus_on = yes
			}
		}
		completion_reward = {
			"PHI" = { country_event = japanese_diplomacy.1 }
		}
	}

	focus = {
		id = japan_befriend_siam
		icon = GFX_goal_generic_improve_relations
		prerequisite = { focus = japan_deluge_fraternal_nations focus = japan_deluge_dynastic_politics }
		x = 2
		y = 5
		available_if_capitulated = no
		cost = 10
		available = {
			is_faction_leader = yes
			country_exists = SIA
			NOT = { has_war_with = SIA }
			SIA = {
				is_subject = no
				is_in_faction = no
			}
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.1
				SIA = { has_war = yes }
			}
			modifier = {
				factor = 0
				date < 1937.1.1
			}
			modifier = {
				factor = 20
				is_historical_focus_on = yes
			}
		}
		completion_reward = {
			SIA = { country_event = japanese_diplomacy.7 }
		}
	}
	
	focus = {
		id = japan_league_ratification
		icon = GFX_focus_league_of_nations
		available = {
			OR = {
				has_idea = deluge_league_of_nations_prospective_member
				has_idea = deluge_league_of_nations_lapsing_member
			}
			has_war = no
			has_global_flag = flag_league_international_court_vote_concluded
			has_global_flag = flag_league_relief_union_vote_concluded
			has_global_flag = flag_league_prohibit_poison_gas_vote_concluded
			has_global_flag = flag_league_prisoners_of_war_vote_concluded
			has_global_flag = flag_league_maritime_protections_vote_concluded
			NOT = { has_global_flag = flag_league_of_nations_disbanded }
		}
		x = 9
		y = 0
		available_if_capitulated = yes
		cost = 10
		completion_reward = {
			add_political_power = 80
			
			if = {
				limit = {
					is_major = yes
				}
				add_named_threat = { threat = -3 name = deluge_ratified_league_of_nations_threat }
			}
			
			if = {
				limit = {
					is_major = no
					is_subject = no
				}
				add_named_threat = { threat = -1 name = deluge_ratified_league_of_nations_threat }
			}
			
			hidden_effect = {
				news_event = deluge_league.28
			}
			
			# bitmask is used to determine final attributes of the idea
			# flags are supposedly initialised at 0
			# 1 = court of justice
			# 2 = disaster relief
			# 4 = gas warfare ban
			# 8 = convention on pows
			# 16 = convention on convoys
			# total of 32 variations (including if none of the conventions pass)
			
			if = {
				limit = {
					has_idea = deluge_league_of_nations_prospective_member
				}
				remove_ideas = deluge_league_of_nations_prospective_member
			}
			
			if = {
				limit = {
					has_idea = deluge_league_of_nations_lapsing_member
				}
				remove_ideas = deluge_league_of_nations_lapsing_member
			}
			
			add_to_tech_sharing_group = deluge_league_of_nations_tech_group

			custom_effect_tooltip = tooltip_league_final_effects_depend_on_votes
			
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 0
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 1
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_0
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 1
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 2
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_1
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 2
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 3
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_2
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 3
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 4
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_3
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 4
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 5
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_4
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 5
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 6
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_5
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 6
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 7
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_6
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 7
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 8
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_7
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 8
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 9
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_8
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 9
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 10
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_9
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 10
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 11
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_10
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 11
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 12
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_11
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 12
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 13
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_12
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 13
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 14
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_13
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 14
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 15
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_14
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 15
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 16
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_15
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 16
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 17
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_16
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 17
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 18
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_17
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 18
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 19
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_18
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 19
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 20
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_19
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 20
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 21
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_20
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 21
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 22
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_21
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 22
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 23
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_22
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 23
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 24
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_23
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 24
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 25
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_24
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 25
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 26
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_25
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 26
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 27
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_26
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 27
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 28
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_27
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 28
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 29
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_28
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 29
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 30
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_29
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 30
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 31
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_30
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 31
					}
				}
				add_ideas = deluge_league_of_nations_member_31
			}
		}
		ai_will_do = {
			factor = 1

			modifier = {
				factor = 0.75
				date < 1937.1.1
			}
			
			modifier = {
				factor = 0.75
				date < 1938.1.1
			}
			
			modifier = {
				factor = 0.75
				date < 1939.1.1
			}
			
			modifier = {
				factor = 0.75
				threat > 25
			}
			
			modifier = {
				factor = 0.75
				threat > 50
			}
			
			modifier = {
				factor = 0.5
				is_subject = yes
			}
			
			modifier = {
				factor = 0
				is_subject = yes
				any_country = {
					ROOT = {
						is_subject_of = PREV
					}
					NOT = {
						OR = {
							has_idea = deluge_league_of_nations_prospective_member
							has_idea = deluge_league_of_nations_lapsing_member
							has_idea = deluge_league_of_nations_member_1
							has_idea = deluge_league_of_nations_member_2
							has_idea = deluge_league_of_nations_member_3
							has_idea = deluge_league_of_nations_member_4
							has_idea = deluge_league_of_nations_member_5
							has_idea = deluge_league_of_nations_member_6
							has_idea = deluge_league_of_nations_member_7
							has_idea = deluge_league_of_nations_member_8
							has_idea = deluge_league_of_nations_member_9
							has_idea = deluge_league_of_nations_member_10
							has_idea = deluge_league_of_nations_member_11
							has_idea = deluge_league_of_nations_member_12
							has_idea = deluge_league_of_nations_member_13
							has_idea = deluge_league_of_nations_member_14
							has_idea = deluge_league_of_nations_member_15
							has_idea = deluge_league_of_nations_member_16
							has_idea = deluge_league_of_nations_member_17
							has_idea = deluge_league_of_nations_member_18
							has_idea = deluge_league_of_nations_member_19
							has_idea = deluge_league_of_nations_member_20
							has_idea = deluge_league_of_nations_member_21
							has_idea = deluge_league_of_nations_member_22
							has_idea = deluge_league_of_nations_member_23
							has_idea = deluge_league_of_nations_member_24
							has_idea = deluge_league_of_nations_member_25
							has_idea = deluge_league_of_nations_member_26
							has_idea = deluge_league_of_nations_member_27
							has_idea = deluge_league_of_nations_member_28
							has_idea = deluge_league_of_nations_member_29
							has_idea = deluge_league_of_nations_member_30
							has_idea = deluge_league_of_nations_member_31
						}
					}
				}
			}
			modifier = {
				factor = 0.5
				is_in_faction = yes
				NOT = { is_in_faction_with = FRA }
			}
			modifier = {
				factor = 2
				is_in_faction_with = FRA
			}
			modifier = {
				factor = 2
				has_government = democratic
			}
			modifier = {
				factor = 0.5
				has_government = fascism
			}
		}
	}
	
	focus = {
		id = japan_league_leave
		icon = GFX_focus_league_of_nations
		prerequisite = { focus = japan_league_ratification }
		available = {
			NOT = { has_global_flag = flag_league_of_nations_disbanded }
		}
		x = 9
		y = 1
		available_if_capitulated = yes
		cost = 5
		completion_reward = {
			add_political_power = 80
			
			if = {
				limit = {
					is_major = yes
				}
				add_named_threat = { threat = 1 name = deluge_left_league_of_nations_threat }
			}
		
			remove_from_tech_sharing_group = deluge_league_of_nations_tech_group
			
			remove_ideas = deluge_league_of_nations_member_0
			
			hidden_effect = {
				news_event = deluge_league.29
				remove_ideas = deluge_league_of_nations_prospective_member
				remove_ideas = deluge_league_of_nations_member_1
				remove_ideas = deluge_league_of_nations_member_2
				remove_ideas = deluge_league_of_nations_member_3
				remove_ideas = deluge_league_of_nations_member_4
				remove_ideas = deluge_league_of_nations_member_5
				remove_ideas = deluge_league_of_nations_member_6
				remove_ideas = deluge_league_of_nations_member_7
				remove_ideas = deluge_league_of_nations_member_8
				remove_ideas = deluge_league_of_nations_member_9
				remove_ideas = deluge_league_of_nations_member_10
				remove_ideas = deluge_league_of_nations_member_11
				remove_ideas = deluge_league_of_nations_member_12
				remove_ideas = deluge_league_of_nations_member_13
				remove_ideas = deluge_league_of_nations_member_14
				remove_ideas = deluge_league_of_nations_member_15
				remove_ideas = deluge_league_of_nations_member_16
				remove_ideas = deluge_league_of_nations_member_17
				remove_ideas = deluge_league_of_nations_member_18
				remove_ideas = deluge_league_of_nations_member_19
				remove_ideas = deluge_league_of_nations_member_20
				remove_ideas = deluge_league_of_nations_member_21
				remove_ideas = deluge_league_of_nations_member_22
				remove_ideas = deluge_league_of_nations_member_23
				remove_ideas = deluge_league_of_nations_member_24
				remove_ideas = deluge_league_of_nations_member_25
				remove_ideas = deluge_league_of_nations_member_26
				remove_ideas = deluge_league_of_nations_member_27
				remove_ideas = deluge_league_of_nations_member_28
				remove_ideas = deluge_league_of_nations_member_29
				remove_ideas = deluge_league_of_nations_member_30
				remove_ideas = deluge_league_of_nations_member_31
			}
		}
		ai_will_do = {
			factor = 1
			
			modifier = {
				factor = 0
				is_in_faction_with = FRA
			}
			modifier = {
				factor = 0
				is_subject = yes
				any_country = {
					ROOT = {
						is_subject_of = PREV
					}
					is_in_tech_sharing_group = deluge_league_of_nations_tech_group
				}
			}
			modifier = {
				factor = 0.5
				has_government = democratic
			}
			modifier = {
				factor = 0
				has_war = no
			}
			modifier = {
				factor = 0
				NOT = {
					any_enemy_country = {
						is_in_tech_sharing_group = deluge_league_of_nations_tech_group
					}
				}
			}
			modifier = {
				factor = 2
				any_enemy_country = {
					is_major = yes
				}
			}
		}
	}

	# Economic/industrial
	
	shared_focus = deluge_architects
	
	shared_focus = deluge_resource_efficiency
	
	shared_focus = deluge_infrastructure
	
	shared_focus = deluge_electronics_research
	
	# Military

	shared_focus = deluge_naval_infrastructure
	
	shared_focus = deluge_great_war_lessons
	
	shared_focus = deluge_aircraft_industry
	
}