﻿focus_tree = {
	id = gotenland_focus
	
	country = {
		factor = 0
		
		modifier = {
			add = 10
			tag = OGO
		}
	}
	
	default = no
	
	continuous_focus_position = { x = 50 y = 1500 }

	focus = {
		id = ogo_grant_heydrich_command
		icon = GFX_goal_heydrich
		
		x = 10
		y = -10
		
		available = {
		}
		
				bypass = {

		}
		
		cost = 10

		ai_will_do = {
			factor = 1
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
		
			add_political_power = 100
			add_stability = -0.15
			add_country_leader_trait = dictator
			
		}
		
	}

	focus = {
		id = ogo_deregulate_working_conditions
		icon = GFX_goal_forced_labor
		
		relative_position_id = ogo_grant_heydrich_command
		x = -3
		y = 1
		
		available = {
		}
		
				bypass = {

		}
		
		cost = 10
		prerequisite = { focus = ogo_grant_heydrich_command }

		ai_will_do = {
			factor = 1
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
		
			add_ideas = focus_on_arms	
			
		}
		
	}

	focus = {
		id = ogo_start_drilling_operations
		icon = GFX_goal_oil
		
		relative_position_id = ogo_deregulate_working_conditions
		x = -1
		y = 1
		
		available = {
		}
		
				bypass = {

		}
		
		cost = 10
		prerequisite = { focus = ogo_deregulate_working_conditions }

		ai_will_do = {
			factor = 1
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			
			137 = {
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
				type = synthetic_refinery
				level = 3
				instant_build = yes
				}
			}
			
			137 = {
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
				type = fuel_silo
				level = 3
				instant_build = yes
				}
			}
			
		}
		
	}
	
	focus = {
		id = ogo_exploit_black_sea_oil
		icon = GFX_goal_oil_grab
		
		relative_position_id = ogo_start_drilling_operations
		x = 0
		y = 1
		
		available = {
		}
		
				bypass = {

		}
		
		cost = 10
		prerequisite = { focus = ogo_start_drilling_operations }

		ai_will_do = {
			factor = 1
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
		
			137 = {
				add_resource = {
				type = oil
				amount = 54
				}
			}	
			
		}
		
	}
	
	focus = {
		id = ogo_a_new_budget
		icon = GFX_goal_economy
		
		relative_position_id = ogo_deregulate_working_conditions
		x = 1
		y = 1
		
		available = {
		}
		
				bypass = {

		}
		
		cost = 10
		prerequisite = { focus = ogo_deregulate_working_conditions }

		ai_will_do = {
			factor = 1
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
		
			add_ideas = gotische_industrie	
			
		}
		
	}
	
	focus = {
		id = ogo_bright_aryan_minds
		icon = GFX_goal_brain
		
		relative_position_id = ogo_a_new_budget
		x = -1
		y = 2
		
		available = {
		}
		
				bypass = {

		}
		
		cost = 10
		prerequisite = { focus = ogo_a_new_budget }
		prerequisite = { focus = ogo_exploit_black_sea_oil }

		ai_will_do = {
			factor = 1
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
		
			add_research_slot = 1	
			
		}
		
	}
	
	focus = {
		id = ogo_german_settlement_initiative
		icon = GFX_goal_osterweiterung
		
		relative_position_id = ogo_grant_heydrich_command
		x = 3
		y = 1
		
		available = {
		}
		
				bypass = {

		}
		
		cost = 10
		prerequisite = { focus = ogo_grant_heydrich_command }

		ai_will_do = {
			factor = 1
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
		
			add_stability = 0.05
			137 = {
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
				type = industrial_complex
				level = 3
				instant_build = yes
				}	
			}	
			
		}
		
	}
	
	focus = {
		id = ogo_settle_tyrolians
		icon = GFX_goal_german_settlers
		
		relative_position_id = ogo_german_settlement_initiative
		x = 1
		y = 1
		
		available = {
		}
		
				bypass = {

		}
		
		cost = 10
		prerequisite = { focus = ogo_german_settlement_initiative }

		ai_will_do = {
			factor = 1
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
		
			add_ideas = german_settlers
			137 = {
				add_manpower = 35000
			}
			
		}	
		
	}

	focus = {
		id = ogo_aryan_elite
		icon = GFX_goal_ss
		
		relative_position_id = ogo_settle_tyrolians
		x = 0
		y = 1
		
		available = {
		}
		
				bypass = {

		}
		
		cost = 10
		prerequisite = { focus = ogo_settle_tyrolians }

		ai_will_do = {
			factor = 1
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
		
			add_war_support = 0.1
		
			division_template = {
				name = "Gotische SS-Division"
				priority = 1
				division_names_group = GER_INF_01
				regiments = {
					infantry = { x = 0 y = 0 }
					infantry = { x = 0 y = 1 }
					infantry = { x = 0 y = 2 }
		
					infantry = { x = 1 y = 0 }
					infantry = { x = 1 y = 1 }
					infantry = { x = 1 y = 2 }
		
					infantry = { x = 2 y = 0 }
					artillery_brigade = { x = 2 y = 1 }
					artillery_brigade = { x = 2 y = 2 }
				}
				support = {
					engineer = { x = 0 y = 0 }
					artillery = { x = 0 y = 1 }
				}
			}
			
			137 = {
				create_unit = {
					division = "name = \"1. Gotische SS-Division\" division_template = \"Gotische SS-Division\" start_experience_factor = 0.5" 
					owner = OGO
				}
				
				create_unit = {
					division = "name = \"2. Gotische SS-Division\" division_template = \"Gotische SS-Division\" start_experience_factor = 0.5" 
					owner = OGO
				}
				
				create_unit = {
					division = "name = \"3. Gotische SS-Division\" division_template = \"Gotische SS-Division\" start_experience_factor = 0.5" 
					owner = OGO
				}
				
				create_unit = {
					division = "name = \"4. Gotische SS-Division\" division_template = \"Gotische SS-Division\" start_experience_factor = 0.5" 
					owner = OGO
				}
			}
			
		}
		
	}
	
	focus = {
		id = ogo_appropriate_lands
		icon = GFX_goal_purge_local_resistance
		
		relative_position_id = ogo_german_settlement_initiative
		x = -1
		y = 1
		
		available = {
		}
		
				bypass = {

		}
		
		cost = 10
		prerequisite = { focus = ogo_german_settlement_initiative }

		ai_will_do = {
			factor = 1
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
		
			137 = {
				add_extra_state_shared_building_slots = 6
				add_manpower = -25000
			}
			
		}
		
	}

	focus = {
		id = ogo_local_orpo
		icon = GFX_goal_orpo
		
		relative_position_id = ogo_appropriate_lands
		x = 1
		y = 2
		
		available = {
		}
		
				bypass = {

		}
		
		cost = 10
		prerequisite = { focus = ogo_appropriate_lands }
		prerequisite = { focus = ogo_aryan_elite }

		ai_will_do = {
			factor = 1
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
		
			remove_ideas = bolshevik_resistance
			add_ideas = local_orpo_units
			
		}
		
	}
	
	focus = {
		id = ogo_defense_of_gotenland
		icon = GFX_goal_ss_shield
		
		relative_position_id = ogo_grant_heydrich_command
		x = 0
		y = 5
		
		available = {
		}
		
				bypass = {

		}
		
		cost = 10
		prerequisite = { focus = ogo_grant_heydrich_command }
		prerequisite = { focus = ogo_a_new_budget }
		prerequisite = { focus = ogo_appropriate_lands }

		ai_will_do = {
			factor = 1
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			
			137 = {
				add_building_construction = {
				type = anti_air_building
				level = 3
				instant_build = yes
				}
			}
			
			137 = {
				add_building_construction = {
				type = radar_station
				level = 3
				instant_build = yes
				}
			}
			
			137 = {
				add_building_construction = {
				type = air_base
				level = 6
				instant_build = yes
				}
			}
			
			137 = {
				add_building_construction = {
				type = bunker
				province = 3686
				level = 7
				}
			}
			
			137 = {
				add_building_construction = {
				type = bunker
				province = 3722  
				level = 7
				}
			}
			
			137 = {
				add_building_construction = {
				type = bunker
				province = 9680 
				level = 7
				}
			}
			
			137 = {
				add_building_construction = {
				type = bunker
				province = 6704
				level = 7
				}
			}
			
		}
		
	}
	
}