focus_tree = {
	id = ger_pre_civwar_focus_tree
	country = {
        factor = 0
    }
    default = no
	continuous_focus_position = { x = 2000 y = 1500 }

 ### FOCUSES

    focus = {
        id = ger_pre_civwar_focus_start
		text = ger_pre_civwar_focus_start
		icon = GFX_focus_attack_germany
		cost = 0.65
		x = 5
		y = 0
		completion_reward = {
            add_stability = -0.1
			add_political_power = 100
			set_country_flag = GER_prepare_to_civilwar
			prewar_GER_progressbar_var = yes
		}
				
		ai_will_do = {
			factor = 25
		}
    }

    focus = {
        id = ger_pre_civwar_focus_economic_recovery_plan
		text = ger_pre_civwar_focus_economic_recovery_plan
		icon = GFX_focus_GER_prioritize_the_four_year_plan
		cost = 1.41
		x = 3
		y = 1
		completion_reward = {
            add_political_power = -25
            add_to_variable = { Bormann_Progress = 5 }
			custom_effect_tooltip = Bormann_plus5
			add_to_variable = { Speer_Progress = 5 }
			custom_effect_tooltip = Speer_plus5
			prewar_GER_progressbar_var = yes
		}

        prerequisite = {
            focus = ger_pre_civwar_focus_start
        }

        relative_position_id = ger_pre_civwar_focus_start

		ai_will_do = {
			factor = 25
		}
    }

	focus = {
        id = ger_pre_civwar_focus_ss
		text = ger_pre_civwar_focus_ss
		icon = GFX_focus_GER_fuhrerprinzip_himmler
		cost = 1.43
		x = 0
		y = 1

		completion_reward = {
			add_to_variable = { Heydrich_Progress = 10 }
			custom_effect_tooltip = Heydrich_plus10
			prewar_GER_progressbar_var = yes
		}

        prerequisite = {
            focus = ger_pre_civwar_focus_stability
        }

        relative_position_id = ger_pre_civwar_focus_stability

		ai_will_do = {
			factor = 25
		}
    }

	focus = {
        id = ger_pre_civwar_focus_stability
		text = ger_pre_civwar_focus_stability
		icon = GFX_focus_GER_glorify_party_rallies
		cost = 1.43
		x = 0
		y = 1

		completion_reward = {
			add_to_variable = { Heydrich_Progress = -5 }
			custom_effect_tooltip = Heydrich_minus5
			prewar_GER_progressbar_var = yes
		}

        prerequisite = {
            focus = ger_pre_civwar_focus_start
        }

        relative_position_id = ger_pre_civwar_focus_start

		ai_will_do = {
			factor = 25
		}
    }

	focus = {
        id = ger_pre_civwar_focus_administation
		text = ger_pre_civwar_focus_administation
		icon = GFX_focus_GER_fuhrerprinzip_speer
		cost = 1.43
		x = -1
		y = 3

		completion_reward = {
			add_to_variable = { Speer_Progress = 10 }
			custom_effect_tooltip = Speer_plus10
			add_stability = -0.05
			add_political_power = -100
			prewar_GER_progressbar_var = yes
		}

		mutually_exclusive = {
			focus = ger_pre_civwar_focus_control_party
		}

        prerequisite = {
            focus = ger_pre_civwar_focus_stability
        }

        relative_position_id = ger_pre_civwar_focus_stability

		ai_will_do = {
			factor = 25
		}
    }

	focus = {
        id = ger_pre_civwar_focus_control_party
		text = ger_pre_civwar_focus_control_party
		icon = GFX_focus_GER_fuhrerprinzip_bormann
		cost = 1.43
		x = 1
		y = 3

		completion_reward = {
			add_to_variable = { Bormann_Progress = 10 }
			custom_effect_tooltip = Bormann_plus10
			add_stability = 0.05
			add_political_power = 50
			add_war_support = 0.025
			prewar_GER_progressbar_var = yes
		}

		mutually_exclusive = {
			focus = ger_pre_civwar_focus_administation
		}

        prerequisite = {
            focus = ger_pre_civwar_focus_stability
        }

        relative_position_id = ger_pre_civwar_focus_stability

		ai_will_do = {
			factor = 25
		}
    }

	focus = {
        id = ger_pre_civwar_focus_army_loyalty
		text = ger_pre_civwar_focus_army_loyalty
		icon = GFX_focus_GER_loyalty_to_the_fuhrer
		cost = 1.41
		x = -3
		y = 1
		completion_reward = {
			add_to_variable = { Bormann_Progress = 10 }
			GHM = {
				add_to_variable = { Bormann_Progress = 10 }
			}
			custom_effect_tooltip = Bormann_plus10
			add_to_variable = { Goring_Progress = 5 }
			GHG = {
				add_to_variable = { Goring_Progress = 5 }
			}
			custom_effect_tooltip = Goring_plus5
			add_manpower = 12000
			prewar_GER_progressbar_var = yes
		}

        prerequisite = {
            focus = ger_pre_civwar_focus_start
        }

        relative_position_id = ger_pre_civwar_focus_start

		ai_will_do = {
			factor = 25
		}
    }

	focus = {
        id = ger_pre_civwar_focus_army_sovet
		text = ger_pre_civwar_focus_army_sovet
		icon = GFX_focus_GER_strengthen_the_proletarian_international
		cost = 1.41
		x = -1
		y = 1
		completion_reward = {
			add_to_variable = { Bormann_Progress = 5 }
			custom_effect_tooltip = Bormann_plus5
			add_to_variable = { Speer_Progress = 5 }
			custom_effect_tooltip = Speer_plus5
			prewar_GER_progressbar_var = yes
		}

        prerequisite = {
            focus = ger_pre_civwar_focus_army_loyalty
        }

        relative_position_id = ger_pre_civwar_focus_army_loyalty

		ai_will_do = {
			factor = 25
		}
    }

	focus = {
        id = ger_pre_civwar_focus_ss_drills
		text = ger_pre_civwar_focus_ss_drills
		icon = GFX_focus_GER_strengthen_the_waffen_ss
		cost = 1.41
		x = 1
		y = 1
		completion_reward = {
			add_to_variable = { Heydrich_Progress = 5 }
			custom_effect_tooltip = Heydrich_plus5
			prewar_GER_progressbar_var = yes
		}

        prerequisite = {
            focus = ger_pre_civwar_focus_army_loyalty
        }

        relative_position_id = ger_pre_civwar_focus_army_loyalty

		ai_will_do = {
			factor = 25
		}
    }

	focus = {
        id = ger_pre_civwar_focus_stockpiles
		text = ger_pre_civwar_focus_stockpiles
		icon = GFX_focus_generic_commonwealth_build_infantry
		cost = 1.41
		x = 0
		y = 2
		completion_reward = {
			add_to_variable = { Bormann_Progress = 5 }
			custom_effect_tooltip = Bormann_plus5
			add_to_variable = { Goring_Progress = 5 }
			custom_effect_tooltip = Goring_plus5
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 12500
				producer = GER
			}
			prewar_GER_progressbar_var = yes
		}

        prerequisite = {
            focus = ger_pre_civwar_focus_army_loyalty
        }

        relative_position_id = ger_pre_civwar_focus_army_loyalty

		ai_will_do = {
			factor = 25
		}
    }

	focus = {
        id = ger_pre_civwar_focus_general_loyalty
		text = ger_pre_civwar_focus_general_loyalty
		icon = GFX_focus_ARG_keep_it_in_the_party
		cost = 1.41
		x = 0
		y = 1
		completion_reward = {
			add_to_variable = { Bormann_Progress = 5 }
			custom_effect_tooltip = Bormann_plus5
			add_to_variable = { Goring_Progress = 10 }
			custom_effect_tooltip = Goring_plus10
			add_to_variable = { Speer_Progress = -10 }
			custom_effect_tooltip = Speer_minus10
			add_manpower = -350
			prewar_GER_progressbar_var = yes
		}

        prerequisite = {
            focus = ger_pre_civwar_focus_stockpiles
        }

        relative_position_id = ger_pre_civwar_focus_stockpiles

		ai_will_do = {
			factor = 25
		}
    }

	focus = {
        id = ger_pre_civwar_focus_brinkofwar
		text = ger_pre_civwar_focus_brinkofwar
		icon = GFX_focus_GER_weltpolitik
		cost = 10
		x = 3
		y = 1
		completion_reward = {
			add_political_power = 100
		}

        prerequisite = {
            focus = ger_pre_civwar_focus_general_loyalty
        }
		prerequisite = {
            focus = ger_pre_civwar_focus_nationalisation
        }
		prerequisite = {
            focus = ger_pre_civwar_focus_administation
			focus = ger_pre_civwar_focus_control_party
			focus = ger_pre_civwar_focus_ss
        }

        relative_position_id = ger_pre_civwar_focus_general_loyalty

		ai_will_do = {
			factor = 25
		}
    }

	focus = {
        id = ger_pre_civwar_focus_big_companies
		text = ger_pre_civwar_focus_big_companies
		icon = GFX_focus_GER_form_organization_todt
		cost = 1.43
		x = -1
		y = 1
		completion_reward = {
            random_owned_state = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			random_owned_state = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			random_owned_state = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			add_political_power = 20
			add_to_variable = { Bormann_Progress = 10 }
			custom_effect_tooltip = Bormann_plus10
			prewar_GER_progressbar_var = yes
		}

        prerequisite = {
            focus = ger_pre_civwar_focus_economic_recovery_plan
        }

		mutually_exclusive = {
			focus = ger_pre_civwar_focus_technocrats
		}

        relative_position_id = ger_pre_civwar_focus_economic_recovery_plan

		ai_will_do = {
			factor = 25
		}
    }

	focus = {
        id = ger_pre_civwar_focus_nationalisation
		text = ger_pre_civwar_focus_nationalisation
		icon = GFX_focus_GER_plenipotentiary_of_the_four_year_plan
		cost = 1.43
		x = 0
		y = 3
		completion_reward = {
			random_owned_state = {
				remove_building = {
					type = industrial_complex
					level = 3
				}
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			random_owned_state = {
				remove_building = {
					type = industrial_complex
					level = 3
				}
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			add_to_variable = { Heydrich_Progress = 10 }
			custom_effect_tooltip = Heydrich_plus10
			add_to_variable = { Goring_Progress = 10 }
			custom_effect_tooltip = Goring_plus10
			add_to_variable = { Speer_Progress = -10 }
			custom_effect_tooltip = Bormann_minus10
			prewar_GER_progressbar_var = yes
		}

        prerequisite = {
            focus = ger_pre_civwar_focus_economic_recovery_plan
        }

        relative_position_id = ger_pre_civwar_focus_economic_recovery_plan

		ai_will_do = {
			factor = 25
		}
    }

	focus = {
        id = ger_pre_civwar_focus_economicplan
		text = ger_pre_civwar_focus_economicplan
		icon = GFX_focus_GER_plenipotentiary_of_armaments
		cost = 1.43
		x = 0
		y = 1
		completion_reward = {
			random_owned_state = {
				add_state_modifier = {
					modifier = {
						local_resources = -2.0
					}
				}
			}
			random_owned_state = {
				add_state_modifier = {
					modifier = {
						local_resources = -2.0
					}
				}
			}
			random_owned_state = {
				add_state_modifier = {
					modifier = {
						local_resources = -2.0
					}
				}
			}
			add_to_variable = { Bormann_Progress = 10 }
			custom_effect_tooltip = Bormann_plus10
			add_to_variable = { Speer_Progress = 10 }
			custom_effect_tooltip = Speer_plus10
            add_political_power = 25
            add_stability = 0.15
			prewar_GER_progressbar_var = yes
		}

        prerequisite = {
            focus = ger_pre_civwar_focus_big_companies
        }

        relative_position_id = ger_pre_civwar_focus_big_companies

		ai_will_do = {
			factor = 25
		}
    }


	focus = {
        id = ger_pre_civwar_focus_technocrats
		text = ger_pre_civwar_focus_technocrats
		icon = GFX_focus_GER_ascension_of_speer
		cost = 1.43
		x = 1
		y = 1
		completion_reward = {
			random_owned_state = {
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = industrial_complex
					level = 3
					instant_build = yes
				}
			}
			random_owned_state = {
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = industrial_complex
					level = 3
					instant_build = yes
				}
			}
			random_owned_state = {
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = industrial_complex
					level = 3
					instant_build = yes
				}
			}
            add_political_power = -25
            add_to_variable = { Speer_Progress = 10 }
			custom_effect_tooltip = Speer_plus10
			prewar_GER_progressbar_var = yes
		}

		mutually_exclusive = {
			focus = ger_pre_civwar_focus_big_companies
		}

        prerequisite = {
            focus = ger_pre_civwar_focus_economic_recovery_plan
        }

        relative_position_id = ger_pre_civwar_focus_economic_recovery_plan

		ai_will_do = {
			factor = 25
		}
    }

	focus = {
        id = ger_pre_civwar_focus_mobilise_luftwaffe
		text = ger_pre_civwar_focus_mobilise_luftwaffe
		icon = GFX_focus_GER_integrated_economies
		cost = 1.43
		x = 2
		y = 2
		completion_reward = {
            random_owned_state = {
				remove_building = {
					type = industrial_complex
					level = 3
				}
			}
			random_owned_state = {
				remove_building = {
					type = industrial_complex
					level = 3
				}
			}
			random_owned_state = {
				remove_building = {
					type = industrial_complex
					level = 3
				}
			}
			prewar_GER_progressbar_var = yes
		}

        prerequisite = {
            focus = ger_pre_civwar_focus_economic_recovery_plan
        }

        relative_position_id = ger_pre_civwar_focus_economic_recovery_plan

		ai_will_do = {
			factor = 25
		}
    }
 
}