focus_tree = {
	id = china_focus
	
	country = {
		factor = 0
		
		modifier = {
			add = 10
			tag = CHI
		}
	}
	
	default = no


	############################
	#### INDUSTRIAL SECTION ####
	############################

	focus = {
		id = CHI_central_region_strategy                        
		icon = GFX_goal_generic_construction
		x = 1
		y = 0
		cost = 10

		ai_will_do = {
			factor = 10
		}

		completion_reward = {
			add_tech_bonus = {
				name = CHI_central_region_strategy
				bonus = 0.5
				uses = 2
				category = industry
			}
		}
	}	

	focus = {
		id = CHI_expansion_of_new_towns                              
		icon = GFX_goal_generic_construct_civ_factory
		prerequisite = { focus = CHI_central_region_strategy }
		x = 1
		y = 1
		cost = 10

		ai_will_do = {
			factor = 10
		}

		complete_tooltip = {
			random_state = {
				limit = { has_state_flag = CHI_expansion_of_new_towns_1 }
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
		}

		completion_reward = {
			#	Adds a civilian Factory (Warsaw)
			random_owned_controlled_state = {
				prioritize = { 10 }
				limit = {									
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				set_state_flag = CHI_expansion_of_new_towns_1
			}
		}
	}

	focus = {
		id = CHI_fill_the_railways_gaps                         
		icon = GFX_goal_generic_construct_infrastructure
		prerequisite = { focus = CHI_expansion_of_new_towns }
		x = 2
		y = 2
		cost = 10

		ai_will_do = {
			factor = 10
		}

		bypass = {
			custom_trigger_tooltip = {
				tooltip = infrastructure_effort_tt
				all_owned_state = {
					free_building_slots = {
						building = infrastructure
						size < 1
					}
				}
			}
		}

		complete_tooltip = {
			random_state = {
				limit = { has_state_flag = CHI_fill_the_railways_gaps_1 }
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}	
			}
			random_state = {
				limit = { has_state_flag = CHI_fill_the_railways_gaps_2 }
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}	
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 0
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = infrastructure
										size > 0
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
				set_state_flag = CHI_fill_the_railways_gaps_1
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 0
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = infrastructure
										size > 0
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
				set_state_flag = CHI_fill_the_railways_gaps_2
			}
		}
	}	

	focus = {
		id = CHI_start_central_industrial_region                          
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = CHI_expansion_of_new_towns }
		x = 0
		y = 2
		cost = 10

		ai_will_do = {
			factor = 10
		}
		complete_tooltip = {
			random_state = {
				limit = { has_state_flag = CHI_start_central_industrial_region_1 }
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				prioritize = { 92 }
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
				set_state_flag = CHI_start_central_industrial_region_1
			}			
		}

	}
	
	focus = {
		id = CHI_expand_central_industrial_region                      
		icon = GFX_goal_generic_build_tank
		prerequisite = { focus = CHI_start_central_industrial_region }
		prerequisite = { focus = CHI_fill_the_railways_gaps }
		x = 1
		y = 3
		cost = 10

		ai_will_do = {
			factor = 10
		}
		complete_tooltip = {
			random_state = {
				limit = { has_state_flag = CHI_start_central_industrial_region_1 }
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				prioritize = { 92 }
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
				set_state_flag = CHI_start_central_industrial_region_1
			}
		}
	}

	focus = {
		id = CHI_the_four_year_plan                        
		icon = GFX_goal_generic_construct_civilian
		x = 5
		y = 0
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_tech_bonus = {
				name = CHI_the_four_year_plan
				bonus = 0.5
				uses = 2
				category = construction_tech
			}
		}
	}
	
	focus = { 
		id = CHI_national_defence_fund                 
		icon = GFX_goal_generic_defence
		prerequisite = { focus = CHI_the_four_year_plan }
		x = 4
		y = 1
		cost = 10

		ai_will_do = {
			factor = 10
		}
		
		complete_tooltip = {
			random_state = {
				limit = { has_state_flag = CHI_national_defence_fund_1 }
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				set_state_flag = CHI_national_defence_fund_1
			}
		}
	}

	focus = {
		id = CHI_warsaw_main_railway_station                  
		icon = GFX_goal_generic_construct_infrastructure 
		prerequisite = { focus = CHI_the_four_year_plan }
		x = 6
		y = 1
		cost = 10

		ai_will_do = {
			factor = 10
		}

		complete_tooltip = {
			random_state = {
				limit = { has_state_flag = CHI_warsaw_main_railway_station_1 }
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				prioritize = { 10 }
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
				set_state_flag = CHI_warsaw_main_railway_station_1
			}
		}
			#	Increase Infrastructure in Warsaw
	}

	focus = {                             
		id = CHI_invest_in_the_old_polish_region
		icon = GFX_goal_generic_production
		prerequisite = { focus = CHI_warsaw_main_railway_station }
		prerequisite = { focus = CHI_national_defence_fund }
		x = 5
		y = 2
		cost = 10

		ai_will_do = {
			factor = 10
		}
		complete_tooltip = {
			random_state = {
				limit = { has_state_flag = CHI_invest_in_the_old_polish_region_1 }
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				prioritize = { 10 }
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
				set_state_flag = CHI_invest_in_the_old_polish_region_1
			}
		}
	}

	focus = {                    
		id = CHI_develop_upper_silesia
		icon = GFX_goal_generic_consumer_goods
		prerequisite = { focus = CHI_invest_in_the_old_polish_region }
		x = 6
		y = 3
		cost = 10

		ai_will_do = {
			factor = 10
		}

		complete_tooltip = {
			random_state = {
				limit = { has_state_flag = CHI_develop_upper_silesia_1 }
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				prioritize = { 88 }
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				set_state_flag = CHI_develop_upper_silesia_1
			}
		}		
	}		

	focus = {                  
		id = CHI_additional_research_slot1
		icon = GFX_focus_research
		prerequisite = { focus = CHI_invest_in_the_old_polish_region }
		x = 4
		y = 3
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_research_slot = 2
		}
	}


	focus = {               
		id = CHI_the_bombe  
		icon = GFX_goal_generic_radar
		prerequisite = { focus = CHI_additional_research_slot1 }
		x = 4
		y = 4
		cost = 10

		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			add_tech_bonus = {
				name = CHI_the_bombe
				bonus = 0.5
				uses = 2
				category = computing_tech
			}		
		}
	}
 
	focus = {                   
		id = CHI_the_cyclometer 
		icon = GFX_goal_generic_production2
		prerequisite = { focus = CHI_expand_central_industrial_region focus = CHI_additional_research_slot1 }
		x = 2
		y = 4
		cost = 10

		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			add_tech_bonus = {
				name = CHI_the_cyclometer
				bonus = 0.5
				uses = 2
				category = encryption_tech
				category = decryption_tech
			}
		}
	}

	focus = {                
		id = CHI_atomic_physics_institute
		icon = GFX_focus_wonderweapons
		prerequisite = { focus = CHI_the_cyclometer }
		x = 2
		y = 5
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_tech_bonus = {
				name = CHI_atomic_physics_institute
				bonus = 0.5
				uses = 2
				category = nuclear
			}
		}
	}		

	focus = {          
		id = CHI_additional_research_slot2
		icon = GFX_focus_research
		prerequisite = { focus = CHI_atomic_physics_institute }
	
		available = {
			num_of_factories > 50
		}
		
		x = 2
		y = 6
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_research_slot = 2
		}
	}

	############################
	####### ARMY SECTION #######
	############################


	focus = {          
		id = CHI_prepare_for_the_next_war
		icon = GFX_goal_generic_build_tank
		
		x = 10
		y = 0
		cost = 10

		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_tech_bonus = {
				name = CHI_prepare_for_the_next_war
				bonus = 0.5
				uses = 2
				category = land_doctrine
			}
			#1x 50% cost reduction for one land doctrine research
		}
	}

	focus = {       
		id = CHI_the_defence_of_poland
		icon = GFX_goal_generic_defence
		prerequisite = { focus = CHI_prepare_for_the_next_war }
		
		x = 11
		y = 1
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_tech_bonus = {
				name = CHI_the_defence_of_poland
				bonus = 0.5
				uses = 2
				category = land_doctrine
			}
			#1x 50% reduction in land doctrine research
		}
	}

	focus = {           
		id = CHI_romanian_bridgehead_strategy
		icon = GFX_goal_generic_position_armies
		prerequisite = { focus = CHI_the_defence_of_poland }
		
		x = 11
		y = 2
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_tech_bonus = {
				name = CHI_romanian_bridgehead_strategy
				bonus = 0.5
				uses = 1
				category = land_doctrine
			}
			#1x 50% reduction in land doctrine research
		}
	}

	focus = {          
		id = CHI_silesia_fortified_area
		icon = GFX_goal_generic_construct_military
		prerequisite = { focus = CHI_romanian_bridgehead_strategy }

		
		x = 12
		y = 3
		cost = 10

		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_tech_bonus = {
				name = USA_support_rock_island
				uses = 3
				bonus = 0.5
				category = artillery
				category = support_tech
			}
		}
	}
	
	focus = {             
		id = CHI_hel_fortified_area
		icon = GFX_goal_generic_fortify_city
		prerequisite = { focus = CHI_romanian_bridgehead_strategy }
		

		x = 10
		y = 3
		cost = 10

		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			# Balance research bonus to 2 techs in land_doctrine
			army_experience = 20
			add_tech_bonus = {
				name = land_doc_bonus
				bonus = 0.5
				uses = 2
				category = land_doctrine
			}
			add_tech_bonus = {
				bonus = 0.5
				uses = 1
				name = mech_army_bonus
				technology = basic_medium_tank
				technology = improved_medium_tank
				technology = advanced_medium_tank
				technology = mechanised_infantry
			}	
			# REVISIT Might want to add bonuses to Soviet through event, since focus branches from treaty
		}
	}

	focus = {                
		id = CHI_standardisation_of_equipment
		icon = GFX_goal_generic_small_arms
		prerequisite = { focus = CHI_prepare_for_the_next_war }
		
		x = 9
		y = 1
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_tech_bonus = {
				name = CHI_standardisation_of_equipment
				bonus = 0.5
				uses = 1
				category = infantry_weapons
			}
			#1x 50% for Infantry Equipment
		}
	}

	focus = {             
		id = CHI_modernising_the_cavalry
		icon = GFX_goal_generic_cavalry
		prerequisite = { focus = CHI_standardisation_of_equipment }
		
		x = 8
		y = 2
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_tech_bonus = {
				name = CHI_modernising_the_cavalry
				bonus = 0.75
				uses = 1
				category = motorized_equipment
			}
			#75% research bonus for Motorised
		}
	}

	focus = {         
		id = CHI_study_foreign_tanks
		icon = GFX_goal_generic_production
		prerequisite = { focus = CHI_modernising_the_cavalry }
		
		x = 8
		y = 3
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_tech_bonus = {
				name = CHI_study_foreign_tanks
				bonus = 0.5
				uses = 1
				category = armor
			}
			#50% armor research
		}
	}

	focus = {           
		id = CHI_cruiser_tank_experiments
		icon = GFX_goal_generic_army_tanks
		prerequisite = { focus = CHI_study_foreign_tanks }
		
		x = 8
		y = 4
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_tech_bonus = {
				name = CHI_cruiser_tank_experiments
				bonus = 0.5
				uses = 1
				technology = basic_medium_tank
			}
			#1x 50% reduction on research for medium tanks
		}
	}

	focus = {            
		id = CHI_artillery_modernisation
		icon = GFX_goal_generic_army_artillery
		prerequisite = { focus = CHI_hel_fortified_area focus = CHI_silesia_fortified_area }
		
		x = 12
		y = 4
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_tech_bonus = {
				name = CHI_artillery_modernisation
				bonus = 0.5
				uses = 1
				category = artillery
			}
			#1 x 50% for Artillery Equipment
		}
	}

	focus = {      
		id = CHI_anti_tank_guns
		icon = GFX_goal_generic_army_artillery2
		prerequisite = { focus = CHI_hel_fortified_area focus = CHI_silesia_fortified_area }
		
		x = 10
		y = 4
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_tech_bonus = {
				name = CHI_anti_tank_guns
				bonus = 0.5
				uses = 1
				category = cat_anti_tank
			}
			#1x 50% bonus for Anti-Tank guns
		}
	}

	focus = {     
		id = CHI_army_modernisation
		icon = GFX_goal_generic_army_doctrines
		prerequisite = { focus = CHI_artillery_modernisation focus = CHI_anti_tank_guns }
		
		x = 11
		y = 5
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_tech_bonus = {
				name = CHI_army_modernisation
				bonus = 0.5
				uses = 1
				category = infantry_weapons
			}
			#1 x 50% for Infantry Equipment
		}
	}


	############################
	##### AIRFORCE SECTION #####
	############################


	focus = {
		id = CHI_air_base_expansion
		icon = GFX_goal_generic_air_production
		
		x = 16
		y = 0
		cost = 10

		ai_will_do = {
			factor = 1
		}

		complete_tooltip = {
			random_state = {
				limit = { has_state_flag = CHI_air_base_expansion_1 }
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				prioritize = { 10 }
				limit = {
					free_building_slots = {
						building = air_base
						size > 1
					}
				}
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
				set_state_flag = CHI_air_base_expansion_1
			}
			#Add 2 Airbases in Warsaw
			
		}
	}

	focus = {
		id = CHI_fighter_modernisation
		icon = GFX_goal_generic_air_fighter
		prerequisite = { focus = CHI_air_base_expansion }
		
		x = 17
		y = 1
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_tech_bonus = {
				name = CHI_fighter_modernisation
				bonus = 0.5
				uses = 1
				category = light_fighter
			}
			#1x50% research bonus to fighter models
		}
	}



	focus = {
		id = CHI_air_innovations
		icon = GFX_goal_generic_build_airforce
		prerequisite = { focus = CHI_air_base_expansion }
		
		x = 15
		y = 1
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_tech_bonus = {
				name = CHI_air_innovations
				bonus = 0.5
				uses = 1
				category = air_doctrine
			}
			#1x50% research bonus to Air Doctrine Research
		}
	}

	focus = {
		id = CHI_heavy_fighter_concept
		icon = GFX_goal_generic_air_fighter2
		prerequisite = { focus = CHI_air_innovations focus = CHI_fighter_modernisation }
		
		x = 16
		y = 2
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_tech_bonus = {
				name = CHI_heavy_fighter_concept
				bonus = 0.5
				uses = 1				
				category = cat_heavy_fighter
			}
			#1x 50% research bonus to Heavy Fighters
		}
	}

	focus = {
		id = CHI_naval_bomber_experiments
		icon = GFX_goal_generic_air_naval_bomber
		prerequisite = { focus = CHI_air_innovations }
		
		x = 14
		y = 2
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_tech_bonus = {
				name = CHI_naval_bomber_experiments
				bonus = 0.5
				uses = 1				
				category = naval_bomber
			}
			#1x50% research bonus to NAV
		}
	}

	focus = {
		id = CHI_medium_bomber_focus
		icon = GFX_goal_generic_occupy_start_war
		prerequisite = { focus = CHI_heavy_fighter_concept focus = CHI_air_innovations }
		mutually_exclusive = { focus = CHI_light_bomber_focus }
		
		x = 15
		y = 3
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_tech_bonus = {
				name = CHI_medium_bomber_focus
				bonus = 0.5
				uses = 1				
				category = tactical_bomber
			}
			#1 x 50% research bonus to Tactical Bomber models
		}
	}

	focus = {
		id = CHI_light_bomber_focus
		icon = GFX_goal_generic_CAS
		prerequisite = { focus = CHI_heavy_fighter_concept focus = CHI_fighter_modernisation }
		mutually_exclusive = { focus = CHI_medium_bomber_focus }
		
		x = 17
		y = 3
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_tech_bonus = {
				name = CHI_light_bomber_focus
				bonus = 0.5
				uses = 1				
				category = cas_bomber
			}
			#1 x 50% research bonus to CAS
		}
	}

	focus = {
		id = CHI_air_modernisations_programme
		icon = GFX_goal_generic_air_doctrine
		prerequisite = { focus = CHI_light_bomber_focus focus = CHI_medium_bomber_focus }
		
		x = 16
		y = 4
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_tech_bonus = {
				name = CHI_air_modernisations_programme
				bonus = 0.5
				uses = 1
				category = air_doctrine
			}
			#1x 50% reduction in an air doctrine research
			
		}
	}

	focus = {
		id = CHI_rocket_development
		icon = GFX_focus_rocketry
		prerequisite = { focus = CHI_air_modernisations_programme }
		
		x = 16
		y = 5
		cost = 10

		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			add_tech_bonus = {
				name = CHI_rocket_development
				bonus = 0.5
				uses = 2
				category = jet_technology
				category = rocketry
			}
			#2x50% research to Rockets and Jet Engine Research
		}
	}


	############################
	####### NAVY SECTION #######
	############################


	focus = {
		id = CHI_develop_polish_ship_building
		icon = GFX_goal_generic_construct_naval_dockyard
		
		x = 21
		y = 0
		cost = 10

		ai_will_do = {
			factor = 2
		}
		
		complete_tooltip = {
			random_state = {
				limit = { has_state_flag = CHI_develop_polish_ship_building_1 }
				add_building_construction = {
					type = dockyard
					level = 3
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				prioritize = { 85 }
				limit = {
					free_building_slots = {
						building = dockyard
						size > 2
						include_locked = yes
					}
				}
				add_building_construction = {
					type = dockyard
					level = 3
					instant_build = yes
				}
				set_state_flag = CHI_develop_polish_ship_building_1
			}
			#Add 3 Dockyards at Gdansk			
		}
	}

	focus = {
		id = CHI_study_foreign_built_ships
		icon = GFX_goal_generic_production
		prerequisite = { focus = CHI_develop_polish_ship_building }
		
		x = 22
		y = 1
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_tech_bonus = {
				name = CHI_study_foreign_built_ships
				bonus = 0.5
				uses = 1
				category = dd_tech
			}
			#1x 50% research bonus for Destroyers
		}
	}

	focus = {
		id = CHI_a_cruiser_navy
		icon = GFX_goal_generic_navy_anti_submarine
		prerequisite = { focus = CHI_study_foreign_built_ships }
		
		x = 23
		y = 2
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_tech_bonus = {
				name = CHI_a_cruiser_navy
				bonus = 0.5
				uses = 1
				category = cl_tech
			}
			#1x50% research bonus to Light Cruisers
		}
	}

	focus = {
		id = CHI_import_submarine_technology
		icon = GFX_goal_generic_production2
		prerequisite = { focus = CHI_develop_polish_ship_building }
		
		x = 20
		y = 1
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_tech_bonus = {
				name = CHI_import_submarine_technology
				bonus = 0.5
				uses = 1
				category = ss_tech
			}
			#1 x50% research bonus for Submarines
		}
	}

	focus = {
		id = CHI_commerce_attack
		icon = GFX_goal_generic_navy_submarine
		prerequisite = { focus = CHI_import_submarine_technology }
		x = 19
		y = 2
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_tech_bonus = {
				name = CHI_commerce_attack
				bonus = 0.5
				uses = 1
				category = submarine_doctrine
			}
			#1x50% research bonus to Submarine Doctrine
		}
	}

	focus = {
		id = CHI_the_twin_threats
		icon = GFX_goal_generic_navy_doctrines_tactics
		prerequisite = { focus = CHI_import_submarine_technology focus = CHI_study_foreign_built_ships }
		
		x = 21
		y = 2
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_tech_bonus = {
				name = CHI_the_twin_threats
				bonus = 0.5
				uses = 1
				category = naval_doctrine
			}
			#1x50% bonus to Naval Doctrine Research
		}
	}

	focus = {
		id = CHI_coastal_defense
		icon = GFX_goal_generic_navy_cruiser
		prerequisite = { focus = CHI_the_twin_threats }
		mutually_exclusive = { focus = CHI_strike_force }
		x = 22
		y = 3
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_tech_bonus = {
				name = CHI_coastal_defense
				bonus = 0.5
				uses = 1
				category = ss_tech
			}
			add_tech_bonus = {
				name = CHI_coastal_defense
				bonus = 0.5
				uses = 1
				category = dd_tech
			}
			#1x50% research bonus to destroyers & 1 x50% bonus to Submarines
		}
	}
	
	focus = {
		id = CHI_strike_force
		icon = GFX_goal_generic_occupy_states_coastal
		prerequisite = { focus = CHI_the_twin_threats }
		mutually_exclusive = { focus = CHI_coastal_defense }
		x = 20
		y = 3
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_tech_bonus = {
				name = CHI_strike_force
				bonus = 0.5
				uses = 1
				category = cl_tech
			}
			add_tech_bonus = {
				name = CHI_strike_force
				bonus = 0.5
				uses = 1
				category = ca_tech
			}
			#1x50% research bonus to Light Cruisers & 1x50% bonus to Heavy Cruisers
		}
	}

	focus = {
		id = CHI_baltic_navy
		icon = GFX_goal_generic_navy_battleship
		prerequisite = { focus = CHI_strike_force focus = CHI_coastal_defense }
		
		x = 21
		y = 4
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_tech_bonus = {
				name = CHI_baltic_navy
				bonus = 0.5
				uses = 1
				category = naval_doctrine
			}
			#1x50% bonus to Naval Doctrine research
		}
	}

	############################
	##### POLITICS SECTION #####
	############################


	focus = {
		id = CHI_strengthen_the_polish_state
		icon = GFX_goal_generic_demand_territory
		
		x = 29
		y = 0
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_political_power = 120
			#PP +120
		}
	}

	focus = {
		id = CHI_defensive_focus
		icon = GFX_goal_generic_defence
		prerequisite = { focus = CHI_strengthen_the_polish_state }
		
		x = 31
		y = 1
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_ideas = deterrence
			#Grants Deterrence modifier
		}
	}

	focus = {
		id = CHI_polish_militarism
		icon = GFX_goal_generic_small_arms
		prerequisite = { focus = CHI_strengthen_the_polish_state }
		
		x = 27
		y = 1
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			army_experience = 20
			add_ideas = CHI_militarism_focus
		}
	}

	focus = {
		id = CHI_polish_revanchism
		icon = GFX_goal_generic_political_pressure
		prerequisite = { focus = CHI_polish_militarism }
		
		x = 25
		y = 2
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_ideas = CHI_polish_revanchism_focus
			#grants a -10% PP cost to war goal justification
		}
	}

	focus = {
		id = CHI_poland_first
		icon = GFX_goal_generic_defence
		prerequisite = { focus = CHI_polish_militarism }
		mutually_exclusive = { focus = CHI_internationalism }

		x = 27
		y = 2
		cost = 10

		ai_will_do = {
			factor = 10
		}

		completion_reward = {
			add_ideas = indoctrination_focus
			#Gains the Indoctrination Modifier
		}
	}

	focus = {
		id = CHI_ideological_fanaticism
		icon = GFX_goal_generic_propaganda
		prerequisite = { focus = CHI_poland_first }

		x = 26
		y = 3
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_ideas = CHI_ideological_fanaticism
			#Same as in Generic Focus
		}
	}

	focus = {
		id = CHI_the_between_the_seas_concept
		icon = GFX_goal_anschluss
		available = {
			is_puppet = no
			is_in_faction = no
		}
		prerequisite = { focus = CHI_poland_first }
		x = 24
		y = 3
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			set_rule = { can_create_factions = yes }
		}
	}

	focus = {
		id = CHI_treaty_with_lithuania       
		icon = GFX_goal_generic_major_alliance
		prerequisite = { focus = CHI_the_baltic_alliance }

		x = 24
		y = 5
		cost = 10
		available = {
			is_puppet = no
			NOT =  { is_in_faction_with = SOV }
			NOT = { has_war_with = SOV }
			SOV = {
				OR = {
					AND = { owns_state = 408 controls_state = 408 }
					AND = { owns_state = 409 controls_state = 409 }
					AND = { owns_state = 560 controls_state = 560 }
					AND = { owns_state = 561 controls_state = 561 }
					AND = { owns_state = 563 controls_state = 563 }
					AND = { owns_state = 657 controls_state = 657 }
					AND = { owns_state = 655 controls_state = 655 }
				}
			}
		}

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				date < 1939.1.1
			}

			modifier = {
				factor = 0.5
				ai_irrationality > 20
			}
			modifier = {
				factor = 0.5
				ai_irrationality > 25
			}
			modifier = {
				factor = 0.5
				ai_irrationality > 30
			}
			modifier = {
				factor = 0.1
				ai_irrationality > 35
			}
		}
		completion_reward = {
			SOV = {
				country_event = { id = beifangsiling.2 }
				custom_effect_tooltip = needs_approval
			}
			effect_tooltip = {
				CHI = {
					if = {
						limit = { SOV = { owns_state = 408 controls_state = 408 } }
						transfer_state = 408
					}
					if = {
						limit = { SOV = { owns_state = 409 controls_state = 409 } }
						transfer_state = 409
					}
					if = {
						limit = { SOV = { owns_state = 560 controls_state = 560 } }
						transfer_state = 560
					}
					if = {
						limit = { SOV = { owns_state = 561 controls_state = 561 } }
						transfer_state = 561
					}
					if = {
						limit = { SOV = { owns_state = 563 controls_state = 563 } }
						transfer_state = 563
					}
					if = {
						limit = { SOV = { owns_state = 657 controls_state = 657 } }
						transfer_state = 657
					}
					if = {
						limit = { SOV = { owns_state = 655 controls_state = 655 } }
						transfer_state = 655
					}
				}
			}
		}
	}

	focus = {   
		id = CHI_the_baltic_alliance
		icon = GFX_goal_generic_national_unity
		prerequisite = { focus = CHI_the_between_the_seas_concept }
		available = {
			conquest_exists = JAP
		}
		will_lead_to_war_with = JAP
		x = 24
		y = 4
		cost = 10
		#ai_will_do = {
		#	factor = 1
		#}
		completion_reward = {
			create_wargoal = {
				type = puppet_wargoal_focus
				target = JAP
			}
                        annex = MEN
                        annex = MCK
			add_state_claim = 633
			add_state_claim = 684
			add_state_claim = 645
			add_state_claim = 646
			add_state_claim = 647
			add_state_claim = 648
			add_state_claim = 524
			add_state_claim = 525
			add_state_claim = 526
			add_state_claim = 527
			add_state_claim = 609
			add_state_claim = 611
			add_state_claim = 612
			add_state_claim = 715
			add_state_claim = 716
			add_state_claim = 610
			add_state_claim = 328
			add_state_claim = 717
			add_state_claim = 714
			add_state_claim = 537
		}
	}


	focus = {
		id = CHI_internationalism
		icon = GFX_goal_generic_positive_trade_relations
		prerequisite = { focus = CHI_polish_militarism focus = CHI_defensive_focus }
		mutually_exclusive = { focus = CHI_poland_first }

		x = 29
		y = 2
		cost = 10

		ai_will_do = {
			factor = 2.5
		}

		completion_reward = {
			add_ideas = CHI_internationalism_focus
			#Some sort of Relations boost modifier
		}
	}

	focus = {
		id = CHI_authoritarianism
		icon = GFX_goal_molotov_ribbentrop_pact
		prerequisite = { focus = CHI_internationalism }
		mutually_exclusive = { focus = CHI_liberalism }

		x = 30
		y = 3
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_ideas = CHI_authoritarianism_focus
			#Reduction in Democratic Support
		}
	}

	focus = {
		id = CHI_paramilitarism
		icon = GFX_goal_generic_military_sphere
		prerequisite = { focus = CHI_authoritarianism }

		x = 31
		y = 4
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_ideas = paramilitarism_focus
			#As Per Generic Focus
		}
	}

	focus = {
		id = CHI_go_right
		icon = GFX_goal_support_fascism
		prerequisite = { focus = CHI_authoritarianism }
		mutually_exclusive = { focus = CHI_go_left }

		x = 29
		y = 4
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_ideas = fascist_influence
			#Increases Fascist Support
		}
	}

	focus = {
		id = CHI_military_youth
		icon = GFX_goal_generic_wolf_pack
		prerequisite = { focus = CHI_go_right }

		x = 30
		y = 6
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_ideas = military_youth_focus
			#As per generic
		}
	}

	focus = {
		id = CHI_seek_accommodation_with_germany
		icon = GFX_goal_generic_military_deal
		prerequisite = { focus = CHI_go_right }
		available = {
			country_exists = GER
		}
		
		x = 29
		y = 5
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_opinion_modifier = { target = GER modifier = CHI_seek_accommodation_with_germany }
			GER = { add_opinion_modifier = { target = ROOT modifier = CHI_seek_accommodation_with_germany } }
			#Relation Boost With Germany
		}
	}

	focus = {
		id = CHI_go_left
		icon = GFX_goal_support_communism
		prerequisite = { focus = CHI_authoritarianism }
		mutually_exclusive = { focus = CHI_go_right }

		x = 27
		y = 4
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_ideas = communist_influence
			#Increases Communist Support
		}
	}

	focus = {
		id = CHI_political_commissars
		icon = GFX_goal_generic_war_with_comintern
		prerequisite = { focus = CHI_go_left }

		x = 26
		y = 6
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_ideas = political_commissars_focus
			#as per generic focus
		}
	}

	focus = {
		id = CHI_seek_accommodation_with_USSR
		icon = GFX_goal_generic_dangerous_deal
		prerequisite = { focus = CHI_go_left }
		available = {
			country_exists = SOV
		}
		x = 27
		y = 5
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_opinion_modifier = { target = SOV modifier = CHI_seek_accommodation_with_USSR }
			SOV = { add_opinion_modifier = { target = ROOT modifier = CHI_seek_accommodation_with_USSR } }
			#Relation Boost with the USSR
		}
	}

	focus = {
		id = CHI_liberalism
		icon = GFX_goal_support_democracy
		prerequisite = { focus = CHI_internationalism }
		prerequisite = { focus = CHI_defensive_focus }
		mutually_exclusive = { focus = CHI_authoritarianism }

		x = 32
		y = 3
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_ideas = democratic_influence
			#Increase in Democratic Support
		}
	}

	focus = {
		id = CHI_intervention_focus
		icon = GFX_goal_generic_position_armies
		prerequisite = { focus = CHI_liberalism }

		x = 33
		y = 4
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			set_rule = { can_send_volunteers = yes }
			add_political_power = 150
			#As per generic
		}
	}

	focus = {
		id = CHI_draw_closer_to_britain
		icon = GFX_goal_generic_major_alliance
		prerequisite = { focus = CHI_liberalism }
		available = {
			country_exists = ENG
		}

		x = 35
		y = 4
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_opinion_modifier = { target = ENG modifier = CHI_draw_closer_to_britain }
			ENG = { add_opinion_modifier = { target = ROOT modifier = CHI_draw_closer_to_britain } }
			#Relation boost with the UK
		}
	}

	focus = {
		id = CHI_volunteer_corps
		icon = GFX_goal_generic_more_territorial_claims
		prerequisite = { focus = CHI_intervention_focus }

		x = 33
		y = 5
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_ideas = volunteer_corps_focus
			#As Per Generic Tree
		}
	}

}		
