focus_tree = {
	id = mvlv_jap_focus
	
	country = {
		factor = 0
		modifier = {
			add = 100
			tag = JAP
		}
	}
	
	default = no
	continuous_focus_position = { x = 1500 y = 1000 }
	reset_on_civilwar = no
	
	#shared_focus = common_refugee_tech_sharing
	#shared_focus = common_adopt_powered_suits
	shared_focus = common_experience_of_BETA_war
	shared_focus = common_refugee_support_request
##country_event
#デシジョンまだ
#イベントまだ
	#####################################################################
	#明星作戦
	focus = {
		id = mvlv_jap_nf1
		icon = GFX_focus_spr_torchbearers_of_tomorrow
		x = 25
		y = 0
		cost = 1.00
		
		
		
		ai_will_do = { base = 1000 }
		
		completion_reward = {
			remove_ideas = JAP_haishui
			if = {
				limit = { is_ai = yes }
				add_timed_idea = {
					idea = JAP_MS_plan_ai
					days = 120
				}
			}
			else = {
				add_timed_idea = {
					idea = JAP_MS_plan
					days = 120
				}
			}
			news_event =  mvlv_news.6

			hidden_effect = {
				USA = {
					country_event = {
						id = mvlv_jap.12
						days = 4
					}
				}
			}
		}
	}
	#復興計画
	focus = {
		id = mvlv_jap_nf2
		icon = GFX_goal_continuous_non_factory_construct
		x = -2
		y = 1
		relative_position_id = mvlv_jap_nf1
		prerequisite = {
			focus = mvlv_jap_nf1
		}
		
		cost = 5.00
		ai_will_do = { base = 2 }
		
		completion_reward = {
			custom_effect_tooltip = mvlv_jap_nf_basey_construct_tt
			hidden_effect = {
				JAP = { MVLV_decision_cost_calculation = yes }
			}
		}
	}
	#熟練土木工
	focus = {
		id = mvlv_jap_nf3
		icon = GFX_goal_generic_construct_infrastructure
		x = -4
		y = 1
		relative_position_id = mvlv_jap_nf2
		prerequisite = {
			focus = mvlv_jap_nf2
		}
		
		cost = 10.00
		ai_will_do = { base = 2 }
		
		completion_reward = { 
			add_ideas = JAP_idea_architecture_1
		}
		
	}
	#秀でた鉄道技術
	focus = {
		id = mvlv_jap_nf4
		icon = GFX_goal_generic_construct_infrastructure
		x = 0
		y = 1
		relative_position_id = mvlv_jap_nf3
		prerequisite = {
			focus = mvlv_jap_nf3
		}
		
		cost = 10.00
		ai_will_do = { base = 2 }
		
		completion_reward = { 
			swap_ideas = {
				remove_idea = JAP_idea_architecture_1
				add_idea = JAP_idea_architecture_2
			}
		}
		
		
	}
	#専用機の最適化
	focus = {
		id = mvlv_jap_nf5
		icon = GFX_focus_jap_manchurian_project
		x = 2
		y = 1
		relative_position_id = mvlv_jap_nf1
		prerequisite = {
			focus = mvlv_jap_nf1
		}
		
		cost = 10.00
		ai_will_do = { base = 100 }
		
		completion_reward = {
			add_tech_bonus = {
				bonus = 3
				uses = 3
				name = mech_army_bonus
				technology = MVLV_research_T00R
				technology = MVLV_research_T00F
				technology = MVLV_research_T00A
				technology = MVLV_research_T00C
			}
		}
	}
	#XFJ計画
	focus = {
		id = mvlv_jap_nf6
		icon = GFX_focus_attack_australia
		x = 6
		y = 1
		relative_position_id = mvlv_jap_nf2
		prerequisite = {
			focus = mvlv_jap_nf5
		}

		
		cost = 10.00
		ai_will_do = { base = 5 }

		completion_reward = {
			USA = { country_event = mvlv_jap.1 }
			JAP = {
				country_event = mvlv_jap.1
				country_event = { id = mvlv_jap.2 days = 2 }
			}
			add_ideas = mvlv_prominence_problem
			add_tech_bonus = {
				bonus = 1
				uses = 1
				name = mech_army_bonus
				technology = MVLV_research_tsf_3_maneuver_framework
			}
		}
	}
	#内政復興
	focus = {
		id = mvlv_jap_nf7
		icon = GFX_goal_generic_intelligence_exchange
		x = 2
		y = 2
		relative_position_id = mvlv_jap_nf2
		prerequisite = {
			focus = mvlv_jap_nf2
		}

		cost = 10.00
		ai_will_do = { base = 100 }
		available = {
			has_full_control_of_state = 282
		}
		completion_reward = {
			add_political_power = 150
			set_capital = { state = 282 }
			remove_ideas = JAP_idea_makeshift_capital
			add_ideas = JAP_idea_political_excessive
			country_event = mvlv_jap.8
		}
	}
#####################
	#日本戦略研究会
	focus = {
		id = mvlv_jap_nf8
		icon = GFX_focus_generic_japanese_imperial_glory
		x = -1
		y = 2
		relative_position_id = mvlv_jap_nf7
		prerequisite = {
			focus = mvlv_jap_nf7
		}
		mutually_exclusive = {
			focus = mvlv_jap_nf9
		}
		
		cost = 10.00
		ai_will_do = { base = 100 }

		completion_reward = {
			swap_ideas = {
				remove_idea = JAP_idea_political_excessive
				add_idea = JAP_idea_political_excessive0
			}
		}
		
	}
	#政治の再編
	focus = {
		id = mvlv_jap_nf9
		icon = GFX_focus_eng_concessions_to_the_trade_unions
		x = 1
		y = 2
		relative_position_id = mvlv_jap_nf7
		prerequisite = {
			focus = mvlv_jap_nf7
		}
		mutually_exclusive = {
			focus = mvlv_jap_nf8
		}
		
		cost = 10.00
		ai_will_do = { base = 0 }

		completion_reward = {
			unlock_decision_category_tooltip = JAP_political_restructuring_category
		}
	}
	#近衛の帝国
	focus = {
		id = mvlv_jap_nf10
		icon = GFX_focus_jap_spiritual_mobilization
		x = 0
		y = 2
		relative_position_id = mvlv_jap_nf8
		prerequisite = {	
			focus = mvlv_jap_nf8
			focus = mvlv_jap_nf9
		}
		mutually_exclusive = {
			focus = mvlv_jap_nf11
		}
		
		cost = 5.00
		ai_will_do = { base = 0 }
		#
		available = {
			custom_trigger_tooltip = {
				tooltip = mvlv_jap_nf_available_tt
				has_completed_focus = mvlv_jap_nf9
				NOT = { has_idea = JAP_information }
				has_country_flag = mvlv_jap_stable_government_flag
			}
		}

		completion_reward = {
			custom_effect_tooltip = mvlv_jap_nf_construction_tt
			hidden_effect = {
				kill_country_leader = yes
			}
			create_country_leader = {
				name = "斑鳩 崇継"
				desc = "POLITICS_JAP_denka_DESC"
				picture = GFX_JAP_Kakka_pic
				expire = "1965.1.1"
				ideology = fascism_ideology
				traits = {
					warrior_code
					emperor_showa_2
				}
			}		
		}	
	}
	#将軍の復権
	focus = {
		id = mvlv_jap_nf11
		icon = GFX_focus_man_claim_the_mandate_of_heaven
		x = 0
		y = 2
		relative_position_id = mvlv_jap_nf9
		prerequisite = {
			focus = mvlv_jap_nf8
			focus = mvlv_jap_nf9
		}
		mutually_exclusive = {
			focus = mvlv_jap_nf10
		}
		
		cost = 5.00
		ai_will_do = { base = 5 }
		available = {
			custom_trigger_tooltip = {
				tooltip = mvlv_jap_nf_available_tt
				has_completed_focus = mvlv_jap_nf9
				NOT = { has_idea = JAP_information }
				has_country_flag = mvlv_jap_stable_government_flag
			}
		}
		
		completion_reward = {
			swap_ideas={
				remove_idea = JAP_puppet_shogun
				add_idea = JAP_shogun
			}
		}	
	}
#################
	#電磁砲試験
	focus = {
		id = mvlv_jap_nf12
		icon = GFX_goal_generic_army_artillery2
		x = 0
		y = 1
		relative_position_id = mvlv_jap_nf6
		prerequisite = {
			focus = mvlv_jap_nf6
		}
		
		cost = 10.00
		ai_will_do = { base = 1 }

		completion_reward = {
			add_tech_bonus = {
				bonus = 1
				uses = 1
				technology = MVLV_research_railgun_1
				technology = MVLV_research_railgun_2
				technology = MVLV_research_railgun_3

			}
		
		}		
	}
	#日ソ相互協定
	focus = {
		id = mvlv_jap_nf13
		icon = GFX_focus_generic_socialist_science
		x = 0
		y = 1
		relative_position_id = mvlv_jap_nf12
		prerequisite = {
			focus = mvlv_jap_nf12
		}
		prerequisite = {
			focus = mvlv_jap_nf7
		}
		
		cost = 10.00
		ai_will_do = { base = 1 }
		
		available = {
			# JAP = { has_tech = JAP_T942 }
			# SOV = { has_tech = SOV_Su-47 }
		}

		bypass = { }
		
		completion_reward = { 
			SOV = { add_ideas = JAP_idea_research_sov }
			JAP = { add_ideas = JAP_idea_research_sov }
		}
		
		
	}
	#欧州交流派遣
	focus = {
		id = mvlv_jap_nf14
		icon = GFX_focus_chi_british_cooperation
		x = -4
		y = 1
		relative_position_id = mvlv_jap_nf7
		prerequisite = {
			focus = mvlv_jap_nf7
		}
		
		cost = 10.00
		ai_will_do = { base = 4 }

		completion_reward = {
			custom_effect_tooltip = JAP_EUR_cultural_relations_tt
			custom_effect_tooltip = mvlv_jap_space_tt
			effect_tooltip = {
				every_army_leader  = {
					limit = {
						OWNER = { tag = ROOT }
						has_id = 9010
					}
					set_nationality = EUR
				}
			}
			EUR = {
				country_event = mvlv_jap.16
			}

		}

	}
	#西方の要塞化
	focus = {
		id = mvlv_jap_nf15
		icon = GFX_goal_generic_construct_military
		x = -2
		y = 1
		relative_position_id = mvlv_jap_nf7
		prerequisite = {
			focus = mvlv_jap_nf7
		}
		
		cost = 5.00
		ai_will_do = { base = 4 }
		available = {
			has_full_control_of_state = 528
		}

		completion_reward = {
			custom_effect_tooltip = mvlv_jap_nf_coastal_bunker_tt
			528 = {
				set_building_level = {
					type = coastal_bunker
					level = 10
					instant_build = yes
					province = {
						id = 7110
					}
				}
				set_building_level = {
					type = coastal_bunker
					level = 10
					instant_build = yes
					province = {
						id = 12032
					}	
				}
			}
		}
		
	}
	#北方の要塞化
	focus = {
		id = mvlv_jap_nf16
		icon = GFX_goal_generic_construct_military
		x = 2
		y = 1
		relative_position_id = mvlv_jap_nf7
		prerequisite = {
			focus = mvlv_jap_nf7
		}
		
		cost = 5.00
		ai_will_do = { base = 4 }
		available = {
			has_full_control_of_state = 536
		}

		completion_reward = {
			custom_effect_tooltip = mvlv_jap_nf_coastal_bunker_tt
			536 = {
				set_building_level = {
					type = coastal_bunker
					level = 10
					instant_build = yes
					province = {
						id = 4576
					}
				}
				set_building_level = {
					type = coastal_bunker
					level = 10
					instant_build = yes
					province = {
						id = 4646
					}
				}
			}
		}		
		
	}
	#東亜援助
	focus = {
		id = mvlv_jap_nf17
		icon = GFX_focus_mex_privatisation
		x = 0
		y = 1
		relative_position_id = mvlv_jap_nf4
		prerequisite = {
			focus = mvlv_jap_nf4
		}
		prerequisite = {
			focus = mvlv_jap_nf7
		}
		
		cost = 10.00
		ai_will_do = { base = 1 }
		
		completion_reward = {
			GEU = { country_event = mvlv_jap.14 }
			custom_effect_tooltip = mvlv_jap_assistance_tt
			custom_effect_tooltip = mvlv_jap_space_tt
			effect_tooltip = {
				GEU = {
					add_ideas = GEU_JAP_idea_assistance
					add_stability = 0.2
				}
				JAP = { add_ideas = JAP_GEU_idea_assistance }
			}
			
		}
		
	}
	#日欧技術協定
	focus = {
		id = mvlv_jap_nf18
		icon = GFX_goal_tfv_strengthen_commonwealth_ties
		x = 0
		y = 1
		relative_position_id = mvlv_jap_nf14
		prerequisite = {
			focus = mvlv_jap_nf14
		}
		available = {
			# EUR = {
				# OR = {
					# has_tech = EUR_Rafale
					# has_tech = EUR_EF-2000
					# has_tech = EUR_SW
					# has_tech = EUR_Tempest
				# }
			# }
			# JAP = {
				# OR = {
					# has_tech = JAP_T94
					# has_tech = JAP_T942
					# has_tech = JAP_T94F
				# }
			# }
		}
		cost = 10.00
		ai_will_do = { base = 1 }

		completion_reward = {
			# custom_effect_tooltip = mvlv_jap_eur_pact_tt
			# custom_effect_tooltip = mvlv_jap_space_tt
			# #EUR = { country_event = mvlv_jap.20 }
			EUR = { add_ideas = JAP_idea_research_eur }
			JAP = { add_ideas = JAP_idea_research_eur }
		}
	}
	#新生日本帝国
	focus = {
		id = mvlv_jap_nf19
		icon = GFX_focus_jap_pacific_guardian
		x = 1
		y = 1
		relative_position_id = mvlv_jap_nf10
		prerequisite = {
			focus = mvlv_jap_nf10
			focus = mvlv_jap_nf11
		}
		cost = 10.00
		ai_will_do = { base = 1 }
		available = {
			536 = { NOT = { has_state_category = betaland } }
			537 = { NOT = { has_state_category = betaland } }
			555 = { NOT = { has_state_category = betaland } }
			533 = { NOT = { has_state_category = betaland } }
			534 = { NOT = { has_state_category = betaland } }
			282 = { NOT = { has_state_category = betaland } }
			535 = { NOT = { has_state_category = betaland } }		
			532 = { NOT = { has_state_category = betaland } }
			531 = { NOT = { has_state_category = betaland } }
			529 = { NOT = { has_state_category = betaland } }
			530 = { NOT = { has_state_category = betaland } }		
			528 = { NOT = { has_state_category = betaland } }
			526 = { NOT = { has_state_category = betaland } }		
			645 = { NOT = { has_state_category = betaland } }
			#813 = { NOT = { has_state_category = betaland } }			
		}

		completion_reward = {
			add_political_power = 150
			add_stability = 0.1
			add_war_support = 0.1
			every_state = {
				limit = {
					is_core_of = JAP
					is_fully_controlled_by = JAP
				}
				add_extra_state_shared_building_slots = 5
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
		}	
	}
}