focus_tree = {
	id = Post_War_focus_tree
	country = {
		factor = 0
	}
	default = no

	continuous_focus_position = { x = 2000 y = 1500 }

	focus = {
		id = ger_focus_victory
		text = ger_focus_victory
		icon = GFX_focus_generic_strike_at_democracy1
		cost = 2
		x = 10
		y = 0
			completion_reward = {
					add_political_power = 100
					add_stability = 0.1
				}

			ai_will_do = {
					factor = 25
				}
	}
	focus = {
		id = ger_focus_prom
		text = ger_focus_prom
		icon = GFX_focus_generic_aluminum
		cost = 5
		prerequisite = {
			focus = ger_focus_victory
		}
		x = 2
		y = 1

		relative_position_id = ger_focus_victory

			completion_reward = {
				add_offsite_building = { type = arms_factory level = 5 }
				add_offsite_building = { type = industrial_complex level = 5 }

			}

			ai_will_do = {
				factor = 25
			}
	}
	focus = {
		id = ger_focus_2
		text = ger_focus_2
		icon = GFX_focus_generic_fascist_propaganda
		cost = 1
		prerequisite = {
			focus = ger_focus_victory
		}
		x = -2
		y = 1

		relative_position_id = ger_focus_victory

			completion_reward = {
					set_rule = {
							desc = GER_neworder
							can_create_factions = yes
						}
					create_faction = Einheitspakt
				}

	}
	focus = {
		id = ger_focus_killarmy
		text = ger_focus_killarmy
		icon = GFX_focus_FIN_parmis_devils
		cost = 4
		prerequisite = {
			focus = ger_focus_2
		}

		relative_position_id = ger_focus_2

		x = 0
		y = 1
			completion_reward = {
					add_manpower = -1000
					add_stability = 0.1
					retire_character = GER_ewald_von_kleist
					retire_character = GER_hasso_von_manteuffel
					retire_character = GER_albert_kesselring
				}

			ai_will_do = {
					factor = 25
				}
	}



	focus = {
		id = GER_uplift_the_reichstags
		text = GER_uplift_the_reichstags
		icon = GFX_focus_ger_reichskommisariats_historical
		cost = 3
		prerequisite = {
			focus = ger_focus_2
			focus = ger_focus_motorization
		}
		x = 2
		y = 2

		relative_position_id = ger_focus_killarmy

			completion_reward = {
				add_dynamic_modifier = {
					modifier = GER_alfred_rosenberg_modifier
				}

				set_country_flag = GER_restore_reichskomms

				custom_effect_tooltip = generic_skip_one_line_tt

				custom_effect_tooltip = GER_reichskommissariats_tt
			}

			ai_will_do = {
				factor = 100
			}
	}
	focus = {
		id = ger_focus_infantry
		text = ger_focus_infantry
		icon = GFX_focus_secret_rearmament
		cost = 4
		prerequisite = {
			focus = ger_focus_prom
		}
		x = 0
		y = 1
		relative_position_id = ger_focus_prom
			completion_reward = {
					add_equipment_to_stockpile = {
							type = infantry_equipment
							amount = 20000

						}
				}

			ai_will_do = {
					factor = 25
				}
	}
	focus = {
		id = ger_focus_motorization
		text = ger_focus_motorization
		icon = GFX_focus_generic_truck
		cost = 5
		prerequisite = {
			focus = ger_focus_infantry
		}
		x = 0
		y = 1

		relative_position_id = ger_focus_infantry

		ai_will_do = {
					factor = 25
				}

			completion_reward = {

					create_equipment_variant = {
						name = "Light Tank Mk. IV"
						type = light_tank_chassis_2
						parent_version = 1
						modules = {
							main_armament_slot = tank_heavy_machine_gun
						}
						upgrades = {
							tank_nsb_engine_upgrade = 2
						}
						icon = "GFX_ENG_basic_light_tank_medium"
						model = ENG_MKIV_light_tank_entity
						design_team = mio:ENG_vauxhall_organization
					}

					add_equipment_to_stockpile = {
						type = light_tank_chassis_2
						amount = 2000
					}
					add_equipment_to_stockpile = {
						type = motorized_equipment
						amount = 5000
					}
				}
	}

	focus = {
		id = ger_focus_rbm
		text = ger_focus_rbm
		icon = GFX_focus_ger_reichskommisariats
		cost = 4
		prerequisite = {
			focus = GER_uplift_the_reichstags
		}
		x = 0
		y = 1

			relative_position_id = GER_uplift_the_reichstags

			bypass = {
				NOT = {
					OR = {
						country_exists = CZE
						country_exists = RBM
						country_exists = RKH
					}
				}
			}

			completion_reward = {

				custom_effect_tooltip = annex_BogemiaandMoravia

				hidden_effect = {

					if = {
						limit = {
							country_exists = CZE
						}

						every_state = {
							limit = {
								OR = {
									is_core_of = CZE
								}
								NOT = {
									is_core_of = SLO
								}
							}
							ROOT = {
								declare_war_on = {
									target = PREV
									type = annex_everything
								}
							}
						}
						CZE = {
							leave_faction = yes
							add_ideas = GER_not_faction
						}
					}
					else = {
						every_country = {
							limit = {
								OR = {
									owns_state = 75
									owns_state = 9
								}
							}
							diplomatic_relation = {
								country = PREV
								relation = puppet
								active = yes
							}
						}
					}


					add_state_core = 75
					add_state_core = 9
				}
			}

			ai_will_do = {
				factor = 700
			}
	}

	focus = {
		id = ger_focus_rdn
		text = ger_focus_rdn
		icon = GFX_focus_generic_attack_denmark
		cost = 5
		prerequisite = {
			focus = GER_uplift_the_reichstags
		}

		relative_position_id = GER_uplift_the_reichstags

		x = -2
		y = 1

			completion_reward = {

				custom_effect_tooltip = annex_Denmark

				if = {
						limit = {
							country_exists = DEN
						}

						every_state = {
							limit = {
								OR = {
									is_core_of = DEN
								}
								NOT = {
									is_core_of = GRN
								}
							}

							DEN = {
								add_ideas = GER_not_faction
							}

							ROOT = {
								declare_war_on = {
									target = PREV
									type = annex_everything
								}
							}
						}
					else = {
						every_country = {
							limit = {
								OR = {
									owns_state = 912
								}
							}
							diplomatic_relation = {
								country = PREV
								relation = puppet
								active = yes
							}
						}
					}
					add_state_core = 912
				}
			}
			ai_will_do = {
				factor = 10
			}
	}

	focus = {
		id = ger_focus_rnt
		text = ger_focus_rnt
		icon = GFX_focus_hol_oranje_boven
		cost = 4
		prerequisite = {
			focus = ger_focus_rdn
		}

		relative_position_id = ger_focus_rdn

		x = 0
		y = 1

			completion_reward = {

				custom_effect_tooltip = annex_Hollandia

				hidden_effect = {

					if = {
						limit = {
							country_exists = HOL
						}

						every_state = {
							limit = {
								OR = {
									is_core_of = HOL
								}
							}

							HOL = {
								leave_faction = yes
								add_ideas = GER_not_faction
							}

							ROOT = {
								declare_war_on = {
									target = PREV
									type = annex_everything
								}
							}
						}
					else = {
						every_country = {
							limit = {
								OR = {
									owns_state = 36
									owns_state = 7
									owns_state = 35
								}
							}
							diplomatic_relation = {
								country = PREV
								relation = puppet
								active = yes
							}
						}
					}
				}

					add_state_core = 36
					add_state_core = 7
					add_state_core = 35
				}
			}


			ai_will_do = {
				factor = 100
			}
	}

	focus = {
		id = ger_focus_rsv
		text = ger_focus_rsv
		icon = GFX_focus_generic_annex_country
		cost = 3
		prerequisite = {
			focus = ger_focus_rbm
		}
		x = 0
		y = 1

		relative_position_id = ger_focus_rbm

			completion_reward = {

				custom_effect_tooltip = subject_Slowakei

				every_country = {
					limit = {
						OR = {
							owns_state = 70
							owns_state = 71
						}
					}
					diplomatic_relation = {
						country = PREV
						relation = puppet
						active = yes
					}
				}
			}
			ai_will_do = {
				factor = 800
			}
	}

	focus = {
		id = ger_focus_rgv
		text = ger_focus_rgv
		icon = GFX_goal_generic_political_pressure
		cost = 5
		prerequisite = {
			focus = GER_uplift_the_reichstags
		}

		relative_position_id = GER_uplift_the_reichstags

		x = 3
		y = 1

			completion_reward = {

				custom_effect_tooltip = subject_Poland

				hidden_effect = {
					if = {
						limit = {
							OR = {
								country_exists = POL
								country_exists = LFW
							}
						}

						every_state = {
							limit = {
								OR = {
									is_core_of = LFW
								}
							}

							ROOT = {
								declare_war_on = {
									target = PREV
									type = puppet_wargoal_focus
								}
							}

							POL = {
								add_ideas = GER_not_faction
							}
						}
					else = {
						diplomatic_relation = {
							country = LFE
							relation = puppet
							active = yes
						}
					}
				}
			}
		}

			ai_will_do = {
				factor = 50
			}
	}

	focus = {
		id = ger_focus_rot
		text = ger_focus_rot
		icon = GFX_focus_LAT_ostland
		cost = 5
		prerequisite = {
			focus = ger_focus_rgv
		}
		x = 14
		y = 6

			completion_reward = {

				custom_effect_tooltip = subject_Ostland

				hidden_effect = {

					if = {
						limit = {
							OR = {
								country_exists = DST
								country_exists = UPO
							}
						}

						declare_war_on = {
							target = DST
							type = annex_everything
						}
						declare_war_on = {
							target = UPO
							type = annex_everything
						}
					}
						diplomatic_relation = {
							country = JST
							relation = puppet
							active = yes
						}
						diplomatic_relation = {
							country = MST
							relation = puppet
							active = yes
						}
					}
			}

			ai_will_do = {
				factor = 150
			}
	}

	focus = {
		id = ger_focus_rua
		text = ger_focus_rua
		icon = GFX_focus_POL_ukrainian_army
		cost = 5
		prerequisite = {
			focus = ger_focus_rgv
		}
		x = -1
		y = 1

		relative_position_id = ger_focus_rgv

			completion_reward = {

				custom_effect_tooltip = subject_Ukraine

				hidden_effect = {
					ROOT = {
								declare_war_on = {
									target = ZVO
									type = annex_everything
								}
								declare_war_on = {
									target = ZZQ
									type = annex_everything
								}
								declare_war_on = {
									target = ZZE
									type = annex_everything
								}
							}
						diplomatic_relation = {
							country = ZZW
							relation = puppet
							active = yes
						}
				}
			}
			ai_will_do = {
				factor = 10
			}
	}

	focus = {
		id = ger_focus_rmk
		text = ger_focus_rmk
		icon = GFX_goal_generic_attack_allies
		cost = 5
		prerequisite = {
			focus = ger_focus_rua
		}
		prerequisite = {
			focus = ger_focus_rot
		}
		x = 1
		y = 1

		relative_position_id = ger_focus_rua

			completion_reward = {

				custom_effect_tooltip = subject_Moscowien

				hidden_effect = {

					every_country = {
						limit = {
							has_country_flag = Moscowien_Collapse
						}
						declare_war_on = {
							target = PREV
							type = annex_everything
						}
					}
				}
			}
			ai_will_do = {
				factor = 10
			}
	}

	focus = {
		id = ger_focus_rks
		text = ger_focus_rks
		icon = GFX_goal_generic_oil_refinery
		cost = 5
		prerequisite = {
			focus = ger_focus_rmk
		}
		relative_position_id = ger_focus_rmk
		x = 0
		y = 1

			completion_reward = {

				custom_effect_tooltip = subject_Kaukasien

				hidden_effect = {

					every_country = {
						limit = {
							has_country_flag = Kaukasien_Collapse
						}
						declare_war_on = {
							target = PREV
							type = annex_everything
						}
					}
				}
			}
			ai_will_do = {
				factor = 10
			}
	}

	focus = {
		id = ger_focus_rnw
		text = ger_focus_rnw
		icon = GFX_focus_generic_attack_norway
		cost = 7
		prerequisite = {
			focus = ger_focus_rnt
		}
		prerequisite = {
			focus = ger_focus_rsv
		}
		x = 1
		y = 1

		relative_position_id = ger_focus_rnt

			completion_reward = {

				custom_effect_tooltip = subject_Norwegien_tt

				hidden_effect = {
					declare_war_on = {
						target = NOR
						type = puppet_wargoal_focus
					}

					NOR = {
						leave_faction = yes
						add_ideas = GER_not_faction
					}

					every_country = {
						limit = {
							has_government = fascism
							owns_state = 110
						}

						diplomatic_relation = {
							country = PREV
							relation = puppet
							active = yes
						}
					}
				}
			}
			ai_will_do = {
				factor = 10
			}
	}
}