focus_tree = {
	id = changelings
	country = {
		factor = 0
		modifier = {
			add = 10
			tag = CHN
		}
	}
	default = no
	focus = {
		id = unite_the_people
		icon = GFX_goal_generic_national_unity
		cost = 12.00
		x = 8
		y = 0
		ai_will_do = {
			factor = 100
		}
		available_if_capitulated = yes


		completion_reward = {
			add_ideas = CHN_unity
			add_manpower = 55333
			}
		}

	focus = {
		id = army_research
		icon = GFX_goal_generic_cavalry
		cost = 10.00
		x = 17
		y = 1
		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			army_experience = 25
			add_tech_bonus = {
				name = infantry_weapons_bonus
				bonus = 0.5
				uses = 2
				category = infantry_weapons
				category = artillery
			}
		}

	}
	focus = {
		id = research_tanks
		icon = GFX_goal_generic_army_tanks
		cost = 13.00
		x = 13
		y = 1

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		completion_reward = {
			army_experience = 10
			add_tech_bonus = {
				name = armor_bonus
				bonus = 0.4
				uses = 2
				category = armor
			}
		}

	}
	focus = {
		id = research_air
		icon = GFX_goal_generic_air_doctrine
		cost = 12.00
		x = 15
		y = 2

		ai_will_do = {
			factor = 10
		}
		available_if_capitulated = yes

		completion_reward = {
			air_experience = 15
			add_tech_bonus = {
				name = fighter_bonus
				bonus = 0.5
				uses = 2
				technology = early_fighter
				technology = fighter1
				technology = fighter2
				technology = fighter3
				technology = heavy_fighter1
				technology = heavy_fighter2
				technology = heavy_fighter3
			}
			add_tech_bonus = {
				name = air_doc_bonus
				bonus = 0.33
				uses = 3
				category = air_doctrine
			}
		}

	}
	focus = {
		id = improve_economy
		icon = GFX_goal_generic_consumer_goods
		cost = 10.00
		prerequisite = { focus = unite_the_people }
		mutually_exclusive = {
			focus = seize_production
		}
		x = 8
		y = 1

		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = industrial_complex
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = industrial_complex
					level = 3
					instant_build = yes
				}
			}
			add_tech_bonus = {
				name = industrial_bonus
				bonus = 0.40
				uses = 2
				category = industry
			}
		}
	}

	focus = {
		id = seize_production
		icon = GFX_goal_generic_forceful_treaty
		cost = 10.00
		prerequisite = { focus = unite_the_people }
		mutually_exclusive = {
			focus = improve_economy
		}
		x = 6
		y = 1

	}
	focus = {
		id = militarism_CHN
		icon = GFX_goal_generic_propaganda
		x = 15
		y = 3
		cost = 10
		ai_will_do = { factor = 5 }

		prerequisite = {
			focus = army_research
		}
		prerequisite = {
			focus = research_tanks
		}
		prerequisite = {
			focus = research_air
		}
		prerequisite = {
			focus = military_minds
		}

		available_if_capitulated = no
		completion_reward = {
			army_experience = 50
			add_tech_bonus = {
				name = land_doc_bonus
				bonus = 0.15
				uses = 2
				category = land_doctrine
			}
		}
	}

	focus = {
		id = nuclear_effort_CHN
		icon = GFX_focus_wonderweapons
		prerequisite = { focus = militarism_CHN }
		x = 15
		y = 4
		cost = 10

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = nuclear_bonus
				ahead_reduction = 0.5
				category = nuclear
			}
			add_tech_bonus = {
				name = secret_bonus
				bonus = 0.5
				uses = 2
				category = electronics
				category = nuclear
				category = rocketry
			}
		}

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.25
				always = yes
			}
		}
	}
	focus = {
		id = equality_for_all_CHN
		icon = GFX_goal_support_communism
		cost = 10
		prerequisite = {
			focus = seize_production
		}
		x = 3
		y = 1
		completion_reward = {
			add_ideas = internationalism
		}
	}
	focus = {
		id = destroy_the_tyrrany
		icon = GFX_goal_unknown
		cost = 10.00
		prerequisite = {
			focus = equality_for_all_CHN
		}
		x = 3
		y = 2

	}
	focus = {
		id = ministry_of_defense
		icon = GFX_goal_unknown
		cost = 10.00
		prerequisite = {
			focus = destroy_the_tyrrany
		}
		x = 1
		y = 3

	}
	focus = {
		id = revolution
		icon = GFX_goal_unknown
		cost = 10.00
		prerequisite = {
			focus = destroy_the_tyrrany
		}
		x = 3
		y = 3

	}
	focus = {
		id = crush_the_reaction
		icon = GFX_goal_unknown
		cost = 10.00
		prerequisite = {
			focus = revolution
		}
		x = 3
		y = 4

	}
	focus = {
		id = revolutionary_war_commitee
		icon = GFX_goal_unknown
		cost = 10.00
		prerequisite = {
			focus = destroy_the_tyrrany
		}
		x = 5
		y = 3

	}
	focus = {
		id = Chrysalis
		icon = GFX_goal_generic_improve_relations
		cost = 10.00
		prerequisite = {
			focus = unite_the_people
		}
		prerequisite = {
			focus = improve_economy
		}
		ai_will_do = {
			factor = 100
		}
		completion_reward = { 
			add_ideas = chrysalis }
		x = 10
		y = 1

	}
	focus = {
		id = destroy_thoraxian_opposition
		icon = GFX_goal_generic_major_war
		cost = 10.00
		prerequisite = {
			focus = Chrysalis
		}
		x = 8
		y = 2
		completion_reward = {
			add_manpower = 40000
			remove_ideas = political_divisions
		}
	}
	focus = {
		id = hive_funding
		icon = GFX_goal_generic_consumer_goods
		cost = 10.00
		prerequisite = {
			focus = Chrysalis
		}
		x = 10
		y = 2

		ai_will_do = { factor = 100 }
		completion_reward = {
			add_manpower = 200000
			add_ideas = newhives
		}

	}
	focus = {
		id = Expansion_of_newhives
		icon = GFX_goal_generic_construction2
		cost = 10.00
		prerequisite = {
			focus = hive_funding
		}
		x = 10
		y = 3
		ai_will_do = { factor = 100 }

		completion_reward = {
			swap_ideas = { remove_idea = newhives add_idea = newhives2 } 
		}

	}
	focus = {
		id = send_spies_to_EQS
		icon = GFX_goal_generic_construction2
		cost = 10.00
		prerequisite = {
			focus = Expansion_of_newhives
		}
		x = 6
		y = 4
		completion_reward = {
			country_event = { id = changelings.16 days = 1 }
		}
	}
	focus = {
		id = steal_tech
		icon = GFX_goal_generic_radar
		cost = 10.00
		prerequisite = {
			focus = send_spies_to_EQS
		}
		available = {
			EQS = {
				has_idea = changeling_spies
			}
		}
		x = 5
		y = 5
		completion_reward = {
			add_ideas = covert_agents
		}
	}
	focus = {
		id = air_research
		icon = GFX_goal_unknown
		cost = 10.00
		prerequisite = {
			focus = steal_tech
		}
		available = {
			EQS = {
				has_idea = changeling_spies
			}
		}
		x = 3
		y = 6
		completion_reward = {
			add_tech_bonus = {
				name = fighter_bonus
				bonus = 0.3
				uses = 2
				technology = fighter1
				technology = fighter2
				technology = fighter3
			}
		}
	}
	focus = {
		id = industrial_research
		icon = GFX_goal_generic_construct_civilian
		cost = 14.00
		prerequisite = {
			focus = Expansion_of_newhives
		}
		ai_will_do = { factor = 100 }
		completion_reward = {
			add_tech_bonus = {
				name = industrial_bonus
				bonus = 0.5
				uses = 1
				category = industry

			}
			259 = { add_building_construction = {
						type = infrastructure
						level = 2
						instant_build = yes					
					} }
			250 = { add_building_construction = {
						type = infrastructure
						level = 2
						instant_build = yes				
					} }
			248 = { add_building_construction = {
						type = infrastructure
						level = 2
						instant_build = yes				
					} }
			246 = { add_building_construction = {
						type = infrastructure
						level = 2
						instant_build = yes				
					} }
			247 = { add_building_construction = {
						type = infrastructure
						level = 2
						instant_build = yes				
					} }
			213 = { add_building_construction = {
						type = infrastructure
						level = 2
						instant_build = yes				
					} }
		}
		x = 9
		y = 4

	}
	focus = {
		id = arctic_shelf_mining
		icon = GFX_goal_generic_oil_refinery
		cost = 10.00
		prerequisite = {
			focus = industrial_research
		}
		x = 7
		y = 5
		ai_will_do = { factor = 100 }
		completion_reward {
			add_resource = {
				type = oil
				amount = 24
				state = 264
			}
			add_resource = {
				type = oil
				amount = 12
				state = 312
			}
		}

	}
	focus = {
		id = steel_industry
		icon = GFX_goal_generic_construct_civ_factory
		cost = 15.00
		prerequisite = {
			focus = industrial_research
		}
		ai_will_do = { factor = 80 }
		x = 9
		y = 5
		completion_reward {
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = arms_factory
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 4
				add_building_construction = {
					type = arms_factory
					level = 3
					instant_build = yes
				}
			}
			add_resource = {
				type = steel
				amount = 18
				state = 262
			}
			add_resource = {
				type = steel
				amount = 5
				state = 315
			}
		}
	}
	focus = {
		id = CHN_roads
		icon = GFX_goal_generic_construct_infrastructure
		cost = 7
		prerequisite = {
			focus = industrial_research
		}
		ai_will_do = { factor = 80 }
		x = 9
		y = 6
		completion_reward {
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = infrastructure
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = infrastructure
					level = 3
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = infrastructure
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = infrastructure
					level = 3
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = infrastructure
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = infrastructure
					level = 3
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 1
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = infrastructure
										size > 1
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = infrastructure
					level = 3
					instant_build = yes
				}
			}
		}
	}
	focus = {
		id = pressure_olenia
		icon = GFX_goal_generic_position_armies
		cost = 10.00
		prerequisite = {
			focus = Expansion_of_newhives
		}
		ai_will_do = { factor = 95 }
		x = 13
		y = 4
		bypass = { OLE = { exists = no } }
		completion_reward {
			add_state_claim = 300
			add_state_claim = 292
			country_event = { id = changelings.1 days = 1 }
			307 = { add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes					
					} }
			291 = { add_building_construction = {
						type = infrastructure
						level = 3
						instant_build = yes				
					} }
		}
	}

	focus = {
		id = offer_puppet
		icon = GFX_goal_generic_attack_allies
		cost = 10.00
		prerequisite = {
			focus = pressure_olenia
		}
		mutually_exclusive = {
			focus = conquest
		}
		bypass = { OLE = { exists = no } }
		ai_will_do = { factor = 100 }
		x = 11
		y = 5
		completion_reward = { country_event = { id = changelings.2 } }
	}
	focus = {
		id = conquest
		icon = GFX_goal_generic_secret_weapon
		cost = 10.00
		prerequisite = {
			focus = pressure_olenia
		}
		mutually_exclusive = {
			focus = offer_puppet
		}
		bypass = { OLE = { exists = no } }
		completion_reward = { country_event = { id = changelings.4 }
		create_wargoal = {
			type = annex_everything
			target = OLE
		} 
	}
		ai_will_do = { factor = 0 }
		x = 15
		y = 5

	}
	focus = {
		id = national_resources
		icon = GFX_goal_generic_positive_trade_relations
		cost = 10.00
		prerequisite = {
			focus = offer_puppet
			focus = conquest
		}
		x = 11
		y = 6
		ai_will_do = { factor = 100 }
		available = { owns_state = 300 owns_state = 292 }
		completion_reward = { 
			add_resource = {
				type = steel
				amount = 13
				state = 300
			}
			add_resource = {
				type = steel
				amount = 24
				state = 292
			}
			add_tech_bonus = {
			name = industrial_bonus
			bonus = 0.2
			uses = 1
			category = industry
		}
		}
	}

	focus = {
		id = expanded_industry
		icon = GFX_goal_generic_construct_infrastructure
		cost = 10.00
		prerequisite = {
			focus = steel_industry
		}
		prerequisite = {
			focus = national_resources
		}
		x = 10
		y = 7
		ai_will_do = { factor = 100 }
		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = industrial_complex
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 4
				add_building_construction = {
					type = industrial_complex
					level = 4
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = industrial_complex
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 4
				add_building_construction = {
					type = arms_factory
					level = 4
					instant_build = yes
				}
			}
		}

	}
	focus = {
		id = technology_centre
		icon = GFX_goal_continuous_research
		cost = 10
		prerequisite = {
			focus = expanded_industry
		}
		x = 10
		y = 8
		ai_will_do = { factor = 100 }
		completion_reward = {
			add_research_slot = 1
		}
	}
	focus = {
		id = military_minds
		icon = GFX_focus_generic_military_mission
		cost = 10.00
		x = 15
		y = 0
		ai_will_do = { factor = 90 }
		completion_reward = {
			add_tech_bonus = {
				name = infantry_weapons_bonus
				bonus = 0.5
				uses = 1
				category = artillery
			}
			add_tech_bonus = {
				name = land_doc_bonus
				bonus = 0.5
				uses = 1
				category = land_doctrine
			}
		}

	}
	focus = {
		id = war_academy
		icon = GFX_focus_generic_military_mission
		cost = 10.00
		prerequisite = {
			focus = military_minds
		}
		x = 15
		y = 1
		ai_will_do = { factor = 70 }
		completion_reward = {
			army_experience = 25
			add_tech_bonus = {
				name = infantry_weapons_bonus
				bonus = 0.2
				uses = 1
				category = infantry_weapons
			}
			add_ideas = changeling_school_of_war
		}

	}
	focus = {
		id = prepare_for_war
		icon = GFX_goal_generic_fortify_city
		cost = 20
		prerequisite = {
			focus = conquest
			focus = offer_puppet
		}
		x = 15
		y = 6
		available = {
			NOT = { country_exists = OLE 
			OR = { OLE = { is_puppet_of = CHN } } }
		}
		ai_will_do = { factor = 100 }
		completion_reward = {
			hidden_effect = {
				remove_ideas = newhives2
				news_event = { days = 2 id = news.17 }
			}
			251 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			246 = { 
				add_building_construction = {
					type = air_base
					level = 4
					instant_build = yes
				}
				add_building_construction = {
					type = infrastructure
					level = 4
					instant_build = yes
				}
			}
			247 = {
			add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
			add_building_construction = {
					type = infrastructure
					level = 3
					instant_build = yes
				}
			}
			319 = {
			add_building_construction = {
					type = air_base
					level = 1
					instant_build = yes
				}
			add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
			}

		}
	}
	focus = {
		id = demand_equestria
		icon = GFX_focus_generic_strike_at_democracy2
		cost = 20
		prerequisite = {
			focus = prepare_for_war
		}
		x = 15
		y = 7
		ai_will_do = { factor = 100 }
		completion_reward = {
			create_wargoal = {
			type = annex_everything
			target = EQS
			} 
			create_wargoal = {
			type = annex_everything
			target = CRY
			}
		}

	}
	focus = {
		id = demand_stg
		icon = GFX_goal_crush_stalliongrad
		cost = 20
		prerequisite = {
			focus = demand_equestria
		}
		x = 17
		y = 8
		ai_will_do = {
			factor = 0
			modifier = {
				factor = 100
				OR = {
					EQS = { exists = no }
					EQS = { is_puppet = yes }
					}
			}					
		}
		completion_reward = {
			create_wargoal = {
			type = annex_everything
			target = STG
			} 
		}
	}
	focus = {
		id = continuous_war_plan_CHN
		icon = GFX_goal_generic_military_sphere
		cost = 20
		prerequisite = {
			focus = demand_equestria
		}
		available = { has_war_with = EQS }
		completion_reward = {
			add_ideas = continous_war_plan_CHN
		}
		x = 15
		y = 8

	}
	focus = {
		id = death_or_dishonour
		icon = GFX_goal_generic_political_pressure
		cost = 10.00
		prerequisite = {
			focus = continuous_war_plan_CHN
		}
		mutually_exclusive = { focus = victory }
		x = 14
		y = 9
		available = { has_war_with = EQS
		surrender_progress > 0.4 }
		completion_reward = {
			add_ideas = changeling_swarm
		}
	}
	focus = {
		id = victory
		icon = GFX_goal_support_fascism
		cost = 10.00
		prerequisite = {
			focus = continuous_war_plan_CHN
		}
		mutually_exclusive = { focus = death_or_dishonour }
		available = { has_war_with = EQS
		EQS = { surrender_progress > 0.5 } }
		x = 16
		y = 9
		completion_reward = {
			add_tech_bonus = {
				name = land_doc_bonus
				bonus = 0.35
				uses = 1
				category = land_doctrine
			}
			if = { limit = { has_idea = continous_war_plan_CHN } }
			remove_ideas = continous_war_plan_CHN
		}

	}

	####### STUFFF #########
	focus = {
		id = stalliongrad_coalition
		icon = GFX_goal_unknown
		cost = 10.00
		prerequisite = {
			focus = revolution
		}
		x = 1
		y = 4

	}
	focus = {
		id = naval_research
		icon = GFX_goal_unknown
		cost = 10.00
		prerequisite = {
			focus = steal_tech
		}
		x = 5
		y = 6
		completion_reward = {
			add_tech_bonus = {
				bonus = 0.5
				uses = 2
				category = bb_tech
			}
		}
	}
	focus = {
		id = support_research
		icon = GFX_goal_unknown
		cost = 10.00
		prerequisite = {
			focus = steal_tech
		}
		available = {
			EQS = { has_idea = changeling_spies }
		}
		x = 7
		y = 6
		completion_reward = {
			add_tech_bonus = {
				name = special_bonus
				bonus = 0.3
				uses = 2
				technology = paratroopers
				technology = paratroopers2
				technology = tech_mountaineers
				technology = tech_mountaineers2
				technology = tech_engineers
				technology = tech_engineers2
				technology = tech_engineers3
				technology = tech_recon
				technology = tech_recon2
				technology = tech_recon3
			}
		}
	}
#	focus = {
#		id = support_discontent
#		icon = GFX_goal_unknown
#		cost = 10.00
#		prerequisite = {
#			focus = send_spies_to_EQS
#		}
#		x = 1
#		y = 5
#
#	}
#	focus = {
#		id = sow_further_dissent
#		icon = GFX_goal_unknown
#		cost = 10.00
#		prerequisite = {
#			focus = support_discontent
#		}
#		x = 1
#		y = 6
#
#	}
}
