# Line numbers are an approximation at best, as code gets added they get moved around so be prepared to do some scrolling
# GREAT PURGE TREE: 16
# SAF TREE: 506
# ECONOMICS TREE: 1400
# CIVIL WAR TREE: 1990
# WAR PLAN 0: 2500
# WAR PLAN A: 8025
# WAR PLAN B: 19811
# WAR PLAN C: 26973
# MILITARY TREE: 28773
# SCIENCE TREE: 31164

##############################################################################

# THE GREAT PURGE INTRO TREE

##############################################################################


shared_focus = {
	id = GER_GOR_the_great_purge
	icon = GFX_focus_GGR_the_great_purge
	cost = 3.00
	x = 5
	y = 0
	allow_branch = {
		has_global_flag = german_civil_war_goeringvic
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_the_great_purge"
		country_event = {
			id = goering.16
		}
	}
}

shared_focus = {
	id = GER_GOR_martial_law
	icon = GFX_focus_generic_martial_law
	cost = 2.00
	prerequisite = {
		focus = GER_GOR_the_great_purge
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_martial_law"
		add_ideas = GER_GOR_martial_law
		country_event = {
			id = goering.17
		}
		TNO_improve_security_policy_effectiveness_monthly_low = yes
		TNO_update_security_policy_effectiveness = yes
	}
	x = 0
	y = 1
	relative_position_id = GER_GOR_the_great_purge
}

shared_focus = {
	id = GER_GOR_crack_down_on_the_bankers
	icon = GFX_focus_GGR_crack_down_on_bankers
	cost = 2.00
	prerequisite = {
		focus = GER_GOR_martial_law
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_crack_down_on_the_bankers"
		add_stability = 0.05
		country_event = {
			id = goering.19
		}
	}
	x = -2
	y = 1
	relative_position_id = GER_GOR_martial_law
}

shared_focus = {
	id = GER_GOR_nationalize_the_banks
	icon = GFX_focus_GGR_nationalize_the_banks
	cost = 2.00
	prerequisite = {
		focus = GER_GOR_crack_down_on_the_bankers
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_nationalize_the_banks"
		add_ideas = GER_GOR_nationlized_banks
		set_temp_variable = { econ_centralization_temp = 10 }
		econ_centralization_change = yes
	}
	x = 0
	y = 1
	relative_position_id = GER_GOR_crack_down_on_the_bankers
}

shared_focus = {
	id = GER_GOR_a_bayonet_for_the_bankers
	icon = GFX_focus_GGR_bayonets_for_bankers
	cost = 2.00
	prerequisite = {
		focus = GER_GOR_nationalize_the_banks
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_a_bayonet_for_the_bankers"
		add_stability = -0.05
		set_temp_variable = {
			temp_econ_GDP_boost_flat = 2.00
		}
		econ_GDP_boost_once_flat = yes
	}
	x = 0
	y = 1
	relative_position_id = GER_GOR_nationalize_the_banks
}

shared_focus = {
	id = GER_GOR_cage_the_students
	icon = GFX_focus_GGR_cage_the_students
	cost = 2.00
	available = {
		has_country_flag = GER_GOR_Protests
	}
	prerequisite = {
		focus = GER_GOR_martial_law
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_cage_the_students"
		swap_ideas = {
			remove_idea = student_protests
			add_idea = GER_GOR_protesters_cowed
		}
	}
	x = 2
	y = 1
	relative_position_id = GER_GOR_martial_law
}

shared_focus = {
	id = GER_GOR_round_up_dissidents
	icon = GFX_focus_GGR_round_up_dissidents
	cost = 2.00
	prerequisite = {
		focus = GER_GOR_crack_down_on_the_bankers
	}
	prerequisite = {
		focus = GER_GOR_cage_the_students
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_round_up_dissidents"
		TNO_improve_religious_rights_policy_effectiveness_med = yes
		swap_ideas = {
			remove_idea = GER_GOR_lingering_traitors
			add_idea = GER_GOR_lingering_traitors_2
		}
		1026 = {
			add_building_construction = {
				type = prisons
				level = 2
				instant_build = yes
			}
		}
		52 = {
			add_building_construction = {
				type = prisons
				level = 2
				instant_build = yes
			}
		}

	}
	x = 2
	y = 1
	relative_position_id = GER_GOR_crack_down_on_the_bankers
}

shared_focus = {
	id = GER_GOR_a_bullet_for_the_traitors
	icon = GFX_focus_GGR_a_bullet_for_the_traitors
	cost = 2.00
	prerequisite = {
		focus = GER_GOR_round_up_dissidents
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_a_bullet_for_the_traitors"
		remove_ideas = GER_GOR_lingering_traitors_2
	}
	x = 0
	y = 1
	relative_position_id = GER_GOR_round_up_dissidents
}

shared_focus = {
	id = GER_GOR_school_militarization
	icon = GFX_focus_GGR_school_militarisation
	cost = 2.00
	prerequisite = {
		focus = GER_GOR_cage_the_students
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_school_militarization"
		swap_ideas = {
			remove_idea = GER_GOR_protesters_cowed
			add_idea = GER_GOR_militarized_schools
		}
		TNO_worsen_education_policy_effectiveness_med = yes
	}
	x = 0
	y = 1
	relative_position_id = GER_GOR_cage_the_students
}

shared_focus = {
	id = GER_GOR_and_chains_for_the_thinkers
	icon = GFX_focus_GGR_chains_for_the_thinkers
	cost = 2.00
	prerequisite = {
		focus = GER_GOR_school_militarization
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_and_chains_for_the_thinkers"
		add_stability = 0.05
		country_event = { id = goering.32 }
		TNO_worsen_education_policy_effectiveness_low = yes
	}
	x = 0
	y = 1
	relative_position_id = GER_GOR_school_militarization
}

shared_focus = {
	id = GER_GOR_faith_in_the_gun
	icon = GFX_focus_GGR_faith_in_the_gun
	cost = 2.00
	prerequisite = {
		focus = GER_GOR_a_bullet_for_the_traitors
	}
	prerequisite = {
		focus = GER_GOR_and_chains_for_the_thinkers
	}
	prerequisite = {
		focus = GER_GOR_a_bayonet_for_the_bankers
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_faith_in_the_gun"
		country_event = {
			id = goering.20
		}
		TNO_improve_admin_efficiency_high = yes
		hidden_effect = {
			remove_ideas = {
				goering_student_protests_2
				goering_student_protests_3
			}
		}
		if = {
			limit = {
				GER = {
					has_idea = GER_GOR_martial_law
				}
			}
			remove_ideas = GER_GOR_martial_law
		}
		effect_tooltip = {
			swap_ideas = {
				remove_idea = tno_public_meetings_outlawed_dummy
				add_idea = tno_public_meetings_regulated_dummy
			}
		}
		hidden_effect = {
			swap_ideas = {
				remove_idea = tno_public_meetings_outlawed_dummy
				add_idea = tno_public_meetings_regulated
			}
		}
	}
	x = 0
	y = 1
	relative_position_id = GER_GOR_a_bullet_for_the_traitors
}

shared_focus = {
	id = GER_GOR_pride_in_the_fuhrer
	icon = GFX_focus_GGR_pride_for_the_fuhrer
	cost = 2.00
	prerequisite = {
		focus = GER_GOR_faith_in_the_gun
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_pride_in_the_fuhrer"
		hidden_effect = {
			country_event = { id = goering.48 days = 12 }
		}
		add_ideas = GER_GOR_pride_in_goering
		GGR_increase_militarist_loyalty = yes
		GGR_decrease_militarist_hawkishness = yes
	}
	x = 0
	y = 1
	relative_position_id = GER_GOR_faith_in_the_gun
}

shared_focus = {
	id = GER_GOR_prepare_the_new_germany
	icon = GFX_focus_GER_when_in_germania
	cost = 1.00
	prerequisite = {
		focus = GER_GOR_pride_in_the_fuhrer
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_prepare_the_new_germany"
		add_stability = 0.05
		country_event = { id = goering.47 days = 2 }
	}
	x = 0
	y = 1
	relative_position_id = GER_GOR_pride_in_the_fuhrer
}

shared_focus = {
	id = GER_GOR_prepare_the_army
	icon = GFX_focus_GGR_prepare_the_army
	cost = 1.00
	prerequisite = {
		focus = GER_GOR_prepare_the_new_germany
	}
	available = {
		germany_is_repaired = yes
	}
	x = -3
	y = 1
	relative_position_id = GER_GOR_prepare_the_new_germany
	completion_reward = {
		set_country_flag = GGR_military_tree
		GGR_Reload_main = yes
	}
}

shared_focus = {
	id = GER_GOR_a_new_age_of_science2
	icon = GFX_focus_GGR_a_new_age_of_science
	cost = 1.00
	prerequisite = {
		focus = GER_GOR_prepare_the_new_germany
	}
	allow_branch = {
		is_ai = no
	}
	available = {
		germany_is_repaired = yes
	}
	x = -3
	y = 2
	relative_position_id = GER_GOR_prepare_the_new_germany
	completion_reward = {
		set_country_flag = GER_science_tree
		GGR_Reload_main = yes
	}
}

shared_focus = {
	id = GER_GOR_war_plan_0
	icon = GFX_focus_GER_war_plan_0
	cost = 1.00
	prerequisite = {
		focus = GER_GOR_prepare_the_new_germany
	}
	available = {
		germany_is_repaired = yes
	}
	x = 0
	y = 1
	relative_position_id = GER_GOR_prepare_the_new_germany
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_war_plan_0"
		set_country_flag = GER_war_plan_zero
		set_variable = { GGR_last_legs_timeout = 10 }
		GGR_Reload_main = yes
		set_variable = { GGR_war_timer_var = 30 }
		country_event = {
			id = goering.55
			days = 3
		}
		hidden_effect = {
			unlock_national_focus = GGR_zero_plan
			if = {
				limit = { Pakt_OST_OCW_Drechsler_Victory = yes }
				DST = {
					country_event = {
						id = DST.1
						days = 1
					}
				}
			}
			if = {
				limit = {
					is_ai = yes
				}
				add_ideas = GGR_AI_IS_FUCKING_DUMB
			}
			add_dynamic_modifier = { modifier = GGR_garrisons_from_germany }
			if = {
				limit = {
					has_completed_focus = GER_GOR_the_lost_continent
					GRO = {
						exists = yes
						has_country_leader = {
							character = GRO_hans_huttig
							ruling_only = yes
						}
					}
				}
				country_event = { id = goering_huttig.1 days = 60 random_days = 15 }
			}
		}
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 40 }
		}
		modifier = {
			factor = 2
			check_variable = { GER_Militarist_Hawkishness > 75 }
		}
		modifier = {
			factor = 5
			has_completed_focus = GGR_germanian_triumph
		}
	}
}

shared_focus = {
	id = GER_GOR_war_plan_A
	icon = GFX_focus_GER_war_plan_A
	cost = 1.00
	prerequisite = {
		focus = GER_GOR_war_plan_0
	}
	available = {
		GGR_ostland_conquered = yes 
		GGR_slovakia_conquered = yes
		GGR_the_netherlands_conquered = yes
		GGR_denmark_conquered = yes
		GGR_poland_conquered = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_war_plan_A"
		set_country_flag = GER_war_plan_A
		set_variable = { GGR_last_legs_timeout = 20 }
		clr_country_flag = GER_war_plan_zero
		clr_country_flag = GGR_operation_locked
		set_country_leader_portrait = {
			ideology = national_socialism
			portrait = "GFX_GGR_Goering_Portrait_2"
		}
		GGR_Reload_main = yes
		set_variable = { GGR_war_timer_var = 60 }
		country_event = { id = goering.51 }
		hidden_effect = {
			unlock_national_focus = GGR_plan_A
			country_event = {
				id = goering.50 days = 14
			}
			every_country = {
				limit = {
					is_plan_a_countries = yes
				}
				set_country_flag = anti_goering_preparation
			}
			GGR_reuse_heydrichs_tags = yes
			set_temp_variable = { Victory_ID = 101 }
			set_temp_variable = { Victory_Outcome = 0 }
			set_temp_variable = { Victory_Points = 0 }
			Cold_War_GUI_AddVictory = yes
			set_global_flag = GER_war_plan_a_happened
			SWE = {
				load_oob = "GGR_SWE_American_intervention"
				add_ideas = GGR_War_Plan_A_northern_country_help
			}
			ENG = {
				load_oob = "GGR_ENG_American_intervention"
				add_ideas = GGR_War_Plan_A_southern_country_help
			}
			NOR = {
				if = {
					limit = {
						NOT = {
							has_government = fascism
							has_government = national_socialism
						}
					}
					load_oob = "GGR_NOR_American_intervention"
					add_ideas = GGR_War_Plan_A_northern_country_help
				}
			}
			if = {
				limit = {
					NOT = {
						has_global_flag = piss_off
					}
				}
				activate_mission = conquer_england
				activate_mission = conquer_switserland
				activate_mission = conquer_scandinavia
				activate_mission = conquer_the_balkans
				activate_mission = conquer_ukraine
				activate_mission = conquer_moskowien
			}
		}
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 30 }
		}
		modifier = {
			factor = 2
			check_variable = { GER_Militarist_Hawkishness > 75 }
		}
	}
	x = 0
	y = 1
	relative_position_id = GER_GOR_war_plan_0
}

shared_focus = {
	id = GER_GOR_war_plan_b
	icon = GFX_focus_GER_war_plan_B
	cost = 1.00
	prerequisite = {
		focus = GER_GOR_war_plan_A
	}
	available = {
		GGR_ukraine_conquered = yes
		GGR_moskowien_conquered = yes
		GGR_norway_conquered = yes
		GGR_sweden_conquered = yes
		GGR_finland_conquered = yes
		GGR_switzerland_conquered = yes
		#GGR_romania_out_of_the_way = yes
		#GGR_hungary_out_of_the_way = yes
		#GGR_serbia_out_of_the_way = yes
		GGR_serbia_conquered = yes
		GGR_conquered_the_isles = yes
		GGR_kaukasien_conquered = yes
		GGR_bulgaria_out_of_the_way = yes
		GGR_greece_out_of_the_way = yes			
	}
	x = 0
	y = 1
	relative_position_id = GER_GOR_war_plan_A
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_war_plan_B"
		set_country_flag = GER_war_plan_B
		set_variable = { GGR_last_legs_timeout = 40 }
		clr_country_flag = GER_war_plan_A
		clr_country_flag = GGR_operation_locked
		set_country_leader_portrait = {
			ideology = national_socialism
			portrait = "GFX_GGR_Goering_Portrait_3"
		}
		GGR_Reload_main = yes
		set_variable = { GGR_war_timer_var = 200 }
		country_event = { id = goering.52 }
		hidden_effect = {
			unlock_national_focus = GGR_plan_B
			add_ideas = GER_GGR_war_plan_c_no_allies
			every_country = {
				limit = {
					is_plan_b_countries = yes
					exists = yes
					has_war = no
				}
				set_country_flag = anti_goering_preparation
			}
			set_global_flag = GER_war_plan_B_happened
			if = {
				limit = {
					NOT = {
						has_global_flag = piss_off
					}
				}
				if = {
					limit = {
						has_game_rule = {
							rule = GGR_FALL_ROT_TIME
							option = DEFAULT
						}
					}
					activate_mission = conquer_russia
					activate_mission = conquer_italy
				}
				activate_mission = conquer_turkey
				activate_mission = conquer_iberia
				activate_mission = conquer_africa
			}
			random_list = {
				1 = { # IT IS GOING TO EXPLODE
					IBR = {
						if = {
							limit = {
								exists = yes
								is_ai = yes
								NOT = { has_global_flag = Iberian_Wars }
							}
							subtract_from_variable = { IBRIberiaStability = 50 }
							country_event = { id = IBR.1112 days = 30 }
						}
					}
				}
				3 = {}
			}
		}
	}
}

shared_focus = {
	id = GER_GOR_war_plan_c
	icon = GFX_focus_GER_war_plan_C
	cost = 1.00
	prerequisite = {
		focus = GER_GOR_war_plan_b
	}
	available = {
		GGR_iberia_conquered = yes
		GGR_turkey_conquered = yes
		GGR_france_conquered = yes
		GGR_russia_conquered = yes
		GGR_italy_conquered = yes
		GGR_africa_conquered = yes
	}
	x = 0
	y = 1
	relative_position_id = GER_GOR_war_plan_b
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_war_plan_c"
		clr_country_flag = GER_war_plan_B
		clr_country_flag = goering_italy_war_on_3_fronts
		clr_country_flag = goering_italy_tac_approach
		clr_country_flag = goering_italy_a_swift_end
		set_country_flag = GER_war_plan_C
		set_variable = { GGR_last_legs_timeout = 60 }
		GGR_Reload_main = yes
		set_country_leader_portrait = {
			portrait = "GFX_GGR_Goering_Portrait_4"
		}
		country_event = {
			id = goering.54
		}

		clr_country_flag = GGR_operation_locked

		hidden_effect = {
			unlock_national_focus = GER_GOR_war_plan_C_new
			country_event = {
				id = goering.53 days = 5
			}
			set_portraits = {
				character = GER_ferdinand_schorner
				army = {
					small = "gfx/interface/ideas/ministers/GER/GER_minister_Ferdinand_Schorner_70s.dds"
					large = "gfx/leaders/GER/Portrait_GER_Ferdinand_Schorner_70s.png"
				}
				civilian = {
					small = "gfx/interface/ideas/ministers/GER/GER_minister_Ferdinand_Schorner_70s.dds"
					large = "gfx/leaders/GER/Portrait_GER_Ferdinand_Schorner_70s.png"
				}
			}
			set_portraits = {
				character = GER_hans_speidel
				army = {
					small = "gfx/interface/ideas/ministers/GER/GER_minister_Hans_Speidel_70s.dds"
					large = "gfx/leaders/GER/Portrait_Germany_Hans_Speidel_70s.png"
				}
				civilian = {
					small = "gfx/interface/ideas/ministers/GER/GER_minister_Hans_Speidel_70s.dds"
					large = "gfx/leaders/GER/Portrait_Germany_Hans_Speidel_70s.png"
				}
			}
			every_country = {
			    limit = {
				    NOT = {
					    original_tag = GER
					    is_in_faction_with = GER
					    has_war_with = GER
					    is_subject_of = GER
					}	
				}
				set_country_flag = anti_goering_preparation
			}
			USA = {
				add_ideas = GGR_veterans_of_all_possible_wars
			}
			JAP = {
				add_ideas = GGR_veterans_of_all_possible_wars
			}
			BRG = { TNO_BRG_domestic_tree_swap = yes }
			country_event = goering_expanded.9999
		}
	}
}

shared_focus = {
	id = GER_GOR_five_year_industrial_plan2
	icon = GFX_focus_goal_GER_five_year_plan
	cost = 1.00
	prerequisite = {
		focus = GER_GOR_prepare_the_new_germany
	}
	x = 3
	y = 1
	relative_position_id = GER_GOR_prepare_the_new_germany
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_five_year_industrial_plan"
		set_country_flag = GGR_economy_tree
		GGR_Reload_main = yes
	}
}

##############################################################################

# SAF TREE

##############################################################################

shared_focus = {
	id = GER_GOR_support_afrikaschild
	icon = GFX_focus_GER_the_southern_war
	cost = 1
	allow_branch = {
		has_global_flag = south_african_war_happening
	}
	available = {
		NOT = {
			has_country_flag = GGR_huttigs_betrayal
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_support_afrikaschild"
		COG = {
			add_equipment_to_stockpile = {
				type = infantry_equipment_2
				amount = 1000
				producer = GER
			}
			add_war_support = 0.15
		}
		GRO = {
			add_equipment_to_stockpile = {
				type = infantry_equipment_2
				amount = 1000
				producer = GER
			}
			add_war_support = 0.15
		}
		ANG = {
			add_equipment_to_stockpile = {
				type = infantry_equipment_2
				amount = 1000
				producer = GER
			}
			add_war_support = 0.15
		}
		set_temp_variable = { temp_econ_spending_amount = 0.5 }
		econ_spend_money_once_effect_raw_money = yes
	}
	ai_will_do = {
		factor = 10
	}
	x = 15
	y = 1
	offset = {
		x = 10
		y = 0
		trigger = {
			has_country_flag = GGR_economy_tree
		}
	}
}

shared_focus = {
	id = GER_GOR_full_scale_intervention
	icon = GFX_focus_generic_machine_gun
	cost = 1
	prerequisite = {
		focus = GER_GOR_support_afrikaschild
	}
	available = {
		NOT = {
			has_country_flag = GGR_huttigs_betrayal
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_full_scale_intervention"
		GGR_initialize_SAW = yes
		hidden_effect = {
			COG = {
				set_country_flag = GER_entered_war
				set_technology = {
					MBT_1960 = 1
					APC_1960 = 1
					transport_helicopter_1960 = 1
					tech_transport_helicopter_company = 1
					infantry_aa5 = 1
				}
			}
			every_country = {
			    limit = {
				    has_idea = AS_Member
				}
				set_country_flag = GER_entered_war
				    set_technology = {
				    MBT_1960 = 1
				    APC_1960 = 1
				    transport_helicopter_1960 = 1
				    tech_transport_helicopter_company = 1
				    infantry_aa5 = 1
				}	
			}
		}
		every_country = {
			limit = {
				has_idea = AS_Member
			}
			hidden_effect = {
				load_oob = GER_COG_intervention
			}
			add_manpower = 20000
			add_equipment_to_stockpile = {
				type = infantry_equipment_3
				amount = 3000
				producer = GER
			}
			add_equipment_to_stockpile = {
				type = anti_tank_equipment_2
				amount = 600
				producer = GER
			}
			if = { 
				limit = { 
					has_dlc = "No Step Back"
				}
				create_equipment_variant = {
					name = "Leopard"
					type = MBT_chassis_2
					parent_version = 0
					modules = {
						main_armament_slot = MBT_cannon_3
						turret_type_slot = MBT_three_man_tank_turret
						suspension_type_slot = tank_torsion_bar_suspension
						armor_type_slot = tank_welded_armor
						engine_type_slot = tank_diesel_engine
						special_type_slot_1 = smoke_launchers
						special_type_slot_2 = night_vision
					}
					icon = GFX_focus_GER_MBT_1960_medium
					upgrades = {
						tank_nsb_engine_upgrade = 12
						tank_nsb_armor_upgrade = 8
					}
				}
				add_equipment_to_stockpile = {
					type = MBT_chassis_2
					amount = 200
					producer = GER
					variant_name = "Leopard"
				}
			}
			else = {
				add_equipment_to_stockpile = {
					type = MBT_equipment_2
					amount = 200
					producer = GER
				}
			}
			add_equipment_to_stockpile = {
				type = APC_equipment_1
				amount = 300
				producer = GER
			}
			add_equipment_to_stockpile = {
				type = transport_helicopter_equipment
				amount = 60
				producer = GER
			}
			add_equipment_to_stockpile = {
				type = support_equipment
				amount = 200
				producer = GER
			}
		}
		hidden_effect = {
			every_country = {
				news_event = { id = WORLD.565 days = 3 }
			}
		}
	}
	relative_position_id = GER_GOR_support_afrikaschild
	ai_will_do = {
		factor = 10
	}
	x = 0
	y = 1
}

shared_focus = {
	id = GER_GOR_army_group_afrika
	icon = GFX_focus_generic_orthographic_africa
	cost = 1
	prerequisite = {
		focus = GER_GOR_full_scale_intervention
	}
	available = {
		NOT = {
			has_country_flag = GGR_huttigs_betrayal
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_army_group_afrika"
		every_country = {
			limit = {
				has_idea = AS_Member
			}
			add_ideas = RK_army_group_afrika
		}		
		GGR_SAW_involvement_increase_med = yes
	}
	relative_position_id = GER_GOR_support_afrikaschild
	x = 0
	y = 2
}

shared_focus = {
	id = GER_GOR_a_german_commander_on_the_ground
	icon = GFX_focus_GER_service_for_honor
	cost = 1
	prerequisite = {
		focus = GER_GOR_full_scale_intervention
	}
	available = {
		NOT = {
			has_country_flag = GGR_huttigs_betrayal
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_a_german_commander_on_the_ground"
		country_event = { id = goering.saw.0 }
	}
	relative_position_id = GER_GOR_support_afrikaschild
	x = -2
	y = 2
}

shared_focus = {
	id = GER_GOR_riefenstahls_triumphant_return_to_film_making
	icon = GFX_focus_ENG_OLD_peoples_television
	cost = 1
	prerequisite = {
		focus = GER_GOR_full_scale_intervention
	}
	available = {
		NOT = {
			has_country_flag = GGR_huttigs_betrayal
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_riefenstahls_triumphant_return_to_film_making"

		country_event = { id = goering.saw.1 }
	}
	relative_position_id = GER_GOR_support_afrikaschild
	x = -4
	y = 2
}

shared_focus = {
	id = GER_GOR_arm_the_schild
	icon = GFX_focus_generic_advanced_weapons
	cost = 1
	prerequisite = {
		focus = GER_GOR_full_scale_intervention
	}
	available = {
		NOT = {
			has_country_flag = GGR_huttigs_betrayal
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_arm_the_schild"
		every_country = {
			limit = {
				has_idea = AS_Member
			}
			add_equipment_to_stockpile = {
				type = infantry_equipment_2
				amount = 2000
				producer = GER
			}
			add_equipment_to_stockpile = {
				type = anti_air_shoulder_equipment_0
				amount = 100
				producer = GER
			}
			add_equipment_to_stockpile = {
				type = anti_tank_equipment_1
				amount = 100
				producer = GER
			}
			add_equipment_to_stockpile = {
				type = attack_helicopter_equipment_1
				amount = 50
				producer = GER
			}
			add_equipment_to_stockpile = {
				type = transport_helicopter_equipment
				amount = 50
				producer = GER
			}
		}
		set_temp_variable = { temp_econ_spending_amount = 0.4 }
		econ_spend_money_once_effect_raw_money = yes
		GGR_SAW_involvement_increase_small = yes
	}
	relative_position_id = GER_GOR_support_afrikaschild
	x = 4
	y = 2
}

shared_focus = {
	id = GER_GOR_against_the_USAF
	icon = GFX_focus_GER_planes_imperial
	cost = 3
	prerequisite = {
		focus = GER_GOR_army_group_afrika
	}
	available = {
		NOT = {
			has_country_flag = GGR_huttigs_betrayal
		}
		778 = {
			is_owned_and_controlled_by = ANG
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_against_the_USAF"
		if = {
			limit = { ANG = { controls_state = 778 } }
			778 = {
				add_building_construction = {
					type = air_base
					level = 10
					instant_build = yes
				}
			}
		}
		ANG = {
			add_equipment_to_stockpile = {
				type = jet_fighter_equipment_2
				amount = 200
				producer = GER
			}
			add_equipment_to_stockpile = {
				type = jet_CAS_equipment_2
				amount = 150
				producer = GER
			}
		}
		set_temp_variable = { temp_econ_spending_amount = 0.25 }
		econ_spend_money_once_effect_raw_money = yes
		GGR_SAW_involvement_increase_small = yes
	}
	relative_position_id = GER_GOR_support_afrikaschild
	x = -2
	y = 3
}
shared_focus = {
	id = GER_GOR_boots_on_the_ground
	icon = GFX_focus_generic_army_focus_red
	cost = 3
	prerequisite = {
		focus = GER_GOR_army_group_afrika
	}
	available = {
		NOT = {
			has_country_flag = GGR_huttigs_betrayal
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_boots_on_the_ground"
		every_country = {
			limit = {
				has_idea = AS_Member
			}
			add_manpower = 20000
		}
		country_event = { id = goering.saw.2 }
		set_temp_variable = { temp_econ_spending_amount = 0.25 }
		econ_spend_money_once_effect_raw_money = yes
		
		GGR_SAW_involvement_increase_small = yes
	}
	relative_position_id = GER_GOR_support_afrikaschild
	x = 0
	y = 3
}
shared_focus = {
	id = GER_GOR_panzer_against_tank
	icon = GFX_focus_generic_industry_tanks_green
	cost = 3
	prerequisite = {
		focus = GER_GOR_army_group_afrika
	}
	available = {
		NOT = {
			has_country_flag = GGR_huttigs_betrayal
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_panzer_against_tank"
		add_tech_bonus = {
			bonus = 1
			uses = 1
			category = armor
		}
		every_country = {
			limit = {
				has_idea = AS_Member
			}
			if = { 
				limit = { 
					has_dlc = "No Step Back"
				}
				add_equipment_to_stockpile = {
					type = MBT_chassis_2
					amount = 80
					producer = GER
				}
			}
			else = {
				add_equipment_to_stockpile = {
					type = MBT_equipment_2
					amount = 80
					producer = GER
				}
			}
			add_equipment_to_stockpile = {
				type = APC_equipment_1
				amount = 80
				producer = GER
			}
		    set_temp_variable = { temp_econ_spending_amount = 0.25 }
		    econ_spend_money_once_effect_raw_money = yes
		}
		set_temp_variable = { temp_econ_spending_amount = 0.25 }
		econ_spend_money_once_effect_raw_money = yes
		
		GGR_SAW_involvement_increase_small = yes
	}
	relative_position_id = GER_GOR_support_afrikaschild
	x = 2
	y = 3
}
shared_focus = {
	id = GER_GOR_the_enemy_of_my_enemy
	icon = GFX_focus_GRO_supply_the_boers
	cost = 1
	prerequisite = {
		focus = GER_GOR_arm_the_schild
	}
	available = {
		NOT = {
			has_country_flag = GGR_huttigs_betrayal
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_the_enemy_of_my_enemy"
		hidden_effect = {
			BOR = {
				load_oob = BOR_UPRISING_1
			}
		}
		BOR = {
			add_war_support = 0.3
		}
		custom_effect_tooltip = GER_GOR_the_enemy_of_my_enemy_effect_tooltip
	}
	relative_position_id = GER_GOR_support_afrikaschild
	x = 4
	y = 3
}
shared_focus = {
	id = GER_GOR_enforce_a_naval_quarantine
	icon = GFX_focus_USA_ready_the_fleets
	cost = 3
	prerequisite = {
		focus = GER_GOR_against_the_USAF
		focus = GER_GOR_boots_on_the_ground
		focus = GER_GOR_panzer_against_tank
	}
	available = {
		NOT = {
			has_country_flag = GGR_huttigs_betrayal
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_enforce_a_naval_quarantine"
		hidden_effect = {
			COG = {
				load_oob = "COG_naval_quarantine"
			}
		}
		custom_effect_tooltip = GER_GOR_enforce_a_naval_quarantine_tt
		GGR_SAW_involvement_increase_small = yes
	}
	relative_position_id = GER_GOR_support_afrikaschild
	x = 0
	y = 4
}
shared_focus = {
	id = GER_GOR_negotiate_only_in_pretoria
	icon = GFX_focus_GER_german_friends
	cost = 3
	prerequisite = {
		focus = GER_GOR_enforce_a_naval_quarantine
	}
	available = {
		NOT = {
			has_country_flag = GGR_huttigs_betrayal
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_negotiate_only_in_pretoria"
		every_country = {
			limit = {
				has_idea = AS_Member
			}
			add_ideas = RK_negiotiate_in_pretoria
		}
		GGR_SAW_involvement_increase_med = yes
	}
	relative_position_id = GER_GOR_support_afrikaschild
	x = 0
	y = 5
}
shared_focus = {
	id = GER_GOR_the_schild_broken
	icon = GFX_focus_generic_orthographic_africa
	cost = 1
	allow_branch = {
		has_global_flag = SAF_OFN_Victory
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_the_schild_broken"
		hidden_effect = {
			add_political_power = -50
			GGR_decrease_militarist_loyalty = yes
			add_stability = -0.02
		}
		country_event = { id = goering.saw.31 }
	}
	relative_position_id = GER_GOR_support_afrikaschild
	x = -2
	y = 0
	offset = {
		x = 10
		y = 0
		trigger = {
			has_country_flag = GGR_economy_tree
		}
	}
}
shared_focus = {
	id = GER_GOR_shift_the_blame
	icon = GFX_focus_generic_shady_deal
	cost = 1
	prerequisite = {
		focus = GER_GOR_the_schild_broken
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_shift_the_blame"
		GGR_increase_militarist_loyalty_small = yes
		country_event = { id = goering.saw.35 }
	}
	relative_position_id = GER_GOR_the_schild_broken
	x = -2
	y = 1
}
shared_focus = {
	id = GER_GOR_blame_huttig
	icon = GFX_focus_ANG_acceding_to_huttig_2
	cost = 1
	prerequisite = {
		focus = GER_GOR_shift_the_blame
	}
	mutually_exclusive = {
		focus = GER_GOR_blame_burgundy
		focus = GER_GOR_blame_speidel
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_blame_huttig"
		country_event = { id = goering.saw.9 }
		add_stability = 0.06
		set_country_flag = huttig_scorned
	}
	relative_position_id = GER_GOR_the_schild_broken
	x = -4
	y = 2
}
shared_focus = {
	id = GER_GOR_blame_speidel
	icon = GFX_focus_GER_retter_des_reichs
	cost = 1
	mutually_exclusive = {
		focus = GER_GOR_blame_burgundy
		focus = GER_GOR_blame_huttig
	}
	available = {
		has_country_flag = GER_COG_speidel
	}
	prerequisite = {
		focus = GER_GOR_shift_the_blame
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_blame_speidel"
		set_country_flag = speidel_scorned
		add_stability = 0.1
		country_event = { id = goering.saw.20 days = 3 }
	}
	relative_position_id = GER_GOR_the_schild_broken
	x = -2
	y = 2
}
shared_focus = {
	id = GER_GOR_blame_burgundy
	icon = GFX_focus_BRG_burgundy
	cost = 1
	mutually_exclusive = {
		focus = GER_GOR_blame_speidel
		focus = GER_GOR_blame_huttig
	}
	available = {
		NOT = {
			has_country_flag = GER_COG_speidel
		}
	}
	prerequisite = {
		focus = GER_GOR_shift_the_blame
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_blame_burgundy"
		add_stability = 0.02
		add_war_support = 0.05
	}
	relative_position_id = GER_GOR_the_schild_broken
	x = 0
	y = 2
}
shared_focus = {
	id = GER_GOR_evacuate_the_loyalists
	icon = GFX_focus_UPO_prepare_the_evacuations
	cost = 1
	prerequisite = {
		focus = GER_GOR_the_schild_broken
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_evacuate_the_loyalists"
		GGR_increase_militarist_loyalty_small = yes
		add_manpower = 50000
		navy_experience = 20
		army_experience = 20
		air_experience = 20
	}
	relative_position_id = GER_GOR_the_schild_broken
	x = 2
	y = 1
}
shared_focus = {
	id = GER_GOR_ensure_muller_and_schnecks_safety
	icon = GFX_focus_COG_siegfried_will_handle_this
	cost = 1
	prerequisite = {
		focus = GER_GOR_evacuate_the_loyalists
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_ensure_muller_and_schnecks_safety"
		country_event = { id = goering.saw.10 }
		add_stability = 0.02
	}
	relative_position_id = GER_GOR_the_schild_broken
	x = 2
	y = 2
}
shared_focus = {
	id = GER_GOR_huttigs_werewolves
	icon = GFX_focus_GRO_ss_werewolves
	cost = 1
	prerequisite = {
		focus = GER_GOR_evacuate_the_loyalists
	}
	available = {
		NOT = {
			has_country_flag = huttig_scorned
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_huttigs_werewolves"
		set_country_flag = huttigs_werewolves
		custom_effect_tooltip = GER_GOR_huttigs_werewolves_tooltips
		add_to_variable = { OFN_MANDATE_rebel_stability = -0.1 }
		clamp_OFN_mandate_rebel_stability = yes
		hidden_effect = {
			random_list = {
				40 = {
					country_event = { id = goering.saw.33 days = 8 }
				}
				60 = {
					country_event = { id = goering.saw.34 days = 8 }
				}
			}
		}
	}
	relative_position_id = GER_GOR_the_schild_broken
	x = 4
	y = 2
}
shared_focus = {
	id = GER_GOR_scorched_earth_on_a_grand_scale
	icon = GFX_focus_generic_burn_their_barns
	cost = 1
	prerequisite = {
		focus = GER_GOR_ensure_muller_and_schnecks_safety
		focus = GER_GOR_huttigs_werewolves
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_scorched_earth_on_a_grand_scale"
		if = {
			limit = {
				country_exists = USC
			}
			USC = {
				set_temp_variable = { tempStability = -0.45 }
				TNO_mandates_change_stability = yes
			}
		}
		else = {
			MZB = {
				set_temp_variable = { tempStability = -0.25 }
				TNO_mandates_change_stability = yes
			}
			ANG = {
				set_temp_variable = { tempStability = -0.25 }
				TNO_mandates_change_stability = yes
			}
			COG = {
				set_temp_variable = { tempStability = -0.25 }
				TNO_mandates_change_stability = yes
			}
		}
	}
	relative_position_id = GER_GOR_the_schild_broken
	x = 2
	y = 3
}
### Total Victory SAW ######
shared_focus = {
	id = GER_GOR_ofn_humiliated
	icon = GFX_focus_generic_fate_of_ofn
	cost = 0.2
	allow_branch = {
		has_global_flag = SAF_Schild_Victory
	}
	available = {
		NOT = {
			has_country_flag = GGR_huttigs_betrayal
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_ofn_humiliated"
		country_event = { id = goering.saw.5 }
		country_event = { id = goering.saw.15 }
	}
	relative_position_id = GER_GOR_support_afrikaschild
	x = 0
	y = 0
	offset = {
		x = 1
		y = 1
		trigger = {
			has_country_flag = GGR_economy_tree
		}
	}
	ai_will_do = {
		factor = 200
	}
}
shared_focus = {
	id = GER_GOR_support_the_boers
	icon = GFX_focus_generic_helping_hand
	cost = 1
	prerequisite = {
		focus = GER_GOR_ofn_humiliated
	}
	available = {
		NOT = {
			has_country_flag = GGR_huttigs_betrayal
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_support_the_boers"
		BOR = {
			add_stability = 0.05
			add_war_support = 0.05
			TNO_improve_security_policy_effectiveness_med = yes
		}
		add_manpower = -20000
		send_equipment = {
			target = BOR
			type = infantry_equipment_2
			amount = 1000
		}
		set_temp_variable = { temp_econ_spending_amount = 0.25 }
		econ_spend_money_once_effect_raw_money = yes
	}
	relative_position_id = GER_GOR_ofn_humiliated
	x = -2
	y = 1
}
shared_focus = {
	id = GER_GOR_first_among_equals_in_afrika
	icon = GFX_focus_generic_rich_help_others
	cost = 1
	prerequisite = {
		focus = GER_GOR_ofn_humiliated
	}
	available = {
		NOT = {
			has_country_flag = GGR_huttigs_betrayal
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_first_among_equals_in_afrika"
		set_temp_variable = { money_reserves_temp = 2.35 }
		econ_money_reserves_change_raw_money = yes
		COG = {
			set_temp_variable = { temp_econ_spending_amount = 1.0 }
			econ_spend_money_once_effect_raw_money = yes
		}
		ANG = {
			set_temp_variable = { temp_econ_spending_amount = 0.35	}
			econ_spend_money_once_effect_raw_money = yes
		}
		GRO = {
			set_temp_variable = { temp_econ_spending_amount = 1.0 }
			econ_spend_money_once_effect_raw_money = yes
		}
	}
	relative_position_id = GER_GOR_ofn_humiliated
	x = 2
	y = 1
	ai_will_do = {
		factor = 200
	}
}
shared_focus = {
	id = GER_GOR_pretorian_triumph
	icon = GFX_focus_GER_germany
	cost = 1
	prerequisite = {
		focus = GER_GOR_support_the_boers
		focus = GER_GOR_first_among_equals_in_afrika
	}
	available = {
		NOT = {
			has_country_flag = GGR_huttigs_betrayal
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_pretorian_triumph"
		country_event = { id = goering.saw.24 }
		GGR_increase_militarist_loyalty = yes
		GGR_decrease_militarist_power = yes
		GGR_increase_militarist_hawkishness = yes
	}
	relative_position_id = GER_GOR_ofn_humiliated
	x = 0
	y = 2
	ai_will_do = {
		factor = 200
	}
}
shared_focus = {
	id = GER_GOR_beat_out_bush_fires
	icon = GFX_focus_generic_stamp_down_on_partisans
	cost = 1
	prerequisite = {
		focus = GER_GOR_pretorian_triumph
	}
	available = {
		NOT = {
			has_country_flag = GGR_huttigs_betrayal
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_beat_out_bush_fires"
		COG = {
			add_stability = 0.05
			add_war_support = 0.05
		}
		ANG = {
			add_stability = 0.05
			add_war_support = 0.05
		}
		GRO = {
			add_stability = 0.05
			add_war_support = 0.05
		}
	}
	relative_position_id = GER_GOR_ofn_humiliated
	x = 0
	y = 3
	ai_will_do = {
		factor = 200
	}
}
shared_focus = {
	id = GER_GOR_the_afrikareich
	icon = GFX_focus_generic_orthographic_africa
	cost = 1
	prerequisite = {
		focus = GER_GOR_beat_out_bush_fires
	}
	available = {
		NOT = {
			has_country_flag = GGR_huttigs_betrayal
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_the_afrikareich"
		#custom_effect_tooltip = Prep_for_huttig_tooltip
		set_temp_variable = { gdp_growth_temp = 1.5 } 
		econ_gdp_growth_change = yes
		TNO_improve_poverty_med = yes
		hidden_effect = {
			COG = {
				get_current_government_type = yes
				save_party_popularities = yes
			}
		}
		set_autonomy = {
			target = COG
			autonomy_state = autonomy_autonomous_reichskommissariat
		}
		hidden_effect = {
			COG = {
				restore_previous_government_type = yes
				apply_party_popularities = yes
			}
			ANG = {
				get_current_government_type = yes
				save_party_popularities = yes
			}
		}
		set_autonomy = {
			target = ANG
			autonomy_state = autonomy_autonomous_reichskommissariat
		}
		hidden_effect = {
			ANG = {
				restore_previous_government_type = yes
				apply_party_popularities = yes
			}
			GRO = {
				get_current_government_type = yes
				save_party_popularities = yes
			}
		}
		set_autonomy = {
			target = GRO
			autonomy_state = autonomy_autonomous_reichskommissariat
		}
		hidden_effect = {
			GRO = {
				restore_previous_government_type = yes
				apply_party_popularities = yes
			}
			BOR = {
				get_current_government_type = yes
				save_party_popularities = yes
			}
		}
		set_autonomy = {
			target = BOR
			autonomy_state = autonomy_collaborator_puppet_state
		}
		hidden_effect = {
			BOR = {
				restore_previous_government_type = yes
				apply_party_popularities = yes
			}
		}
		hidden_effect = {
			if = {
				limit = {
					GER = { is_in_faction = yes }
				}
				add_to_faction = GRO
				add_to_faction = COG
				add_to_faction = ANG
				add_to_faction = BOR
			}
			else = {
				create_faction = Einheitspakt
				add_to_faction = GRO
				add_to_faction = COG
				add_to_faction = ANG
				add_to_faction = BOR
			}
			ANG = {
			    remove_faction_status = yes
				add_ideas = Pakt_Autonomous_Reichskommissariat
				econ_join_sphere_GER = yes
				load_focus_tree = GER_blankfocus
			}
			COG = {
			    remove_faction_status = yes
				add_ideas = Pakt_Autonomous_Reichskommissariat
				econ_join_sphere_GER = yes
				load_focus_tree = GER_blankfocus
			}
			GRO = {
			    remove_faction_status = yes
				add_ideas = Pakt_Autonomous_Reichskommissariat
				econ_join_sphere_GER = yes
				load_focus_tree = GER_blankfocus
			}
			BOR = {
				econ_join_sphere_GER = yes
				remove_faction_status = yes
				add_ideas = Pakt_Marionettenstaat
			}
		}
	}
	relative_position_id = GER_GOR_ofn_humiliated
	x = 0
	y = 4
	ai_will_do = {
		factor = 200
	}
}
shared_focus = {
	id = GER_GOR_huttigs_betrayal
	icon = GFX_focus_Acceding_To_Huttig
	cost = 1
	allow_branch = {
		has_country_flag = GGR_huttigs_betrayal
		if = {
			limit = {
				NOT = {
					has_completed_focus = GER_GOR_huttigs_betrayal
				}
			}
			country_exists = GRO
		}
	}
	available = {
		GRO = {
		    has_country_leader = {
			    character = GRO_hans_huttig
			    ruling_only = yes
			}	
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_huttigs_betrayal"
		country_event = { id = goering.saw.16 }
	}
	relative_position_id = GER_GOR_support_afrikaschild
	x = 10
	y = 0
	offset = {
		x = 5
		y = -1
		trigger = {
			has_country_flag = GGR_economy_tree
		}
	}
	offset = {
		x = 0
		y = -1
		trigger = {
			has_global_flag = SAF_ceasefire
		}
	}
	bypass = {
		GRO = {
			has_idea = GRO_REICHSSTAAT_collapsed_oberkommando
		}
	}
}
shared_focus = {
	id = GER_GOR_fighting_withdrawal
	icon = GFX_focus_generic_quiet_on_the_plateau
	cost = 1
	prerequisite = {
		focus = GER_GOR_huttigs_betrayal
	}
	available = {
		GRO = {
		    has_country_leader = {
			    character = GRO_hans_huttig
			    ruling_only = yes
			}	
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_fighting_withdrawal"
		custom_effect_tooltip = GER_GOR_fighting_withdrawal_tooltip
		hidden_effect = {
			GRO = {
				country_event = {
					id = goering.saw.25 days = 6
				}
			}
		}
		GER = {
			add_command_power = 15
			#Withrawal attempt chain
			country_event = {
				id = goering.saw.36 days = 3
			}
		}
	}
	relative_position_id = GER_GOR_huttigs_betrayal
	x = -2
	y = 1
	bypass = {
		GRO = {
			has_idea = GRO_REICHSSTAAT_collapsed_oberkommando
		}
	}
}
shared_focus = {
	id = GER_GOR_leave_him_nothing
	icon = GFX_focus_generic_burning_paperwork
	cost = 1
	prerequisite = {
		focus = GER_GOR_huttigs_betrayal
	}
	available = {
		GRO = {
		    has_country_leader = {
			    character = GRO_hans_huttig
			    ruling_only = yes
			}	
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_leave_him_nothing"
		GRO = {
			set_temp_variable = { gdp_growth_temp = -3 } 
			econ_gdp_growth_change = yes
			add_to_variable = {
				GRO_REICHSSTAAT_ss_weapon_supply = -50
			}
			add_timed_idea = {
				idea = GER_GOR_scorched_administration
				days = 60
			}
		}
	}
	relative_position_id = GER_GOR_huttigs_betrayal
	x = 2
	y = 1
	bypass = {
		GRO = {
			has_idea = GRO_REICHSSTAAT_collapsed_oberkommando
		}
	}
}
shared_focus = {
	id = GER_GOR_save_as_many_loyalists_as_possible
	icon = GFX_focus_COG_siegfried_will_handle_this
	cost = 1
	prerequisite = {
		focus = GER_GOR_fighting_withdrawal
		focus = GER_GOR_leave_him_nothing
	}
	available = {
		GRO = {
		    has_country_leader = {
			    character = GRO_hans_huttig
			    ruling_only = yes
			}	
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_save_as_many_loyalists_as_possible"
		country_event = {
			id = goering.saw.10 days = 30
		}
		add_manpower = 5000
		add_political_power = 20
		add_timed_idea = {
			idea = GGR_evacuating_loyalists
			days = 28
		}
	}
	relative_position_id = GER_GOR_huttigs_betrayal
	x = 0
	y = 2
	bypass = {
		GRO = {
			has_idea = GRO_REICHSSTAAT_collapsed_oberkommando
		}
	}
}
shared_focus = {
	id = GER_GOR_blockade_afrika
	icon = GFX_focus_generic_subdue_the_navy
	cost = 1
	prerequisite = {
		focus = GER_GOR_save_as_many_loyalists_as_possible
	}
	available = {
		GRO = {
		    has_country_leader = {
			    character = GRO_hans_huttig
			    ruling_only = yes
			}	
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_blockade_afrika"
		hidden_effect = {
			if = {
				limit = { has_dlc = "Man the Guns" }
				load_oob = COG_naval_quarantine_mtg
				else = {
					load_oob = COG_naval_quarantine
				}
			}
		}
		country_event = { id = goering.saw.26 days = 5 }
		add_doctrine_cost_reduction = {
		    name = naval_doc_bonus
		    cost_reduction = 0.75
		    uses = 1
		    category = naval_doctrine
		}
	}
	relative_position_id = GER_GOR_huttigs_betrayal
	x = 0
	y = 3
	bypass = {
		GRO = {
			has_idea = GRO_REICHSSTAAT_collapsed_oberkommando
		}
	}
}
shared_focus = {
	id = GER_GOR_undermine_the_traitor
	icon = GFX_focus_ANG_acceding_to_huttig_2
	cost = 1
	prerequisite = {
		focus = GER_GOR_blockade_afrika
	}
	available = {
		GRO = {
		    has_country_leader = {
			    character = GRO_hans_huttig
			    ruling_only = yes
			}	
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_blockade_afrika"
		custom_effect_tooltip = GER_GOR_undermine_the_traitor_tooltip
		country_event = {
			id = goering.saw.27
			days = 2
		}
	}
	relative_position_id = GER_GOR_blockade_afrika
	x = 2
	y = 1
	bypass = {
		GRO = {
			has_idea = GRO_REICHSSTAAT_collapsed_oberkommando
		}
	}
}
shared_focus = {
	id = GER_GOR_cut_our_loses
	icon = GFX_focus_ANG_wealth_of_africa
	cost = 1
	prerequisite = {
		focus = GER_GOR_blockade_afrika
	}
	available = {
		GRO = {
		    has_country_leader = {
			    character = GRO_hans_huttig
			    ruling_only = yes
			}	
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_cut_our_loses"
		GRO = {
			set_temp_variable = { money_reserves_temp = -1}
			econ_money_reserves_change_raw_money = yes
		}
		GER = {
			set_temp_variable = { money_reserves_temp = 1}
			econ_money_reserves_change_raw_money = yes
		}
		add_resource = {
			type = rubber
			amount = 10
			state = 56
		}
		add_resource = {
			type = oil
			amount = 6
			state = 56
		}
		add_resource = {
			type = chromium
			amount = 12
			state = 56
		}
	}
	relative_position_id = GER_GOR_blockade_afrika
	x = -2
	y = 1
	bypass = {
		GRO = {
			has_idea = GRO_REICHSSTAAT_collapsed_oberkommando
		}
	}
}
shared_focus = {
	id = GER_GOR_the_lost_continent
	icon = GFX_focus_GRO_oberkommando_afrika
	cost = 1
	prerequisite = {
		focus = GER_GOR_cut_our_loses
	}
	prerequisite = {
		focus = GER_GOR_undermine_the_traitor
	}
	available = {
		GRO = {
		    has_country_leader = {
			    character = GRO_hans_huttig
			    ruling_only = yes
			}	
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_the_lost_continent"
		every_state = {
			limit = {
				is_core_of = GRO
			}
			GER = {
				add_state_claim = PREV
			}
		}
		country_event = {
			id = goering.saw.30 days = 4
		}
		hidden_effect = {
			if = {
				limit = {
					has_completed_focus = GER_GOR_war_plan_0
				}
				country_event = { id = goering_huttig.1 days = 60 random_days = 15 }
			}
		}
	}
	relative_position_id = GER_GOR_blockade_afrika
	x = 0
	y = 3
}


shared_focus = {
	id = GGR_a_new_opportunity
	icon = GFX_focus_GER_modern_nuclear_silos
	cost = 1
	prerequisite = {
		focus = GER_GOR_the_lost_continent
	}
	available = {
		GRO = {
		    has_country_leader = {
			    character = GRO_hans_huttig
			    ruling_only = yes
			}	
		}
	}
	allow_branch = {
		has_country_flag = GGR_nuking_huttig
		has_country_flag = GGR_huttigs_betrayal
		NOT = {
			has_global_flag = south_african_war_happening
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_a_new_opportunity"
	}
	relative_position_id = GER_GOR_the_lost_continent

	x = 0
	y = 1

	ai_will_do = {
		factor = 10000
	}
}

shared_focus = {
	id = GGR_develop_mauritius_and_reunion
	icon = GFX_focus_GGR_generic_construct_infrastructure
	cost = 1
	prerequisite = {
		focus = GGR_a_new_opportunity
	}
	available = {
		GRO = {
		    has_country_leader = {
			    character = GRO_hans_huttig
			    ruling_only = yes
			}	
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_connect_everything"
		unlock_decision_tooltip = GGR_develop_mauritius_and_reunion
		custom_effect_tooltip = BOR_JAP_mauritius_reunion_nukes_tt
	}
	relative_position_id = GGR_a_new_opportunity

	x = -1
	y = 1

	ai_will_do = {
		factor = 10000
	}
}

shared_focus = {
	id = GGR_prepare_von_hassel
	icon = GFX_focus_GGR_prepare_von_hassel
	cost = 1
	prerequisite = {
		focus = GGR_a_new_opportunity
	}
	available = {
		GRO = {
		    has_country_leader = {
			    character = GRO_hans_huttig
			    ruling_only = yes
			}	
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_prepare_von_hassel"
		country_event = goering_huttig.5
	}
	relative_position_id = GGR_a_new_opportunity

	x = 1
	y = 1

	ai_will_do = {
		factor = 10000
	}
}

shared_focus = {
	id = GGR_a_mushroom_cloud_over_bouhlerstadt
	icon = GFX_focus_GGR_huttig_nuclear_bombing
	cost = 2
	prerequisite = {
		focus = GGR_develop_mauritius_and_reunion
	}
	prerequisite = {
		focus = GGR_prepare_von_hassel
	}
	available = {
		GRO = {
		    has_country_leader = {
			    character = GRO_hans_huttig
			    ruling_only = yes
			}	
		}
		has_country_flag = GGR_mauritius_and_reunion_developed
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_a_mushroom_cloud_over_bouhlerstadt"
		country_event = goering_huttig.12
	}
	relative_position_id = GGR_prepare_von_hassel
	x = -1
	y = 1

	ai_will_do = {
		factor = 0
		modifier = {
			set_temp_variable = { von_hassel_power = GRO.GRO_REICHSSTAAT_cabal_power }
			multiply_temp_variable = { von_hassel_power = 10 }
			add = von_hassel_power
		}
	}
}

shared_focus = {
	id = GER_GOR_stalemate_in_afrika
	icon = GFX_focus_generic_orthographic_africa
	cost = 1
	allow_branch = {
		has_global_flag = SAF_ceasefire
		NOT = { 
		    has_country_flag = GGR_huttigs_betrayal
	    }
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_stalemate_in_afrika"
		country_event = { id = goering.saw.17 days = 2 }
	}
	relative_position_id = GER_GOR_support_afrikaschild
	x = 0
	y = 0
	offset = {
		x = 10
		y = 0
		trigger = {
			has_country_flag = GGR_economy_tree
		}
	}
}
shared_focus = {
	id = GER_GOR_find_someone_to_blame
	icon = GFX_focus_generic_shady_deal
	cost = 1
	prerequisite = {
		focus = GER_GOR_stalemate_in_afrika
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_find_someone_to_blame"
		add_war_support = 0.05
		# figuring out who to blame event
		country_event = { id = goering.saw.22 days = 2 }
	}
	relative_position_id = GER_GOR_stalemate_in_afrika
	x = -2
	y = 1
}
shared_focus = {
	id = GER_GOR_speidels_fault
	icon = GFX_focus_GER_retter_des_reichs
	cost = 1
	prerequisite = {
		focus = GER_GOR_find_someone_to_blame
	}
	mutually_exclusive = {
		focus = GER_GOR_huttigs_fault
	}
	available = {
		has_country_flag = GER_COG_speidel
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_speidels_fault"
		GGR_increase_militarist_loyalty_large = yes
		GGR_increase_militarist_hawkishness_small = yes
		country_event = { id = goering.saw.20 days = 2 }
		set_country_flag = speidel_scorned
	}
	relative_position_id = GER_GOR_stalemate_in_afrika
	x = -2
	y = 2
}
shared_focus = {
	id = GER_GOR_huttigs_fault
	icon = GFX_focus_ANG_acceding_to_huttig_2
	cost = 1
	prerequisite = {
		focus = GER_GOR_find_someone_to_blame
	}
	mutually_exclusive = {
		focus = GER_GOR_speidels_fault
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_huttigs_fault"
		if = {
			limit = {
				NOT = {
					has_country_flag = GER_COG_speidel
				}
			}
			GGR_increase_militarist_loyalty_small = yes
			GGR_increase_militarist_power_large = yes
		}
		else_if = {
			limit = {
				has_country_flag = GER_COG_speidel
			}
			GGR_decrease_militarist_loyalty_large = yes
			GGR_decrease_militarist_power = yes
		}
		GRO = {
			add_stability = -0.05
			country_event = {
				id = goering.saw.21 days = 2
			}
		}
		country_event = { id = goering.saw.19 days = 3 }
	}
	relative_position_id = GER_GOR_stalemate_in_afrika
	x = 0
	y = 2
}
shared_focus = {
	id = GER_GOR_save_face_publicly
	icon = GFX_focus_GER_go_with_goring
	cost = 1
	prerequisite = {
		focus = GER_GOR_stalemate_in_afrika
	}
	available = {
		OR = {
			has_completed_focus = GER_GOR_speidels_fault
			has_completed_focus = GER_GOR_huttigs_fault
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_save_face_publicly"
		add_stability = 0.05
		add_political_power = 100
		country_event = { id = goering.saw.18 days = 2 }
	}
	relative_position_id = GER_GOR_stalemate_in_afrika
	x = 0
	y = 1
}
shared_focus = {
	id = GER_GOR_leave_the_rks_to_it
	icon = GFX_focus_COG_the_north_african_strategy
	cost = 1
	prerequisite = {
		focus = GER_GOR_stalemate_in_afrika
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_leave_the_rks_to_it"
		add_manpower = 10000
		GRO = {
			add_manpower = -10000
			add_war_support = -0.05
		}
		army_experience = 20
	}
	relative_position_id = GER_GOR_stalemate_in_afrika
	x = 2
	y = 1
}
shared_focus = {
	id = GER_GOR_wind_down_wehrmacht_involvement
	icon = GFX_focus_generic_army_focus_red
	cost = 1
	prerequisite = {
		focus = GER_GOR_leave_the_rks_to_it
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_wind_down_wehrmacht_involvement"
		add_manpower = 20000
		COG = {
			add_manpower = -10000
			add_war_support = -0.05
		}
		ANG = {
			add_manpower = -10000
			add_war_support = -0.05
		}
		army_experience = 15
		air_experience = 10
	}
	relative_position_id = GER_GOR_stalemate_in_afrika
	x = 2
	y = 2
}

##############################################################################

# ECONOMICS TREE

##############################################################################

shared_focus = {
	id = GGR_five_year_industrial_plan
	icon = GFX_focus_goal_GER_five_year_plan
	cost = 2
	allow_branch = {
		has_country_flag = GGR_economy_tree
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_five_year_industrial_plan"
		add_dynamic_modifier = { modifier = GGR_economy }
		set_temp_variable = { debt_temp = 0.5 }
		econ_national_debt_change = yes
		hidden_effect = {
			add_dynamic_modifier = { modifier = GGR_poverty_reverser } # reverts poverty from negative GDP growth
		}
	}
	x = 16
	y = 0
}

shared_focus = {
	id = GGR_repurpose_civilian_factories
	icon = GFX_focus_generic_houses_to_factories
	cost = 2
	prerequisite = {
		focus = GGR_five_year_industrial_plan
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_repurpose_civilian_factories"
		set_temp_variable = { pus_temp = 4 }
		econ_pus_change = yes
		GGR_increase_militarist_loyalty_small = yes
		GGR_increase_militarist_power = yes
		set_temp_variable = { debt_temp = 1.5 }
		econ_national_debt_change = yes
		
	}
	relative_position_id = GGR_five_year_industrial_plan
	x = -3
	y = 1
}

shared_focus = {
	id = GGR_destroy_treacherous_architecture
	icon = GFX_focus_GER_monuments_great_war
	cost = 2
	prerequisite = {
		focus = GGR_repurpose_civilian_factories
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_destroy_treacherous_architecture"
		add_stability = 0.06
		64 = {
			remove_building = {
				type = infrastructure
				level = 1
			}
		}
		set_temp_variable = { money_reserves_temp = 0.5 } 
		econ_money_reserves_change_raw_money = yes
	}
	relative_position_id = GGR_five_year_industrial_plan
	x = -6
	y = 2
}

shared_focus = {
	id = GGR_defund_the_kriegsmarine
	icon = GFX_focus_generic_subdue_the_navy
	cost = 2
	prerequisite = {
		focus = GGR_destroy_treacherous_architecture
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_defund_the_kriegsmarine"
		custom_effect_tooltip = GGR_defund_the_kriegsmarine_tooltip
		set_variable = { GGR_industrial_capacity_dockyard = -0.25 }
		set_temp_variable = { money_reserves_temp = 0.5 } 
		econ_money_reserves_change_raw_money = yes
		naval_funding_maximal_decrease_high = yes
		naval_funding_minimal_decrease_med = yes
	}
	relative_position_id = GGR_five_year_industrial_plan
	x = -6
	y = 4
}

shared_focus = {
	id = GGR_excess_slave_nationalisation
	icon = GFX_focus_generic_labor
	cost = 2
	prerequisite = {
		focus = GGR_repurpose_civilian_factories
	}
	mutually_exclusive = {
		focus = GGR_utilise_foreign_labor
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_excess_slave_nationalisation"
		GGR_repair_germany = yes
		TNO_improve_slavery_policy_effectiveness_high = yes
		set_temp_variable = { debt_temp = 1 }
		econ_national_debt_change = yes
	}
	relative_position_id = GGR_five_year_industrial_plan
	x = -4
	y = 2
	ai_will_do = {
		factor = 2
	}
}

shared_focus = {
	id = GGR_total_exploitation_of_the_flesh
	icon = GFX_focus_VYT_Gulag_Industry
	cost = 2
	prerequisite = {
		focus = GGR_excess_slave_nationalisation
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_total_exploitation_of_the_flesh"
		TNO_improve_slavery_policy_effectiveness_high = yes
		60 = {
			add_resource = {
				type = tungsten
				amount = 6
			}
			add_resource = {
				type = chromium
				amount = 4
			}
		}
		hidden_effect = {
			country_event = { id = goering.1708 days = 7 }
		}
		set_temp_variable = { debt_temp = 1 }
		econ_national_debt_change = yes
	}
	relative_position_id = GGR_five_year_industrial_plan
	x = -5
	y = 3
}

shared_focus = {
	id = GGR_reposses_personal_slaves
	icon = GFX_focus_GER_Reposess_personal_slaves
	cost = 2
	prerequisite = {
		focus = GGR_excess_slave_nationalisation
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_reposses_personal_slaves"
		add_stability = -0.05
		set_temp_variable = { temp_econ_GDP_boost_flat = -1 }
		econ_GDP_boost_once_flat = yes
		set_variable = { GGR_industrial_efficiency_factor = 0.10 }
		custom_effect_tooltip = GGR_reposses_personal_slaves_tt
	}
	relative_position_id = GGR_five_year_industrial_plan
	x = -3
	y = 3
}

shared_focus = {
	id = GGR_even_more_austerity
	icon = GFX_focus_generic_fiscal_austerity
	cost = 2
	prerequisite = {
		focus = GGR_water_down_the_wine
		focus = GGR_total_exploitation_of_the_flesh
	}
	prerequisite = {
		focus = GGR_water_down_the_wine
		focus = GGR_reposses_personal_slaves
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_even_more_austerity"
		set_temp_variable = { money_reserves_temp = 0.75 } 
		econ_money_reserves_change_raw_money = yes
		set_temp_variable = { gdp_growth_temp = 0.03 } 
		econ_gdp_growth_change = yes
		admin_funding_maximal_decrease_med = yes
		social_funding_maximal_decrease_med = yes
	}
	relative_position_id = GGR_five_year_industrial_plan
	x = -4
	y = 4
	ai_will_do = {
		factor = 2
	}
}

shared_focus = {
	id = GGR_new_german_industries
	icon = GFX_focus_GER_nazi_industrial_development
	cost = 2
	prerequisite = {
		focus = GGR_defund_the_kriegsmarine
	}
	prerequisite = {
		focus = GGR_total_exploitation_of_the_flesh
		focus = GGR_water_down_the_wine
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_new_german_industries"
		TNO_improve_poverty_med = yes
		GGR_repair_germany = yes
		TNO_improve_industrial_equipment_high = yes
		tno_regulations_improve = yes
		set_temp_variable = { debt_temp = 1.5 }
		econ_national_debt_change = yes
	}
	relative_position_id = GGR_five_year_industrial_plan
	x = -5
	y = 5
	ai_will_do = {
		factor = 2
	}
}

shared_focus = {
	id = GGR_utilise_foreign_labor
	icon = GFX_focus_GER_Utilize_Foreign_Labor
	cost = 2
	prerequisite = {
		focus = GGR_repurpose_civilian_factories
	}
	mutually_exclusive = {
		focus = GGR_excess_slave_nationalisation
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_utilise_foreign_labor"
		GGR_repair_germany = yes
		TNO_improve_immigration_policy_effectiveness_med = yes
		set_temp_variable = { debt_temp = 1.5 }
		econ_national_debt_change = yes
	}
	relative_position_id = GGR_five_year_industrial_plan
	x = -1
	y = 2
	ai_will_do = {
		factor = 2
	}
}

shared_focus = {
	id = GGR_water_down_the_wine
	icon = GFX_focus_GER_Water_down_the_Wine
	cost = 2
	prerequisite = {
		focus = GGR_utilise_foreign_labor
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_water_down_the_wine"
		set_temp_variable = { money_reserves_temp = 12 } 
		econ_money_reserves_change_raw_money = yes
		TNO_worsen_trade_laws_policy_effectiveness_monthly_high = yes
	}
	relative_position_id = GGR_five_year_industrial_plan
	x = -1
	y = 3
}

shared_focus = {
	id = GGR_work_for_freedom
	icon = GFX_focus_GER_mass_reinforcement
	cost = 2
	prerequisite = {
		focus = GGR_reposses_personal_slaves
		focus = GGR_water_down_the_wine
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_work_for_freedom"
		GGR_repair_germany = yes
		set_variable = { GGR_gdp_growth_modifier = 0.02 }
		custom_effect_tooltip = GGR_work_for_freedom_tt
		tno_penal_system_worsen = yes
		TNO_improve_penal_system_policy_effectiveness_high = yes
	}
	relative_position_id = GGR_five_year_industrial_plan
	x = -2
	y = 4
	ai_will_do = {
		factor = 2
	}
}

shared_focus = {
	id = GGR_showing_our_best_side
	icon = GFX_focus_GER_german_friends
	cost = 2
	prerequisite = {
		focus = GGR_water_down_the_wine
	}
	prerequisite = {
		focus = GGR_a_refreshing_new_idea
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_showing_our_best_side"
		set_temp_variable = { debt_temp = 1.5 }
		econ_national_debt_change = yes
		admin_funding_maximal_increase_med = yes
		TNO_improve_immigration_policy_effectiveness_low = yes
		TNO_improve_trade_laws_policy_effectiveness_med = yes
	}
	relative_position_id = GGR_five_year_industrial_plan
	x = -1
	y = 5
}

shared_focus = {
	id = GGR_work_the_blood
	icon = GFX_focus_generic_soldier_whipping
	cost = 2
	prerequisite = {
		focus = GGR_new_german_industries
		focus = GGR_even_more_austerity
		focus = GGR_showing_our_best_side
	}
	mutually_exclusive = {
		focus = GGR_work_the_banks
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_work_the_blood"
		GGR_repair_germany = yes
		TNO_improve_slavery_policy_effectiveness_med = yes
		TNO_improve_penal_system_policy_effectiveness_high = yes
	}
	relative_position_id = GGR_five_year_industrial_plan
	x = -3
	y = 6
	ai_will_do = {
		factor = 2
	}
}

shared_focus = {
	id = GGR_reform_the_financial_sector
	icon = GFX_focus_MCW_rely_on_the_budget
	cost = 2
	prerequisite = {
		focus = GGR_five_year_industrial_plan
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_reform_the_financial_sector"
		set_temp_variable = { debt_temp = -2 }
		econ_national_debt_change = yes
		set_temp_variable = { temp_econ_GDP_boost_flat = -2 }
		econ_GDP_boost_once_flat = yes
	}
	relative_position_id = GGR_five_year_industrial_plan
	x = 2
	y = 1
}

shared_focus = {
	id = GGR_find_the_cash
	icon = GFX_focus_generic_gold_coins
	cost = 2
	prerequisite = {
		focus = GGR_reform_the_financial_sector
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_find_the_cash"
		set_temp_variable = { interest_rates_temp = interest_rates }
		multiply_temp_variable = { interest_rates_temp = -1 }
		econ_interest_rates_change = yes
		set_temp_variable = { inflation_temp = 3.5 }
		econ_inflation_change = yes
		set_temp_variable = { debt_temp = -50 }
		econ_national_debt_change = yes
	}
	relative_position_id = GGR_five_year_industrial_plan
	x = 2
	y = 2
}

shared_focus = {
	id = GGR_cut_the_excess
	icon = GFX_focus_generic_prepare_the_blackmail
	cost = 2
	prerequisite = {
		focus = GGR_find_the_cash
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_cut_the_excess"
		TNO_worsen_pensions_policy_effectiveness_med = yes
		TNO_worsen_minimum_wage_policy_effectiveness_med = yes
		social_funding_maximal_decrease_med = yes
		set_temp_variable = { money_reserves_temp = 5.0 } 
		econ_money_reserves_change_raw_money = yes
		TNO_worsen_poverty_low = yes
	}
	relative_position_id = GGR_five_year_industrial_plan
	x = 2
	y = 3
}

shared_focus = {
	id = GGR_a_refreshing_new_idea
	icon = GFX_focus_generic_pay_wages
	cost = 2
	prerequisite = {
		focus = GGR_cut_the_excess
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_a_refreshing_new_idea"
		GGR_repair_germany = yes
		set_temp_variable = { money_reserves_temp = 1.5 } 
		econ_money_reserves_change_raw_money = yes
		TNO_worsen_poverty_low = yes
	}
	relative_position_id = GGR_five_year_industrial_plan
	x = 2
	y = 4
	ai_will_do = {
		factor = 2
	}
}

shared_focus = {
	id = GGR_tax_em_all
	icon = GFX_focus_generic_economic_opportunity
	cost = 2
	prerequisite = {
		focus = GGR_a_refreshing_new_idea
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_tax_em_all"
		set_temp_variable = { business_tax_temp = 0.1 }
		econ_business_tax_rate_change = yes
		set_temp_variable = { income_tax_temp = 0.06 }
		econ_income_tax_rate_change = yes
		set_temp_variable = { temp_econ_GDP_boost_flat = 4 }
		econ_GDP_boost_once_flat = yes
	}
	relative_position_id = GGR_five_year_industrial_plan
	x = 2
	y = 5
}

shared_focus = {
	id = GGR_work_the_banks
	icon = GFX_focus_MCW_watch_on_the_volga
	cost = 2
	prerequisite = {
		focus = GGR_tax_em_all
	}
	mutually_exclusive = {
		focus = GGR_work_the_blood
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_work_the_banks"
		add_stability = -0.05
		set_temp_variable = { business_tax_temp = 0.05 }
		econ_business_tax_rate_change = yes
		set_temp_variable = { gdp_growth_temp = 0.5 } 
		econ_gdp_growth_change = yes
		GGR_repair_germany = yes
	}
	relative_position_id = GGR_five_year_industrial_plan
	x = 2
	y = 6
	ai_will_do = {
		factor = 2
	}
}


##############################################################################

# CIVIL WAR TREE

##############################################################################

shared_focus = {
	id = GGR_burgerkreig
	icon = GFX_focus_GER_GGR_der_burgerkrieg
	cost = 0.1
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_burgerkreig"
		add_ideas = GGR_Militarist_ethos
		hidden_effect = {
			country_event = {
				id = goering.civil_war.1
				days = 3
			}
		}
	}
	x = 8
	y = 0
}


shared_focus = {
	id = GGR_rally_the_workers
	icon = GFX_focus_generic_workers_fist
	cost = 5.00
	prerequisite = {
		focus = GGR_burgerkreig
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_rally_the_workers"
		add_stability = 0.05
		set_temp_variable = { pus_temp = 2 }
		econ_pus_change = yes
	}
	x = 6
	y = 1
}

shared_focus = {
	id = GGR_guns_of_the_patriots
	icon = GFX_focus_generic_gun_production
	cost = 4.00
	prerequisite = {
		focus = GGR_rally_the_workers
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_guns_of_the_patriots"
		add_equipment_to_stockpile = {
			type = infantry_equipment_2
			amount = 2500
			producer = GER
		}
		add_equipment_to_stockpile = {
			type = anti_tank_equipment_1
			amount = 1000
			producer = GER
		}
		add_equipment_to_stockpile = {
			type = support_equipment_1
			amount = 1000
			producer = GER
		}
	}
	x = 5
	y = 2
}

shared_focus = {
	id = GGR_equipment_exploitation
	icon = GFX_focus_generic_arms_shipments
	cost = 4.00
	prerequisite = {
		focus = GGR_rally_the_workers
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_equipment_exploitation"
		add_ideas = GGR_reliability_issues
		TNO_improve_slavery_policy_effectiveness_low = yes
		TNO_worsen_slavery_policy_effectiveness_monthly_high = yes
	}
	x = 7
	y = 2
}

shared_focus = {
	id = GGR_production_pipeline
	icon = GFX_focus_generic_industry
	cost = 4.00
	prerequisite = {
		focus = GGR_guns_of_the_patriots
	}
	prerequisite = {
		focus = GGR_equipment_exploitation
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_production_pipeline"
		add_ideas = GGR_Production_pipeline
	}
	x = 6
	y = 3
}

shared_focus = {
	id = GGR_run_to_exhaustion
	icon = GFX_focus_generic_labor
	cost = 4.00
	prerequisite = {
		focus = GGR_production_pipeline
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_run_to_exhaustion"
		add_stability = -0.05
		add_timed_idea = {
			idea = GGR_Run_to_exhaustion
			days = 60
		}
		TNO_worsen_max_workhours_policy_effectiveness_med = yes
	}
	x = 6
	y = 4
}

shared_focus = {
	id = GGR_underground_production
	icon = GFX_focus_GOR_securing_the_factories
	cost = 4.00
	prerequisite = {
		focus = GGR_run_to_exhaustion
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_underground_production"
		set_temp_variable = { pus_temp = 2 }
		econ_pus_change = yes
	}
	x = 3
	y = 5
}

shared_focus = {
	id = GGR_work_for_your_life
	icon = GFX_focus_GER_some_are_more_german_than_others
	cost = 4.00
	prerequisite = {
		focus = GGR_run_to_exhaustion
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_work_for_your_life"
		add_stability = -0.1
		TNO_improve_slavery_policy_effectiveness_low = yes
		add_timed_idea = {
			idea = GGR_work_for_your_life
			days = 60
		}
	}
	x = 5
	y = 5
}

shared_focus = {
	id = GGR_rally_the_troops
	icon = GFX_focus_GER_der_volkskampf
	cost = 5.00
	prerequisite = {
		focus = GGR_burgerkreig
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_rally_the_troops"
		add_command_power = 25
		add_manpower = 7500
		add_stability = 0.05
		TNO_improve_conscription_policy_effectiveness_med = yes 
	}
	x = 10
	y = 1
}

shared_focus = {
	id = GGR_military_encouragement
	icon = GFX_focus_generic_general_recruitment
	cost = 4.00
	prerequisite = {
		focus = GGR_rally_the_troops
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_military_encouragement"
		add_stability = 0.10
		add_war_support = 0.10
	}
	x = 9
	y = 2
}

shared_focus = {
	id = GGR_for_the_glory
	icon = GFX_focus_generic_victory_parade
	cost = 4.00
	prerequisite = {
		focus = GGR_rally_the_troops
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_for_the_glory"
		add_manpower = 20000
		TNO_improve_conscription_policy_effectiveness_monthly_low = yes
	}
	x = 11
	y = 2
}

shared_focus = {
	id = GGR_all_brave_sons
	icon = GFX_focus_GER_aryan_male
	cost = 4.00
	prerequisite = {
		focus = GGR_military_encouragement
	}
	prerequisite = {
		focus = GGR_for_the_glory
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_all_brave_sons"
		add_manpower = 15000
	}
	x = 10
	y = 3
}

shared_focus = {
	id = GGR_plowshares_to_swords
	icon = GFX_focus_GER_soldiers_to_builders
	cost = 4.00
	prerequisite = {
		focus = GGR_production_pipeline
		focus = GGR_all_brave_sons
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_plowshares_to_swords"
		add_stability = -0.05
		add_equipment_to_stockpile = {
			type = infantry_equipment_2
			amount = 5000
			producer = GER
		}
	}
	x = 8
	y = 4
}

shared_focus = {
	id = GGR_emergency_conversion
	icon = GFX_focus_generic_industry_calls
	cost = 4.00
	prerequisite = {
		focus = GGR_run_to_exhaustion
	}
	prerequisite = {
		focus = GGR_plowshares_to_swords
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_emergency_conversion"
		set_temp_variable = { pus_temp = 4 }
		econ_pus_change = yes
	}
	x = 7
	y = 5
}

shared_focus = {
	id = GGR_fight_damn_it
	icon = GFX_focus_generic_fight_like_demons
	cost = 4.00
	prerequisite = {
		focus = GGR_all_brave_sons
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_fight_damn_it"
		add_war_support = -0.05
		add_timed_idea = {
			idea = GGR_Fight_damm_it
			days = 40
		}
	}
	x = 10
	y = 4
}

shared_focus = {
	id = GGR_tractor_tanks
	icon = GFX_focus_generic_military_engineering
	cost = 4.00
	prerequisite = {
		focus = GGR_plowshares_to_swords
	}
	prerequisite = {
		focus = GGR_fight_damn_it
	}
	x = 9
	y = 5
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_tractor_tanks"
		if = { 
			limit = { 
				has_dlc = "No Step Back"
			}
			add_equipment_to_stockpile = {
				type = MBT_chassis_2
				amount = 300
				producer = GER
			}
		}
		else = {
			add_equipment_to_stockpile = {
				type = MBT_equipment_2
				amount = 300
				producer = GER
			}
		}
		hidden_effect = {
			country_event = {
				id = goering.civil_war.5
				days = 8
			}
		}
	}
}

shared_focus = {
	id = GGR_the_warriors_breakfast
	icon = GFX_focus_generic_healthy_rations_green
	cost = 4.00
	prerequisite = {
		focus = GGR_fight_damn_it
	}
	x = 11
	y = 5
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_the_warriors_breakfast"
		add_ideas = GGR_warriors_breakfast
	}
}



shared_focus = {
	id = GGR_the_situation_is_becoming_convoluted
	icon = GFX_focus_generic_desperate_times
	cost = 8.00
	prerequisite = {
		focus = GGR_the_warriors_breakfast
	}
	prerequisite = {
		focus = GGR_the_commissariat
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_the_situation_is_becoming_convoluted"
		custom_effect_tooltip = GGR_the_situation_is_becoming_convoluted_tt
		hidden_effect = {
			# If you are here:
			# 1. You know something about coding
			# 2. You either have a skill issue or you used Focus.AutoComplete and you made it here to check wth is going on or you just randomly got here

			GGR = {
				set_cosmetic_tag = GGR_cheater
			}
			
			GER = {
				declare_war_on = {
					target = BGR
					type = annex_everything
				}
				declare_war_on = {
					target = GGR
					type = annex_everything
				}
				declare_war_on = {
					target = SGR
					type = annex_everything
				}
				declare_war_on = {
					target = HGR
					type = annex_everything
				}
			}

			
			BRG = {
				declare_war_on = {
					target = BGR
					type = annex_everything
				}
				declare_war_on = {
					target = GGR
					type = annex_everything
				}
				declare_war_on = {
					target = SGR
					type = annex_everything
				}
				declare_war_on = {
					target = HGR
					type = annex_everything
				}
			}
		}
	}
	x = 8
	y = 9
}

shared_focus = {
	id = GGR_homebrewing
	icon = GFX_focus_generic_houses_to_factories
	cost = 4.00
	prerequisite = {
		focus = GGR_tractor_tanks
	}
	prerequisite = {
		focus = GGR_the_warriors_breakfast
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_homebrewing"
		swap_ideas = {
			remove_idea = GGR_warriors_breakfast
			add_idea = GGR_homebrewed_recreation
		}
		hidden_effect = {
			country_event = {
				id = goering.civil_war.3
				days = 8
			}
		}
	}
	x = 9
	y = 6
}

shared_focus = {
	id = GGR_endless_working
	icon = GFX_focus_YUN_every_woman_a_worker
	cost = 4.00
	prerequisite = {
		focus = GGR_underground_production
		focus = GGR_emergency_conversion
	}
	prerequisite = {
		focus = GGR_work_for_your_life
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_endless_working"
		swap_ideas = { 
			remove_idea = tno_max_workhours_14_hour_work_day
			add_idea = tno_max_workhours_unlimited_work_day
		}
		add_ideas = GGR_endless_work
	}
	x = 5
	y = 6
}

shared_focus = {
	id = GGR_factory_battalions
	icon = GFX_focus_MCW_opportunity_for_settlers
	cost = 4.00
	prerequisite = {
		focus = GGR_endless_working
	}
	prerequisite = {
		focus = GGR_emergency_conversion
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_factory_battalions"
		add_ideas = GGR_factory_battalions
		TNO_worsen_training_policy_effectiveness_monthly_med = yes
		hidden_effect = {
			country_event = {
				id = goering.civil_war.2
				days = 12
			}
		}
	}
	x = 7
	y = 7
}

shared_focus = {
	id = GGR_soldiers_in_spirit
	icon = GFX_focus_generic_from_the_shadows
	cost = 4.00
	prerequisite = {
		focus = GGR_the_warriors_breakfast
	}
	prerequisite = {
		focus = GGR_homebrewing
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_soldiers_in_spirit"
		add_manpower = 15000
		add_stability = -0.1
	}
	x = 9
	y = 7
}

shared_focus = {
	id = GGR_the_commissariat
	icon = GFX_focus_generic_spying_assassination
	cost = 4.00
	prerequisite = {
		focus = GGR_endless_working
	}
	prerequisite = {
		focus = GGR_factory_battalions
	}
	prerequisite = {
		focus = GGR_soldiers_in_spirit
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_the_commissariat"
		add_ideas = GGR_frontline_commisars
		swap_ideas = { 
			remove_idea = tno_military_supervision_kill_em_all
			add_idea = tno_military_supervision_watchdog_groups
		}
		hidden_effect = {
			country_event = {
				id = goering.civil_war.4
				days = 21
			}
		}
	}
	x = 6
	y = 8
}


##############################################################################

# WAR PLAN 0

##############################################################################
shared_focus = {
	id = GGR_zero_plan
	icon = GFX_focus_GER_war_plan_0
	cost = 0.02
	allow_branch = {
		has_country_flag = GER_war_plan_zero
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_zero_plan"
	}
	x = 5
	y = 13
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			factor = 5
			has_completed_focus = GGR_germanian_triumph
		}
	}
}

# Niderlande Tree #

shared_focus = {
	id = GGR_wayward_sons
	icon = GFX_focus_GER_Operation_Sichelschnitt
	cost = 0.2
	prerequisite = {
		focus = GGR_zero_plan
	}
	available = {
	}
	allow_branch = {
		GER = {
			has_country_flag = GER_war_plan_zero
		}
		HOL = {
			NOT = {
				has_country_flag = HOL_Rochemont
			}
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_wayward_sons"

		set_variable = { GGR_netherlands_loot = 4 }

		set_country_flag = GGR_operation_locked
		set_country_flag = GGR_Operation_Sichelschnitt_prep
		custom_effect_tooltip = GGR_wayward_sons_tooltip
	}
	relative_position_id = GGR_zero_plan
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			factor = 5
			has_completed_focus = GGR_germanian_triumph
		}
	}
	x = 10
	y = 1
}

# Denmark tree

shared_focus = {
	id = GGR_invade_denmark
	icon = GFX_focus_GGR_Operation_Moltke
	cost = 0.2
	prerequisite = {
		focus = GGR_zero_plan
	}
	allow_branch = {
		has_country_flag = GER_war_plan_zero
	}
	available = {
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_invade_denmark"
		set_country_flag = GGR_operation_locked
		set_country_flag = GGR_fall_moltke_prep
		custom_effect_tooltip = GGR_invade_denmark_tooltip
	}
	relative_position_id = GGR_zero_plan
	x = -10
	y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			factor = 5
			has_completed_focus = GGR_germanian_triumph
		}
	}
}

# Poland tree

shared_focus = {
	id = GGR_fall_augustus
	icon = GFX_focus_GER_Fall_Augustus
	cost = 0.2
	prerequisite = {
		focus = GGR_zero_plan
	}
	allow_branch = {
		if = {
			limit = {
				NOT = {
					country_exists = POL
					country_exists = GGN
				}
			}
			has_completed_focus = GGR_fall_augustus
		}
		has_country_flag = GER_war_plan_zero
	}
	available = {
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_fall_augustus"
		every_state = {
			limit = { is_core_of = POL }
			add_claim_by = GER
		}
		add_war_support = 0.1
		set_country_flag = GGR_operation_locked
		set_country_flag = GGR_fall_augustus_prep
		custom_effect_tooltip = GGR_fall_augustus_tooltip
		hidden_effect = {
			if = {
				limit = {
					country_exists = POL
					country_exists = GGN
				}
				random_list = {
					1 = {
						POL = {
							annex_country = {
								target = GGN
								transfer_troops = no
							}
						}
						set_global_flag = POL_victory
					}
					1 = {
						GGN = {
							annex_country = {
								target = POL
								transfer_troops = no
							}
						}
						set_global_flag = GGN_victory
					}
				}
			}
		}
	}
	relative_position_id = GGR_zero_plan
	x = -5
	y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			factor = 5
			has_completed_focus = GGR_germanian_triumph
		}
	}
}

# Slovakia spring

shared_focus = {
	id = GGR_operation_fruhling
	icon = GFX_focus_GER_Operation_Spring
	cost = 0.2
	prerequisite = {
		focus = GGR_zero_plan
	}
	allow_branch = {
		has_country_flag = GER_war_plan_zero
	}
	available = {
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_operation_fruhling"
		set_country_flag = GGR_operation_locked
		set_country_flag = GGR_fall_fruhling_prep
		custom_effect_tooltip = GGR_operation_fruhling_tooltip
	}
	relative_position_id = GGR_zero_plan
	x = 5
	y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			factor = 5
			has_completed_focus = GGR_germanian_triumph
		}
	}
}

# ML tree
shared_focus = {
	id = GGR_operation_ostwind2
	icon = GFX_focus_GER_Operation_Ostwind
	cost = 0.2
	prerequisite = {
		focus = GGR_zero_plan
	}
	allow_branch = {
		Pakt_OST_OCW_Meyer_Landrut_Victory = yes
		has_country_flag = GER_war_plan_zero
	}
	available = {
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_operation_ostwind2"
		country_event = { id = goering.ostland.landrut.1 }
		set_variable = { GGR_ostland_loot = 4 }
		set_country_flag = GGR_operation_locked
		set_country_flag = GGR_Ostwind_prep
	}
	relative_position_id = GGR_zero_plan
	x = 0
	y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			factor = 5
			has_completed_focus = GGR_germanian_triumph
		}
	}
}

# Drechsler tree
shared_focus = {
	id = GGR_reigning_in_drechsler
	icon = GFX_focus_GER_Operation_Ostwind
	cost = 0.2
	prerequisite = {
		focus = GGR_zero_plan
	}
	allow_branch = {
		Pakt_OST_OCW_Drechsler_Victory = yes
		NOT = {
			DST = {
				is_ally_with = GER
			}
		}
		has_country_flag = GER_war_plan_zero
	}
	available = {
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_reigning_in_drechsler"
		set_variable = { GGR_ostland_loot = 4 }
		set_country_flag = GGR_operation_locked
		set_country_flag = GGR_Ostwind_prep
		set_country_flag = GGR_drechsler_peace
	}
	relative_position_id = GGR_zero_plan
	x = 0
	y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			factor = 5
			has_completed_focus = GGR_germanian_triumph
		}
	}
}

shared_focus = {
	id = GGR_little_stahlecker
	icon = GFX_focus_GER_Operation_Ostwind
	cost = 0.2
	prerequisite = {
		focus = GGR_zero_plan
	}
	relative_position_id = GGR_zero_plan
	x = 0
	y = 1
	allow_branch = {
		Pakt_OST_OCW_Stahlecker_Victory = yes
		if = {
			limit = {
				NOT = { has_completed_focus = GGR_little_stahlecker }
			}
			NOT = {
				OST = { is_subject_of = GER }
			}
		}
		has_country_flag = GER_war_plan_zero
	}
	available = {
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_little_stahlecker"
		country_event = { id = goering.ostland.stahlecker.1 }
		set_country_flag = GGR_operation_locked
		set_country_flag = GGR_Ostwind_prep
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			factor = 5
			has_completed_focus = GGR_germanian_triumph
		}
	}
}

shared_focus = {
	id = GGR_the_eastern_nightmare
	icon = GFX_focus_GER_Operation_Ostwind
	cost = 0.2
	prerequisite = {
		focus = GGR_zero_plan
	}
	allow_branch = {
		Pakt_OST_OCW_Kovner_Victory = yes
		has_country_flag = GER_war_plan_zero
	}
	available = {
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_the_eastern_nightmare"
		country_event = { id = goering.ostland.kovner.1 days =  0}
		set_variable = { GGR_ostland_loot = 4 }
		set_country_flag = GGR_operation_locked
		set_country_flag = GGR_Ostwind_prep
	}
	relative_position_id = GGR_zero_plan
	x = 0
	y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			factor = 5
			has_completed_focus = GGR_germanian_triumph
		}
	}
}

shared_focus = {
	id = GGR_a_tin_pot_for_broken_men
	icon = GFX_focus_GER_Operation_Ostwind
	cost = 0.2
	prerequisite = {
		focus = GGR_zero_plan
	}
	allow_branch = {
		Pakt_OST_OCW_Vituska_Victory = yes
		has_country_flag = GER_war_plan_zero
	}
	available = {
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_a_tin_pot_for_broken_men"
		set_variable = { GGR_ostland_loot = 4 }
		set_country_flag = GGR_operation_locked
		set_country_flag = GGR_Ostwind_prep
		country_event = {
			id = goering.ostland.vituska.1
			days = 3
		}
	}
	relative_position_id = GGR_zero_plan
	x = 0
	y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			factor = 5
			has_completed_focus = GGR_germanian_triumph
		}
	}
}

shared_focus = {
	id = GGR_a_most_convenient_foe
	icon = GFX_focus_GER_Operation_Ostwind
	cost = 0.2
	prerequisite = {
		focus = GGR_zero_plan
	}
	allow_branch = {
		Pakt_OST_OCW_Jeckeln_Victory = yes
		has_country_flag = GER_war_plan_zero
	}
	available = {
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_a_most_convenient_foe"
		set_variable = { GGR_ostland_loot = 4 }
		set_country_flag = GGR_operation_locked
		set_country_flag = GGR_Ostwind_prep
		country_event = { id = goering.ostland.jeckeln.1 days = 5 }
	}
	relative_position_id = GGR_zero_plan
	x = 0
	y =	1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			factor = 5
			has_completed_focus = GGR_germanian_triumph
		}
	}
}

shared_focus = {
	id = GGR_anarchy_in_ostland
	icon = GFX_focus_GER_Operation_Ostwind
	cost = 0.2
	prerequisite = {
		focus = GGR_zero_plan
	}
	allow_branch = {
		has_global_flag = OST_OCW_Ongoing
		NOT = { country_exists = DST }
		has_country_flag = GER_war_plan_zero
		NOT = {
			has_completed_focus = GGR_anarchy_in_ostland2
		}
	}
	available = {
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_anarchy_in_ostland"
		set_variable = { GGR_ostland_loot = 4 }
		set_country_flag = GGR_operation_locked
		set_country_flag = GGR_Ostwind_prep
	}
	relative_position_id = GGR_zero_plan
	x = 0
	y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			factor = 5
			has_completed_focus = GGR_germanian_triumph
		}
	}
}

shared_focus = {
	id = GGR_anarchy_in_ostland2 #NOTE THE 2
	icon = GFX_focus_GER_Operation_Ostwind
	cost = 0.2
	prerequisite = {
		focus = GGR_zero_plan
	}
	allow_branch = {
		if = {
			limit = {
				NOT = {
					has_completed_focus = GGR_anarchy_in_ostland2
				}
			}
			has_global_flag = OST_OCW_Ongoing
			OR = {
				country_exists = DST
				has_global_flag = GGR_TestOrder
			}
			NOT = {
				has_completed_focus = GGR_anarchy_in_ostland
			}
		}
		has_country_flag = GER_war_plan_zero
	}
	available = {
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_anarchy_in_ostland2"
		set_country_flag = GGR_Ostwind_prep
		set_country_flag = GGR_drechsler_anarchy
	}
	relative_position_id = GGR_zero_plan
	x = 0
	y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			factor = 5
			has_completed_focus = GGR_germanian_triumph
		}
	}
}

##############################################################################

# WAR PLAN A

##############################################################################

shared_focus = {
	id = GGR_plan_A
	icon = GFX_focus_GER_war_plan_A
	cost = 0.02
	prerequisite = {
	}
	allow_branch = {
		has_country_flag = GER_war_plan_A
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_plan_A"
	}
	x = 5
	y = 13
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
}

shared_focus = {
	id = GGR_operation_peter
	icon = GFX_focus_GER_Operation_Peter
	cost = 0.14
	prerequisite = {
		focus = GGR_plan_A
	}
	allow_branch = {
		NOT = {
			AND = {
				country_exists = SER
				SER = { is_in_faction_with = GER }
			}
		}
		if = {
			limit = {
				NOT = { country_exists = SER }
			}
			has_completed_focus = GGR_operation_peter
		}
		has_country_flag = GER_war_plan_A
	}
	available = {
		player_one_operation_check = yes
		OR = {
			GGR_romania_conquered = yes
		    GGR_conquered_hungary = yes
		}
		#SER = { is_not_covered_by_faction = yes }
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_operation_peter"
		set_country_flag = GGR_operation_locked
		GGR_clear_temporary_variables = yes
	}
	relative_position_id = GGR_operation_tepes
	x = 9
	y = 0
	offset = {
		x = -18
		y = 0
		trigger = {
			NOT = { has_global_flag = goering_betrayed_allies }
		}
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
}
shared_focus = {
	id = GGR_check_their_strategies
	icon = GFX_focus_GGR_dust_off_the_bookshelves
	cost = 1
	prerequisite = {
		focus = GGR_operation_peter
	}
	available = {
		GGR_not_invaded_serbia = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_check_their_strategies"
		GGR_plan_A_max_planning = yes
	}
	relative_position_id = GGR_operation_peter
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = -1
	y = 1
}

shared_focus = {
	id = GGR_helicopter_assualt
	icon = GFX_focus_generic_helicopter_1
	cost = 1
	prerequisite = {
		focus = GGR_operation_peter
	}
	available = {
		GGR_not_invaded_serbia = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_helicopter_assualt"
		add_tech_bonus = {
			bonus = 1
			uses = 1
			category = helicopter
		}
	}
	relative_position_id = GGR_operation_peter
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = 1
	y = 1
}

shared_focus = {
	id = GGR_you_brought_this_on_yourself
	icon = GFX_focus_generic_fix_bayonets
	cost = 0.5
	prerequisite = {
		focus = GGR_check_their_strategies
		focus = GGR_helicopter_assualt
	}
	will_lead_to_war_with = SER
	will_lead_to_war_with = GMS
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_you_brought_this_on_yourself"
		if = {
			limit = {
				SER = {
				    exists = yes 
				}
			}
			SER = { GGR_add_on_our_own = yes }
			declare_war_on = {
				target = SER
				type = annex_everything
			}
		}
		if = {
			limit = {
				GMS = {
				    exists = yes 
				}
			}
			declare_war_on = {
				target = GMS
				type = annex_everything
			}
		}
	}
	relative_position_id = GGR_operation_peter
	x = 0
	y = 2
	ai_will_do = {
		factor = 1
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 30 }
		}
		modifier = {
			factor = 2
			check_variable = { GER_Militarist_Hawkishness > 75 }
		}
	}
}

shared_focus = {
	id = GGR_the_military_garbage_chute
	icon = GFX_focus_GER_military_garbage
	cost = 2
	prerequisite = {
		focus = GGR_you_brought_this_on_yourself
	}
	available = {
		GGR_serbia_conquered = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_the_military_garbage_chute"
		RKB = {
			add_ideas = GGR_military_garbage_chute
		}
	}
	relative_position_id = GGR_you_brought_this_on_yourself
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = 0
	y = 1
}

shared_focus = {
	id = GGR_the_military_fortress
	icon = GFX_focus_GGR_the_military_fortress
	cost = 2
	prerequisite = {
		focus = GGR_you_brought_this_on_yourself
	}
	available = {
		GGR_serbia_conquered = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_the_military_fortress"
		every_state = {
			limit = {
				is_core_of = SER
				OR = {
					is_owned_by = GER
					is_owned_by = RKB
				}
			}
			add_building_construction = {
				type = bunker
				level = 3
				instant_build = yes
				province = {
					all_provinces = yes
					limit_to_border_country = CRO
				}
			}
			add_building_construction = {
				type = bunker
				level = 3
				instant_build = yes
				province = {
					all_provinces = yes
					limit_to_border_country = MNT
				}
			}
			add_building_construction = {
				type = bunker
				level = 3
				instant_build = yes
				province = {
					all_provinces = yes
					limit_to_border_country = ITA
				}
			}
		}
		set_temp_variable = { temp_econ_spending_amount = 0.350 }
		econ_spend_money_once_effect_raw_money = yes
	}
	relative_position_id = GGR_operation_peter
	x = -2
	y = 3
}

shared_focus = {
	id = GGR_like_sheep_to_the_slaughter
	icon = GFX_focus_GER_great_wave
	cost = 2
	prerequisite = {
		focus = GGR_you_brought_this_on_yourself
	}
	available = {
		GGR_serbia_conquered = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_like_sheep_to_the_slaughter"
		add_manpower = 10000
		add_equipment_to_stockpile = {
			type = infantry_equipment
			amount = 3000
		}
		add_equipment_to_stockpile = {
			type = anti_tank_equipment
			amount = 250
		}
		add_equipment_to_stockpile = {
			type = anti_air_shoulder_equipment
			amount = 250
		}
	}
	relative_position_id = GGR_operation_peter
	x = 2
	y = 3
}

##### MCW Collapse Branch
shared_focus = {
	id = GGR_fall_henry
	icon = GFX_focus_GER_henry
	cost = 0.2
	prerequisite = {
		focus = GGR_plan_A
	}
	allow_branch = {
		#has_global_flag = MCW_collapse
		has_country_flag = GER_war_plan_A
	}
	available = {
		player_one_operation_check = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_fall_henry"
		GGR_clear_temporary_variables = yes
		custom_effect_tooltip = GGR_army_speed_increase_20_percent
		hidden_effect = {
			add_dynamic_modifier = { modifier = GGR_operation_henry }
			GGR_choose_moskowien_unifier = yes
		}
		set_variable = { GGR_temporary_speed = 0.2 }
		set_country_flag = GGR_operation_locked
		set_variable = { GGR_moskowien_loot = 6 }
	}
	relative_position_id = GGR_operation_rurik
	x = 6
	y = 0
	offset = {
		x = -9
		y = 0
		trigger = {
			OR = {
				UKR = {
					exists = yes
					has_country_leader = {
						character = UKR_Otto_Ohlendorf
						ruling_only = yes
					}
				}
				UKR = {
					exists = yes
					has_country_leader = {
						character = UKR_Georg_Leibbrandt
						ruling_only = yes
					}
				}
				has_country_flag = GGR_return_to_ukraine
			}
		}
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 1
			GGR_ukraine_conquered = yes
		}
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1968.6.1
		}
		modifier = {
			factor = 0.1
			has_war = yes
		}
		modifier = {
			factor = 0
			has_idea = GGR_last_legs
		}
	}
}

shared_focus = {
	id = GGR_the_german_bulldozer
	icon = GFX_focus_GER_expand_frontier
	cost = 2
	prerequisite = {
		focus = GGR_fall_henry
	}
	mutually_exclusive = {
		focus = GGR_a_call_for_help
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_the_german_bulldozer"
		hidden_effect = {
			set_country_flag = GGR_ignore_anti_goering_system
			country_event = { id = goering_anti.17 days = 3 }
		}
		every_country = {
		    limit = {
			    is_moskowien_splits = yes 
				exists = yes 
				NOT = { tag = PAU }
			}
			GER = {
				declare_war_on = {
					target = PREV
					type = annex_everything
				}
			}
		}
	}	
	relative_position_id = GGR_fall_henry
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 30 }
		}
		modifier = {
			factor = 2
			check_variable = { GER_Militarist_Hawkishness > 75 }
		}
		modifier = {
			factor = 0.5
			has_war = yes
		}
		modifier = {
			factor = 0
			has_idea = GGR_last_legs
		}
	}
	x = -1
	y = 1
}

shared_focus = {
	id = GGR_dont_question_your_orders
	icon = GFX_focus_generic_our_loyal_sons
	cost = 2
	prerequisite = {
		focus = GGR_the_german_bulldozer
	}
	bypass = {
		country_exists = MCW
	}

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_dont_question_your_orders"
		hidden_effect = {
			set_country_flag = GGR_ignore_anti_goering_system
			country_event = { id = goering_anti.17 days = 3 }
		}
		if = {
			limit = { 
				country_exists = PAU
				NOT = { has_war_with = PAU }
			}
			custom_effect_tooltip = GGR_dont_question_your_orders_tooltip
			declare_war_on = {
				target = PAU
				type = annex_everything
			}
			add_war_support = -0.08
			add_stability = -0.06
			add_ideas = GGR_reluctant_soldiers
		}
		else = {
			custom_effect_tooltip = GGR_dont_question_your_orders2_tooltip
			add_war_support = 0.08
		}
	}
	relative_position_id = GGR_fall_henry
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
	}
	x = -1
	y = 2
}

shared_focus = {
	id = GGR_shoot_on_sight
	icon = GFX_focus_generic_desolation
	cost = 2
	prerequisite = {
		focus = GGR_dont_question_your_orders
	}
	bypass = {
		country_exists = MCW
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_shoot_on_sight"
		add_war_support = 0.05
		if = {
			limit = { has_idea = GGR_reluctant_soldiers }
			swap_ideas = {
				remove_idea = GGR_reluctant_soldiers
				add_idea = GGR_reluctant_soldiers2
			}
		}
	}
	relative_position_id = GGR_fall_henry
	x = -1
	y = 3
}

shared_focus = {
	id = GGR_not_one_step_back
	icon = GFX_focus_generic_keep_generals_on_a_leash
	cost = 2
	prerequisite = {
		focus = GGR_shoot_on_sight
	}
	bypass = {
		country_exists = MCW
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_not_one_step_back"
		if = {
			limit = { has_idea = GGR_reluctant_soldiers2 }
			swap_ideas = {
				remove_idea = GGR_reluctant_soldiers2
				add_idea = GGR_reluctant_soldiers3
			}
		}
		else = {
			add_war_support = 0.05
		}
	}
	relative_position_id = GGR_fall_henry
	x = -1
	y = 4
}

shared_focus = {
	id = GGR_a_call_for_help
	icon = GFX_focus_generic_accept_their_aid
	cost = 1
	prerequisite = {
		focus = GGR_fall_henry
	}
	mutually_exclusive = {
		focus = GGR_the_german_bulldozer
	}
	available = {
		OR = {
			country_exists = PAU
			country_exists = NTA
			country_exists = NTI
			country_exists = LUF
			AND = {
				country_exists = OZO
				OZO = { has_government = fascism }
			}
			country_exists = TVR
		}
	}
	completion_reward = {
		hidden_effect = {
			log = "[GetDateText]: [Root.GetName]: focus GGR_a_call_for_help"
			if = {
				limit = {
					has_event_target = moskowien_unifier
					event_target:moskowien_unifier = {
						exists = yes
						has_war = no
					}
				}
				country_event = goering_peace_events.1
				GGR_clear_temporary_variables = yes
				transfer_state = 195
				add_state_core = 195
			}
		}
	}
	relative_position_id = GGR_fall_henry
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			has_event_target = moskowien_unifier
			event_target:moskowien_unifier = {
				OR = {
					tag = NTA
					AND = {
						tag = ORO
						has_government = fascism
					}
				}
			}
		}
		modifier = {
			add = 3
			has_event_target = moskowien_unifier
			event_target:moskowien_unifier = {
				OR = { 
					tag = PAU
					tag = NTI
					tag = LUF
				}
			}
		}
	}
	x = 1
	y = 1
}

shared_focus = {
	id = GGR_ship_them_aid
	icon = GFX_focus_generic_the_best_guns_money_can_buy
	cost = 2
	prerequisite = {
		focus = GGR_a_call_for_help
	}
	bypass = {
		NOT = {
			country_exists = TVR
			country_exists = LUF
    		country_exists = RZH
	        country_exists = NTI
		    country_exists = OZM
			country_exists = SNP
			country_exists = OZL
			country_exists = VVV
			country_exists = PSK
		    country_exists = PFT
			country_exists = SHI
			country_exists = OZT
			country_exists = NTA
			country_exists = ORL
			country_exists = RFS
			country_exists = OZO
            country_exists = POV
			country_exists = POP
	        country_exists = OZP
		    country_exists = OZA
		    country_exists = PAU
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_ship_them_aid"
		send_equipment = {
			equipment = motorized_equipment
			target = event_target:moskowien_unifier
			amount = 350
		}
		send_equipment = {
			equipment = infantry_equipment
			target = event_target:moskowien_unifier
			amount = 500
		}
	}
	relative_position_id = GGR_fall_henry
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
	}
	x = 1
	y = 2
}

shared_focus = {
	id = GGR_luftwaffe_reinforcements
	icon = GFX_focus_GER_lufthansa
	cost = 2
	prerequisite = {
		focus = GGR_ship_them_aid
	}
	bypass = {
		NOT = {
			country_exists = TVR
			country_exists = LUF
    		country_exists = RZH
	        country_exists = NTI
		    country_exists = OZM
			country_exists = SNP
			country_exists = OZL
			country_exists = VVV
			country_exists = PSK
		    country_exists = PFT
			country_exists = SHI
			country_exists = OZT
			country_exists = NTA
			country_exists = ORL
			country_exists = RFS
			country_exists = OZO
            country_exists = POV
			country_exists = POP
	        country_exists = OZP
		    country_exists = OZA
		    country_exists = PAU
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_luftwaffe_reinforcements"
		event_target:moskowien_unifier = {
			capital_scope = {
				add_building_construction = {
					type = air_base
					level = 3
				}
			}
		}
		send_equipment = {
			equipment = transport_helicopter_equipment
			amount = 80
			target = event_target:moskowien_unifier
		}
		send_equipment = {
			equipment = fighter_equipment
			amount = 20
			target = event_target:moskowien_unifier
		}
	}
	relative_position_id = GGR_fall_henry
	ai_will_do = {
		factor = 6
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
	}
	x = 1
	y = 3
}

shared_focus = {
	id = GGR_break_the_kessel
	icon = GFX_focus_generic_desolation
	cost = 2
	prerequisite = {
		focus = GGR_luftwaffe_reinforcements
	}
	bypass = {
		NOT = {
			country_exists = TVR
			country_exists = LUF
    		country_exists = RZH
	        country_exists = NTI
		    country_exists = OZM
			country_exists = SNP
			country_exists = OZL
			country_exists = VVV
			country_exists = PSK
		    country_exists = PFT
			country_exists = SHI
			country_exists = OZT
			country_exists = NTA
			country_exists = ORL
			country_exists = RFS
			country_exists = OZO
            country_exists = POV
			country_exists = POP
	        country_exists = OZP
		    country_exists = OZA
		    country_exists = PAU
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_break_the_kessel"
		custom_effect_tooltip = GER_Moskowien_Help_time
		hidden_effect = {
			set_country_flag = GGR_ignore_anti_goering_system
			country_event = { id = goering_anti.17 days = 3 }
		}
		if = {
			limit = {
				NOT = { country_exists = MCW }
			}
			event_target:moskowien_unifier = {
				add_ideas = Pakt_Autonomous_Reichskommissariat
				econ_join_sphere_GER = yes
			}
			GER = {
				add_to_faction = event_target:moskowien_unifier
				add_dynamic_modifier = { modifier = GGR_operation_henry }
			}
			every_country = {
				limit = {
					OR = {
						tag = PAU
						tag = NTA
						tag = NTI
						tag = LUF
						AND = {
							tag = OZO
							has_government = fascism
						}
						tag = TVR
					}
					NOT = {
						tag = event_target:moskowien_unifier
					}
					exists = yes
				}
				country_event = goering.heinrich.1
			}
		}
		every_country = {
		    limit = {
			    is_moskowien_splits = yes 
				exists = yes 
			}	
			GER = {
				declare_war_on = {
					target = PREV
					type = annex_everything
				}
			}
		}	
	}
	relative_position_id = GGR_fall_henry
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 30 }
		}
		modifier = {
			factor = 2
			check_variable = { GER_Militarist_Hawkishness > 75 }
		}
		modifier = {
			factor = 0.5
			has_war = yes
		}
		modifier = {
			factor = 0
			has_idea = GGR_last_legs
		}
	}
	x = 1
	y = 4
}

shared_focus = {
	id = GGR_the_tamed_volga
	icon = GFX_focus_MCW_die_grenzwacht_im_osten
	cost = 2
	prerequisite = {
		focus = GGR_not_one_step_back
		focus = GGR_break_the_kessel
	}
	available = {
		has_war = no
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_the_tamed_volga"
		GER = {
			set_temp_variable = { debt_temp = 1 }
		}
		MCW = {
			add_stability = 0.1
			set_temp_variable = { temp_econ_GDP_boost_flat = 1.25 }
			econ_GDP_boost_once_flat = yes
			add_timed_idea = {
				idea = MCW_repair
				days = 730
			}
			GGR_decrease_militarist_hawkishness_small = yes
		    GGR_decrease_militarist_power_small = yes
		}
		hidden_effect = {
			if = {
				limit = {
					has_event_target = moskowien_unifier
					event_target:moskowien_unifier = {
						exists = yes
						has_war = no
					}
				}
				GGR_peacefully_transfer_moskowien = yes
			}
			GER = {
				remove_dynamic_modifier = { modifier = GGR_operation_henry }
				transfer_state = 195
				add_state_core = 195
			}	
		}
	}
	relative_position_id = GGR_fall_henry
	x = 0
	y = 5
}

shared_focus = {
	id = GGR_scrounge_up_an_administration
	icon = GFX_focus_MCW_watch_on_the_volga
	cost = 2
	prerequisite = {
		focus = GGR_the_tamed_volga
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_scrounge_up_an_administration"
		MCW = {
			add_stability = 0.05
			add_war_support = 0.04
			TNO_improve_admin_efficiency_med = yes
		}
		GGR_decrease_militarist_hawkishness_small = yes
		GGR_decrease_militarist_power_small = yes
	}
	relative_position_id = GGR_fall_henry
	x = 0
	y = 6
}

## RURIK ##
shared_focus = {
	id = GGR_operation_rurik
	icon = GFX_focus_GER_Operation_Rurik
	cost = 0.2
	prerequisite = {
		focus = GGR_plan_A
	}
	allow_branch = {
		has_country_flag = GER_war_plan_A
		if = {
			limit = {
				NOT = {
					UKR = {
						has_country_leader = {
							character = UKR_Hans_Otto_Brautigam 
							ruling_only = yes
						}
					}
				}
			}
			has_completed_focus = GGR_operation_rurik
		}
	}
	

	available = {
		player_one_operation_check = yes
	}

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_operation_rurik"
		set_country_flag = GGR_operation_locked
		GGR_clear_temporary_variables = yes

		hidden_effect = {
			add_dynamic_modifier = { modifier = GGR_operation_rurik }
			set_variable = { GGR_ukraine_loot = 6 }
		}
	}
	relative_position_id = GGR_operation_peter
	x = 9
	y = 0
	ai_will_do = {
		factor = 2
		modifier = {
			add = 1
			GGR_moskowien_conquered = yes
		}
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			factor = 0.1
			has_war = yes
		}
		modifier = {
			factor = 0
			has_idea = GGR_last_legs
		}
	}
	offset = {
		x = -9
		y = 0
		trigger = {
			if = {
				limit = {
					is_in_faction_with = SER
				}
				NOT = { has_completed_focus = GGR_you_brought_this_on_yourself }
			}
			else = { always = no }
		}
	}
}

shared_focus = {
	id = GGR_fuhrer_directive_76
	icon = GFX_focus_generic_paperwork_1
	cost = 2
	prerequisite = {
		focus = GGR_operation_rurik
	}
	available = {
		GGR_not_invaded_ukraine = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_fuhrer_directive_76"
		custom_effect_tooltip = GGR_fuhrer_directive_76_tooltip
		custom_effect_tooltip = GGR_org_factor_increase_12_percent
		set_variable = { GGR_temporary_organisation_factor = 0.12 }
	}
	relative_position_id = GGR_operation_rurik
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = 0
	y = 1
}

shared_focus = {
	id = GGR_5_steps_ahead
	icon = GFX_focus_generic_new_radar_systems
	cost = 2
	prerequisite = {
		focus = GGR_fuhrer_directive_76
	}
	available = {
		GGR_not_invaded_ukraine = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_collateral_damage"
		194 = {
			add_building_construction = {
				type = radar_station
				level = 3
				instant_build = yes
			}
		}
		1391 = {
			add_building_construction = {
				type = radar_station
				level = 2
				instant_build = yes
			}
		}
	}
	relative_position_id = GGR_fuhrer_directive_76
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = -1
	y = 1
}

shared_focus = {
	id = GGR_blitz_the_open_fields
	icon = GFX_focus_generic_tank_grain_field
	cost = 2
	prerequisite = {
		focus = GGR_fuhrer_directive_76
	}
	available = {
		GGR_not_invaded_ukraine = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_blitz_the_open_fields"
		add_equipment_to_stockpile = {
			type = APC_equipment
			amount = 150
			producer = GER
		}

	}
	relative_position_id = GGR_fuhrer_directive_76
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = 1
	y = 1
}

shared_focus = {
	id = GGR_ukraine_aflame
	icon = GFX_focus_GER_ukraine_aflame
	cost = 0.5
	prerequisite = {
		focus = GGR_blitz_the_open_fields
		focus = GGR_5_steps_ahead
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_ukraine_aflame"
		hidden_effect = {
			CRI = { transfer_navy = { target = GER } }
			UKR = {
				annex_country = { target = CRI transfer_troops = no }
			}
		}
		declare_war_on = {
			target = UKR
			type = annex_everything
		}
	}
	relative_position_id = GGR_operation_rurik
	x = 0
	y = 3
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 30 }
		}
		modifier = {
			factor = 2
			check_variable = { GER_Militarist_Hawkishness > 75 }
		}
		modifier = {
			factor = 0.5
			has_war = yes
		}
		modifier = {
			factor = 0
			has_idea = GGR_last_legs
		}
	}
}

shared_focus = {
	id = GGR_burn_the_promises
	icon = GFX_focus_generic_burn_the_blacklist
	cost = 2
	prerequisite = {
		focus = GGR_ukraine_aflame
	}
	available = {
		GGR_ukraine_conquered = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_burn_the_promises"
		country_event = { id = goering.rurik.free.3 }
	}
	relative_position_id = GGR_operation_rurik
	x = -2
	y = 4
}

shared_focus = {
	id = GGR_empower_the_german_minority
	icon = GFX_focus_GER_german_friends
	cost = 2
	prerequisite = {
		focus = GGR_ukraine_aflame
	}
	available = {
		GGR_ukraine_conquered = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_empower_the_german_minority"
		UKR = {
			add_timed_idea = {
				idea = GGR_return_to_normalcy
				days = 182
			}
		}
	}
	relative_position_id = GGR_operation_rurik
	x = 0
	y = 4
}

shared_focus = {
	id = GGR_burn_the_golden_fields
	icon = GFX_focus_generic_burn_it_down
	cost = 2
	prerequisite = {
		focus = GGR_ukraine_aflame
	}
	available = {
		GGR_ukraine_conquered = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_burn_the_golden_fields"
		country_event = { id = goering.rurik.brautigam.4 }
	}
	relative_position_id = GGR_operation_rurik
	x = 2
	y = 4
}

shared_focus = {
	id = GGR_operation_rurik2
	icon = GFX_focus_GER_Operation_Rurik
	cost = 0.2
	prerequisite = {
		focus = GGR_plan_A
	}
	allow_branch = {
		has_country_flag = GER_war_plan_A
		if = {
			limit = {
				NOT = {
					has_completed_focus = GGR_operation_rurik2
				}
			}
			OR = {
				country_exists = FUK
				country_exists = BOV
				country_exists = UKS
			}
		}
	}
	available = {
		player_one_operation_check = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_operation_rurik2"
		set_country_flag = GGR_operation_locked
		GGR_clear_temporary_variables = yes
		country_event = { id = goering.rurik.free.1 }
		hidden_effect = {
			set_variable = { GGR_ukraine_loot = 6 }
		}
	}
	relative_position_id = GGR_operation_peter
	x = 9
	y = 0
	offset = {
		x = -9
		y = 0
		trigger = {
			if = {
				limit = {
					is_in_faction_with = SER
				}
				NOT = { has_completed_focus = GGR_you_brought_this_on_yourself }
			}
			else = { always = no }
		}
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 1
			GGR_moskowien_conquered = yes
		}
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			factor = 0.1
			has_war = yes
		}
		modifier = {
			factor = 0
			has_idea = GGR_last_legs
		}
	}
}

shared_focus = {
	id = GGR_act_first_think_later
	icon = GFX_focus_generic_the_final_countdown
	cost = 0.14
	prerequisite = {
		focus = GGR_operation_rurik2
	}
	available	= {
		has_country_flag = act_first
	}
	bypass = {
		OR = {
			has_war_with = FUK
			has_war_with = BOV
			has_war_with = UKS
		}
		NOT = {
			has_country_flag = plan_first
		}
	}

	will_lead_to_war_with = UKR
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_act_first_think_later"
		every_country = {
		    limit = {
			    is_ukranian_nation = yes 
				exists = yes
			}
			GER = {
				declare_war_on = {
					target = PREV
					type = annex_everything
				}
			}
        }
		add_ideas = GGR_emergency_invasion
	}
	relative_position_id = GGR_operation_rurik2
	x = -2
	y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 30 }
		}
		modifier = {
			factor = 2
			check_variable = { GER_Militarist_Hawkishness > 75 }
		}
		modifier = {
			factor = 0.5
			has_war = yes
		}
		modifier = {
			factor = 0
			has_idea = GGR_last_legs
		}
	}
}

shared_focus = {
	id = GGR_emergency_germania_action_group 
	icon = GFX_focus_GER_blackest_of_ops
	cost = 1
	prerequisite = {
		focus = GGR_act_first_think_later
	}
	bypass = {
		GGR_ukraine_conquered = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_emergency_germania_action_group"
		hidden_effect = {
			division_template = {
				name = "Emergency Germania action group"
				regiments = {
					APC = { x = 0 y = 0 }
					APC = { x = 0 y = 1 }
					APC = { x = 0 y = 2 }
					APC = { x = 0 y = 0 }
					APC = { x = 0 y = 1 }
					APC = { x = 1 y = 2 }
				}
			}
			set_division_template_lock = {
				division_template = "Emergency Germania action group"
				is_locked = no
			}
			64 = {
				create_unit = {
					division = "name = \"Germania 'Brunhild' division \" division_template = \"Emergency Germania action group\" start_experience_factor = 0.0 start_equipment_factor = 0.3"
					owner = GER
				}
				create_unit = {
					division = "name = \"Germania 'Sigurd' division\" division_template = \"Emergency Germania action group\" start_experience_factor = 0.0 start_equipment_factor = 0.4"
					owner = GER
				}
				create_unit = {
					division = "name = \"Germania 'Gudrun' division\" division_template = \"Emergency Germania action group\" start_experience_factor = 0.0 start_equipment_factor = 0.6"
					owner = GER
				}
			}
		}
		custom_effect_tooltip = GGR_emergency_germania_action_group_tooltip
	}
	relative_position_id = GGR_operation_rurik2
	x = -2
	y = 2
}

shared_focus = {
	id = GGR_look_to_the_RKs
	icon = GFX_focus_generic_orthographic_europe
	cost = 1
	prerequisite = {
		focus = GGR_emergency_germania_action_group
	}
	bypass = {
		GGR_ukraine_conquered = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_look_to_the_RKs"
		custom_effect_tooltip = GGR_look_to_the_RKs_tooltip
		hidden_effect = {
			every_country = {
				limit = { is_subject_of = GER }
				set_country_flag = APC_demand
				country_event = { id = goering.rurik.free.2 }
			}
		}
	}
	relative_position_id = GGR_operation_rurik2
	x = -2
	y = 3
}

shared_focus = {
	id = GGR_we_should_have_thought_this_through
	icon = GFX_focus_generic_bad_expansionism
	cost = 1
	prerequisite = {
		focus = GGR_look_to_the_RKs
	}
	mutually_exclusive = {
		focus = GGR_nothing_to_worry_about
	}
	cancelable = no
	available = {
		NOT = {
			has_country_flag = plan_first
		}
		GGR_ukraine_conquered = no
	}
	ai_will_do = {
		base = 1

		modifier = {
			factor = 0
			FUK = {
				surrender_progress < 0.5
			}
		}
		modifier = {
			factor = 0
			BOV = {
				surrender_progress < 0.5
			}
		}
		modifier = {
			factor = 0
			UKS = {
				surrender_progress < 0.5
			}
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_we_should_have_thought_this_through"
		custom_effect_tooltip = GGR_switch_plans_tooltip
		set_country_flag = plan_first
		add_timed_idea = {
			idea = GGR_change_of_plans
			days = 30
		}
		add_war_support = -0.05
	}
	relative_position_id = GGR_operation_rurik2
	x = -3
	y = 5
}

shared_focus = {
	id = GGR_nothing_to_worry_about
	icon = GFX_focus_GER_nazi_army_officers
	cost = 1
	prerequisite = {
		focus = GGR_look_to_the_RKs
	}
	mutually_exclusive = {
		focus = GGR_we_should_have_thought_this_through
	}
	cancelable = no
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_nothing_to_worry_about"
		custom_effect_tooltip = GGR_nothing_to_worry_about_tooltip
		add_war_support = 0.1
		GGR_increase_militarist_loyalty = yes
	}
	relative_position_id = GGR_operation_rurik2
	x = -1
	y = 5
}

shared_focus = {
	id = GGR_think_first_act_later
	icon = GFX_focus_GGR_dust_off_the_bookshelves
	cost = 1
	prerequisite = {
		focus = GGR_operation_rurik2
	}
	available = {
		has_country_flag = plan_first
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_think_first_act_later"
		add_ideas = GGR_a_carefully_planned_invasion
	}
	relative_position_id = GGR_operation_rurik2
	x = 2
	y = 1
	ai_will_do = {
		factor = 2
	}
}

shared_focus = {
	id = GGR_prepare_national_uprisings
	icon = GFX_focus_generic_revolutionary_movement
	cost = 1
	prerequisite = {
		focus = GGR_think_first_act_later
	}
	bypass = {
		GGR_ukraine_conquered = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_prepare_national_uprisings"
		custom_effect_tooltip = GGR_prepare_national_uprisings_tooltip
		hidden_effect = {
			division_template = {
				name = "Ukrainian Rebels"
				regiments = {
					light_infantry = { x = 0 y = 0 }
					light_infantry = { x = 0 y = 1 }
					light_infantry = { x = 0 y = 2 }
					light_infantry = { x = 1 y = 0 }
					light_infantry = { x = 1 y = 1 }
					light_infantry = { x = 1 y = 2 }
				}
			}
			set_division_template_lock = {
				division_template = "Ukrainian Rebels"
				is_locked = yes
			}
		}
	}
	relative_position_id = GGR_operation_rurik2
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = 2
	y = 2
}

shared_focus = {
	id = GGR_expose_the_cracks
	icon = GFX_focus_generic_government_purge
	cost = 1
	prerequisite = {
		focus = GGR_prepare_national_uprisings
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_expose_the_cracks"
		every_country = {
			limit = {
				is_ukranian_nation = yes
				exists = yes
				NOT = {
					tag = UKR
				}
			}
			add_war_support = -0.08
			add_stability = -0.05
		}
	}
	bypass = {
		GGR_ukraine_conquered = yes
	}
	relative_position_id = GGR_operation_rurik2
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = 2
	y = 3
}

shared_focus = {
	id = GGR_out_of_the_think_tank
	icon = GFX_focus_generic_adapting_their_strategies
	cost = 1
	prerequisite = {
		focus = GGR_expose_the_cracks
	}
	available = {
		hidden_trigger = {
			OR = {
				is_ai = no
				has_war = no
			}
		}
	}
	bypass = {
		GGR_ukraine_conquered = yes
	}
	will_lead_to_war_with = BOV
	will_lead_to_war_with = UKS
	will_lead_to_war_with = FUK
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_out_of_the_think_tank"
		every_country = {
		    limit = {
			    is_ukranian_nation = yes 
				exists = yes
				NOT = {
					tag = UKR
				}
			}
			GER = {
				declare_war_on = {
					target = PREV
					type = annex_everything
				}
			}
			hidden_effect = {
				set_temp_variable_to_random = {
					var = random_ukr_divs
					min = 1
					max = 3
					integer = yes
				}
				random_owned_controlled_state = {
					for_loop_effect = {
						end = random_ukr_divs
						create_unit = {
							division = "name = \"Ukrainian Rebels\" division_template = \"Ukrainian Rebels\" start_experience_factor = 0.0 start_equipment_factor = 0.3"
							owner = GER
							allow_spawning_on_enemy_provs = yes
						}
					}
				}
			}
        }
	}
	relative_position_id = GGR_operation_rurik2
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			factor = 0.5
			has_war = yes
		}
		modifier = {
			factor = 0
			has_idea = GGR_last_legs
		}
	}
	x = 2
	y = 4
}

shared_focus = {
	id = GGR_we_were_right_to_worry
	icon = GFX_focus_generic_riot_police_2
	cost = 1
	prerequisite = {
		focus = GGR_out_of_the_think_tank
	}
	mutually_exclusive = {
		focus = GGR_cool_minds_prevail
	}
	cancelable = no
	available = {
		NOT = {
			has_country_flag = act_first
			GGR_ukraine_conquered = yes
		}
	}
	allow_branch = {
		always = no
	}
	ai_will_do = {
		base = 1

		modifier = {
			factor = 0
			UKR = {
				surrender_progress > 0.5
			}
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_we_were_right_to_worry"
		custom_effect_tooltip = GGR_switch_plans_tooltip
		set_country_flag = act_first
		add_timed_idea = {
			idea = GGR_change_of_plans
			days = 35
		}
		add_war_support = -0.05
	}
	relative_position_id = GGR_operation_rurik2
	x = 1
	y = 5
}

shared_focus = {
	id = GGR_cool_minds_prevail
	icon = GFX_focus_JAP_cooler_heads
	cost = 1
	prerequisite = {
		focus = GGR_out_of_the_think_tank
	}
	mutually_exclusive = {
		focus = GGR_we_were_right_to_worry
	}
	available = {
		if = {
			limit = {
				country_exists = BOV
			}
			BOV = {
				surrender_progress > 0.5
			}
		}
		if = {
			limit = {
				country_exists = UKS
			}
			UKS = {
				surrender_progress > 0.5
			}
		}
		if = {
			limit = {
				country_exists = FUK
			}
			FUK = {
				surrender_progress > 0.5
			}
		}
	}
	cancelable = no
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_cool_minds_prevail"
		custom_effect_tooltip = GGR_cool_minds_prevail_tooltip
		add_war_support = 0.1
		GGR_increase_militarist_loyalty = yes
	}
	relative_position_id = GGR_operation_rurik2
	x = 2
	y = 5
}

shared_focus = {
	id = GGR_all_according_to_plan
	icon = GFX_focus_GER_reform_fascism
	cost = 2
	prerequisite = {
		focus = GGR_we_should_have_thought_this_through
		focus = GGR_nothing_to_worry_about
		focus = GGR_we_were_right_to_worry
		focus = GGR_cool_minds_prevail
	}
	available = {
		GGR_ukraine_conquered = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_all_according_to_plan"
		add_war_support = 0.1
		GGR_increase_militarist_loyalty_small = yes
	}
	relative_position_id = GGR_operation_rurik2
	x = 0
	y = 6
}

shared_focus = {
	id = GGR_know_your_place
	icon = GFX_focus_generic_stamp_down_on_partisans
	cost = 2
	prerequisite = {
		focus = GGR_all_according_to_plan
	}
	mutually_exclusive = {
		focus = GGR_no_one_could_have_predicted_this
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_know_your_place"
		add_stability = -0.05
		set_temp_variable = { pus_temp = 2 }
		econ_pus_change = yes
	}
	relative_position_id = GGR_operation_rurik2
	x = -2
	y = 7
}

shared_focus = {
	id = GGR_no_one_could_have_predicted_this
	icon = GFX_focus_generic_cut_military_spending
	cost = 1
	prerequisite = {
		focus = GGR_all_according_to_plan
	}
	mutually_exclusive = {
		focus = GGR_know_your_place
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_no_one_could_have_predicted_this"
		add_stability = 0.025
		UKR = {
			add_timed_idea = {
				idea = GGR_return_to_normalcy
				days = 120
			}
		}
	}
	relative_position_id = GGR_operation_rurik2
	x = 0
	y = 7
}

shared_focus = {
	id = GGR_expand_the_grain_stockpiles
	icon = GFX_focus_ITA_OLD_the_second_battle_for_grain
	cost = 1
	prerequisite = {
		focus = GGR_all_according_to_plan
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_expand_the_grain_stockpiles"
		set_temp_variable = { temp_econ_spending_amount = 0.4 } 
		econ_spend_money_once_effect_raw_money = yes
		set_temp_variable = { gdp_growth_temp = 0.2 }
		econ_gdp_growth_change = yes
		UKR = { 
			add_stability = 0.05
			set_temp_variable = { gdp_growth_temp = 0.2 }
			econ_gdp_growth_change = yes
		}
	}
	relative_position_id = GGR_operation_rurik2
	x = 2
	y = 7
}

shared_focus = {
	id = GGR_the_breadbasket_once_again
	icon = GFX_focus_generic_a_new_dawn
	cost = 2
	prerequisite = {
		focus = GGR_know_your_place
		focus = GGR_no_one_could_have_predicted_this
	}
	prerequisite = {
		focus = GGR_expand_the_grain_stockpiles
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_the_breadbasket_once_again"
		add_timed_idea = {
			idea = GGR_the_breadbasket_reclaimed
			days = 365
		}
		set_temp_variable = { gdp_growth_temp = 0.5 } 
		econ_gdp_growth_change = yes
	}
	relative_position_id = GGR_operation_rurik2
	x = 0
	y = 8
}

##### NORWAY BRANCH


shared_focus = {
	id = GGR_operation_nordlicht
	icon = GFX_focus_GER_Operation_Nordlicht
	cost = 0.2
	prerequisite = {
		focus = GGR_plan_A
	}
	allow_branch = {
		OR = {
			has_global_flag = NOR_mainstream
			has_global_flag = NOR_moderates
			has_global_flag = NOR_freedom
			has_global_flag = NOR_radicals
		}
		NOR = {
			OR = {
				NOT = {
					is_in_faction_with = GER
				}
				exists = no
			}
		}
		has_country_flag = GER_war_plan_A
	}
	available = {
		player_one_operation_check = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_operation_nordlicht"
		if = {
			limit = {
				country_exists = NOR 
			}
			set_country_flag = GGR_operation_locked
		}
		GGR_clear_temporary_variables = yes
		if = {
			limit = { NOT = { has_variable = GGR_scandinavia_loot } }
			set_variable = { GGR_scandinavia_loot = 6 }
		}
	}
	relative_position_id = GGR_operation_hansa
	x = -9
	y = 0
	ai_will_do = {
		factor = 8
		modifier = {
			add = 1
			GGR_finland_conquered = yes
		}
		modifier = {
			add = 1
			GGR_finland_conquered = yes
		}
		modifier = {
			factor = 0.1
			has_war = yes
		}
		modifier = {
			factor = 0
			has_idea = GGR_last_legs
		}
	}
}

shared_focus = {
	id = GGR_norways_place_in_the_reich
	icon = GFX_focus_GER_norways_place_in_the_reich
	cost = 2
	prerequisite = {
		focus = GGR_operation_nordlicht
	}
	bypass = {
		has_country_flag = GGR_norway_accepts
	}
	allow_branch = {
		OR = {
			has_global_flag = NOR_radicals
			AND = {
				NOT = {
					country_exists = NOR
				}
				GER = { has_country_flag = GGR_norway_accepts }
			}
		}
		has_country_flag = GER_war_plan_A
	}
	mutually_exclusive = {
		focus = GGR_ready_the_fleet
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_norways_place_in_the_reich"
		effect_tooltip = {
			SCN = {
				annex_country = {
					target = NOR
					transfer_troops = no
				}
			}
		}
		hidden_effect = {	
			clr_country_flag = GGR_operation_locked
			set_temp_variable = { Victory_ID = 101 }
			set_temp_variable = { Victory_Points = TNO_Cold_War_GUI_Victory_Points^101 }
			add_to_temp_variable = { Victory_Points = 75 }
			if = {
				limit = {
					GGR_war_plan_A_completed = yes
				}
				set_temp_variable = { Victory_Outcome = 5 }
				if = {
					limit = {
						OR = {
							SER = { is_subject_of = ITA }
							BUL = { is_subject_of = ITA }
							GRE = { is_subject_of = ITA }
							ENG = { is_in_faction_with = USA }
							NOR = { is_in_faction_with = USA }
						}
					}
					set_temp_variable = { Victory_Outcome = 4 }
				}
			}
			Cold_War_GUI_AddVictory = yes
			SCN = {
				annex_country = {
					target = NOR
					transfer_troops = no
				}
				GGR_set_up_RK_ROOT = yes
			}
			GER = {
				transfer_state = 94
				add_state_core = 94
			}
			FIN = {
				if = {
					limit = {
						is_in_faction_with = GER
						exists = yes
					}
					transfer_state = 896
					add_state_core = 896
				}
			}
			SCN = {
				every_owned_state = {
					set_demilitarized_zone = no
				}
			}
			NOR = {
			    every_unit_leader = {
				    set_nationality = SCN
				}
			}
			if = {
				limit = {
					GGR_sweden_conquered = yes
					GGR_finland_conquered = yes
					GGR_norway_conquered = yes
				}
				complete_national_focus = GGR_scandinavian_liberation
			}
		}
	}
	relative_position_id = GGR_operation_nordlicht
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = 0
	y = 1
}

shared_focus = {
	id = GGR_northern_armies
	icon = GFX_focus_MAG_charge
	cost = 2
	prerequisite = {
		focus = GGR_norways_place_in_the_reich
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_northern_armies"
		add_manpower = 10000
		send_equipment = {
			equipment = infantry_equipment
			amount = 1000
			target = SCN
		}
		send_equipment = {
			equipment = anti_tank_equipment
			amount = 200
			target = SCN
		}
		send_equipment = {
			equipment = anti_air_shoulder_equipment
			amount = 200
			target = SCN
		}
		SCN = {
			add_war_support = 0.06
		}
	}
	relative_position_id = GGR_operation_nordlicht
	x = 0
	y = 2
}

shared_focus = {
	id = GGR_northern_fleets
	icon = GFX_focus_GER_fleet_pride
	cost = 2
	prerequisite = {
		focus = GGR_northern_armies
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_northern_fleets"
		set_temp_variable = { temp_econ_spending_amount = 0.65 } 
		econ_spend_money_once_effect_raw_money = yes
		99 = {
			add_building_construction = {
				type = dockyard
				level = 2
				instant_build = yes
			}
			add_extra_state_shared_building_slots = 2
		}
		144 = {
			add_building_construction = {
				type = dockyard
				level = 2
				instant_build = yes
			}
			add_extra_state_shared_building_slots = 2
		}
		143 = {
			add_building_construction = {
				type = dockyard
				level = 2
				instant_build = yes
			}
			add_extra_state_shared_building_slots = 2
		}
		142 = {
			add_building_construction = {
				type = dockyard
				level = 2
				instant_build = yes
			}
			add_extra_state_shared_building_slots = 2
		}
	}
	relative_position_id = GGR_operation_nordlicht
	x = 0
	y = 3
}

shared_focus = {
	id = GGR_ready_the_fleet
	icon = GFX_focus_USA_ready_the_fleets
	cost = 2
	prerequisite = {
		focus = GGR_operation_nordlicht
	}
	mutually_exclusive = {
		focus = GGR_norways_place_in_the_reich
	}
	available = {
		GGR_not_invaded_norway = yes
	}

	allow_branch = {
		OR = {
			has_global_flag = NOR_moderates
			has_global_flag = NOR_mainstream
			has_global_flag = NOR_freedom
		}
		if = {
			limit = {
				NOT = { country_exists = NOR }
			}
			has_completed_focus = GGR_ready_the_fleet
		}
		NOT = { has_country_flag = GGR_norway_accepts }
		has_country_flag = GER_war_plan_A
	}
	cancel = {
		has_country_flag = GGR_norway_accepts
	}

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_ready_the_fleet"
		add_timed_idea = {
			idea = GGR_operation_nordlicht
			days = 180
		}
	}
	relative_position_id = GGR_operation_nordlicht
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = 0
	y = 1
}

shared_focus = {
	id = GGR_contact_the_hardliners
	icon = GFX_focus_generic_national_socialism
	cost = 2
	prerequisite = {
		focus = GGR_ready_the_fleet
	}
	available = {
		GGR_not_invaded_norway = yes
	}
	cancel = {
		has_country_flag = GGR_norway_accepts
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_contact_the_hardliners"
		custom_effect_tooltip = GGR_contact_the_hardliners_tooltip
		country_event = { id = goering.nordlicht.1 }
	}
	relative_position_id = GGR_operation_nordlicht
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = -1
	y = 2
}

shared_focus = {
	id = GGR_helicopters_over_the_baltic
	icon = GFX_focus_generic_helicopter_2
	cost = 2
	prerequisite = {
		focus = GGR_contact_the_hardliners
	}
	available = {
		GGR_not_invaded_norway = yes
	}
	cancel = {
		has_country_flag = GGR_norway_accepts
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_helicopters_over_the_baltic"
		add_equipment_to_stockpile = {
			type = attack_helicopter_equipment
			amount = 50
			producer = GER
		}
		add_equipment_to_stockpile = {
			type = transport_helicopter_equipment
			amount = 50
			producer = GER
		}
	}
	relative_position_id = GGR_operation_nordlicht
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = -1
	y = 3
}

shared_focus = {
	id = GGR_danish_missile_bases
	icon = GFX_focus_JAP_rocketry
	cost = 2
	prerequisite = {
		focus = GGR_ready_the_fleet
	}
	available = {
		GGR_not_invaded_norway = yes
	}
	cancel = {
		has_country_flag = GGR_norway_accepts
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_danish_missile_bases"
		99 = {
			add_building_construction = {
				type = missile_silo
				level = 1
				instant_build = yes
			}
		}
		add_equipment_to_stockpile = {
			type = MRBM_equipment
			amount = 10
			producer = GER
		}
		add_equipment_to_stockpile = {
			type = SRBM_equipment
			amount = 40
			producer = GER
		}
	}
	relative_position_id = GGR_operation_nordlicht
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = 1
	y = 3
}

shared_focus = {
	id = GGR_teaching_a_lesson
	icon = GFX_focus_generic_embrace_totalitarianism
	cost = 0.5
	prerequisite = {
		focus = GGR_helicopters_over_the_baltic
		focus = GGR_danish_missile_bases
	}
	will_lead_to_war_with = NOR
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_teaching_a_lesson"
		declare_war_on = {
			target = NOR
			type = annex_everything
		}
	}
	relative_position_id = GGR_operation_nordlicht
	x = 0
	y = 4
	ai_will_do = {
		factor = 1
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 30 }
		}
		modifier = {
			factor = 2
			check_variable = { GER_Militarist_Hawkishness > 75 }
		}
		modifier = {
			factor = 0.5
			has_war = yes
		}
		modifier = {
			factor = 0
			has_idea = GGR_last_legs
		}
	}
}

shared_focus = {
	id = GGR_only_the_most_loyal_collaborators
	icon = GFX_focus_BRG_absolute_loyalty
	cost = 2
	prerequisite = {
		focus = GGR_teaching_a_lesson
	}
	available = {
		GGR_norway_conquered = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_only_the_most_loyal_collaborators"
		if = {
			limit = {
				SCN = {
					is_subject_of = GER
				}
			}
			SCN = {
				add_stability = -0.12
				add_war_support = -0.12
				add_manpower = -15000
				add_timed_idea = {
					idea = GGR_reestablishing_the_party
					days = 365
				}
			}
		}
		else_if = {
			limit = {
				NOR = {
					is_subject_of = GER
				}
			}
			NOR = {
				add_stability = -0.12
				add_war_support = -0.12
				add_manpower = -15000
				add_timed_idea = {
					idea = GGR_reestablishing_the_party
					days = 365
				}
			}
		}
	}
	relative_position_id = GGR_operation_nordlicht
	x = 0
	y = 5
}

shared_focus = {
	id = GGR_north_sea_oil
	icon = GFX_focus_generic_subcontinental_oil
	cost = 2
	prerequisite = {
		focus = GGR_only_the_most_loyal_collaborators
		focus = GGR_northern_fleets

	}
	allow_branch = {
		OR = {
			has_global_flag = NOR_moderates
			has_global_flag = NOR_mainstream
			has_global_flag = NOR_freedom
			has_global_flag = NOR_radicals
		}
		has_country_flag = GER_war_plan_A
	}
	available = {
		GGR_norway_conquered = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_north_sea_oil"
		add_resource = {
			type = oil
			amount = 7
			state = 144
		}
	}
	relative_position_id = GGR_operation_nordlicht
	x = -1
	y = 6
	offset = {
		x = 0
		y = -2
		trigger = {
			OR = {
				has_global_flag = NOR_radicals
				AND = {
					NOT = {
						country_exists = NOR
					}
					has_country_flag = GGR_norway_accepts
				}
			}
		}
	}
}

shared_focus = {
	id = GGR_isolating_the_swedes
	icon = GFX_focus_generic_snuff_out_liberalism
	cost = 2

	prerequisite = {
		focus = GGR_only_the_most_loyal_collaborators
		focus = GGR_northern_fleets
	}
	allow_branch = {
		OR = {
			has_global_flag = NOR_moderates
			has_global_flag = NOR_mainstream
			has_global_flag = NOR_freedom
			has_global_flag = NOR_radicals
		}
		has_country_flag = GER_war_plan_A
	}

	available = {
		GGR_norway_conquered = yes
		GGR_not_invaded_sweden = yes# tooltip
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_isolating_the_swedes"
		SWE = {
			add_war_support = -0.06
		}
		897 = {
			add_building_construction = {
				type = anti_air_building
				level = 2
				instant_build = yes
			}
		}
	}
	relative_position_id = GGR_operation_nordlicht
	x = 1
	y = 6
	offset = {
		x = 0
		y = -2
		trigger = {
			OR = {
				has_global_flag = NOR_radicals
				AND = {
					NOT = {
						country_exists = NOR
					}
					has_country_flag = GGR_norway_accepts
				}
			}
		}
	}
}

shared_focus = {
	id = GGR_operation_tannenbaum
	icon = GFX_focus_GER_tannenbaum
	cost = 0.2
	prerequisite = {
		focus = GGR_plan_A
	}
	available = {
		player_one_operation_check = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_operation_tannenbaum"
		set_country_flag = GGR_operation_locked
		GGR_clear_temporary_variables = yes
		hidden_effect = {
			add_dynamic_modifier = { modifier = GGR_operation_tannenbaum }
			if = {
				limit = {
					is_ai = no
				}
				SWI = { add_ideas = GGR_SWI_increased_defense }
			}
		}
	}
	relative_position_id = GGR_operation_nordlicht
	x = -9
	y = 0
	ai_will_do = {
		factor = 1
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			factor = 0.1
			has_war = yes
		}
		modifier = {
			factor = 0
			has_idea = GGR_last_legs
		}
	}
}

shared_focus = {
	id = GGR_phase_one_planning
	icon = GFX_focus_GER_Phase_One_Planning
	cost = 0.2
	prerequisite = {
		focus = GGR_operation_tannenbaum
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_phase_one_planning"
		GGR_plan_A_max_planning = yes
	}
	relative_position_id = GGR_operation_tannenbaum
	ai_will_do = {
		factor = 5
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
	}
	x = 0
	y = 1
}

shared_focus = {
	id = GGR_dust_off_the_bookshelfs
	icon = GFX_focus_GGR_dust_off_the_bookshelves
	cost = 1
	prerequisite = {
		focus = GGR_phase_one_planning
	}
	available = {
		GGR_in_phase_one = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_dust_off_the_bookshelfs"
		remove_ideas = GGR_back_to_the_drawing_room
		add_timed_idea = {
			idea = GGR_back_to_the_drawing_room2
			days = 60
		}
	}
	relative_position_id = GGR_operation_tannenbaum
	ai_will_do = {
		factor = 5
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
	}
	x = -4
	y = 2
}

shared_focus = {
	id = GGR_mountain_combat_training
	icon = GFX_focus_DRL_penetrate_the_mountain
	cost = 1
	prerequisite = {
		focus = GGR_phase_one_planning
	}
	available = {
		GGR_in_phase_one = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_mountain_combat_training"
		random_army_leader = {
			limit = {
				NOT = {
					has_trait = trait_mountaineer
					is_field_marshal = yes
				}
				is_assigned = yes
			}
			add_unit_leader_trait = trait_mountaineer
		}
	}
	relative_position_id = GGR_operation_tannenbaum
	ai_will_do = {
		factor = 5
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
	}
	x = -2
	y = 2
}

shared_focus = {
	id = GGR_aerial_recognition
	icon = GFX_focus_generic_bomb_em_into_the_stone_age
	cost = 1
	prerequisite = {
		focus = GGR_phase_one_planning
	}
	available = {
		GGR_in_phase_one = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_aerial_recognition"
		custom_effect_tooltip = GGR_bombing_effectiveness_increase_20_percent
		set_variable = { GGR_temporary_bombing = 0.2 }
	}
	relative_position_id = GGR_operation_tannenbaum
	ai_will_do = {
		factor = 5
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
	}
	x = 2
	y = 2
}

shared_focus = {
	id = GGR_centralized_military_hospitals
	icon = GFX_focus_generic_support_personnel
	cost = 1
	prerequisite = {
		focus = GGR_phase_one_planning
	}
	available = {
		GGR_in_phase_one = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_centralized_military_hospitals"
		custom_effect_tooltip = GGR_experience_loss_factor_increase_20_percent
		set_variable = { GGR_temporary_experience_loss_factor = -0.2 }
		add_tech_bonus = {
			bonus = 1
			uses = 2
			category = hospital_tech
		}
	}
	relative_position_id = GGR_operation_tannenbaum
	ai_will_do = {
		factor = 5
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
	}
	x = 4
	y = 2
}

shared_focus = {
	id = GGR_phase_two_invasion
	icon = GFX_focus_GER_Phase_Two_Invasion
	cost = 0.5
	prerequisite = {
		focus = GGR_phase_one_planning
	}
	will_lead_to_war_with = SWI
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_phase_two_invasion"
		declare_war_on = {
			target = SWI
			type = annex_everything
		}
	}
	relative_position_id = GGR_operation_tannenbaum
	x = 0
	y = 3
	ai_will_do = {
		factor = 1
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 30 }
		}
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Hawkishness > 75 }
		}
		modifier = {
			factor = 0.5
			has_war = yes
		}
		modifier = {
			factor = 0
			has_idea = GGR_last_legs
		}
	}
}

shared_focus = {
	id = GGR_the_meat_grinder
	icon = GFX_focus_GER_great_wave
	cost = 1
	prerequisite = {
		focus = GGR_phase_two_invasion
	}
	available = {
		GGR_in_phase_two = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_the_meat_grinder"
		add_manpower = 50000
		add_war_support = -0.08
	}
	relative_position_id = GGR_operation_tannenbaum
	x = -4
	y = 4
	ai_will_do = {
		factor = 1000
	}
}

shared_focus = {
	id = GGR_underground_infiltration
	icon = GFX_focus_GER_blackest_of_ops
	cost = 1
	prerequisite = {
		focus = GGR_phase_two_invasion
	}
	available = {
		GGR_in_phase_two = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_underground_infiltration"
		custom_effect_tooltip = GGR_underground_infiltration_tooltip
		country_event = { id = goering.tannenbaum.1 }
	}
	relative_position_id = GGR_operation_tannenbaum
	x = -2
	y = 4
	ai_will_do = {
		factor = 1000
	}
}

shared_focus = {
	id = GGR_chop_off_the_head
	icon = GFX_focus_generic_government_purge
	cost = 1
	prerequisite = {
		focus = GGR_phase_two_invasion
	}
	available = {
		GGR_in_phase_two = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_chop_off_the_head"
		custom_effect_tooltip = GGR_chop_off_the_head_tooltip
		country_event = { id = goering.tannenbaum.6 }
	}
	relative_position_id = GGR_operation_tannenbaum
	x = 2
	y = 4
	ai_will_do = {
		factor = 1000
	}
}

shared_focus = {
	id = GGR_no_rest
	icon = GFX_focus_GER_glass_them
	cost = 1
	prerequisite = {
		focus = GGR_phase_two_invasion
	}
	available = {
		GGR_in_phase_two = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_no_rest"
		custom_effect_tooltip = GGR_no_rest_tooltip
		SWI = {
			add_ideas = SWI_no_rest
		}
	}
	relative_position_id = GGR_operation_tannenbaum
	x = 4
	y = 4
	ai_will_do = {
		factor = 1000
	}
}

shared_focus = {
	id = GGR_phase_three_breaktrough
	icon = GFX_focus_GER_Phase_Three_Breakthrough
	cost = 0.2
	prerequisite = {
		focus = GGR_phase_two_invasion
	}
	bypass = {
		NOT = {
			country_exists = SWI
		}
	}
	available = {
		custom_trigger_tooltip = {
			tooltip = GGR_phase_three_trigger_tooltip
			SWI = {
				any_owned_state = {
					NOT = {
						is_fully_controlled_by = SWI
					}
				}
			}
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_phase_three_breaktrough"
		custom_effect_tooltip = GGR_phase_three_breaktrough_tooltip
		custom_effect_tooltip = GGR_army_reinforce_rate_increase_3_percent
		set_variable = { GGR_temporary_reinforce_rate = 0.03 }
	}
	relative_position_id = GGR_operation_tannenbaum
	x = 0
	y = 5
}

shared_focus = {
	id = GGR_one_last_push
	icon = GFX_focus_generic_red_army
	cost = 1
	prerequisite = {
		focus = GGR_phase_three_breaktrough
	}
	available = {
		GGR_in_phase_three = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_one_last_push"
		custom_effect_tooltip = GGR_one_last_push_tooltip
		custom_effect_tooltip = GGR_army_org_increase_7
		set_variable = { GGR_temporary_army_organisation = 7 }
		hidden_effect = {
			country_event = { id = goering.tannenbaum.8 days = 14 }
		}
	}
	relative_position_id = GGR_operation_tannenbaum
	x = -4
	y = 6
	ai_will_do = {
		factor = 1000
	}
}

shared_focus = {
	id = GGR_punish_stragglers
	icon = GFX_focus_generic_traitors_in_the_army
	cost = 1
	prerequisite = {
		focus = GGR_phase_three_breaktrough
	}
	available = {
		GGR_in_phase_three = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_punish_stragglers"
		country_event = { id = goering.tannenbaum.7 }
	}
	relative_position_id = GGR_operation_tannenbaum
	x = -2
	y = 6
	ai_will_do = {
		factor = 1000
	}
}

shared_focus = {
	id = GGR_study_the_remains
	icon = GFX_focus_GGR_the_military_fortress
	cost = 1
	prerequisite = {
		focus = GGR_phase_three_breaktrough
	}
	available = {
		GGR_in_phase_three = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_study_the_remains"
		add_tech_bonus = {
			bonus = 1.3
			uses = 1
			category = engineers_tech
		}
	}
	relative_position_id = GGR_operation_tannenbaum
	x = 2
	y = 6
	ai_will_do = {
		factor = 1000
	}
}

shared_focus = {
	id = GGR_cameras_on_the_front
	icon = GFX_focus_generic_lights_camera
	cost = 1
	prerequisite = {
		focus = GGR_phase_three_breaktrough
	}
	available = {
		GGR_in_phase_three = yes
	}
	completion_reward = {
		## ADD EVENT ##
		log = "[GetDateText]: [Root.GetName]: focus GGR_cameras_on_the_front"
		custom_effect_tooltip = GGR_cameras_on_the_front_tooltip

	}
	relative_position_id = GGR_operation_tannenbaum
	x = 4
	y = 6
	ai_will_do = {
		factor = 1000
	}
}

shared_focus = {
	id = GGR_phase_four_cleanup
	icon = GFX_focus_GER_Phase_Four_Cleanup
	cost = 2
	prerequisite = {
		focus = GGR_phase_three_breaktrough
	}
	available = {
		GGR_switzerland_conquered = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_phase_four_cleanup"
		swap_ideas = {
			remove_idea = GGR_swiss_resistance
			add_idea = GGR_swiss_resistance2
		}
		set_variable = { GGR_switserland_loot = 6 }
	}
	relative_position_id = GGR_operation_tannenbaum
	x = 0
	y = 7
	ai_will_do = {
		factor = 1000
	}
}

shared_focus = {
	id = GGR_recognizing_danger
	icon = GFX_focus_generic_riot_police_1
	cost = 2
	prerequisite = {
		focus = GGR_phase_four_cleanup
	}
	available = {
		hidden_trigger = {
			has_idea = GGR_swiss_resistance2
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_recognizing_danger"
		custom_effect_tooltip = GGR_recognizing_danger_tooltip
		custom_effect_tooltip = GGR_recognizing_danger_blocked_tooltip
		swap_ideas = {
			remove_idea = GGR_swiss_resistance2
			add_idea = GGR_swiss_resistance3
		}
	}
	relative_position_id = GGR_operation_tannenbaum
	x = -3
	y = 8
}

shared_focus = {
	id = GGR_integration
	icon = GFX_focus_COG_our_friends_in_switzerland
	cost = 2
	prerequisite = {
		focus = GGR_phase_four_cleanup
	}
	mutually_exclusive = {
		focus = GGR_occupation
	}
	available = {
		NOT = { has_country_flag = GGR_switserland_unruly }
	}
	cancel_if_invalid = yes
	ai_will_do = {
		factor = 40
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_integration"
		custom_effect_tooltip = GGR_integration_tooltip
		GGR_decrease_militarist_loyalty = yes
		GGR_decrease_militarist_power = yes
		TNO_improve_admin_efficiency_low = yes

		hidden_effect = {
			country_event = { id = goering.tannenbaum.9 days = 120 }
		}
	}
	relative_position_id = GGR_operation_tannenbaum
	x = -1
	y = 8
}

shared_focus = {
	id = GGR_occupation
	icon = GFX_focus_generic_unite_the_garrison
	cost = 2
	prerequisite = {
		focus = GGR_phase_four_cleanup
	}
	mutually_exclusive = {
		focus = GGR_integration
	}
	ai_will_do = {
		factor = 20
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_occupation"
		custom_effect_tooltip = GGR_occupation_tooltip
		GGR_increase_militarist_loyalty = yes
		GGR_increase_militarist_power = yes
		GGR_decrease_militarist_hawkishness = yes

		hidden_effect = {
			release_puppet = SWI
			set_autonomy = {
				target = SWI
				autonomous_state = autonomy_military_government
			}
			SWI = {
				econ_join_sphere_GER = yes
				add_ideas = Pakt_Military_Authority
				GGR_install_RK_with_no_changes = yes
				set_stability = 0
				set_war_support = 0
				set_cosmetic_tag = SWI_occupation
				set_party_name = {
					ideology = national_socialism
					long_name = SWI_occupation_party_long
					name = SWI_occupation_party
				} 
				set_party_name = {
					ideology = national_socialism_2
					long_name = SWI_occupation_party_long
					name = SWI_occupation_party
				}
				set_politics = {
					ruling_party = national_socialism_2
				}
				set_country_leader_ideology = national_socialism_2_schorner_subtype
				set_politics = {
					ruling_party = national_socialism
				}
				GER = {
					GER_ferdinand_schorner = {
						set_nationality = SWI
					}
				}
				promote_character = {
					character = GER_ferdinand_schorner
					ideology = national_socialism_stratocratic_nazism_subtype
				}
				set_popularities = {
					national_socialism_2 = 40
					national_socialism = 60 
				}
				remove_ideas = {
					SWI_Reigns_of_the_Full_Powers_Regime
					SWI_Scars_of_the_Alpine_Crisis
					SWI_Perchtas_Final_Hunt
					SWI_National_Tapestry
				}
				set_variable = { TNO_economy_subtype = token:Econ_Subtype_Gelenkte_Wirtschaft }
			}
			country_event = { id = goering.tannenbaum.10 days = 45 }
		}
	}
	relative_position_id = GGR_operation_tannenbaum
	x = 1
	y = 8
}

shared_focus = {
	id = GGR_the_southward_military_migration
	icon = GFX_focus_generic_bad_expansionism
	cost = 2
	prerequisite = {
		focus = GGR_phase_four_cleanup
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_the_southward_military_migration"
		custom_effect_tooltip = GGR_the_southward_military_migration_tooltip
		hidden_effect = {
			3 = {
				set_building_level = {
					type = bunker
					level = 0
					instant_build = yes
					province = {
						all_provinces = yes
					}
				}
			}
			1299  = {
				set_building_level = {
					type = bunker
					level = 0
					instant_build = yes
					province = {
						all_provinces = yes
					}
				}
			}
			151  = {
				set_building_level = {
					type = bunker
					level = 0
					instant_build = yes
					province = {
						all_provinces = yes
					}
				}
			}
			1298  = {
				set_building_level = {
					type = bunker
					level = 0
					instant_build = yes
					province = {
						all_provinces = yes
					}
				}
			}
			country_event = { id = goering.tannenbaum.14 }
		}
	}
	relative_position_id = GGR_operation_tannenbaum
	x = 3
	y = 8
}

shared_focus = {
	id = GGR_operation_margarethe
	icon = GFX_focus_GER_margareth
	cost = 0.2
	prerequisite = {
		focus = GGR_plan_A
	}
	allow_branch = {
		has_country_flag = GER_war_plan_A
		has_global_flag = goering_betrayed_allies
	}
	available = {
		player_one_operation_check = yes
		HUN = { is_not_covered_by_faction = yes }
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_operation_margarethe"
		set_country_flag = GGR_operation_locked
		GGR_clear_temporary_variables = yes
		hidden_effect = {
			add_dynamic_modifier = { modifier = GGR_operation_margarethe }
			if = {
				limit = { NOT = { has_variable = GGR_balkan_loot } }
				set_variable = { GGR_balkan_loot = 4 }
			}
		}
	}
	relative_position_id = GGR_plan_A
	x = 9
	y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 1
			GGR_romania_conquered = yes
		}
		modifier = {
			add = 1
			OR = {
				GGR_serbia_conquered = yes
				is_in_faction_with = SER
			}
		}
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			factor = 0.1
			has_war = yes
		}
		modifier = {
			factor = 0
			has_idea = GGR_last_legs
		}
	}
}

shared_focus = {
	id = GGR_slovakian_remilitarization
	icon = GFX_focus_GER_german_arms
	cost = 1
	prerequisite = {
		focus = GGR_operation_margarethe
	}
	available = {
		GGR_not_invaded_hungary = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_slovakian_remilitarization"
		if = {
			limit = {
				country_exists = SLO
			}
			SLO = {
				tno_conscription_worsen = yes
				TNO_improve_conscription_policy_effectiveness_high = yes
				add_war_support = 0.15
			}
			send_equipment = {
				equipment = infantry_equipment_3
				amount = 1500
				target = SLO
			}
			send_equipment = {
				equipment = anti_tank_equipment_1
				amount = 300
				target = SLO
			}
		}
		else = {
			GSL = {
				TNO_improve_conscription_policy_effectiveness_high = yes
				add_war_support = 0.15
			}
			add_manpower = 50000
			send_equipment = {
				equipment = infantry_equipment_3
				amount = 1500
				target = GSL
			}
			send_equipment = {
				equipment = anti_tank_equipment_1
				amount = 300
				target = GSL
			}
		}
	}
	relative_position_id = GGR_operation_margarethe
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = 0
	y = 1
}

shared_focus = {
	id = GGR_an_efficient_invasion
	icon = GFX_focus_GGR_dust_off_the_bookshelves
	cost = 1
	prerequisite = {
		focus = GGR_operation_margarethe
	}
	available = {
		GGR_not_invaded_hungary = yes
	}
	mutually_exclusive = {
		focus = GGR_consider_this_a_test
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_an_efficient_invasion"
		custom_effect_tooltip = GGR_army_experience_gain_decrease_factor_20_percent
		custom_effect_tooltip = GGR_experience_loss_factor_increase_20_percent
		set_variable = { GGR_temporary_experience_gain_army_factor = -0.2 }
		set_variable = { GGR_temporary_experience_loss_factor = -0.2 }
	}
	relative_position_id = GGR_operation_margarethe
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = -2
	y = 2
}

shared_focus = {
	id = GGR_consider_this_a_test
	icon = GFX_focus_generic_question_the_army
	cost = 1
	prerequisite = {
		focus = GGR_operation_margarethe
	}
	available = {
		GGR_not_invaded_hungary = yes
	}
	mutually_exclusive = {
		focus = GGR_an_efficient_invasion
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_consider_this_a_test"
		custom_effect_tooltip = GGR_army_experience_gain_increase_factor_20_percent
		custom_effect_tooltip = GGR_experience_loss_factor_decrease_20_percent
		custom_effect_tooltip = GGR_planning_speed_increase_30_percent
		custom_effect_tooltip = GGR_max_planning_decrease_15_percent
		set_variable = { GGR_temporary_experience_gain_army_factor = 0.2 }
		set_variable = { GGR_temporary_experience_loss_factor = -0.2 }
		set_variable = { GGR_temporary_planning_speed = 0.3 }
		set_variable = { GGR_temporary_max_planning = -0.15 }
	}
	relative_position_id = GGR_operation_margarethe
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = 2
	y = 2
}

shared_focus = {
	id = GGR_an_all_armored_assualt
	icon = GFX_focus_generic_columns_of_tanks
	cost = 1
	prerequisite = {
		focus = GGR_operation_margarethe
	}
	available = {
		GGR_not_invaded_hungary = yes
	}
	mutually_exclusive = {
		focus = GGR_overwhelm_the_border
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_an_all_armored_assualt"
		custom_effect_tooltip = GGR_armor_attack_factor_increase_25_percent
		custom_effect_tooltip = GGR_infantry_attack_decrease_15_percent
		set_variable = { GGR_temporary_army_armor_attack_factor = 0.25 }
		set_variable = { GGR_temporary_infantry_attack = -0.15 }
	}
	relative_position_id = GGR_operation_margarethe
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = -2
	y = 3
}

shared_focus = {
	id = GGR_overwhelm_the_border
	icon = GFX_focus_GER_great_wave
	cost = 1
	prerequisite = {
		focus = GGR_operation_margarethe
	}
	available = {
		GGR_not_invaded_hungary = yes
	}
	mutually_exclusive = {
		focus = GGR_an_all_armored_assualt
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_overwhelm_the_border"
		add_manpower = 60000
		custom_effect_tooltip = GGR_infantry_attack_increase_15_percent
		custom_effect_tooltip = GGR_armor_attack_factor_decrease_25_percent
		set_variable = { GGR_temporary_infantry_attack = 0.15 }
		set_variable = { GGR_temporary_army_armor_attack_factor = -0.25 }
	}
	relative_position_id = GGR_operation_margarethe
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = 2
	y = 3
}

shared_focus = {
	id = GGR_a_quick_war
	icon = GFX_focus_GER_lightning_strike
	cost = 0.5
	prerequisite = {
		focus = GGR_slovakian_remilitarization
	}
	will_lead_to_war_with = HUN
	available = {
		NOT = {
			HUN = {
				is_in_faction_with = GER
			}
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_a_quick_war"
		HUN = {
			GGR_add_on_our_own = yes
		}
		declare_war_on = {
			target = HUN
			type = annex_everything
		}
	}
	relative_position_id = GGR_operation_margarethe
	x = 0
	y = 4
	ai_will_do = {
		factor = 1
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 30 }
		}
		modifier = {
			factor = 2
			check_variable = { GER_Militarist_Hawkishness > 75 }
		}
		modifier = {
			factor = 0.5
			has_war = yes
		}
		modifier = {
			factor = 0
			has_idea = GGR_last_legs
		}
	}
}

shared_focus = {
	id = GGR_occupation_is_tiring_work
	icon = GFX_focus_generic_riot_police_1
	cost = 2
	prerequisite = {
		focus = GGR_a_quick_war
	}
	available = {
		GGR_conquered_hungary = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_occupation_is_tiring_work"
		RKB = {
			TNO_improve_security_policy_effectiveness_monthly_med = yes
		}
		add_tech_bonus = {
			bonus = 1
			uses = 1
			category = military_police_tech
		}
	}
	relative_position_id = GGR_operation_margarethe
	x = -2
	y = 6
}

shared_focus = {
	id = GGR_the_grip_tightens
	icon = GFX_focus_goal_generic_political_pressure
	cost = 2
	prerequisite = {
		focus = GGR_a_quick_war
	}
	available = {
		GGR_conquered_hungary = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_the_grip_tightens"
		RKB = {
			add_ideas = GGR_tighten_the_leash
		}
	}
	relative_position_id = GGR_operation_margarethe
	x = 0
	y = 6
}

shared_focus = {
	id = GGR_the_gateway_to_the_balkans
	icon = GFX_focus_GER_balkan_initiative
	cost = 2
	prerequisite = {
		focus = GGR_a_quick_war
	}
	available = {
		GGR_conquered_hungary = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_the_gateway_to_the_balkans"
		1292 = {
			add_building_construction = {
				type = air_base
				level = 2
				instant_build = yes
			}
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
		1291 = {
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
		76 = {
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
		154 = {
			add_building_construction = {
				type = air_base
				level = 2
				instant_build = yes
			}
		}
	}
	relative_position_id = GGR_operation_margarethe
	x = 2
	y = 6
}


shared_focus = {
	id = GGR_operation_tepes
	icon = GFX_focus_operation_tepes
	cost = 0.2
	prerequisite = {
		focus = GGR_plan_A
	}
	allow_branch = {
		has_country_flag = GER_war_plan_A
		has_global_flag = goering_betrayed_allies
	}
	available = {
		player_one_operation_check = yes
		ROM = { is_not_covered_by_faction = yes }
		OR = {
			GGR_conquered_hungary = yes
			GGR_ukraine_conquered = yes
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_operation_tepes"
		set_country_flag = GGR_operation_locked
		GGR_clear_temporary_variables = yes
		hidden_effect = {
			add_dynamic_modifier = { modifier = GGR_operation_tepes }
			if = {
				limit = { NOT = { has_variable = GGR_balkan_loot } }
				set_variable = { GGR_balkan_loot = 4 }
			}
		}
	}
	relative_position_id = GGR_operation_margarethe
	ai_will_do = {
		factor = 1
		modifier = {
			add = 1
			GGR_conquered_hungary = yes
		}
		modifier = {
			add = 1
			OR = {
				GGR_serbia_conquered = yes
				is_in_faction_with = SER
			}
		}
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			factor = 0.1
			has_war = yes
		}
		modifier = {
			factor = 0
			has_idea = GGR_last_legs
		}
	}
	x = 9
	y = 0
}

shared_focus = {
	id = GGR_unleash_the_dogs
	icon = GFX_focus_MGN_Cry_Havoc
	cost = 1
	prerequisite = {
		focus = GGR_operation_tepes
	}
	available = {
		SER = {
			exists = yes
			is_in_faction_with = GER
		}
		GGR_not_invaded_romania = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_unleash_the_dogs"
		add_manpower = 20000
		SER = {
			add_war_support = 0.1
		}
	}
	relative_position_id = GGR_operation_tepes
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = -2
	y = 1
}

shared_focus = {
	id = GGR_go_fetch
	icon = GFX_focus_GER_Dog_Red_Ball
	cost = 1
	prerequisite = {
		focus = GGR_unleash_the_dogs
	}
	available = {
		GGR_not_invaded_romania = yes
		SER = {
			is_in_faction_with = GER
			exists = yes
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_go_fetch"
		custom_effect_tooltip = GGR_go_fetch_tooltip
		SER = {
			add_timed_idea = {
				idea = GGR_go_fetch
				days = 100
			}
		}
	}
	relative_position_id = GGR_operation_tepes
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = -2
	y = 2.5
}

shared_focus = {
	id = GGR_the_carpathian_fortress
	icon = GFX_focus_generic_mountains
	cost = 2
	prerequisite = {
		focus = GGR_operation_tepes
	}
	available = {
		GGR_not_invaded_romania = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_the_carpathian_fortress"
		custom_effect_tooltip = GGR_the_carpathian_fortress_tooltip
		custom_effect_tooltip = GGR_attrition_decrease_10_percent
		set_variable = { GGR_temporary_attrition = -0.1 }
	}
	relative_position_id = GGR_operation_tepes
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = 2
	y = 1
}

shared_focus = {
	id = GGR_through_them
	icon = GFX_focus_GER_goal_Through_them
	cost = 2
	prerequisite = {
		focus = GGR_the_carpathian_fortress
	}
	mutually_exclusive = {
		focus = GGR_around_them
	}
	available = {
		GGR_not_invaded_romania = yes
		GGR_conquered_hungary = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_through_them"
		custom_effect_tooltip = GGR_infantry_attack_increase_15_percent
		set_variable = { GGR_temporary_infantry_attack = 0.15 }
	}
	relative_position_id = GGR_operation_tepes
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = 1
	y = 2
}

shared_focus = {
	id = GGR_around_them
	icon = GFX_focus_GER_goal_Around_them
	cost = 2
	prerequisite = {
		focus = GGR_the_carpathian_fortress
	}
	mutually_exclusive = {
		focus = GGR_through_them
	}
	available = {
		GGR_not_invaded_romania = yes
		GGR_ukraine_conquered = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_around_them"
		custom_effect_tooltip = GGR_invasion_speed_increase_40_percent
		custom_effect_tooltip = GGR_temporary_harbour_construction_speed_increase_30_percent
		set_variable = { GGR_temporary_invasion_speed = 0.40 }
		set_variable = { GGR_temporary_harbour_construction_speed = 0.30 }
	}
	relative_position_id = GGR_operation_tepes
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = 3
	y = 2
}

shared_focus = {
	id = GGR_fragile_handle_with_care
	icon = GFX_focus_GER_Boxes_Fragile
	cost = 2
	prerequisite = {
		focus = GGR_through_them
		focus = GGR_around_them
	}
	available = {
		GGR_not_invaded_romania = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_fragile_handle_with_care"
		custom_effect_tooltip = GGR_fragile_handle_with_care_tooltip
        46 = {
            add_province_modifier = {
				static_modifiers = { GGR_fragile_oil_fields }
				province = {
					all_provinces = yes
				}
			}
        }
	}
	relative_position_id = GGR_operation_tepes
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = 2
	y = 3
}

shared_focus = {
	id = GGR_search_the_archives
	icon = GFX_focus_generic_close_the_book
	cost = 2
	prerequisite = {
		focus = GGR_through_them
		focus = GGR_around_them
	}
	available = {
		GGR_not_invaded_romania = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_search_the_archives"
		custom_effect_tooltip = GGR_command_power_max_increase_30
		set_variable = { GGR_temporary_max_command_power = 30 }
	}
	relative_position_id = GGR_operation_tepes
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = 4
	y = 3
}

shared_focus = {
	id = GGR_a_traitors_fate
	icon = GFX_focus_generic_desolation
	cost = 0.5
	prerequisite = {
		focus = GGR_go_fetch
		focus = GGR_fragile_handle_with_care
		focus = GGR_search_the_archives
		focus = GGR_through_them
	}
	will_lead_to_war_with = ROM
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_a_traitors_fate"
		ROM = {
			GGR_add_on_our_own = yes
		}
		declare_war_on = {
			target = ROM
			type = annex_everything
		}
		declare_war_on = {
			target = TNS
			type = annex_everything
		}
	}

	relative_position_id = GGR_operation_tepes
	x = 0
	y = 4
	ai_will_do = {
		factor = 1
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 30 }
		}
		modifier = {
			factor = 2
			check_variable = { GER_Militarist_Hawkishness > 75 }
		}
		modifier = {
			factor = 0.5
			has_war = yes
		}
		modifier = {
			factor = 0
			has_idea = GGR_last_legs
		}
	}
}

shared_focus = {
	id = GGR_keep_the_momentum
	icon = GFX_focus_generic_attack
	cost = 2
	prerequisite = {
		focus = GGR_a_traitors_fate
	}
	available = {
		GGR_romania_conquered = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_keep_the_momentum"
		custom_effect_tooltip = GGR_keep_the_momentum_tooltip
		RKB = {
			add_stability = 0.1
		}
	}
	relative_position_id = GGR_operation_tepes
	x = -2
	y = 5
}

shared_focus = {
	id = GGR_a_german_administration
	icon = GFX_focus_generic_our_loyal_sons
	cost = 2
	prerequisite = {
		focus = GGR_a_traitors_fate
	}
	mutually_exclusive = {
		focus = GGR_collaborators_in_high_places
	}
	available = {
		GGR_romania_conquered = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_a_german_administration"
		RKB = {
			add_stability = 0.1
			add_manpower = -50000
			add_war_support = -0.08
			TNO_improve_admin_efficiency_low = yes
		}
	}
	relative_position_id = GGR_operation_tepes
	x = -1
	y = 6
}

shared_focus = {
	id = GGR_collaborators_in_high_places
	icon = GFX_focus_BRG_absolute_loyalty
	cost = 2
	prerequisite = {
		focus = GGR_a_traitors_fate
	}
	mutually_exclusive = {
		focus = GGR_a_german_administration
	}
	available = {
		GGR_romania_conquered = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_collaborators_in_high_places"
		custom_effect_tooltip = GGR_less_loot_tooltip_balkan
		add_manpower = 15000
		subtract_from_variable = { GGR_balkan_loot = 2 }
		if = {
			limit = {
				check_variable = { GGR_balkan_loot = 0 }
				GGR_romania_conquered = yes
				GGR_conquered_hungary = yes
			}
			clear_variable = GGR_balkan_loot
		}

		RKB = {
			tno_racial_integration_improve = yes
			TNO_improve_admin_efficiency_med = yes
		}
	}
	relative_position_id = GGR_operation_tepes
	x = 1
	y = 6
}

shared_focus = {
	id = GGR_the_lifeblood_of_the_reich
	icon = GFX_focus_generic_subcontinental_oil
	cost = 2
	prerequisite = {
		focus = GGR_a_traitors_fate
	}
	available = {
		GGR_romania_conquered = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_back_in_business"
		custom_effect_tooltip = GGR_back_in_business_tooltip
		set_country_flag = GGR_ploiesti_destroyed
	}
	relative_position_id = GGR_operation_tepes
	x = 2
	y = 5
}

## KAUKASIA TREE ##

shared_focus = {
	id = GGR_the_black_state
	icon = GFX_focus_GGR_The_Black_State
	cost = 0.2
	prerequisite = {
		focus = GGR_plan_A
	}
	available = {
		OR = {
		    GGR_ukraine_conquered = yes
			GGR_moskowien_conquered = yes
		}
		player_one_operation_check = yes
	}
	allow_branch = {
		CAU = {
			OR = {
				has_country_flag = CAU_policy_josias_burgsys
				has_country_flag = CAU_policy_josias_crowned
			}
		}
		has_country_flag = GER_war_plan_A
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_the_black_state"
		set_country_flag = GGR_operation_locked
		GGR_clear_temporary_variables = yes
		hidden_effect = { add_dynamic_modifier = { modifier = GGR_fall_schwarzes_gold } }
	}
	relative_position_id = GGR_fall_henry
	x = 9
	y = 0
	offset = {
		x = -9
		y = 0
		trigger = {
			OR = {
				UKR = {
					exists = yes
					has_country_leader = {
						character = UKR_Otto_Ohlendorf
						ruling_only = yes
					}
				}
				UKR = {
					exists = yes
					has_country_leader = {
						character = UKR_Georg_Leibbrandt
						ruling_only = yes
					}
				}
				has_country_flag = GGR_return_to_ukraine
			}
		}
	}
	offset = {
		x = -18
		y = 0
		trigger = {
			NOT = { has_global_flag = goering_betrayed_allies }
		}
	}
	ai_will_do = {
		factor = 1
		modifier = {
			add = 1
			GGR_ukraine_conquered = yes
		}
		modifier = {
			add = 1
			GGR_moskowien_conquered = yes
		}
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			factor = 0.1
			has_war = yes
		}
		modifier = {
			factor = 0
			has_idea = GGR_last_legs
		}
	}
}

shared_focus = {
	id = GGR_planning_the_offensive
	icon = GFX_focus_GGR_dust_off_the_bookshelves
	cost = 1
	prerequisite = {
		focus = GGR_the_black_state
	}
	available = {
		hidden_trigger = {
			NOT = {
				is_in_faction_with = CAU
			}
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_planning_the_offensive"
		set_temp_variable = { X = 0.2 }
		custom_effect_tooltip = GGR_planning_speed_increase_X_percent
		set_variable = { GGR_temporary_planning_speed = 0.2 }
	}
	relative_position_id = GGR_the_black_state
	x = 0
	y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
}

shared_focus = {
	id = GGR_scope_out_their_positions
	icon = GFX_focus_generic_new_radar_systems
	cost = 1
	prerequisite = {
		focus = GGR_planning_the_offensive
	}
	available = {
		hidden_trigger = {
			NOT = {
				is_in_faction_with = CAU
			}
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_scope_out_their_positions"
		set_temp_variable = { X = 0.1 }
		custom_effect_tooltip = GGR_decryption_increase_X_percent
		set_variable = { GGR_temporary_decryption_factor = 0.1 }
	}
	relative_position_id = GGR_planning_the_offensive
	x = 0
	y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
}

shared_focus = {
	id = GGR_prepare_for_the_cold
	icon = GFX_focus_generic_winter_weather_conditioning
	cost = 1
	prerequisite = {
		focus = GGR_scope_out_their_positions
	}
	available = {
		hidden_trigger = {
			NOT = {
				is_in_faction_with = CAU
			}
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_prepare_for_the_cold"
		set_temp_variable = { X = 0.2 }
		custom_effect_tooltip = GGR_acclimatization_cold_climate_gain_factor_increase_X_percent
		set_variable = { GGR_temporary_acclimatization_cold_climate_gain_factor = 0.2 }
	}
	relative_position_id = GGR_scope_out_their_positions
	x = 0
	y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
}

shared_focus = {
	id = GGR_end_the_aristocrats_reign
	icon = GFX_focus_GGR_End_the_Aristocrats_Reign
	cost = 0.5
	prerequisite = {
		focus = GGR_prepare_for_the_cold
	}
	will_lead_to_war_with = CAU
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_end_the_aristocrats_reign"
		declare_war_on = {
			target = CAU
			type = annex_everything
		}
	}
	relative_position_id = GGR_prepare_for_the_cold
	x = 0
	y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			factor = 0.5
			has_war = yes
		}
		modifier = {
			factor = 0
			has_idea = GGR_last_legs
		}
	}
}

shared_focus = {
	id = GGR_race_to_the_oil_fields
	icon = GFX_focus_GER_great_wave
	cost = 1
	bypass = {
		CAU = { is_subject_of = GER	}
	}
	prerequisite = {
		focus = GGR_end_the_aristocrats_reign
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_race_to_the_oil_fields"
		set_temp_variable = { X = 0.1 }
		custom_effect_tooltip = GGR_army_speed_increase_X_percent
		set_variable = { GGR_temporary_speed = 0.1 }
	}
	relative_position_id = GGR_end_the_aristocrats_reign
	x = -1
	y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
}

shared_focus = {
	id = GGR_over_the_mountains
	icon = GFX_focus_GGR_Prepare_the_Fallschirmjagers
	cost = 1
	bypass = {
		CAU = { is_subject_of = GER	}
	}
	prerequisite = {
		focus = GGR_end_the_aristocrats_reign
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_over_the_mountains"
		add_equipment_to_stockpile = {
			type = transport_helicopter_equipment
			amount = 20
			producer = GER
		}
	}
	relative_position_id = GGR_end_the_aristocrats_reign
	x = 1
	y = 1
	ai_will_do = {
		factor = 1
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
	}
}

shared_focus = {
	id = GGR_CAU_one_last_push
	icon = GFX_focus_generic_red_army
	cost = 1
	bypass = {
		CAU = { is_subject_of = GER	}
	}
	prerequisite = {
		focus = GGR_over_the_mountains
	}
	prerequisite = {
		focus = GGR_race_to_the_oil_fields
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_CAU_one_last_push"
		set_temp_variable = { X = 0.2 }
		custom_effect_tooltip = GGR_infantry_attack_increase_X_percent
		set_variable = { GGR_temporary_infantry_attack = 0.2 }
	}
	relative_position_id = GGR_over_the_mountains
	x = -1
	y = 1
	ai_will_do = {
		factor = 1
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
	}
}

shared_focus = {
	id = GGR_back_into_the_fold
	icon = GFX_focus_GER_reform_fascism
	cost = 1
	available = {
		CAU = { is_subject_of = GER	}
	}
	prerequisite = {
		focus = GGR_CAU_one_last_push
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_back_into_the_fold"
		country_event = {
			id = goering.schwarzes_gold.2
		}
	}
	relative_position_id = GGR_CAU_one_last_push
	x = 0
	y = 1
	ai_will_do = {
		factor = 1
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
	}
}

##BORMANN INDUSTRIALISTS
shared_focus = {
	id = GGR_the_treachery_of_the_industrialists
	icon = GFX_focus_GER_Operation_Schwarzes_Gold
	cost = 0.2
	prerequisite = {
		focus = GGR_plan_A
	}
	available = {
		OR = {
		    GGR_ukraine_conquered = yes
			GGR_moskowien_conquered = yes
		}
		CAU = {
			NOT = {
				is_in_faction_with = GER
			}
		}
		player_one_operation_check = yes
	}
	allow_branch = {
		NOT = {
			CAU = {
				has_country_flag = CAU_policy_business_goering
			}
		}
		CAU = { has_country_flag = CAU_policy_business_plot } #thank you calph, very cool fix
		has_country_flag = GER_war_plan_A
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_the_treachery_of_the_industrialists"
		set_country_flag = GGR_operation_locked
		GGR_clear_temporary_variables = yes
		add_dynamic_modifier = { modifier = GGR_fall_schwarzes_gold }
	}
	relative_position_id = GGR_fall_henry
	x = 9
	y = 0	
	ai_will_do = {
		factor = 1
		modifier = {
			add = 1
			GGR_ukraine_conquered = yes
		}
		modifier = {
			add = 1
			GGR_moskowien_conquered = yes
		}
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			factor = 0.1
			has_war = yes
		}
		modifier = {
			factor = 0
			has_idea = GGR_last_legs
		}
	}
}

shared_focus = {
	id = GGR_exploit_their_disunity
	icon = GFX_focus_generic_government_purge
	cost = 1
	prerequisite = {
		focus = GGR_the_treachery_of_the_industrialists
	}
	available = {
		hidden_trigger = {
			NOT = {
				is_in_faction_with = CAU
			}
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_exploit_their_disunity"
		CAU = {
			add_timed_idea = {
				idea = CAU_disuinited_army
				days = 80
			}
		}
	}
	relative_position_id = GGR_the_treachery_of_the_industrialists
	x = 0
	y = 1
	ai_will_do = {
		factor = 1
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
	}
}

shared_focus = {
	id = GGR_this_will_be_easy
	icon = GFX_focus_GER_nazi_army_officers
	cost = 1
	prerequisite = {
		focus = GGR_exploit_their_disunity
	}
	available = {
		hidden_trigger = {
			NOT = {
				is_in_faction_with = CAU
			}
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_this_will_be_easy"
		set_temp_variable = { X = 0.25 }
		custom_effect_tooltip = GGR_recovery_rate_increase_X_percent
		set_variable = { GGR_temporary_army_morale_factor = 0.25 }
		set_temp_variable = { X = 0.1 }
		custom_effect_tooltip = GGR_infantry_attack_increase_X_percent
		set_variable = { GGR_temporary_infantry_attack = 0.1 }
	}
	relative_position_id = GGR_exploit_their_disunity
	x = -1
	y = 1
	ai_will_do = {
		factor = 1
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
	}
}

shared_focus = {
	id = GGR_one_last_chance
	icon = GFX_focus_GER_nationale_kriegshilfsorganisation
	cost = 1
	prerequisite = {
		focus = GGR_exploit_their_disunity
	}
	available = {
		hidden_trigger = {
			NOT = {
				is_in_faction_with = CAU
			}
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_one_last_chance"
		custom_effect_tooltip = GGR_one_last_chance_tooltip
		add_manpower = 10000
		CAU = { add_manpower = -10000 }
	}
	relative_position_id = GGR_exploit_their_disunity
	x = 1
	y = 1
	ai_will_do = {
		factor = 1
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
	}
}

shared_focus = {
	id = GGR_goodbye_to_the_greedy
	icon = GFX_focus_generic_neutralize_the_natives
	cost = 0.5
	prerequisite = {
		focus = GGR_this_will_be_easy
		focus = GGR_one_last_chance
	}
	will_lead_to_war_with = CAU
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_goodbye_to_the_greedy"
		declare_war_on = {
			target = CAU
			type = annex_everything
		}
	}
	relative_position_id = GGR_this_will_be_easy
	x = 1
	y = 1
	ai_will_do = {
		factor = 1
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			factor = 0.5
			has_war = yes
		}
		modifier = {
			factor = 0
			has_idea = GGR_last_legs
		}
	}
}

shared_focus = {
	id = GGR_welcome_back_to_the_reich
	icon = GFX_focus_generic_victory_parade
	cost = 0.2
	prerequisite = {
		focus = GGR_goodbye_to_the_greedy
	}
	available = {
		always = no
	}
	bypass = {
		hidden_trigger = {
			is_in_faction_with = CAU
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_welcome_back_to_the_reich"
		custom_effect_tooltip = GGR_welcome_back_to_the_reich_tooltip
		hidden_effect = {
			add_resource = {
				type = oil
				amount = -28
				state = 229
			}
			add_resource = {
				type = oil
				amount = -7
				state = 1552
			}
		}

	}
	relative_position_id = GGR_goodbye_to_the_greedy
	x = 0
	y = 1
	ai_will_do = {
		factor = 1
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
	}
}

shared_focus = {
	id = GGR_repurposing_their_property
	icon = GFX_focus_generic_factories
	cost = 1
	prerequisite = {
		focus = GGR_welcome_back_to_the_reich
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_repurposing_their_property"
		add_resource = {
			type = oil
			amount = 6
			state = 229
		}
	}
	relative_position_id = GGR_welcome_back_to_the_reich
	x = 0
	y = 1
	ai_will_do = {
		factor = 1
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
	}
}

shared_focus = {
	id = GGR_salt_and_loot
	icon = GFX_focus_generic_pillage
	cost = 1
	mutually_exclusive = {
		focus = GGR_an_act_of_clemency
	}
	prerequisite = {
		focus = GGR_repurposing_their_property
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_salt_and_loot"
		GGR_increase_militarist_loyalty	= yes
		CAU = {
			set_temp_variable = { temp_econ_GDP_boost_flat = -2 }
			econ_GDP_boost_once_flat = yes
		}
		set_temp_variable = { temp_econ_GDP_boost_flat = 1.5 }
		econ_GDP_boost_once_flat = yes

		set_temp_variable = { inflation_temp = 0.3 }
		econ_inflation_change = yes
	}
	relative_position_id = GGR_repurposing_their_property
	x = -1
	y = 1
	ai_will_do = {
		factor = 1
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
	}
}

shared_focus = {
	id = GGR_except_for_the_wells
	icon = GFX_focus_generic_subcontinental_oil
	cost = 1
	prerequisite = {
		focus = GGR_salt_and_loot
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_except_for_the_wells"
		add_resource = {
			type = oil
			amount = 8
			state = 229
		}
		add_resource = {
			type = oil
			amount = 2
			state = 232
		}
	}
	relative_position_id = GGR_salt_and_loot
	x = 0
	y = 1
	ai_will_do = {
		factor = 1
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
	}
}

shared_focus = {
	id = GGR_an_act_of_clemency
	icon = GFX_focus_IME_an_armed_peace
	cost = 1
	mutually_exclusive = {
		focus = GGR_salt_and_loot
	}
	prerequisite = {
		focus = GGR_repurposing_their_property
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_an_act_of_clemency"
		add_manpower = 10000
		GGR_decrease_militarist_loyalty = yes

		set_temp_variable = { temp_econ_spending_amount = 0.5 }
		econ_spend_money_once_effect_raw_money = yes

		CAU = { add_stability = 0.10 }

	}
	relative_position_id = GGR_repurposing_their_property
	x = 1
	y = 1
	ai_will_do = {
		factor = 1
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
	}
}

shared_focus = {
	id = GGR_back_in_business
	icon = GFX_focus_generic_pay_wages
	cost = 1
	prerequisite = {
		focus = GGR_an_act_of_clemency
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_back_in_business"
		set_temp_variable = { gdp_growth_temp = 0.5 } 
		econ_gdp_growth_change = yes
		TNO_improve_poverty_low = yes
		add_resource = {
			type = oil
			amount = 16
			state = 229
		}
		add_resource = {
			type = oil
			amount = 3
			state = 232
		}
	}
	relative_position_id = GGR_an_act_of_clemency
	x = 0
	y = 1
	ai_will_do = {
		factor = 1
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
	}
}


shared_focus = {
	id = GGR_operation_hansa
	icon = GFX_focus_GER_Operation_Hansa
	cost = 0.2
	prerequisite = {
		focus = GGR_plan_A
	}
	available = {
		player_one_operation_check = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_operation_hansa"
		set_country_flag = GGR_operation_locked
		GGR_clear_temporary_variables = yes
		hidden_effect = {
			add_dynamic_modifier = { modifier = GGR_fall_hansa }
			if = {
				limit = { NOT = { has_variable = GGR_scandinavia_loot } }
				set_variable = { GGR_scandinavia_loot = 6 }
			}
		}
	}
	relative_position_id = GGR_plan_A
	x = -9
	y = 1
	ai_will_do = {
		factor = 5
		modifier = {
			add = -2
			GGR_norway_conquered = no
		}
		modifier = {
			add = -2
			GGR_finland_conquered = yes
		}
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			factor = 0.1
			has_war = yes
		}
		modifier = {
			factor = 0
			has_idea = GGR_last_legs
		}
	}
}

shared_focus = {
	id = GGR_norwegian_remilitarization
	icon = GFX_focus_GER_CN_invite_the_minors
	cost = 2
	prerequisite = {
		focus = GGR_operation_hansa
	}
	available = {
		GGR_not_invaded_sweden = yes
		OR = {
			NOR = {
				OR = {
					is_in_faction_with = GER
					is_subject_of = GER
				}
			}
			GGR_norway_conquered = yes
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_norwegian_remilitarization"
		if = {
			limit = {
				NOR = {
					is_subject_of = GER
				}
			}
			NOR = {
				tno_conscription_worsen = yes
				add_war_support = 0.05
				GER = {
					send_equipment = {
						equipment = infantry_equipment
						amount = 1000
						target = NOR
					}
				}
			}
		}
		else_if = {
			limit = {
				SCN = {
					is_subject_of = GER
				}
				NOT = {
					country_exists = NOR
				}
			}
			SCN = {
				add_war_support = 0.05
				GER = {
					send_equipment = {
						equipment = infantry_equipment
						amount = 5000
						target = SCN
					}
					send_equipment = {
						equipment = motorized_equipment
						amount = 1000
						target = SCN
					}
					if = { 
						limit = { 
							has_dlc = "No Step Back"
						}
						send_equipment = {
							type = MBT_chassis_2
							amount = 500
							target = SCN
						}
					}
					else = {
						send_equipment = {
							type = MBT_equipment_2
							amount = 500
							target = SCN
						}
					}
				}
			}
		}
	}
	relative_position_id = GGR_operation_hansa
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = -3
	y = 1
}

shared_focus = {
	id = GGR_encourage_norwegian_divisions
	icon = GFX_focus_generic_army_focus_red
	cost = 2
	prerequisite = {
		focus = GGR_norwegian_remilitarization
	}
	available = {
		GGR_not_invaded_sweden = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_encourage_norwegian_divisions"
		if = {
			limit = {
				is_in_faction_with = SCN
			}
			add_manpower = 20000
			SCN = {
				add_war_support = 0.05
			}
		}
	}
	relative_position_id = GGR_operation_hansa
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = -4
	y = 2
}

shared_focus = {
	id = GGR_blockade_the_north_sea
	icon = GFX_focus_generic_battleship
	cost = 2
	prerequisite = {
		focus = GGR_norwegian_remilitarization
	}
	available = {
		GGR_not_invaded_sweden = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_blockade_the_north_sea"
		SWE = {
			every_country = {
				set_embargo_PREV = yes
				SWE = { set_embargo_PREV = yes }
			}
		}
		navy_experience = 15
	}
	relative_position_id = GGR_operation_hansa
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = -2
	y = 2
}

shared_focus = {
	id = GGR_lessons_from_switzerland
	icon = GFX_focus_COG_our_friends_in_switzerland
	cost = 2
	prerequisite = {
		focus = GGR_operation_hansa
	}
	available = {
		GGR_switzerland_conquered = yes
	}
	mutually_exclusive = {
		focus = GGR_lessons_from_finland
	}
	available = {
		GGR_not_invaded_sweden = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_lessons_from_switzerland"
		custom_effect_tooltip = GGR_lessons_from_switzerland_tooltip
		random_army_leader = {
			limit = {
				NOT = {
					has_trait = fortress_buster
					is_field_marshal = yes
				}
				is_assigned = yes
			}
			add_unit_leader_trait = fortress_buster
		}
		random_army_leader = {
			limit = {
				NOT = {
					has_trait = fortress_buster
					is_field_marshal = yes
				}
				is_assigned = yes
			}
			add_unit_leader_trait = fortress_buster
		}
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	relative_position_id = GGR_operation_hansa
	x = -1
	y = 1
}

shared_focus = {
	id = GGR_lessons_from_finland
	icon = GFX_focus_generic_winter_weather_conditioning
	prerequisite = {
		focus = GGR_operation_hansa
	}
	available = {
		GGR_not_invaded_sweden = yes
	}
	available = {
		GGR_finland_conquered = yes
	}
	mutually_exclusive = {
		focus = GGR_lessons_from_switzerland
	}
	cost = 2
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_lessons_from_finland"
		custom_effect_tooltip = GGR_lessons_from_finland_tooltip
		random_army_leader = {
			limit = {
				NOT = {
					has_trait = winter_specialist
					is_field_marshal = yes
				}
				is_assigned = yes
			}
			add_unit_leader_trait = winter_specialist
		}
		random_army_leader = {
			limit = {
				NOT = {
					has_trait = winter_specialist
					is_field_marshal = yes
				}
				is_assigned = yes
			}
			add_unit_leader_trait = winter_specialist
		}
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	relative_position_id = GGR_operation_hansa
	x = 1
	y = 1
}

shared_focus = {
	id = GGR_prepare_the_marines
	icon = GFX_focus_GER_Atlantic_Veterans
	cost = 2
	prerequisite = {
		focus = GGR_operation_hansa
	}
	available = {
		GGR_not_invaded_sweden = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_prepare_the_marines"
		custom_effect_tooltip = GGR_prepare_the_marines_tooltip
		set_temp_variable = { X = 0.2 }
		custom_effect_tooltip = GGR_invasion_preparation_time_decrease_X_percent
		set_variable = { GGR_temporary_invasion_preparation = -0.2 }
		set_temp_variable = { X = 0.1 }
		custom_effect_tooltip = GGR_special_forces_attack_increase_X_percent
		set_variable = { GGR_temporary_special_forces_attack_factor = 0.1 }
		custom_effect_tooltip = GGR_special_forces_defence_increase_X_percent
		set_variable = { GGR_temporary_special_forces_defence_factor = 0.1 }
	}
	relative_position_id = GGR_operation_hansa
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = 3
	y = 1
}

shared_focus = {
	id = GGR_keep_our_direction_unclear
	icon = GFX_focus_generic_spy
	cost = 2
	prerequisite = {
		focus = GGR_prepare_the_marines
	}
	available = {
		GGR_not_invaded_sweden = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_keep_our_direction_unclear"
		custom_effect_tooltip = GGR_keep_our_direction_unclear_tooltip
		set_temp_variable = { X = 0.25 }
		custom_effect_tooltip = GGR_encryption_increase_X_percent
		set_variable = { GGR_SWE_encryption_factor = 0.25 }
	}
	relative_position_id = GGR_operation_hansa
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = 3
	y = 2
}

shared_focus = {
	id = GGR_the_brother_war
	cost = 0.5
	icon = GFX_focus_GGR_a_brother_war
	prerequisite = {
		focus = GGR_encourage_norwegian_divisions
		focus = GGR_blockade_the_north_sea
		focus = GGR_lessons_from_finland
		focus = GGR_lessons_from_switzerland
		focus = GGR_keep_our_direction_unclear
	}
	will_lead_to_war_with = SWE
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_the_brother_war"
		declare_war_on = {
			target = SWE
			type = annex_everything
		}
	}
	relative_position_id = GGR_operation_hansa
	x = 0
	y = 3
	ai_will_do = {
		factor = 1
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 30 }
		}
		modifier = {
			factor = 2
			check_variable = { GER_Militarist_Hawkishness > 75 }
		}
		modifier = {
			factor = 0.5
			has_war = yes
		}
		modifier = {
			factor = 0
			has_idea = GGR_last_legs
		}
	}
}

shared_focus = {
	id = GGR_scandinavian_liberation
	icon = GFX_focus_generic_snuff_out_liberalism
	cost = 2
	prerequisite = {
		focus = GGR_the_brother_war
	}
	available = {
		GGR_norway_conquered = yes
		GGR_sweden_conquered = yes
		GGR_finland_conquered = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_scandinavian_liberation"
		SCN = {
			add_timed_idea = {
				idea = GGR_stabilising_regime
				days = 730
			}
			add_stability = 0.1
			TNO_improve_admin_efficiency_med = yes
		}
	}
	relative_position_id = GGR_operation_hansa
	x = 0
	y = 4
}

shared_focus = {
	id = GGR_aryan_divisions
	icon = GFX_focus_generic_national_socialist_male
	cost = 2
	prerequisite = {
		focus = GGR_scandinavian_liberation
	}
	mutually_exclusive = {
		focus = GGR_send_them_home
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_aryan_divisions"
		add_manpower = 10000
		SCN = {
		    add_manpower = -10000
		}	
		hidden_effect = {
			country_event = {
			    id = goering.hansa.1
			    days = 30
			}	
		}
	}
	relative_position_id = GGR_operation_hansa
	x = -1
	y = 5
}

shared_focus = {
	id = GGR_send_them_home
	icon = GFX_focus_generic_traditional_roles
	cost = 2
	prerequisite = {
		focus = GGR_scandinavian_liberation
	}
	mutually_exclusive = {
		focus = GGR_aryan_divisions
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_send_them_home"
		add_manpower = -10000
		SCN = {
			add_manpower = 10000
			add_stability = 0.05
		}
	}
	relative_position_id = GGR_operation_hansa
	x = 1
	y = 5
}

shared_focus = {
	id = GGR_expand_the_northern_mines
	icon = GFX_focus_GGR_expand_the_northern_mines
	cost = 2
	prerequisite = {
		focus = GGR_scandinavian_liberation
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_expand_the_northern_mines"
		666 = {
			add_resource = {
				type = tungsten
				amount = 12
			}
		}
	}
	relative_position_id = GGR_operation_hansa
	x = 0
	y = 6
}

shared_focus = {
	id = GGR_out_of_sight
	icon = GFX_focus_generic_restore_the_slave_camps
	cost = 1
	prerequisite = {
		focus = GGR_expand_the_northern_mines
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_out_of_sight"
		add_ideas = GGR_northern_slave_mines
		666 = {
			add_resource = {
				type = tungsten
				amount = 12
			}
		}
		SCN = {
			TNO_improve_slavery_policy_effectiveness_med = yes
		}
	}
	relative_position_id = GGR_operation_hansa
	x = 0
	y = 7
}

shared_focus = {
	id = GGR_operation_lapland
	icon = GFX_focus_GER_Operation_Lapland
	cost = 0.2
	prerequisite = {
		focus = GGR_plan_A
	}
	available = {
		player_one_operation_check = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_operation_lapland"
		set_country_flag = GGR_operation_locked
		GGR_clear_temporary_variables = yes
		hidden_effect = {
			add_dynamic_modifier = { modifier = GGR_operation_lapland }
			if = {
				limit = { NOT = { has_variable = GGR_scandinavia_loot } }
				set_variable = { GGR_scandinavia_loot = 6 }
			}
		}
	}
	relative_position_id = GGR_plan_A
	ai_will_do = {
		factor = 0
		modifier = {
			add = 2
			GGR_moskowien_conquered = yes
		}
		modifier = {
			add = 0.5
			GGR_norway_conquered = yes
		}
		modifier = {
			add = 0.5
			GGR_sweden_conquered = yes
		}
		modifier = {
			factor = 0.1
			has_war = yes
		}
		modifier = {
			factor = 0
			has_idea = GGR_last_legs
		}
	}
	x = 0
	y = 2
}

shared_focus = {
	id = GGR_a_tactical_location
	icon = GFX_focus_GGR_dust_off_the_bookshelves
	cost = 2
	prerequisite = {
		focus = GGR_operation_lapland
	}
	mutually_exclusive = {
		focus = GGR_a_dangerous_foe
	}
	available = {
		GGR_not_invaded_finland = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_a_tactical_location"
		custom_effect_tooltip = GGR_special_forces_attack_increase_15_percent
		custom_effect_tooltip = GGR_special_forces_defence_increase_15_percent
		set_variable = { GGR_temporary_special_forces_attack_factor = 0.15 }
		set_variable = { GGR_temporary_special_forces_defence_factor = 0.15 }
	}
	relative_position_id = GGR_operation_lapland
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = -1
	y = 1
}

shared_focus = {
	id = GGR_a_dangerous_foe
	icon = GFX_focus_ONG_finnish_air_support
	cost = 2
	prerequisite = {
		focus = GGR_operation_lapland
	}
	mutually_exclusive = {
		focus = GGR_a_tactical_location
	}
	available = {
		GGR_not_invaded_finland = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_a_dangerous_foe"
		custom_effect_tooltip = GGR_mechanized_attack_increase_15_percent
		custom_effect_tooltip = GGR_mechanized_defence_increase_15_percent
		set_variable = { GGR_temporary_mechanized_attack_factor = 0.15 }
		set_variable = { GGR_temporary_mechanized_defence_factor = 0.15 }
	}
	relative_position_id = GGR_operation_lapland
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = 1
	y = 1
}

shared_focus = {
	id = GGR_naval_manoeuvring
	icon = GFX_focus_generic_battleship
	cost = 2
	prerequisite = {
		focus = GGR_a_tactical_location
	}
	available = {
		GGR_not_invaded_finland = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_naval_manoeuvring"
		custom_effect_tooltip = GGR_naval_manoeuvring_tooltip
		country_event = { id = goering.lapland.1 }
	}
	relative_position_id = GGR_operation_lapland
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = -3
	y = 2
}

shared_focus = {
	id = GGR_seize_aland
	icon = GFX_focus_generic_bad_expansionism
	cost = 2
	prerequisite = {
		focus = GGR_naval_manoeuvring
	}
	available = {
		GGR_not_invaded_finland = yes
		FIN = {
		    has_war = no
		} 
		RFI = {
		    has_war = no
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_seize_aland"
		custom_effect_tooltip = GGR_seize_aland_tooltip
		hidden_effect = {
			if = {
				limit = { FIN = { has_country_flag = FIN_navy_ready } }
				random_list = {
					30 = {
						country_event = { id = goering.lapland.7 }
					}
					70 = {
						country_event = { id = goering.lapland.8 }
					}
				}
			}
			else = {
				random_list = {
					60 = {
						country_event = { id = goering.lapland.7 }
					}
					40 = {
						country_event = { id = goering.lapland.8 }
					}
				}
			}
		}
	}
	relative_position_id = GGR_operation_lapland
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = -3
	y = 3
}

shared_focus = {
	id = GGR_maximize_air_efficiency
	icon = GFX_focus_ANG_dedicated_air_crews
	cost = 2
	prerequisite = {
		focus = GGR_a_tactical_location
	}
	bypass = {
		hidden_trigger = {
			has_war_with = FIN
		}
	}
	available = {
		GGR_not_invaded_finland = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_maximize_air_efficiency"
		custom_effect_tooltip = GGR_air_superiority_attack_increase_20_percent_tooltip
		set_variable = { GGR_temporary_army_bonus_air_superiority_factor = 0.20 }
	}
	relative_position_id = GGR_operation_lapland
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = -1
	y = 2
}

shared_focus = {
	id = GGR_a_new_perspective
	icon = GFX_focus_GGR_a_new_perspective
	cost = 2
	prerequisite = {
		focus = GGR_a_dangerous_foe
	}
	available = {
		GGR_not_invaded_finland = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_a_new_perspective"
		custom_effect_tooltip = GGR_a_new_perspective_tooltip
		hidden_effect = {
			country_event = { id = goering.lapland.9 }
		}
	}
	relative_position_id = GGR_operation_lapland
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = 3
	y = 2
}

shared_focus = {
	id = GGR_russian_mercenaries
	icon = GFX_focus_GGR_russian_mercenaries
	cost = 2
	prerequisite = {
		focus = GGR_a_new_perspective
	}
	available = {
		GGR_moskowien_conquered = yes
		GGR_not_invaded_finland = yes
	}

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_russian_mercenaries"
		custom_effect_tooltip = GGR_russian_mercenaries_tooltip
		set_temp_variable = { temp_econ_spending_amount = 0.035 } 
		econ_spend_money_once_effect_raw_money = yes
		hidden_effect = {
			division_template = {
				name = "Russian mercenaries"
				regiments = {
					motorized = { x = 0 y = 0 }
					motorized = { x = 0 y = 1 }
					motorized = { x = 0 y = 2 }
					motorized = { x = 0 y = 3 }
					motorized = { x = 1 y = 0 }
					motorized = { x = 1 y = 1 }
					motorized = { x = 1 y = 2 }
					motorized = { x = 2 y = 0 }
					motorized = { x = 2 y = 1 }
					motorized = { x = 2 y = 2 }
				}
				support = {
					recon = { x = 0 y = 0 }
					engineer = { x = 0 y = 1 }
					signal_company = { x = 0 y = 2 }
				}
			}
			219 = {
				create_unit = {
					division = "name = \"Pyotrs Brigade\" division_template = \"Russian mercenaries\" start_experience_factor = 0.5 start_equipment_factor = 0.8"
					prioritize_location = 6380
					owner = GER
				}
				create_unit = {
					division = "name = \"The Votkinsk Group\" division_template = \"Russian mercenaries\" start_experience_factor = 0.4 start_equipment_factor = 0.7"
					prioritize_location = 6380
					owner = GER
				}
				create_unit = {
					division = "name = \"Sons of Russia Division\" division_template = \"Russian mercenaries\" start_experience_factor = 1 start_equipment_factor = 0.8"
					prioritize_location = 6380
					owner = GER
				}
			}
		}
	}
	relative_position_id = GGR_operation_lapland
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = 3
	y = 3
}

shared_focus = {
	id = GGR_specialized_artillery
	icon = GFX_focus_MAG_superior_firepower
	cost = 2
	prerequisite = {
		focus = GGR_a_dangerous_foe
	}
	available = {
		GGR_not_invaded_finland = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_specialized_artillery"
		custom_effect_tooltip = GGR_artillery_attack_increase_25_percent
		set_variable = { GGR_temporary_army_artillery_attack_factor = 0.25 }
	}
	relative_position_id = GGR_operation_lapland
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = 1
	y = 2
}

shared_focus = {
	id = GGR_offer_them_a_choice
	icon = GFX_focus_generic_diplomacy_expansion
	cost = 0.5
	prerequisite = {
		focus = GGR_maximize_air_efficiency
		focus = GGR_specialized_artillery
	}
	available = {
		GGR_not_invaded_finland = yes
	}
	bypass = {
		hidden_trigger = {
			has_war_with = FIN
		}
	}
	
	will_lead_to_war_with = FIN
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_offer_them_a_choice"
		if = {
			limit = {
				OR = {
					country_exists = RFI
					country_exists = MPR
				}
				FIN = { has_war_with = RFI }
			}
			GER = {
				declare_war_on = {
					target = FIN
					type = annex_everything
				}
				declare_war_on = {
					target = RFI
					type = annex_everything
				}
				declare_war_on = {
					target = MPR
					type = annex_everything
				}
			}
		}
		else = {
			custom_effect_tooltip = GGR_offer_them_a_choice_tooltip
			hidden_effect = {
				if = {
					limit = {
						country_exists = FIN
					}
					FIN = { country_event = { id = FIN.156 } }
				}
				if = {
					limit = {
						country_exists = RFI
					}
					RFI = { country_event = { id = FIN.156 } }
				}
			}
		}
	}
	relative_position_id = GGR_operation_lapland
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = 0
	y = 3
	ai_will_do = {
		factor = 1
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 30 }
		}
		modifier = {
			factor = 2
			check_variable = { GER_Militarist_Hawkishness > 75 }
		}
	}
}

shared_focus = {
	id = GGR_rush_to_the_landing_point
	icon = GFX_focus_ITA_OLD_total_transport
	cost = 2
	prerequisite = {
		focus = GGR_offer_them_a_choice
	}
	mutually_exclusive = {
		focus = GGR_blocker_battalions
	}
	available = {
		GER = {
			any_controlled_state = {
				is_core_of = FIN
				is_coastal = yes
			}
		}
	}
	bypass = {
		GGR_finland_conquered = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_rush_to_the_landing_point"
		custom_effect_tooltip = GGR_rush_to_the_landing_point_tooltip
		random_state = {
			limit = {
				is_controlled_by = GER
				is_core_of = FIN
				is_core_of = RFI
				is_coastal = yes
			}
			add_building_construction = {
				type = naval_base
				level = 2
				instant_build = yes
			}
			add_building_construction = {
				type = air_base
				level = 2
				instant_build = yes
			}
		}
	}
	relative_position_id = GGR_operation_lapland
	x = -1
	y = 4
}

shared_focus = {
	id = GGR_blocker_battalions
	icon = GFX_focus_generic_traitors_in_the_army
	cost = 2
	prerequisite = {
		focus = GGR_offer_them_a_choice
	}
	mutually_exclusive = {
		focus = GGR_rush_to_the_landing_point
	}
	bypass = {
		GGR_finland_conquered = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_blocker_battalions"
		if = {
			limit = {
				MCW = {
					is_subject_of = GER
				}
			}
			MCW = {
				add_timed_idea = {
					idea = GGR_blocker_battalions
					days = 180
				}
				add_war_support = -0.1
			}
		}
		if = {
			limit = {
				SCN = {
				    is_subject_of = GER 
				}	
			}
			SCN = {
				add_timed_idea = {
					idea = GGR_blocker_battalions
					days = 180
				}
				add_war_support = -0.1
			}
		}
		if = {
			limit = {
				NOT = {
					MCW = {
						is_subject_of = GER
					}
					SCN = {
						is_subject_of = GER
					}
				}
			}
			custom_effect_tooltip = GGR_army_org_increase_7
			custom_effect_tooltip = GGR_infantry_attack_increase_15_percent
			custom_effect_tooltip = GGR_recovery_rate_decrease_25_percent
			add_war_support = -0.1
			set_variable = { GGR_temporary_army_organisation = 7 }
			set_variable = { GGR_temporary_infantry_attack = 0.15 }
			set_variable = { GGR_temporary_army_morale_factor = -0.25 }
		}
	}
	relative_position_id = GGR_operation_lapland
	x = 1
	y = 4
}

shared_focus = {
	id = GGR_a_chance_for_redemption
	icon = GFX_focus_GGR_a_chance_for_redemption
	cost = 0.5
	prerequisite = {
		focus = GGR_rush_to_the_landing_point
		focus = GGR_blocker_battalions
	}
	available = {
		FIN = {
			surrender_progress > 0.5
		}
	}
	bypass = {
		GGR_finland_conquered = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_a_chance_for_redemption"
		custom_effect_tooltip = GGR_a_chance_for_redemption_tooltip
		hidden_effect = {
			FIN = {
				country_event = { id = FIN.157 }
			}
		}
	}
	relative_position_id = GGR_operation_lapland
	x = 0
	y = 5
}

shared_focus = {
	id = GGR_towards_sweden
	icon = GFX_focus_GER_Towards_Sweden
	cost = 2
	prerequisite = {
		focus = GGR_a_chance_for_redemption
	}
	mutually_exclusive = {
		focus = GGR_towards_russia
	}
	available = {
		GGR_finland_conquered = yes
	}
	bypass = {
	    GGR_sweden_conquered = yes 
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_towards_sweden"
		148 = {
			add_building_construction = {
				type = air_base
				level = 1
				instant_build = yes
			}
			add_building_construction = {
				type = anti_air_building
				level = 1
				instant_build = yes
			}
		}
		150 = {
			add_building_construction = {
				type = anti_air_building
				level = 1
				instant_build = yes
			}
			add_building_construction = {
				type = anti_air_building
				level = 1
				instant_build = yes
			}
		}
	}
	relative_position_id = GGR_operation_lapland
	x = -1
	y = 6
}

shared_focus = {
	id = GGR_northern_tank_experiments
	icon = GFX_focus_MAG_maneuver_warfare
	cost = 2
	prerequisite = {
		focus = GGR_towards_sweden
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_northern_tank_experiments"
		add_tech_bonus = {
			bonus = 0.3
			uses = 3
			category = armor
		}
	}
	relative_position_id = GGR_operation_lapland
	x = -1
	y = 7
}

shared_focus = {
	id = GGR_towards_russia
	icon = GFX_focus_generic_orthographic_russia
	cost = 2
	prerequisite = {
		focus = GGR_a_chance_for_redemption
	}
	mutually_exclusive = {
		focus = GGR_towards_sweden
	}

	available = {
		GGR_finland_conquered = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_towards_russia"
		if = {
			limit = { FIN = { owns_state = 1887 } }
			1887 = {
				add_building_construction = {
					type = air_base
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = anti_air_building
					level = 1
					instant_build = yes
				}
			}
			215 = {
				add_building_construction = {
					type = anti_air_building
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = anti_air_building
					level = 1
					instant_build = yes
				}
			}
		}
		else = {
			213 = {
				add_building_construction = {
					type = air_base
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = anti_air_building
					level = 1
					instant_build = yes
				}
			}
			216 = {
				add_building_construction = {
					type = anti_air_building
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = anti_air_building
					level = 1
					instant_build = yes
				}
			}
		}
	}
	relative_position_id = GGR_operation_lapland
	x = 1
	y = 6
}

shared_focus = {
	id = GGR_extend_the_ostwall
	icon = GFX_focus_generic_diplomacy_defense
	cost = 2
	prerequisite = {
		focus = GGR_towards_russia
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_extend_the_ostwall"
		if = {
			limit = {
				215 = {
					OR = {
						is_owned_by = SCN
						is_owned_by = FIN
					}
				}
			}
			if = {
				limit = {
					country_exists = ONG
				}
				215 = {
					add_building_construction = {
						type = bunker
						level = 2
						instant_build = yes
						province = {
							all_provinces = yes
							limit_to_border_country = ONG
						}
					}
				}
			}
			else = {
				215 = {
					add_building_construction = {
						type = bunker
						level = 2
						instant_build = yes
						province = {
							all_provinces = yes
							limit_to_border_country = WRS
						}
					}
				}
			}
		}
		else = {
			146 = {
				add_building_construction = {
					type = bunker
					level = 2
					instant_build = yes
					province = {
						all_provinces = yes
						limit_to_border_country = WRS
					}
				}
			}
		}
		set_temp_variable = { temp_econ_spending_amount = 0.4 } 
		econ_spend_money_once_effect_raw_money = yes
	}
	relative_position_id = GGR_operation_lapland
	x = 1
	y = 7
}

####################################################################

########### OPERATION SEA LION II.I - BY  RuSKaz - 30/09/23 (30th of September)

####################################################################

#Focus for Operation Sea Lion II
shared_focus = {
	id = GGR_operationsealionii_new
	icon = GFX_focus_GER_sea_lion_ii
	prerequisite = { focus = GGR_plan_A  }
	allow_branch = {
		has_country_flag = GER_war_plan_A
		NOT = {
			has_game_rule = {
				rule = BRITAIN_CONTENT_STATUS
				option = BRITAIN_OLD
			}
			has_global_flag = GER_sealion_ii
		}
		has_global_flag = FEN_GF_WonECW
	}
	available = {
		player_one_operation_check = yes
		country_exists = ENG
	}
	relative_position_id = GGR_operation_tannenbaum
	x = -12
	y = 0
	cost = 0.2
	available_if_capitulated = yes
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_operationsealionii_new"
		set_country_flag = GGR_operation_locked
		add_dynamic_modifier = { modifier = GGR_operation_sealion2 }
		set_variable = { GGR_naval_foci_done = 0 }
		ENG = {
			country_event = { id = ENG_sealion.110 }
		}
        
		set_variable = { GGR_isles_loot = 4 }
	}
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
	}
}

#Focus for Planning The Return
shared_focus = {
	id = GGR_planningthereturn_new
	icon = GFX_focus_ENG_OLD_free_england
	relative_position_id = GGR_operationsealionii_new
	x = 0
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_operationsealionii_new }
	available = {
		GGR_not_invaded_england = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_planningthereturn_new"
		country_event = { id = goering.sealion.hmmlr.1 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			factor = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
	}
}

#Focus for Ready The Kriegsmarine
shared_focus = {
	id = GGR_readythekriegsmarine_new
	icon = GFX_focus_generic_kriegsmarine
	relative_position_id = GGR_planningthereturn_new
	x = -3
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_planningthereturn_new }
	available = {
		has_country_flag = GGR_navy_focus
		GGR_not_invaded_england = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_readythekriegsmarine_new"
		if = {
			limit = { check_variable = { GGR_naval_foci_done = 0 } }
			navy_experience = 10
		}
		else = {
			navy_experience = 10
			add_doctrine_cost_reduction = {
			    name = naval_doc_bonus
			    cost_reduction = 0.75
			    uses = 1
			    category = naval_doctrine
			}
		}
	}
	ai_will_do = {
		factor = 2
		modifier = {
			factor = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
	}
}

#Focus for Fighting On The Beaches
shared_focus = {
	id = GGR_fightingonthebeaches_new
	icon = GFX_focus_GGR_Storming_the_Beaches
	relative_position_id = GGR_readythekriegsmarine_new
	x = 0
	y = 1
	cost = 2
	available = {
		GGR_not_invaded_england = yes
	}
	prerequisite = { focus = GGR_readythekriegsmarine_new }
	ai_will_do = {
		factor = 1
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_fightingonthebeaches_new"
		custom_effect_tooltip = GGR_fightingonthebeaches_tooltip
		set_variable = { GGR_temporary_invasion_preparation = -0.1 }
		multiply_variable = { GGR_temporary_invasion_preparation = GGR_naval_foci_done }
		add_to_variable = { GGR_naval_foci_done = 1 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			factor = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
	}
}

#Focus for Convoy Escort Doctrine
shared_focus = {
	id = GGR_convoyescortdoctrine_new
	icon = GFX_focus_GER_cruiser_for_cruiser
	relative_position_id = GGR_readythekriegsmarine_new
	x = 2
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_readythekriegsmarine_new }
	available = {
		GGR_not_invaded_england = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_convoyescortdoctrine_new"
		custom_effect_tooltip = GGR_convoyescortdoctrine_tooltip
		set_variable = { GGR_temporary_convoy_escort_efficiency = 0.08 }
		multiply_variable = { GGR_temporary_convoy_escort_efficiency = GGR_naval_foci_done }
		add_to_variable = { GGR_naval_foci_done = 1 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			factor = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
	}
}

#Focus for Send Out The Wolves
shared_focus = {
	id = GGR_sendoutthewolves_new
	icon = GFX_focus_generic_hidden_menace_submarine
	relative_position_id = GGR_readythekriegsmarine_new
	x = -2
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_readythekriegsmarine_new }
	available = {
		GGR_not_invaded_england = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_sendoutthewolves_new"
		custom_effect_tooltip = GGR_sendoutthewolves_tooltip
		set_variable = { GGR_temporary_convoy_raiding_efficiency = 0.08 }
		multiply_variable = { GGR_temporary_convoy_raiding_efficiency = GGR_naval_foci_done }
		add_to_variable = { GGR_naval_foci_done = 1 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			factor = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
	}
}

#Focus for Full Steam Ahead
shared_focus = {
	id = GGR_fullsteamahead_new
	icon = GFX_focus_generic_naval_hit_and_run
	relative_position_id = GGR_sendoutthewolves_new
	x = 3
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_fightingonthebeaches_new focus = GGR_sendoutthewolves_new focus = GGR_convoyescortdoctrine_new }
	mutually_exclusive = { focus = GGR_slowandsteady_new }
	available = {
		GGR_not_invaded_england = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_fullsteamahead_new"
		custom_effect_tooltip = GGR_preparation_increase_tooltip
		if = {
			limit = { check_variable = { GGR_naval_foci_done > 1 } }
			add_war_support = 0.1
		}
		if = {
			limit = { check_variable = { GGR_naval_foci_done > 2 } }
			custom_effect_tooltip = GGR_command_power_max_increase_30
			set_variable = { GGR_temporary_max_command_power = 30 }
		}
		if = {
			limit = { check_variable = { GGR_naval_foci_done > 3 } }
			custom_effect_tooltip = GGR_special_forces_attack_increase_15_percent
			set_variable = { GGR_temporary_special_forces_attack_factor = 0.15 }
		}
		add_to_variable = { GGR_naval_foci_done = 1 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			factor = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
	}
}

#Focus for Slow And Steady
shared_focus = {
	id = GGR_slowandsteady_new
	icon = GFX_focus_GER_can_we_trust_the_kriegsmarine
	relative_position_id = GGR_convoyescortdoctrine_new
	x = -3
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_fightingonthebeaches_new focus = GGR_sendoutthewolves_new focus = GGR_convoyescortdoctrine_new }
	mutually_exclusive = { focus = GGR_fullsteamahead_new }
	ai_will_do = {
		factor = 1
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_slowandsteady_new"
		custom_effect_tooltip = GGR_preparation_increase_tooltip
		if = {
			limit = { check_variable = { GGR_naval_foci_done > 1 } }
			add_equipment_to_stockpile = {
				type = convoy_1
				amount = 50
			}
		}
		if = {
			limit = { check_variable = { GGR_naval_foci_done > 2 } }
			add_equipment_to_stockpile = {
				type = convoy_1
				amount = 100
			}
		}
		if = {
			limit = { check_variable = { GGR_naval_foci_done > 3 } }
			custom_effect_tooltip = GGR_invasion_speed_increase_40_percent
			set_variable = { GGR_temporary_invasion_speed = 0.4 }
		}
		add_to_variable = { GGR_naval_foci_done = 1 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			factor = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
	}
}

#Focus for Load The Transports
shared_focus = {
	id = GGR_loadthetransports_new
	icon = GFX_focus_ENG_OLD_simulate_an_invasion
	relative_position_id = GGR_slowandsteady_new
	x = 0
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_slowandsteady_new }
	available = {
		GGR_not_invaded_england = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_loadthetransports_new"
		custom_effect_tooltip = GGR_preparation_increase_tooltip
		if = {
			limit = { check_variable = { GGR_naval_foci_done > 2 } }
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 3000
			}
			add_equipment_to_stockpile = {
				type = anti_tank_equipment
				amount = 600
			}
			add_manpower = 20000
		}
		if = {
			limit = { check_variable = { GGR_naval_foci_done > 3 } }
			add_equipment_to_stockpile = {
				type = artillery_equipment
				amount = 50
			}
			add_equipment_to_stockpile = {
				type = scout_helicopter_equipment
				amount = 25
			}
			add_equipment_to_stockpile = {
				type = transport_helicopter_equipment
				amount = 25
			}
			add_equipment_to_stockpile = {
				type = support_equipment
				amount = 80
			}
			add_manpower = 2000
		}
		add_to_variable = { GGR_naval_foci_done = 1 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			factor = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
	}
}

#Focus for Fall Leibwache
shared_focus = {
	id = GGR_fallleibwache_new
	icon = GFX_focus_generic_spying_target
	relative_position_id = GGR_planningthereturn_new
	x = 3
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_planningthereturn_new }
	available = {
		has_country_flag = GGR_fall_leibwache
		GGR_not_invaded_england = yes
	}
    allow_branch = {
		has_global_flag = FEN_GF_WonECW
		has_country_flag = GER_war_plan_A
		NOT = {
			has_game_rule = {
				rule = BRITAIN_CONTENT_STATUS
				option = BRITAIN_OLD
			}
			has_global_flag = GER_sealion_ii
		}
    }
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_fallleibwache_new"
		custom_effect_tooltip = GGR_fallleibwache_tooltip
		country_event = { id = goering.sealion.hmmlr.2 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			factor = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
	}
}

#Focus for Contact The Holdouts
shared_focus = {
	id = GGR_contacttheholdouts_new
	icon = GFX_focus_GER_nationale_kriegshilfsorganisation
	relative_position_id = GGR_fallleibwache_new
	x = 0
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_fallleibwache_new }
	ai_will_do = {
		factor = 1
	}
	available = {
		GGR_not_invaded_england = yes
	}
	bypass = {
		hidden_trigger = {
			has_country_flag = GGR_resistance_found
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_contacttheholdouts_new"
		custom_effect_tooltip = GGR_contacttheholdouts_tooltips
		country_event = { id = goering.sealion.hmmlr.3 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			factor = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
	}
}

#Focus for A Loyal 5th Column
shared_focus = {
	id = GGR_aloyal5thcolumn_new
	icon = GFX_focus_UPO_ready_the_partisans
	relative_position_id = GGR_contacttheholdouts_new
	x = 0
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_contacttheholdouts_new }
	ai_will_do = {
		factor = 1
	}
	bypass = {
		hidden_trigger = {
			has_country_flag = GGR_resistance_found
		}
	}
	available = {
		GGR_not_invaded_england = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_aloyal5thcolumn_new"
		ENG = {
			add_war_support = -0.08
			if = {
				limit = { GER = { has_country_flag = GGR_wider_resistance } }
				add_stability = -0.08
			}
		}
		add_to_variable = { GGR_risks_taken = 1 }
		if = {
			limit = {
				has_country_flag = GGR_wider_resistance
				check_variable = { GGR_risks_taken > 2 }
			}
			country_event = { id = goering.sealion.hmmlr.4 days = 2 }
		}
	}
	ai_will_do = {
		factor = 2
		modifier = {
			factor = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
	}
}

#Focus for Preemptive Resistence
shared_focus = {
	id = GGR_preemptiveresistence_new
	icon = GFX_focus_generic_rigged_to_blow
	relative_position_id = GGR_contacttheholdouts_new
	x = 2
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_contacttheholdouts_new }
	ai_will_do = {
		factor = 1
	}
	available = {
		GGR_not_invaded_england = yes
	}
	bypass = {
		hidden_trigger = {
			has_country_flag = GGR_resistance_found
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_preemptiveresistence_new"
		add_equipment_to_stockpile = {
			type = infantry_equipment
			amount = -3000
		}
		ENG = {
			country_event = { id = goering.sealion.hmmlr.5 }
		}
		add_to_variable = { GGR_risks_taken = 1 }
		if = {
			limit = {
				has_country_flag = GGR_wider_resistance
				check_variable = { GGR_risks_taken > 2 }
			}
			country_event = { id = goering.sealion.hmmlr.4 days = 2 }
		}
	}
	ai_will_do = {
		factor = 2
		modifier = {
			factor = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
	}
}

#Focus for Keep Them Blind
shared_focus = {
	id = GGR_keepthemblind_new
	icon = GFX_focus_KOM_blind_ultravisionaries
	relative_position_id = GGR_contacttheholdouts_new
	x = -2
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_contacttheholdouts_new }
	ai_will_do = {
		factor = 1
	}
	available = {
		GGR_not_invaded_england = yes
	}
	bypass = {
		hidden_trigger = {
			has_country_flag = GGR_resistance_found
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_keepthemblind"
		custom_effect_tooltip = GGR_keepthemblind_tooltip
		add_to_variable = { GGR_risks_taken = 1 }
		if = {
			limit = {
				has_country_flag = GGR_wider_resistance
				check_variable = { GGR_risks_taken > 2 }
			}
			country_event = { id = goering.sealion.hmmlr.4 days = 2 }
		}
	}
	ai_will_do = {
		factor = 2
		modifier = {
			factor = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
	}
}

#Focus for Radio Blackout
shared_focus = {
	id = GGR_radioblackout_new
	icon = GFX_focus_generic_radio_tower
	relative_position_id = GGR_aloyal5thcolumn_new
	x = 0
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = {
		focus = GGR_aloyal5thcolumn_new
		focus = GGR_preemptiveresistence_new
		focus = GGR_keepthemblind_new
	}
	ai_will_do = {
		factor = 1
	}
	bypass = {
		hidden_trigger = {
			has_country_flag = GGR_resistance_found
		}
	}
	available = {
		GGR_not_invaded_england = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_radioblackout_new"
		custom_effect_tooltip = GGR_radioblackout_tooltip
		add_to_variable = { GGR_risks_taken = 1 }
		if = {
			limit = {
				has_country_flag = GGR_wider_resistance
				check_variable = { GGR_risks_taken > 2 }
			}
			country_event = { id = goering.sealion.hmmlr.4 days = 2 }
		}
	}
	ai_will_do = {
		factor = 2
		modifier = {
			factor = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
	}
}

#Focus for Bombs Over Big Ben
shared_focus = {
	id = GGR_bombsoverbigben_new
	icon = GFX_focus_generic_bombs
	relative_position_id = GGR_loadthetransports_new
	x = 4
	y = 1
	cost = 0.5
	available_if_capitulated = yes
	prerequisite = { focus = GGR_loadthetransports_new focus = GGR_radioblackout_new focus = GGR_fullsteamahead_new }
	ai_will_do = {
		factor = 1
	}
	will_lead_to_war_with = ENG
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_bombsoverbigben"
		BLZ = {
			save_party_popularities = yes
			get_current_government_type = yes
			CAN = {
				set_autonomy = {
					target = BLZ
					autonomous_state = autonomy_colony
				}
			}
			restore_previous_government_type = yes
			apply_party_popularities = yes
		}
		ENG = {
			if = {
				limit = {
					is_in_faction = yes
				}
				GGR_add_on_our_own = yes
			}
		}
		declare_war_on = {
			target = ENG
			type = annex_everything
		}
		if = {
			limit = { has_completed_focus = GGR_keepthemblind_new }
			125 = {
				damage_building = {
					type = radar_station
					damage = 1
				}
			}
			126 = {
				damage_building = {
					type = radar_station
					damage = 1
				}
			}
			if = {
				limit = { has_country_flag = GGR_wider_resistance }
				127 = {
					damage_building = {
						type = radar_station
						damage = 1
					}
				}
				123 = {
					damage_building = {
						type = radar_station
						damage = 1
					}
				}
			}
		}
		if = {
			limit = {
				has_completed_focus = GGR_radioblackout_new
				NOT = {
					has_country_flag = GGR_wider_resistance
				}
			}
			ENG = {
				add_timed_idea = {
					idea = GGR_total_chaos
					days = 30
				}
			}
		}
		ENG = {
			country_event = { id = ENG_sealion.101 }
		}
		if = {
			limit = {
				has_country_flag = GGR_wider_resistance
				has_completed_focus = GGR_radioblackout_new
			}
			ENG = {
				add_timed_idea = {
					idea = GGR_total_chaos2
					days = 30
				}
			}
		}
		hidden_effect = {
			add_dynamic_modifier = { modifier = GGR_operation_sealion2 }
			every_country = {
				limit = {
					is_ai = no
				}
				set_temp_variable = { TNO_temp_super_event = token:SE_FALL_SEALION_II }
				TNO_fire_super_event = yes
			}
			if = {
				limit = {
					is_ai = yes
				}
				division_template = {
					name = "(spz.) Panzergrenadierabteilung"
					division_names_group = GER_Panzergrenadier
					is_locked = yes
					regiments = {
						APC = { x = 0 y = 0 }
						APC = { x = 0 y = 1 }
						APC = { x = 0 y = 2 }
						APC = { x = 1 y = 0 }
						APC = { x = 1 y = 1 }
						APC = { x = 1 y = 2 }
						APC = { x = 2 y = 0 }
						APC = { x = 2 y = 1 }
						APC = { x = 2 y = 2 }
					}
					support = {
						IFV_recon = { x = 0 y = 0 }
						anti_tank = { x = 0 y = 1 }
						engineer = { x = 0 y = 2 }
						artillery = { x = 0 y = 3 }
						transport_helicopter_company = { x = 0 y = 4 }
					}
				}
				division_template = {
					name = "(spz.) Panzerabteilung"
					division_names_group = GER_panzer
					is_locked = yes
					regiments = {
						APC = { x = 0 y = 0 }
						APC = { x = 0 y = 1 }
						APC = { x = 0 y = 2 }
						APC = { x = 1 y = 0 }
						APC = { x = 1 y = 1 }
						MBT = { x = 2 y = 0 }
						MBT = { x = 2 y = 1 }
						MBT = { x = 2 y = 2 }
						MBT = { x = 3 y = 0 }
						MBT = { x = 3 y = 1 }
						MBT = { x = 3 y = 2 }
					}
					support = {
						IFV_recon = { x = 0 y = 0 }
						signal_company = { x = 0 y = 1 }
						engineer = { x = 0 y = 2 }
						artillery = { x = 0 y = 3 }
						transport_helicopter_company = { x = 0 y = 4 }
					}
				}
				division_template = {
					name = "(spz.) Fallschirmjägerabteilung"
					division_names_group = GER_paratroopers
					is_locked = yes
					regiments = {
						elite_infantry = { x = 0 y = 0 }
						elite_infantry = { x = 0 y = 1 }
						elite_infantry = { x = 0 y = 2 }
						elite_infantry = { x = 1 y = 0 }
						elite_infantry = { x = 1 y = 1 }
						elite_infantry = { x = 1 y = 2 }
					}
					support = {
						engineer = { x = 0 y = 0 }
						signal_company = { x = 0 y = 1 }
						air_assault = { x = 0 y = 2 }
						transport_helicopter_company = { x = 0 y = 3 }
						attack_helicopter_company = { x = 0 y = 4 }
					}
				}
				division_template = {
					name = "(spz.) Marineabteilung"
					division_names_group = GER_Marine_2
					is_locked = yes
					regiments = {
						marine = { x = 0 y = 0 }
						marine = { x = 0 y = 1 }
						marine = { x = 0 y = 2 }
						marine = { x = 1 y = 0 }
						marine = { x = 1 y = 1 }
						marine = { x = 1 y = 2 }
						marine = { x = 2 y = 0 }
						marine = { x = 2 y = 1 }
						marine = { x = 2 y = 2 }
					}
					support = {
						signal_company = { x = 0 y = 1 }
						engineer = { x = 0 y = 2 }
						artillery = { x = 0 y = 3 }
						transport_helicopter_company = { x = 0 y = 4 }
					}
				}
				1375 = {
					create_unit = {
						division = "division_template = \"(spz.) Fallschirmjägerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 540
						owner = GER
						#count =
					}
				}
				123 = {
					create_unit = {
						division = "division_template = \"(spz.) Marineabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 11406
						owner = GER
						count = 2
					}
					create_unit = {
						division = "division_template = \"(spz.) Panzergrenadierabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 11406
						owner = GER
						count = 1
					}
					create_unit = {
						division = "division_template = \"(spz.) Panzerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 9562
						owner = GER
						#count =
					}
				}
				777 = {
					create_unit = {
						division = "division_template = \"(spz.) Marineabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 6489
						owner = GER
						#count =
					}
				}
				338 = {
					create_unit = {
						division = "division_template = \"(spz.) Fallschirmjägerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 6351
						owner = GER
						count = 2
					}
				}
				127 = {
					create_unit = {
						division = "division_template = \"(spz.) Fallschirmjägerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 16330
						owner = GER
						count = 2
					}
					create_unit = {
						division = "division_template = \"(spz.) Panzergrenadierabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 16330
						owner = GER
						count = 2
					}
				}
				2015 = {
					create_unit = {
						division = "division_template = \"(spz.) Fallschirmjägerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 13070
						owner = GER
						count = 1
					}
					create_unit = {
						division = "division_template = \"(spz.) Panzerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 13070
						owner = GER
						count = 1
					}
				}
				2014 = {
					create_unit = {
						division = "division_template = \"(spz.) Marineabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 16366
						owner = GER
						count = 1
					}
				}
				2012 = {
					create_unit = {
						division = "division_template = \"(spz.) Fallschirmjägerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 296
						owner = GER
						count = 1
					}
					create_unit = {
						division = "division_template = \"(spz.) Panzergrenadierabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 296
						owner = GER
						count = 1
					}
				}
				1999 = {
					create_unit = {
						division = "division_template = \"(spz.) Fallschirmjägerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 253
						owner = GER
						count = 2
					}
				}
				2006 = {
					create_unit = {
						division = "division_template = \"(spz.) Marineabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 16396
						owner = GER
						count = 1
					}
					create_unit = {
						division = "division_template = \"(spz.) Fallschirmjägerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 16396
						owner = GER
						count = 1
					}
				}
				136 = {
					create_unit = {
						division = "division_template = \"(spz.) Fallschirmjägerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 11055
						owner = GER
						count = 1
					}
				}
				120 = {
					create_unit = {
						division = "division_template = \"(spz.) Panzergrenadierabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 131
						owner = GER
						count = 1
					}
				}
				123 = {
					create_unit = {
						division = "division_template = \"(spz.) Panzergrenadierabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 16236
						owner = GER
						count = 2
					}
				}
				1296 = {
					create_unit = {
						division = "division_template = \"(spz.) Marineabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 16324
						owner = GER
						#count =
					}
				}
				127 = {
					create_unit = {
						division = "division_template = \"(spz.) Panzergrenadierabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 507
						owner = GER
						#count =
					}
					create_unit = {
						division = "division_template = \"(spz.) Panzerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 16330
						owner = GER
						count = 2
					}
				}
				2015 = {
					create_unit = {
						division = "division_template = \"(spz.) Panzergrenadierabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 3501
						owner = GER
						count = 1
					}
				}
				2013 = {
					create_unit = {
						division = "division_template = \"(spz.) Marineabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 271
						owner = GER
						count = 1
					}
					create_unit = {
						division = "division_template = \"(spz.) Panzergrenadierabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 271
						owner = GER
						count = 2
					}
				}
				125 = {
					create_unit = {
						division = "division_template = \"(spz.) Panzerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 322
						owner = GER
						count = 2
					}
				}
				2012 = {
					create_unit = {
						division = "division_template = \"(spz.) Panzergrenadierabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 296
						owner = GER
						count = 1
					}
					create_unit = {
						division = "division_template = \"(spz.) Panzerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 296
						owner = GER
						count = 1
					}
				}
				1999 = {
					create_unit = {
						division = "division_template = \"(spz.) Fallschirmjägerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 253
						owner = GER
						count = 2
					}
				}
				2006 = {
					create_unit = {
						division = "division_template = \"(spz.) Panzerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 16348
						owner = GER
						count = 2
					}
					create_unit = {
						division = "division_template = \"(spz.) Panzergrenadierabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 16371
						owner = GER
						count = 2
					}
				}
				120 = {
					create_unit = {
						division = "division_template = \"(spz.) Panzergrenadierabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 3159
						owner = GER
						count = 1
					}
					create_unit = {
						division = "division_template = \"(spz.) Panzerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 3159
						owner = GER
						count = 1
					}
				}
			}
		}
		clr_country_flag = GGR_wider_resistance
		clear_variable = GGR_naval_foci_done
		clear_variable = GGR_risks_taken
	}
	ai_will_do = {
		factor = 1
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 30 }
		}
		modifier = {
			factor = 2
			check_variable = { GER_Militarist_Hawkishness > 75 }
		}
		modifier = {
			factor = 2
			check_variable = { GER_Militarist_Power > 75 }
		}
		modifier = {
			factor = 0.5
			has_war = yes
		}
		modifier = {
			factor = 0
			has_idea = GGR_last_legs
		}
	}
}

############################ Collab Tree

#Focus for Operation Sea Lion II
shared_focus = {
	id = GGR_operationsealion2_new
	icon = GFX_focus_GER_sea_lion_ii
	prerequisite = { focus = GGR_plan_A }
	allow_branch = {
		has_country_flag = GER_war_plan_A
		NOT = {
			has_game_rule = {
				rule = BRITAIN_CONTENT_STATUS
				option = BRITAIN_OLD
			}
		}
		has_global_flag = ENG_GF_WonECW
	}
	available = {
		player_one_operation_check = yes
		country_exists = ENG
	}
	relative_position_id = GGR_operation_tannenbaum
	x = -8
	y = 0
	cost = 0.2
	available_if_capitulated = yes
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_operationsealionii_new"
		set_country_flag = GGR_operation_locked
	}
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
	}
}

#shared_focus = {
#	id = GGR_a_formal_invitation
#	#icon = 
#	prerequisite = { focus = GGR_operationsealion2_new }
#	relative_position_id = GGR_operationsealion2_new
#	x = 0
#	y = 1
#	cost = 1
#	completion_reward = {
#		log = "[GetDateText]: [Root.GetName]: focus GGR_a_formal_invitation"
#		add_to_faction = ENG
#		ENG = {
#			add_ideas = Pakt_Mitstreiter
#			econ_join_sphere_GER = yes
#		}
#	}
#}

shared_focus = {
	id = GGR_flood_britain_with_garrisons
	icon = GFX_focus_GGR_flood_britain_with_garrisons
	prerequisite = { focus = GGR_operationsealion2_new }
	relative_position_id = GGR_operationsealion2_new
	x = 0
	y = 1
	cost = 1
	available = {
		divisions_in_state = {
			size > 2
			state = 1300
		}
		divisions_in_state = {
			size > 2
			state = 2010
		}
		divisions_in_state = {
			size > 2
			state = 2002
		}
		divisions_in_state = {
			size > 2
			state = 130
		}
		divisions_in_state = {
			size > 2
			state = 131
		}
		divisions_in_state = {
			size > 2
			state = 121
		}
		divisions_in_state = {
			size > 2
			state = 122
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_flood_britain_with_garrisons"
		ENG = {
			add_stability = 0.1
		}
	}
	ai_will_do = {
		factor = 2
	}
}
shared_focus = {
	id = GGR_let_them_be
	icon = GFX_focus_GGR_let_them_be
	prerequisite = { focus = GGR_flood_britain_with_garrisons }
	relative_position_id = GGR_flood_britain_with_garrisons
	x = -1
	y = 1
	cost = 1
	mutually_exclusive = {
		focus = GGR_establish_the_militarverwaltung
	}
	available = {
		divisions_in_state = {
			size > 2
			state = 1300
		}
		divisions_in_state = {
			size > 2
			state = 2010
		}
		divisions_in_state = {
			size > 2
			state = 2002
		}
		divisions_in_state = {
			size > 2
			state = 130
		}
		divisions_in_state = {
			size > 2
			state = 131
		}
		divisions_in_state = {
			size > 2
			state = 121
		}
		divisions_in_state = {
			size > 2
			state = 122
		}
	}
	available = {
		set_temp_variable = { GGR_required_difference = 15 }
		if = {
			limit = {
				ENG = { has_government = anocracy }
			}
			set_temp_variable = { GGR_required_difference = 30 }
		}
		else_if = {
			limit = {
				ENG = {
					has_country_leader = {
						character = ENG_Gerard_Wallop
						ruling_only = yes
					}
					has_country_leader_ideology = fascism_social_credit_subtype
				}
			}
			set_temp_variable = { GGR_required_difference = 20 }
		}
		else_if = {
			limit = {
				ENG = {
					has_country_leader = {
						character = ENG_Colin_Jordan
						ruling_only = yes
					}
				}
			}
			set_temp_variable = { GGR_required_difference = 10 }
		}
		militarists_are_pleased = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_let_them_be"
		GGR_decrease_militarist_loyalty = yes
		hidden_effect = { # germany puppeting England is a goring's technicality to build for them
			GER = {
				ENG = {
					save_party_popularities = yes
					get_current_government_type = yes
				}
				set_autonomy = {
					target = ENG
					autonomous_state = autonomy_collaborator_puppet_state
				}
				ENG = {
					add_ideas = GGR_germany_build_for_us_pls
					restore_previous_government_type = yes
					apply_party_popularities = yes
				}
			}
		}
	}

	ai_will_do = {
		factor = 1
		modifier = {
			factor = 10
			ENG = { has_government = fascism }
		}
		modifier = {
			add = 5
			Militarist_Loyalty_Medium = yes
		}
		modifier = {
			add = 10
			OR = {
				Militarist_Loyalty_Max = yes
				Militarist_Loyalty_Very_High = yes
				Militarist_Loyalty_High = yes
			}
		}
	}
}
shared_focus = {
	id = GGR_establish_the_militarverwaltung
	icon = GFX_focus_GGR_establish_the_mw
	prerequisite = { focus = GGR_flood_britain_with_garrisons }
	available = {
		divisions_in_state = {
			size > 2
			state = 1300
		}
		divisions_in_state = {
			size > 2
			state = 2010
		}
		divisions_in_state = {
			size > 2
			state = 2002
		}
		divisions_in_state = {
			size > 2
			state = 130
		}
		divisions_in_state = {
			size > 2
			state = 131
		}
		divisions_in_state = {
			size > 2
			state = 121
		}
		divisions_in_state = {
			size > 2
			state = 122
		}
	}
	relative_position_id = GGR_flood_britain_with_garrisons
	x = 1
	y = 1
	cost = 1
	mutually_exclusive = {
		focus = GGR_let_them_be
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_establish_the_militarverwaltung"
		GGR_increase_militarist_loyalty = yes
		GGR_decrease_militarist_hawkishness_small = yes
		GGR_increase_militarist_power_large = yes
		BRI = {
			annex_country = {
				target = ENG
				transfer_troops = no
			}
			hidden_effect = {
				GGR_set_up_RK_ROOT = yes
			}
		}
	}

	ai_will_do = {
		factor = 1
		modifier = {
			add = 10
			ENG = { has_government = anocracy }
		}
		modifier = {
			add = 5
			Militarist_Loyalty_Low = yes
		}
		modifier = {
			add = 10
			Militarist_Loyalty_Very_Low = yes
		}
	}
}
shared_focus = {
	id = GGR_order_in_britain_restored
	icon = GFX_focus_GGR_order_in_britain_restored
	prerequisite = { focus = GGR_let_them_be focus = GGR_establish_the_militarverwaltung }
	relative_position_id = GGR_flood_britain_with_garrisons
	x = 0
	y = 2
	cost = 1
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_order_in_britain_restored"
		clr_country_flag = GGR_operation_locked
		hidden_effect = {
			GGR_Reload_main = yes
			set_temp_variable = { Victory_ID = 101 }
			set_temp_variable = { Victory_Points = TNO_Cold_War_GUI_Victory_Points^101 }
			add_to_temp_variable = { Victory_Points = 75 }
			GGR_determine_WPA_completion = yes
			Cold_War_GUI_AddVictory = yes
		}
		if = {
			limit = {
				country_exists = ENG
			}
			ENG = {
				add_stability = 0.1
			}
		}
		else = {
			BRI = {
				add_stability = 0.1
			}
		}
	}
}


#POST-WAR

#Focus for The Second Surrender
shared_focus = {
	id = GGR_thesecondsurrender_new
	icon = GFX_focus_UPO_david_and_goliath
	relative_position_id = GGR_bombsoverbigben_new
	x = 0
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = {
        focus = GGR_bombsoverbigben_new
        #focus = GGR_letthebombsfall_new
    }
	ai_will_do = {
		factor = 1
	}
	bypass = {
		hidden_trigger = {
			BRI = {
				has_country_leader = {
					character = ENG_Colin_Jordan
					ruling_only = yes
				}
			}
		}
	}
	available = {
		GGR_england_conquered = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_thesecondsurrender_new"
		add_war_support = 0.05
		add_stability = 0.05
        if = {
            limit = {
                has_global_flag = ENG_GF_WonECW
            }
            country_event = {
                id = goering.sealion.collabs.6
            }
        }
        else = {
            country_event = {
                id = goering.sealion.hmmlr.7
            }
        }
		hidden_effect = {
			remove_dynamic_modifier = { modifier = GGR_operation_sealion2 }
		}
	}
    offset = {
        x = 0
        y = -1
        trigger = {
            has_global_flag = ENG_GF_WonECW
        }
    }
}

#Focus for Loot The Vaults
shared_focus = {
	id = GGR_lootthevaults_new
	icon = GFX_focus_generic_a_modern_banking_system
	relative_position_id = GGR_thesecondsurrender_new
	x = 2
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_thesecondsurrender_new }
	ai_will_do = {
		factor = 1
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_lootthevaults"
		set_temp_variable = { money_reserves_temp = 2 }
		econ_money_reserves_change_raw_money = yes
		#GGR_increase_banking_participation = yes
	}
}

#Focus for Back To The Mills
shared_focus = {
	id = GGR_backtothemills_new
	icon = GFX_focus_generic_industry
	relative_position_id = GGR_lootthevaults_new
	x = 0
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_lootthevaults_new }
	ai_will_do = {
		factor = 1
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_backtothemills_new"
		128 = {
			add_resource = {
				type = steel
				amount = 12
			}
		}
		130 = {
			add_resource = {
				type = steel
				amount = 15
			}
		}
		add_timed_idea = {
			idea = GGR_SL2_mills
			days = 80
		}
		#GGR_increase_worker_participation_small = yes
		#GGR_increase_worker_enthusiasm_small = yes
	}
}


#Focus for Strangle The Partisans
shared_focus = {
	id = GGR_stranglethepartisans_new
	icon = GFX_focus_generic_stamp_down_on_partisans
	relative_position_id = GGR_thesecondsurrender_new
	x = -2
	y = 1
	cost = 1
	available_if_capitulated = yes
	prerequisite = { focus = GGR_thesecondsurrender_new }
	ai_will_do = {
		factor = 2
		modifier = {
			factor = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
	}
	completion_reward = {
		country_event = {
			id = goering.sealion.collabs.5
			days = 1
		}
	}
}

#Focus for A Swastika Over Windsor
shared_focus = {
	id = GGR_aswastikaoverwindsor_new
	icon = GFX_focus_GER_the_swastika_flies_high
	relative_position_id = GGR_stranglethepartisans_new
	x = 0
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_stranglethepartisans_new }
	ai_will_do = {
		factor = 1
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_aswastikaoverwindsor_new"
		add_political_power = 100
		add_war_support = 0.08
		GGR_decrease_militarist_power = yes
		GGR_decrease_militarist_hawkishness = yes
	}
}

shared_focus = {
	id = GGR_case_cerdic_new
	icon = GFX_focus_GGR_fall_cerdic
	cost = 0.2
	prerequisite = {
		focus = GGR_thesecondsurrender_new
		focus = GGR_order_in_britain_restored
	}
	allow_branch = {
		has_country_flag = GER_war_plan_A
		GGR_england_conquered = yes
		OR = {
			#has_completed_focus = GGR_letthebombsfall_new
			has_completed_focus = GGR_bombsoverbigben_new
			has_completed_focus = GGR_order_in_britain_restored
		}
	}
	bypass = {
		IRE = {
			OR = {
				exists = no
				is_in_faction_with = GER
			}
		}
	}
	available = {
		player_one_operation_check = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_case_cerdic"
		if = {
			limit = {
				NOT = {
					IRE = {
						OR = {
							exists = no
							is_in_faction_with = GER
						}
					}
				}
			}
			set_country_flag = GGR_operation_locked
		}
	}
	relative_position_id = GGR_thesecondsurrender_new
	ai_will_do = {
		factor = 3
	}
	x = 0
	y = 1
	offset = {
		x = 4
		y = -3
		trigger = {
			has_completed_focus = GGR_operationsealion2_new
		}
	}
}

shared_focus = {
	id = GGR_case_cerdic_collabs
	icon = GFX_focus_GGR_fall_cerdic
	cost = 0.2
	prerequisite = {
		focus = GGR_plan_A
	}
	allow_branch = {
		has_global_flag = GER_sealion_ii
		has_country_flag = GER_war_plan_A
	}
	bypass = {
		IRE = {
			OR = {
				exists = no
				is_in_faction_with = GER
			}
		}
	}
	available = {
		player_one_operation_check = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_case_cerdic"
		if = {
			limit = {
				NOT = {
					IRE = {
						OR = {
							exists = no
							is_in_faction_with = GER
						}
					}
				}
			}
			set_country_flag = GGR_operation_locked
		}
	}
	relative_position_id = GGR_operation_tannenbaum
	ai_will_do = {
		factor = 3
	}
	x = -12
	y = 0
}


shared_focus = {
	id = GGR_incite_irish_tensions_new
	icon = GFX_focus_WAL_support_our_irish_friends
	cost = 2
	prerequisite = {
		focus = GGR_case_cerdic_new
		focus = GGR_case_cerdic_collabs
	}
	bypass = {
		OR = {
			NOT = { country_exists = IRE }
			is_in_faction_with = IRE
		}
		OR = {
			NOT = { country_exists = ULS }
			is_in_faction_with = ULS
		}
	}
	dynamic = yes
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_incite_irish_tensions_new"
		add_equipment_to_stockpile = {
			type = infantry_equipment
			amount = -5000
		}
		if = {
			limit = { is_in_faction_with = IRE }
			send_equipment = {
				type = infantry_equipment
				amount = 5000
				target = IRE
			}
			IRE = {
				add_war_support = 0.1
				add_manpower = 2500
			}
		}
		else = {
			if = {
				limit = { country_exists = ULS }
				ULS = {
					add_stability = -0.07
					add_manpower = -5600
				}
			}
			IRE = {
				add_stability = -0.07
				add_manpower = -5600
			}
		}
	}
	relative_position_id = GGR_case_cerdic_new
	ai_will_do = {
		factor = 2
		modifier = {
			factor = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
	}
	x = 0
	y = 1
	offset = {
		x = 0
		y = -8
		trigger = {
			has_global_flag = GER_sealion_ii
		}
	}
}

shared_focus = {
	id = GGR_conquer_the_isles_new
	icon = GFX_focus_SCO_Bleeding_Britain
	cost = 2
	prerequisite = {
		focus = GGR_incite_irish_tensions_new
	}
	bypass = {
		IRE = {
			OR = {
				exists = no
				is_in_faction_with = GER
			}
		}
	}
	will_lead_to_war_with = IRE
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_conquer_the_isles"
		if = {
			limit = {
				NOT = {
					is_in_faction_with = IRE
				}
				IRE = {
				    exists = yes 
				}
			}
			declare_war_on = {
				target = IRE
				type = annex_everything
			}
		}
		else_if = {
			limit = {
				is_in_faction_with = IRE
				IRE = {
				    exists = yes 
				}
			}
			IRE = {
			    remove_ideas = Pakt_Bundnispartner
				econ_leave_sphere = yes
			}	
			declare_war_on = {
				target = IRE
				type = annex_everything
			}	
		}
		else_if = {
			limit = {
				IRE = {
				    exists = yes 
					has_idea = Pakt_Observer
				}
			}
			IRE = {
			    remove_ideas = Pakt_Observer
				econ_leave_sphere = yes
			}	
			declare_war_on = {
				target = IRE
				type = annex_everything
			}	
		}
	}
	relative_position_id = GGR_incite_irish_tensions_new
	ai_will_do = {
		factor = 1
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 30 }
		}
		modifier = {
			factor = 2
			check_variable = { GER_Militarist_Hawkishness > 75 }
		}
		modifier = {
			factor = 2
			check_variable = { GER_Militarist_Power > 75 }
		}
		modifier = {
			factor = 0.5
			has_war = yes
		}
		modifier = {
			factor = 0.1
			has_idea = GGR_last_legs
		}
	}
	x = 0
	y = 1
}

shared_focus = {
	id = GGR_the_new_union_new
	icon = GFX_focus_GER_swastika_in_front_of_sun
	cost = 2
	prerequisite = {
		focus = GGR_conquer_the_isles_new
	}
	available = {
		GGR_conquered_the_isles = yes
	}
	allow_branch = {
		has_country_flag = GER_war_plan_A
		GGR_england_conquered = yes
		OR = {
			#has_completed_focus = GGR_letthebombsfall_new
			has_completed_focus = GGR_bombsoverbigben_new
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_the_new_union"
		BRI = {
			add_stability = 0.05
		}
	}
	relative_position_id = GGR_conquer_the_isles_new
	ai_will_do = {
		factor = 2
		modifier = {
			factor = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
	}
	x = 0
	y = 1
}

#Focus for Operation Sea Lion II
shared_focus = {
	id = GGR_operationsealionii
	icon = GFX_focus_GER_sea_lion_ii
	prerequisite = { focus = GGR_plan_A  }
	allow_branch = {
		has_game_rule = {
			rule = BRITAIN_CONTENT_STATUS
			option = BRITAIN_OLD
		}
		has_global_flag = FEN_GF_WonECW
		has_country_flag = GER_war_plan_A
	}
	available = {
		player_one_operation_check = yes
		country_exists = ENG
	}
	relative_position_id = GGR_operation_tannenbaum
	x = -12
	y = 0
	cost = 0.2
	available_if_capitulated = yes
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_operationsealionii"
		set_country_flag = GGR_operation_locked
		GGR_clear_temporary_variables = yes
		set_variable = { GGR_naval_foci_done = 0 }
		set_variable = { GGR_isles_loot = 4 }
		ENG = {
			country_event = { id = ENG_sealion.110 }
		}
		hidden_effect = {
			add_dynamic_modifier = { modifier = GGR_operation_sealion2 }
		}
	}
	ai_will_do = {
		factor = 1
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
	}
}

#Focus for Planning The Return
shared_focus = {
	id = GGR_planningthereturn
	icon = GFX_focus_ENG_OLD_free_england
	relative_position_id = GGR_operationsealionii
	x = 0
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_operationsealionii }
	available = {
		GGR_not_invaded_england = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_planningthereturn"
		country_event = { id = goering.sealion.hmmlr.1 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
}

#Focus for Ready The Kriegsmarine
shared_focus = {
	id = GGR_readythekriegsmarine
	icon = GFX_focus_generic_kriegsmarine
	relative_position_id = GGR_planningthereturn
	x = -3
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_planningthereturn }
	available = {
		has_country_flag = GGR_navy_focus
		GGR_not_invaded_england = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_readythekriegsmarine"
		if = {
			limit = { check_variable = { GGR_naval_foci_done = 0 } }
			navy_experience = 10
		}
		else = {
			navy_experience = 10
			add_doctrine_cost_reduction = {
			    name = naval_doc_bonus
			    cost_reduction = 0.75
			    uses = 1
			    category = naval_doctrine
			}
		}
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
}

#Focus for Fighting On The Beaches
shared_focus = {
	id = GGR_fightingonthebeaches
	icon = GFX_focus_GGR_Storming_the_Beaches
	relative_position_id = GGR_readythekriegsmarine
	x = 0
	y = 1
	cost = 2
	available = {
		GGR_not_invaded_england = yes
	}
	prerequisite = { focus = GGR_readythekriegsmarine }
	ai_will_do = {
		factor = 1
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_fightingonthebeaches"
		custom_effect_tooltip = GGR_fightingonthebeaches_tooltip
		set_variable = { GGR_temporary_invasion_preparation = -0.1 }
		multiply_variable = { GGR_temporary_invasion_preparation = GGR_naval_foci_done }
		add_to_variable = { GGR_naval_foci_done = 1 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
}

#Focus for Convoy Escort Doctrine
shared_focus = {
	id = GGR_convoyescortdoctrine
	icon = GFX_focus_GER_cruiser_for_cruiser
	relative_position_id = GGR_readythekriegsmarine
	x = 2
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_readythekriegsmarine }
	available = {
		GGR_not_invaded_england = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_convoyescortdoctrine"
		custom_effect_tooltip = GGR_convoyescortdoctrine_tooltip
		set_variable = { GGR_temporary_convoy_escort_efficiency = 0.08 }
		multiply_variable = { GGR_temporary_convoy_escort_efficiency = GGR_naval_foci_done }
		add_to_variable = { GGR_naval_foci_done = 1 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
}

#Focus for Send Out The Wolves
shared_focus = {
	id = GGR_sendoutthewolves
	icon = GFX_focus_generic_hidden_menace_submarine
	relative_position_id = GGR_readythekriegsmarine
	x = -2
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_readythekriegsmarine }
	available = {
		GGR_not_invaded_england = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_sendoutthewolves"
		custom_effect_tooltip = GGR_sendoutthewolves_tooltip
		set_variable = { GGR_temporary_convoy_raiding_efficiency = 0.08 }
		multiply_variable = { GGR_temporary_convoy_raiding_efficiency = GGR_naval_foci_done }
		add_to_variable = { GGR_naval_foci_done = 1 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
}

#Focus for Full Steam Ahead
shared_focus = {
	id = GGR_fullsteamahead
	icon = GFX_focus_generic_naval_hit_and_run
	relative_position_id = GGR_sendoutthewolves
	x = 3
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_fightingonthebeaches focus = GGR_sendoutthewolves focus = GGR_convoyescortdoctrine }
	mutually_exclusive = { focus = GGR_slowandsteady }
	available = {
		GGR_not_invaded_england = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_fullsteamahead"
		custom_effect_tooltip = GGR_preparation_increase_tooltip
		if = {
			limit = { check_variable = { GGR_naval_foci_done > 1 } }
			add_war_support = 0.1
		}
		if = {
			limit = { check_variable = { GGR_naval_foci_done > 2 } }
			custom_effect_tooltip = GGR_command_power_max_increase_30
			set_variable = { GGR_temporary_max_command_power = 30 }
		}
		if = {
			limit = { check_variable = { GGR_naval_foci_done > 3 } }
			custom_effect_tooltip = GGR_special_forces_attack_increase_15_percent
			set_variable = { GGR_temporary_special_forces_attack_factor = 0.15 }
		}
		add_to_variable = { GGR_naval_foci_done = 1 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
}

#Focus for Slow And Steady
shared_focus = {
	id = GGR_slowandsteady
	icon = GFX_focus_GER_can_we_trust_the_kriegsmarine
	relative_position_id = GGR_convoyescortdoctrine
	x = -3
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_fightingonthebeaches focus = GGR_sendoutthewolves focus = GGR_convoyescortdoctrine }
	mutually_exclusive = { focus = GGR_fullsteamahead }
	ai_will_do = {
		factor = 1
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_slowandsteady"
		custom_effect_tooltip = GGR_preparation_increase_tooltip
		if = {
			limit = { check_variable = { GGR_naval_foci_done > 1 } }
			add_equipment_to_stockpile = {
				type = convoy_1
				amount = 50
			}
		}
		if = {
			limit = { check_variable = { GGR_naval_foci_done > 2 } }
			add_equipment_to_stockpile = {
				type = convoy_1
				amount = 100
			}
		}
		if = {
			limit = { check_variable = { GGR_naval_foci_done > 3 } }
			custom_effect_tooltip = GGR_invasion_speed_increase_40_percent
			set_variable = { GGR_temporary_invasion_speed = 0.4 }
		}
		add_to_variable = { GGR_naval_foci_done = 1 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
}

#Focus for Load The Transports
shared_focus = {
	id = GGR_loadthetransports
	icon = GFX_focus_ENG_OLD_simulate_an_invasion
	relative_position_id = GGR_slowandsteady
	x = 0
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_slowandsteady}
	available = {
		GGR_not_invaded_england = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_loadthetransports"
		custom_effect_tooltip = GGR_preparation_increase_tooltip
		if = {
			limit = { check_variable = { GGR_naval_foci_done > 2 } }
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 3000
			}
			add_equipment_to_stockpile = {
				type = anti_tank_equipment
				amount = 600
			}
			add_manpower = 20000
		}
		if = {
			limit = { check_variable = { GGR_naval_foci_done > 3 } }
			add_equipment_to_stockpile = {
				type = artillery_equipment
				amount = 50
			}
			add_equipment_to_stockpile = {
				type = scout_helicopter_equipment
				amount = 25
			}
			add_equipment_to_stockpile = {
				type = transport_helicopter_equipment
				amount = 25
			}
			add_equipment_to_stockpile = {
				type = support_equipment
				amount = 80
			}
			add_manpower = 2000
		}
		add_to_variable = { GGR_naval_foci_done = 1 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
}

#Focus for Fall Leibwache
shared_focus = {
	id = GGR_fallleibwache
	icon = GFX_focus_generic_spying_target
	relative_position_id = GGR_planningthereturn
	x = 3
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_planningthereturn }
	available = {
		has_country_flag = GGR_fall_leibwache
		GGR_not_invaded_england = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_fallleibwache"
		custom_effect_tooltip = GGR_fallleibwache_tooltip
		country_event = { id = goering.sealion.hmmlr.2 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
}

#Focus for Contact The Holdouts
shared_focus = {
	id = GGR_contacttheholdouts
	icon = GFX_focus_GER_nationale_kriegshilfsorganisation
	relative_position_id = GGR_fallleibwache
	x = 0
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_fallleibwache }
	ai_will_do = {
		factor = 1
	}
	available = {
		hidden_trigger = {
			has_country_flag = GGR_fall_leibwache
		}
		GGR_not_invaded_england = yes
	}
	bypass = {
		hidden_trigger = {
			has_country_flag = GGR_resistance_found
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_contacttheholdouts"
		custom_effect_tooltip = GGR_contacttheholdouts_tooltips
		country_event = { id = goering.sealion.hmmlr.3 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
}

#Focus for A Loyal 5th Column
shared_focus = {
	id = GGR_aloyal5thcolumn
	icon = GFX_focus_UPO_ready_the_partisans
	relative_position_id = GGR_contacttheholdouts
	x = 0
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_contacttheholdouts }
	ai_will_do = {
		factor = 1
	}
	available = {
		hidden_trigger = {
			has_country_flag = GGR_fall_leibwache
		}
		GGR_not_invaded_england = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_aloyal5thcolumn"
		ENG = {
			add_war_support = -0.08
			if = {
				limit = { GER = { has_country_flag = GGR_wider_resistance } }
				add_stability = -0.08
			}
		}
		add_to_variable = { GGR_risks_taken = 1 }
		if = {
			limit = {
				has_country_flag = GGR_wider_resistance
				check_variable = { GGR_risks_taken > 2 }
			}
			country_event = { id = goering.sealion.hmmlr.4 days = 2 }
		}
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
}

#Focus for Preemptive Resistence
shared_focus = {
	id = GGR_preemptiveresistence
	icon = GFX_focus_generic_rigged_to_blow
	relative_position_id = GGR_contacttheholdouts
	x = 2
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_contacttheholdouts }
	ai_will_do = {
		factor = 1
	}
	available = {
		hidden_trigger = {
			has_country_flag = GGR_fall_leibwache
		}
		GGR_not_invaded_england = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_preemptiveresistence"
		add_equipment_to_stockpile = {
			type = infantry_equipment
			amount = -3000
		}
		ENG = {
			country_event = { id = goering.sealion.hmmlr.5 }
		}
		add_to_variable = { GGR_risks_taken = 1 }
		if = {
			limit = {
				has_country_flag = GGR_wider_resistance
				check_variable = { GGR_risks_taken > 2 }
			}
			country_event = { id = goering.sealion.hmmlr.4 days = 2 }
		}
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
}

#Focus for Keep Them Blind
shared_focus = {
	id = GGR_keepthemblind
	icon = GFX_focus_KOM_blind_ultravisionaries
	relative_position_id = GGR_contacttheholdouts
	x = -2
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_contacttheholdouts }
	ai_will_do = {
		factor = 1
	}
	available = {
		hidden_trigger = {
			has_country_flag = GGR_fall_leibwache
		}
		GGR_not_invaded_england = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_keepthemblind"
		custom_effect_tooltip = GGR_keepthemblind_tooltip
		add_to_variable = { GGR_risks_taken = 1 }
		if = {
			limit = {
				has_country_flag = GGR_wider_resistance
				check_variable = { GGR_risks_taken > 2 }
			}
			country_event = { id = goering.sealion.hmmlr.4 days = 2 }
		}
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
}

#Focus for Radio Blackout
shared_focus = {
	id = GGR_radioblackout
	icon = GFX_focus_generic_radio_tower
	relative_position_id = GGR_aloyal5thcolumn
	x = 0
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = {
		focus = GGR_aloyal5thcolumn
		focus = GGR_preemptiveresistence
		focus = GGR_keepthemblind
	}
	ai_will_do = {
		factor = 1
	}
	available = {
		hidden_trigger = {
			has_country_flag = GGR_fall_leibwache
		}
		GGR_not_invaded_england = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_radioblackout"
		custom_effect_tooltip = GGR_radioblackout_tooltip
		add_to_variable = { GGR_risks_taken = 1 }
		if = {
			limit = {
				has_country_flag = GGR_wider_resistance
				check_variable = { GGR_risks_taken > 2 }
			}
			country_event = { id = goering.sealion.hmmlr.4 days = 2 }
		}
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
}

#Focus for Bombs Over Big Ben
shared_focus = {
	id = GGR_bombsoverbigben
	icon = GFX_focus_generic_bombs
	relative_position_id = GGR_loadthetransports
	x = 4
	y = 1
	cost = 0.5
	available_if_capitulated = yes
	prerequisite = { focus = GGR_loadthetransports focus = GGR_radioblackout focus = GGR_fullsteamahead }
	ai_will_do = {
		factor = 1
	}
	will_lead_to_war_with = ENG
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_bombsoverbigben"
		ENG = {
			GGR_add_on_our_own = yes
		}
		declare_war_on = {
			target = ENG
			type = annex_everything
		}
		if = {
			limit = { has_completed_focus = GGR_keepthemblind }
			125 = {
				damage_building = {
					type = radar_station
					damage = 1
				}
			}
			126 = {
				damage_building = {
					type = radar_station
					damage = 1
				}
			}
			if = {
				limit = { has_country_flag = GGR_wider_resistance }
				127 = {
					damage_building = {
						type = radar_station
						damage = 1
					}
				}
				123 = {
					damage_building = {
						type = radar_station
						damage = 1
					}
				}
			}
		}
		if = {
			limit = {
				has_completed_focus = GGR_radioblackout
				NOT = {
					has_country_flag = GGR_wider_resistance
				}
			}
			ENG = {
				add_timed_idea = {
					idea = GGR_total_chaos
					days = 30
				}
			}
		}
		ENG = {
			ENG_Kick_from_faction_balance = yes
			country_event = { id = ENG_sealion.101 }
		}
		if = {
			limit = {
				has_country_flag = GGR_wider_resistance
				has_completed_focus = GGR_radioblackout
			}
			ENG = {
				add_timed_idea = {
					idea = GGR_total_chaos2
					days = 30
				}
			}
		}
		hidden_effect = {
			if = {
				limit = {
					is_ai = yes
				}
				division_template = {
					name = "(spz.) Panzergrenadierabteilung"
					division_names_group = GER_Panzergrenadier
					is_locked = yes
					regiments = {
						APC = { x = 0 y = 0 }
						APC = { x = 0 y = 1 }
						APC = { x = 0 y = 2 }
						APC = { x = 1 y = 0 }
						APC = { x = 1 y = 1 }
						APC = { x = 1 y = 2 }
						APC = { x = 2 y = 0 }
						APC = { x = 2 y = 1 }
						APC = { x = 2 y = 2 }
					}
					support = {
						IFV_recon = { x = 0 y = 0 }
						anti_tank = { x = 0 y = 1 }
						engineer = { x = 0 y = 2 }
						artillery = { x = 0 y = 3 }
						transport_helicopter_company = { x = 0 y = 4 }
					}
				}
				division_template = {
					name = "(spz.) Panzerabteilung"
					division_names_group = GER_panzer
					is_locked = yes
					regiments = {
						APC = { x = 0 y = 0 }
						APC = { x = 0 y = 1 }
						APC = { x = 0 y = 2 }
						APC = { x = 1 y = 0 }
						APC = { x = 1 y = 1 }
						MBT = { x = 2 y = 0 }
						MBT = { x = 2 y = 1 }
						MBT = { x = 2 y = 2 }
						MBT = { x = 3 y = 0 }
						MBT = { x = 3 y = 1 }
						MBT = { x = 3 y = 2 }
					}
					support = {
						IFV_recon = { x = 0 y = 0 }
						signal_company = { x = 0 y = 1 }
						engineer = { x = 0 y = 2 }
						artillery = { x = 0 y = 3 }
						transport_helicopter_company = { x = 0 y = 4 }
					}
				}
				division_template = {
					name = "(spz.) Fallschirmjägerabteilung"
					division_names_group = GER_paratroopers
					is_locked = yes
					regiments = {
						elite_infantry = { x = 0 y = 0 }
						elite_infantry = { x = 0 y = 1 }
						elite_infantry = { x = 0 y = 2 }
						elite_infantry = { x = 1 y = 0 }
						elite_infantry = { x = 1 y = 1 }
						elite_infantry = { x = 1 y = 2 }
					}
					support = {
						engineer = { x = 0 y = 0 }
						signal_company = { x = 0 y = 1 }
						air_assault = { x = 0 y = 2 }
						transport_helicopter_company = { x = 0 y = 3 }
						attack_helicopter_company = { x = 0 y = 4 }
					}
				}
				division_template = {
					name = "(spz.) Marineabteilung"
					division_names_group = GER_Marine_2
					is_locked = yes
					regiments = {
						marine = { x = 0 y = 0 }
						marine = { x = 0 y = 1 }
						marine = { x = 0 y = 2 }
						marine = { x = 1 y = 0 }
						marine = { x = 1 y = 1 }
						marine = { x = 1 y = 2 }
						marine = { x = 2 y = 0 }
						marine = { x = 2 y = 1 }
						marine = { x = 2 y = 2 }
					}
					support = {
						signal_company = { x = 0 y = 1 }
						engineer = { x = 0 y = 2 }
						artillery = { x = 0 y = 3 }
						transport_helicopter_company = { x = 0 y = 4 }
					}
				}
				1375 = {
					create_unit = {
						division = "division_template = \"(spz.) Fallschirmjägerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 540
						owner = GER
					}
				}
				123 = {
					create_unit = {
						division = "division_template = \"(spz.) Marineabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 11406
						owner = GER
						count = 2
					}
					create_unit = {
						division = "division_template = \"(spz.) Panzergrenadierabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 11406
						owner = GER
						count = 1
					}
					create_unit = {
						division = "division_template = \"(spz.) Panzerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 9562
						owner = GER
					}
				}
				777 = {
					create_unit = {
						division = "division_template = \"(spz.) Marineabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 6489
						owner = GER
					}
				}
				338 = {
					create_unit = {
						division = "division_template = \"(spz.) Fallschirmjägerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 6351
						owner = GER
						count = 2
					}
				}
				127 = {
					create_unit = {
						division = "division_template = \"(spz.) Fallschirmjägerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 16330
						owner = GER
						count = 2
					}
					create_unit = {
						division = "division_template = \"(spz.) Panzergrenadierabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 16330
						owner = GER
						count = 2
					}
				}
				2015 = {
					create_unit = {
						division = "division_template = \"(spz.) Fallschirmjägerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 13070
						owner = GER
						count = 1
					}
					create_unit = {
						division = "division_template = \"(spz.) Panzerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 13070
						owner = GER
						count = 1
					}
				}
				2014 = {
					create_unit = {
						division = "division_template = \"(spz.) Marineabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 16366
						owner = GER
						count = 1
					}
				}
				2012 = {
					create_unit = {
						division = "division_template = \"(spz.) Fallschirmjägerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 296
						owner = GER
						count = 1
					}
					create_unit = {
						division = "division_template = \"(spz.) Panzergrenadierabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 296
						owner = GER
						count = 1
					}
				}
				1999 = {
					create_unit = {
						division = "division_template = \"(spz.) Fallschirmjägerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 253
						owner = GER
						count = 2
					}
				}
				2006 = {
					create_unit = {
						division = "division_template = \"(spz.) Marineabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 16396
						owner = GER
						count = 1
					}
					create_unit = {
						division = "division_template = \"(spz.) Fallschirmjägerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 16396
						owner = GER
						count = 1
					}
				}
				136 = {
					create_unit = {
						division = "division_template = \"(spz.) Fallschirmjägerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 11055
						owner = GER
						count = 1
					}
				}
				120 = {
					create_unit = {
						division = "division_template = \"(spz.) Panzergrenadierabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 131
						owner = GER
						count = 1
					}
				}
				123 = {
					create_unit = {
						division = "division_template = \"(spz.) Panzergrenadierabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 16236
						owner = GER
						count = 2
					}
				}
				1296 = {
					create_unit = {
						division = "division_template = \"(spz.) Marineabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 16324
						owner = GER
						#count =
					}
				}
				127 = {
					create_unit = {
						division = "division_template = \"(spz.) Panzergrenadierabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 507
						owner = GER
					}
					create_unit = {
						division = "division_template = \"(spz.) Panzerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 16330
						owner = GER
						count = 2
					}
				}
				2015 = {
					create_unit = {
						division = "division_template = \"(spz.) Panzergrenadierabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 3501
						owner = GER
						count = 1
					}
				}
				2013 = {
					create_unit = {
						division = "division_template = \"(spz.) Marineabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 271
						owner = GER
						count = 1
					}
					create_unit = {
						division = "division_template = \"(spz.) Panzergrenadierabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 271
						owner = GER
						count = 2
					}
				}
				125 = {
					create_unit = {
						division = "division_template = \"(spz.) Panzerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 322
						owner = GER
						count = 2
					}
				}
				2012 = {
					create_unit = {
						division = "division_template = \"(spz.) Panzergrenadierabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 296
						owner = GER
						count = 1
					}
					create_unit = {
						division = "division_template = \"(spz.) Panzerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 296
						owner = GER
						count = 1
					}
				}
				1999 = {
					create_unit = {
						division = "division_template = \"(spz.) Fallschirmjägerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 253
						owner = GER
						count = 2
					}
				}
				2006 = {
					create_unit = {
						division = "division_template = \"(spz.) Panzerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 16348
						owner = GER
						count = 2
					}
					create_unit = {
						division = "division_template = \"(spz.) Panzergrenadierabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 16371
						owner = GER
						count = 2
					}
				}
				120 = {
					create_unit = {
						division = "division_template = \"(spz.) Panzergrenadierabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 3159
						owner = GER
						count = 1
					}
					create_unit = {
						division = "division_template = \"(spz.) Panzerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 3159
						owner = GER
						count = 1
					}
				}
			}
		}
		clr_country_flag = GGR_wider_resistance
		clear_variable = GGR_naval_foci_done
		clear_variable = GGR_risks_taken
	}
	ai_will_do = {
		factor = 1
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 30 }
		}
		modifier = {
			factor = 2
			check_variable = { GER_Militarist_Hawkishness > 75 }
		}
		modifier = {
			factor = 0.5
			has_war = yes
		}
		modifier = {
			factor = 0
			has_idea = GGR_last_legs
		}
	}
}

#Focus for The Second Surrender
shared_focus = {
	id = GGR_thesecondsurrender
	icon = GFX_focus_UPO_david_and_goliath
	relative_position_id = GGR_bombsoverbigben
	x = 0
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_bombsoverbigben }
	ai_will_do = {
		factor = 1
	}
	available = {
		GGR_england_conquered = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_thesecondsurrender"
		add_war_support = 0.05
		add_stability = 0.05
		country_event = {
			id = goering.sealion.hmmlr.7
		}
		hidden_effect = {
			remove_dynamic_modifier = { modifier = GGR_operation_sealion2 }
		}
	}
}

#Focus for Loot The Vaults
shared_focus = {
	id = GGR_lootthevaults
	icon = GFX_focus_generic_a_modern_banking_system
	relative_position_id = GGR_thesecondsurrender
	x = 2
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_thesecondsurrender }
	ai_will_do = {
		factor = 1
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_lootthevaults"
		set_temp_variable = { money_reserves_temp = 2 }
		econ_money_reserves_change_raw_money = yes
	}
}

#Focus for Back To The Mills
shared_focus = {
	id = GGR_backtothemills
	icon = GFX_focus_generic_industry
	relative_position_id = GGR_lootthevaults
	x = 0
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_lootthevaults }
	ai_will_do = {
		factor = 1
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_backtothemills"
		128 = {
			add_resource = {
				type = steel
				amount = 12
			}
		}
		130 = {
			add_resource = {
				type = steel
				amount = 15
			}
		}
		add_timed_idea = {
			idea = GGR_SL2_mills
			days = 80
		}
	}
}

#Focus for Dispose Of The Rabble
shared_focus = {
	id = GGR_disposeoftherabble
	icon = GFX_focus_generic_police
	relative_position_id = GGR_thesecondsurrender
	x = -2
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_thesecondsurrender }
	ai_will_do = {
		factor = 1
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_disposeoftherabble"
		country_event = {
			id = goering.sealion.1
			days = 1
		}
	}
}

#Focus for A Swastika Over Windsor
shared_focus = {
	id = GGR_aswastikaoverwindsor
	icon = GFX_focus_GER_the_swastika_flies_high
	relative_position_id = GGR_disposeoftherabble
	x = 0
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_disposeoftherabble }
	ai_will_do = {
		factor = 1
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_aswastikaoverwindsor"
		add_political_power = 100
		add_war_support = 0.08
		GGR_decrease_militarist_power = yes
		GGR_decrease_militarist_hawkishness = yes
	}
}

############################ Collab Tree


#Focus for Operation Sea Lion 2
shared_focus = {
	id = GGR_operationsealion2
	icon = GFX_focus_GER_sea_lion_ii
	x = 9
	y = 0
	cost = 0.2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_plan_A  }
	allow_branch = {
		player_one_operation_check = yes
		has_country_flag = GER_war_plan_A
		has_game_rule = {
			rule = BRITAIN_CONTENT_STATUS
			option = BRITAIN_OLD
		}
		#ENG = {
		#	NOT = {
		#		is_in_faction_with = USA
		#	}
		#}
		has_global_flag = ENG_GF_WonECW
	}
	available = {
		country_exists = ENG
		player_one_operation_check = yes
	}
	relative_position_id = GGR_operation_tannenbaum
	x = -8
	y = 0
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_operationsealion2"
		set_country_flag = GGR_operation_locked
		GGR_clear_temporary_variables = yes
		set_variable = { GGR_isles_loot = 4 }
		ENG = {
			country_event = { id = ENG_sealion.10 }
		}
		hidden_effect = {			
			add_dynamic_modifier = { modifier = GGR_operation_sealion2_ENG }
		}
	}
	ai_will_do = {
		factor = 1
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
	}
}


#Focus for Out Of Government...
shared_focus = {
	id = GGR_outofgovernment
	icon = GFX_focus_JAP_stop_the_reformers
	relative_position_id = GGR_operationsealion2
	available = {
		NOT = {
			ENG = {
				fascism > 0.25
			}
		}
		GGR_not_invaded_england = yes
	}
	x = 0
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_operationsealion2 }
	mutually_exclusive = { focus = GGR_ourgreatenglishfriends }
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	completion_reward = {
		country_event = {
			id = goering.sealion.collabs.1
			days = 1
		}
	}
}

#Focus for Our Great English Friends
shared_focus = {
	id = GGR_ourgreatenglishfriends
	icon = GFX_focus_ENG_OLD_england
	relative_position_id = GGR_operationsealion2
	available = {
		ENG = {
			fascism > 0.25
		}
		GGR_not_invaded_england = yes
	}

	x = 4
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_operationsealion2 }
	mutually_exclusive = { focus = GGR_outofgovernment }
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	completion_reward = {
		country_event = {
			id = goering.sealion.collabs.2
			days = 1
		}
	}
}


#Focus for The Battered Garrison
shared_focus = {
	id = GGR_thebatteredgarrison
	icon = GFX_focus_ENG_OLD_redevelop_the_garrison
	available = {
		GGR_not_invaded_england = yes
		country_exists = CRN
	}
	relative_position_id = GGR_operationsealion2
	x = -4
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_operationsealion2 }
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	completion_reward = {
		custom_effect_tooltip = GGR_army_org_increase_15
		set_variable = { GGR_temporary_army_organisation = 0.15 }
		set_autonomy = {
			target = CRN
			autonomous_state = autonomy_autonomous_reichskommissariat
		}
		CRN = {
			econ_join_sphere_GER = yes
		}
	}
}

#Focus for Refit The Troops
shared_focus = {
	id = GGR_refitthetroops
	icon = GFX_focus_generic_the_best_guns_money_can_buy
	available = {
		GGR_not_invaded_england = yes
		country_exists = CRN
	}
	relative_position_id = GGR_thebatteredgarrison
	x = -1
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_thebatteredgarrison }
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	completion_reward = {
		custom_effect_tooltip = GGR_infantry_attack_increase_10_percent
		custom_effect_tooltip = GGR_infantry_defence_increase_10_percent
		set_variable = { GGR_temporary_infantry_attack = 0.1 }
		set_variable = { GGR_temporary_infantry_defence  = 0.1 }
	}
}

#Focus for Expand The Infrastructure
shared_focus = {
	id = GGR_expandtheinfrastructure
	icon = GFX_focus_generic_build_up_infrastructure
	available = {
		GGR_not_invaded_england = yes
		country_exists = CRN
	}
	relative_position_id = GGR_thebatteredgarrison
	x = 1
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_thebatteredgarrison }
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	completion_reward = {
		set_variable = { GGR_temporary_speed = 0.1 }
		custom_effect_tooltip = GGR_army_speed_increase_10_percent
	}
}

#Focus for Identify The Targets
shared_focus = {
	id = GGR_identifythetargets
	icon = GFX_focus_GER_refocus_the_bombings
	available = {
		GGR_not_invaded_england = yes
	}
	relative_position_id = GGR_ourgreatenglishfriends
	x = 0
	y = 2
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_ourgreatenglishfriends }
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	completion_reward = {
		custom_effect_tooltip = GGR_strat_bomb_effectiveness_increase_15_percent_tooltip
		set_variable = { GGR_luftwaffe_strat_bomb_boom_factor = .015 }
	}
}

#Focus for Request Their Plans
shared_focus = {
	id = GGR_requesttheirplans
	icon = GFX_focus_generic_spying_target
	available = {
		GGR_not_invaded_england = yes
	}
	relative_position_id = GGR_ourgreatenglishfriends
	x = 1
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_ourgreatenglishfriends }
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	completion_reward = {
		set_variable = { GGR_temporary_decryption_factor = 0.25 }
		custom_effect_tooltip = GGR_decryption_factor_increase_25
	}
}

#Focus for Buy Their Arsenals
shared_focus = {
	id = GGR_buytheirarsenals
	icon = GFX_focus_generic_the_best_guns_money_can_buy
	available = {
		GGR_not_invaded_england = yes
	}
	relative_position_id = GGR_ourgreatenglishfriends
	x = -1
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_ourgreatenglishfriends }
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	completion_reward = {
		ENG = {
			country_event = {
				id = goering.sealion.collabs.3
				days = 1
			}
			add_war_support = -0.05
			add_political_power = -50
			send_equipment = {
				equipment = infantry_equipment
				amount = 2500
				target = GER
			}
		}
	}
}

#Focus for Preemptive Sabotage
shared_focus = {
	id = GGR_preemptivesabotage
	icon = GFX_focus_generic_rigged_to_blow
	available = {
		GGR_not_invaded_england = yes
	}
	relative_position_id = GGR_outofgovernment
	x = -1
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_outofgovernment }
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	completion_reward = {
		ENG = {
			add_stability = -0.1
		}
	}
}

#Focus for But Not Out Of Use
shared_focus = {
	id = GGR_butnotoutofuse
	icon = GFX_focus_MST_end_arms_ban
	prerequisite = {
		focus = GGR_outofgovernment
	}
	available = {
		GGR_not_invaded_england = yes
	}
	relative_position_id = GGR_outofgovernment
	x = 0
	y = 2
	cost = 2
	available_if_capitulated = yes
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	completion_reward = {
		custom_effect_tooltip = GGR_resistance_supression_increase_20_percent
		set_variable = { GGR_temporary_resistance_supression = -0.2 }
	}
}

#Focus for Let The Bombs Fall
shared_focus = {
	id = GGR_letthebombsfall
	icon = GFX_focus_generic_bombs
	relative_position_id = GGR_operationsealion2
	x = 0
	y = 4
	cost = 0.5
	available_if_capitulated = yes
	prerequisite = {
		focus = GGR_deploythemtotheborder
		focus = GGR_butnotoutofuse
		focus = GGR_identifythetargets
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			factor = 0.5
			has_war = yes
		}
		modifier = {
			factor = 0
			has_idea = GGR_last_legs
		}
	}
	will_lead_to_war_with = ENG
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_letthebombsfall"
		hidden_effect = {
			if = {
				limit = {
					is_ai = yes
				}
				division_template = {
					name = "(spz.) Panzergrenadierabteilung"
					division_names_group = GER_Panzergrenadier
					is_locked = yes
					regiments = {
						APC = { x = 0 y = 0 }
						APC = { x = 0 y = 1 }
						APC = { x = 0 y = 2 }
						APC = { x = 1 y = 0 }
						APC = { x = 1 y = 1 }
						APC = { x = 1 y = 2 }
						APC = { x = 2 y = 0 }
						APC = { x = 2 y = 1 }
						APC = { x = 2 y = 2 }
					}
					support = {
						IFV_recon = { x = 0 y = 0 }
						anti_tank = { x = 0 y = 1 }
						engineer = { x = 0 y = 2 }
						artillery = { x = 0 y = 3 }
						transport_helicopter_company = { x = 0 y = 4 }
					}
				}
				division_template = {
					name = "(spz.) Panzerabteilung"
					division_names_group = GER_panzer
					is_locked = yes
					regiments = {
						APC = { x = 0 y = 0 }
						APC = { x = 0 y = 1 }
						APC = { x = 0 y = 2 }
						APC = { x = 1 y = 0 }
						APC = { x = 1 y = 1 }
						MBT = { x = 2 y = 0 }
						MBT = { x = 2 y = 1 }
						MBT = { x = 2 y = 2 }
						MBT = { x = 3 y = 0 }
						MBT = { x = 3 y = 1 }
						MBT = { x = 3 y = 2 }
					}
					support = {
						IFV_recon = { x = 0 y = 0 }
						signal_company = { x = 0 y = 1 }
						engineer = { x = 0 y = 2 }
						artillery = { x = 0 y = 3 }
						transport_helicopter_company = { x = 0 y = 4 }
					}
				}
				division_template = {
					name = "(spz.) Fallschirmjägerabteilung"
					division_names_group = GER_paratroopers
					is_locked = yes
					regiments = {
						elite_infantry = { x = 0 y = 0 }
						elite_infantry = { x = 0 y = 1 }
						elite_infantry = { x = 0 y = 2 }
						elite_infantry = { x = 1 y = 0 }
						elite_infantry = { x = 1 y = 1 }
						elite_infantry = { x = 1 y = 2 }
					}
					support = {
						engineer = { x = 0 y = 0 }
						signal_company = { x = 0 y = 1 }
						air_assault = { x = 0 y = 2 }
						transport_helicopter_company = { x = 0 y = 3 }
						attack_helicopter_company = { x = 0 y = 4 }
					}
				}
				division_template = {
					name = "(spz.) Marineabteilung"
					division_names_group = GER_Marine_2
					is_locked = yes
					regiments = {
						marine = { x = 0 y = 0 }
						marine = { x = 0 y = 1 }
						marine = { x = 0 y = 2 }
						marine = { x = 1 y = 0 }
						marine = { x = 1 y = 1 }
						marine = { x = 1 y = 2 }
						marine = { x = 2 y = 0 }
						marine = { x = 2 y = 1 }
						marine = { x = 2 y = 2 }
					}
					support = {
						signal_company = { x = 0 y = 1 }
						engineer = { x = 0 y = 2 }
						artillery = { x = 0 y = 3 }
						transport_helicopter_company = { x = 0 y = 4 }
					}
				}
				1375 = {
					create_unit = {
						division = "division_template = \"(spz.) Fallschirmjägerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 540
						owner = GER
					}
				}
				123 = {
					create_unit = {
						division = "division_template = \"(spz.) Marineabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 11406
						owner = GER
						count = 2
					}
					create_unit = {
						division = "division_template = \"(spz.) Panzergrenadierabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 11406
						owner = GER
						count = 1
					}
					create_unit = {
						division = "division_template = \"(spz.) Panzerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 9562
						owner = GER
						#count =
					}
				}
				777 = {
					create_unit = {
						division = "division_template = \"(spz.) Marineabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 6489
						owner = GER
						#count =
					}
				}
				338 = {
					create_unit = {
						division = "division_template = \"(spz.) Fallschirmjägerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 6351
						owner = GER
						count = 2
					}
				}
				127 = {
					create_unit = {
						division = "division_template = \"(spz.) Fallschirmjägerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 16330
						owner = GER
						count = 2
					}
					create_unit = {
						division = "division_template = \"(spz.) Panzergrenadierabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 16330
						owner = GER
						count = 2
					}
				}
				2015 = {
					create_unit = {
						division = "division_template = \"(spz.) Fallschirmjägerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 13070
						owner = GER
						count = 1
					}
					create_unit = {
						division = "division_template = \"(spz.) Panzerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 13070
						owner = GER
						count = 1
					}
				}
				2014 = {
					create_unit = {
						division = "division_template = \"(spz.) Marineabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 16366
						owner = GER
						count = 1
					}
				}
				2012 = {
					create_unit = {
						division = "division_template = \"(spz.) Fallschirmjägerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 296
						owner = GER
						count = 1
					}
					create_unit = {
						division = "division_template = \"(spz.) Panzergrenadierabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 296
						owner = GER
						count = 1
					}
				}
				1999 = {
					create_unit = {
						division = "division_template = \"(spz.) Fallschirmjägerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 253
						owner = GER
						count = 2
					}
				}
				2006 = {
					create_unit = {
						division = "division_template = \"(spz.) Marineabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 16396
						owner = GER
						count = 1
					}
					create_unit = {
						division = "division_template = \"(spz.) Fallschirmjägerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 16396
						owner = GER
						count = 1
					}
				}
				136 = {
					create_unit = {
						division = "division_template = \"(spz.) Fallschirmjägerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 11055
						owner = GER
						count = 1
					}
				}
				120 = {
					create_unit = {
						division = "division_template = \"(spz.) Panzergrenadierabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 131
						owner = GER
						count = 1
					}
				}
				123 = {
					create_unit = {
						division = "division_template = \"(spz.) Panzergrenadierabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 16236
						owner = GER
						count = 2
					}
				}
				1296 = {
					create_unit = {
						division = "division_template = \"(spz.) Marineabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 16324
						owner = GER
						#count =
					}
				}
				127 = {
					create_unit = {
						division = "division_template = \"(spz.) Panzergrenadierabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 507
						owner = GER
						#count =
					}
					create_unit = {
						division = "division_template = \"(spz.) Panzerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 16330
						owner = GER
						count = 2
					}
				}
				2015 = {
					create_unit = {
						division = "division_template = \"(spz.) Panzergrenadierabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 3501
						owner = GER
						count = 1
					}
				}
				2013 = {
					create_unit = {
						division = "division_template = \"(spz.) Marineabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 271
						owner = GER
						count = 1
					}
					create_unit = {
						division = "division_template = \"(spz.) Panzergrenadierabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 271
						owner = GER
						count = 2
					}
				}
				125 = {
					create_unit = {
						division = "division_template = \"(spz.) Panzerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 322
						owner = GER
						count = 2
					}
				}
				2012 = {
					create_unit = {
						division = "division_template = \"(spz.) Panzergrenadierabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 296
						owner = GER
						count = 1
					}
					create_unit = {
						division = "division_template = \"(spz.) Panzerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 296
						owner = GER
						count = 1
					}
				}
				1999 = {
					create_unit = {
						division = "division_template = \"(spz.) Fallschirmjägerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 253
						owner = GER
						count = 2
					}
				}
				2006 = {
					create_unit = {
						division = "division_template = \"(spz.) Panzerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 16348
						owner = GER
						count = 2
					}
					create_unit = {
						division = "division_template = \"(spz.) Panzergrenadierabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 16371
						owner = GER
						count = 2
					}
				}
				120 = {
					create_unit = {
						division = "division_template = \"(spz.) Panzergrenadierabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 3159
						owner = GER
						count = 1
					}
					create_unit = {
						division = "division_template = \"(spz.) Panzerabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						allow_spawning_on_enemy_provs = yes
						prioritize_location = 3159
						owner = GER
						count = 1
					}
				}
			}
		}
		if = {
		    limit = {
		        BLZ = {
			        is_subject_of = ENG 
				}	
			}
			BLZ = {
				save_party_popularities = yes
				get_current_government_type = yes
				CAN = {
					set_autonomy = {
						target = BLZ
						autonomous_state = autonomy_colony
					}
				}
				restore_previous_government_type = yes
				apply_party_popularities = yes
			}
		}
		ENG = {
			if = {
				limit = {
					is_in_faction = yes
				}
				GGR_add_on_our_own = yes
			}
		}	
		declare_war_on = {
			target = ENG
			type = annex_everything
		}
		ENG = {
			ENG_Kick_from_faction_balance = yes
			country_event = { id = ENG_sealion.1 }
		}
	}
}

#Focus for The 2nd Surrender
shared_focus = {
	id = GGR_the2ndsurrender
	icon = GFX_focus_UPO_david_and_goliath
	relative_position_id = GGR_letthebombsfall
	x = 0
	y = 2
	cost = 2
	available_if_capitulated = yes
	available = {
		NOT = {
			country_exists = ENG
		}
	}
	prerequisite = {
		focus = GGR_razethecities
	}
	prerequisite = {
		focus = GGR_movelikelightning
	}
	ai_will_do = {
		factor = 1
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
	}
	completion_reward = {
		remove_dynamic_modifier = { modifier = GGR_operation_sealion2_ENG }
		add_stability = 0.05
		add_war_support = 0.05
		country_event = {
			id = goering.sealion.collabs.6
		}
	}
}

#Focus for Deploy Them To The Border
shared_focus = {
	id = GGR_deploythemtotheborder
	icon = GFX_focus_generic_fortify_the_border
	available = {
		GGR_not_invaded_england = yes
		country_exists = CRN
	}
	relative_position_id = GGR_thebatteredgarrison
	x = 0
	y = 2
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_thebatteredgarrison }
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	completion_reward = {
		custom_effect_tooltip = GGR_entrenchement_speed_increase_15_percent
		set_variable = { GGR_temporary_entrenchment_speed = 0.15 }
	}
}

#Focus for Move Like Lightning
shared_focus = {
	id = GGR_movelikelightning
	icon = GFX_focus_GER_lightning_strike
	bypass = {
		NOT = {
			country_exists = ENG
		}
	}
	relative_position_id = GGR_letthebombsfall
	x = 1
	y = 1
	cost = 1
	available_if_capitulated = yes
	prerequisite = { focus = GGR_letthebombsfall }
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	completion_reward = {
		add_timed_idea = {
			idea = GGR_movinglikelightning
			days = 30
		}
	}
}

#Focus for Strangle The Partisans
shared_focus = {
	id = GGR_stranglethepartisans
	icon = GFX_focus_generic_stamp_down_on_partisans
	relative_position_id = GGR_the2ndsurrender
	x = 4
	y = 1
	cost = 1
	available_if_capitulated = yes
	prerequisite = { focus = GGR_the2ndsurrender }
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	completion_reward = {
		country_event = {
			id = goering.sealion.collabs.5
			days = 1
		}
	}
}

#Focus for Orchestrated Riots
shared_focus = {
	id = GGR_orchestratedriots
	icon = GFX_focus_generic_unite_the_people
	available = {
		GGR_not_invaded_england = yes
	}
	relative_position_id = GGR_outofgovernment
	x = 1
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_outofgovernment }
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	completion_reward = {
		ENG = {
			country_event = {
				id = goering.sealion.collabs.4
				days = 1
			}
			add_political_power = -75
			add_stability = -0.05
			add_war_support = -0.05
		}
	}
}

#Focus for Raid The Vaults
shared_focus = {
	id = GGR_raidthevaults
	icon = GFX_focus_generic_weaken_the_banks
	relative_position_id = GGR_the2ndsurrender
	x = -4
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_the2ndsurrender }
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	completion_reward = {
		set_temp_variable = { money_reserves_temp = 2 }
		econ_money_reserves_change_raw_money = yes
	}
}

#Focus for Raze The Cities
shared_focus = {
	id = GGR_razethecities
	icon = GFX_focus_generic_total_destruction
	bypass = {
		NOT = {
			country_exists = ENG
		}
	}
	relative_position_id = GGR_letthebombsfall
	x = -1
	y = 1
	cost = 2
	available_if_capitulated = yes
	prerequisite = { focus = GGR_letthebombsfall }
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	completion_reward = {
		add_timed_idea = {
			idea = GGR_razeingthecities
			days = 30
		}
	}
}


shared_focus = {
	id = GGR_case_cerdic
	icon = GFX_focus_Generic_Celtic_Brotherhood
	cost = 0.2
	prerequisite = {
		focus = GGR_the2ndsurrender
		focus = GGR_thesecondsurrender
	}
	allow_branch = {
		has_country_flag = GER_war_plan_A
		GGR_england_conquered = yes
		OR = {
			has_completed_focus = GGR_letthebombsfall
			has_completed_focus = GGR_bombsoverbigben
		}
		NOT = {
		    is_in_faction_with = IRE 
		}	
	}
	available = {
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_case_cerdic"
		if = {
			limit = {
				NOT = {
					IRE = {
						OR = {
							exists = no
							is_in_faction_with = GER
						}
					}
				}
			}
			set_country_flag = GGR_operation_locked
		}
		GGR_clear_temporary_variables = yes
	}
	relative_position_id = GGR_thesecondsurrender
	ai_will_do = {
		factor = 3
	}
	x = 0
	y = 3
	offset = {
		x = 2
		y = -1
		trigger = {
			OR = {
				country_exists = ENG
				country_exists = BRI
			}
		}
	}
	offset = {
		x = -2
		y = 1
		trigger = {
			has_global_flag = FEN_GF_WonECW
		}
	}
	offset = {
		x = 0
		y = -1
		trigger = {
			has_global_flag = ENG_GF_WonECW
		}
	}
	offset = {
		x = -1
		y = 0
		trigger = {
			has_completed_focus = GGR_letthebombsfall
		}
	}
}

shared_focus = {
	id = GGR_infiltrate_scotland
	icon = GFX_focus_SCO_a_look_inside_scotland
	cost = 2
	prerequisite = {
		focus = GGR_case_cerdic
	}
	bypass = {
		NOT = { country_exists = SCO }
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_infiltrate_scotland"
		custom_effect_tooltip = GGR_infiltrate_scotland_tooltip
		hidden_effect = {
			if = {
				limit = { SCO = { check_variable = { SCOparanoia < 4 } } }
				country_event = { id = goering.sealion.2 }
			}
			else_if = {
				limit = { SCO = { check_variable = { SCOparanoia < 7 } } }
				country_event = { id = goering.sealion.3 }
			}
			else = {
				country_event = { id = goering.sealion.4 }
			}
		}
	}
	relative_position_id = GGR_case_cerdic
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = -2
	y = 1
}

shared_focus = {
	id = GGR_incite_irish_tensions
	icon = GFX_focus_WAL_support_our_irish_friends
	cost = 2
	prerequisite = {
		focus = GGR_case_cerdic
	}
	bypass = {
		OR = {
			NOT = { country_exists = IRE }
			is_in_faction_with = IRE
		}
		OR = {
			NOT = { country_exists = ULS }
			is_in_faction_with = ULS
		}
	}
	dynamic = yes
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_incite_irish_tensions"
		add_equipment_to_stockpile = {
			type = infantry_equipment
			amount = -5000
		}
		if = {
			limit = { is_in_faction_with = IRE }
			send_equipment = {
				type = infantry_equipment
				amount = 5000
				target = IRE
			}
			IRE = {
				add_war_support = 0.1
				add_manpower = 2500
			}
		}
		else = {
			if = {
				limit = { country_exists = ULS }
				ULS = {
					add_stability = -0.07
					add_manpower = -5600
				}
			}
			IRE = {
				add_stability = -0.07
				add_manpower = -5600
			}
		}
	}
	relative_position_id = GGR_case_cerdic
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = 0
	y = 1
}

shared_focus = {
	id = GGR_cut_off_the_dragons_tail
	icon = GFX_focus_generic_fix_bayonets
	cost = 2
	prerequisite = {
		focus = GGR_case_cerdic
	}
	bypass = {
		NOT = { country_exists = WAL }
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_cut_off_the_dragons_tail"
		GGR_plan_A_max_planning = yes
		WAL = {
			add_war_support = -0.05
		}
	}
	relative_position_id = GGR_case_cerdic
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = 2
	y = 1
}

shared_focus = {
	id = GGR_conquer_the_isles
	icon = GFX_focus_SCO_Bleeding_Britain
	cost = 2
	prerequisite = {
		focus = GGR_cut_off_the_dragons_tail
		focus = GGR_infiltrate_scotland
		focus = GGR_incite_irish_tensions
	}
	bypass = {
	    NOT = {
		    country_exists = IRE 
			country_exists = WAL 
			country_exists = ULS 
			country_exists = SCO
		} 
		has_war_with = IRE
	}	 
	will_lead_to_war_with = SCO
	will_lead_to_war_with = WAL
	will_lead_to_war_with = IRE
	will_lead_to_war_with = ULS
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_conquer_the_isles"
		if = {
			limit = {
				NOT = {
					is_in_faction_with = WAL
				}
				WAL = {
				    exists = yes 
				}
			}
			declare_war_on = {
				target = WAL
				type = annex_everything
			}
		}
		if = {
			limit = {
				SCO = {
				    exists = yes 
				}
			}
			declare_war_on = {
				target = SCO
				type = annex_everything
			}
		}
		if = {
			limit = {
				NOT = {
					is_in_faction_with = ULS
				}
				ULS = {
				    exists = yes 
				}
			}
			declare_war_on = {
				target = ULS
				type = annex_everything
			}
		}
		else_if = {
			limit = {
				is_in_faction_with = ULS
				ULS = {
				    exists = yes 
				}
			}
			ULS = {
			    remove_ideas = Pakt_Bundnispartner
				econ_leave_sphere = yes
			}
			declare_war_on = {
				target = ULS
				type = annex_everything
			}
		}
		else_if = {
			limit = {
				ULS = {
				    exists = yes 
					has_idea = Pakt_Observer
				}
			}
			ULS = {
			    remove_ideas = Pakt_Observer
				econ_leave_sphere = yes
			}	
			declare_war_on = {
				target = ULS
				type = annex_everything
			}	
		}
		if = {
			limit = {
				NOT = {
					is_in_faction_with = IRE
				}
				IRE = {
				    exists = yes 
				}
			}
			declare_war_on = {
				target = IRE
				type = annex_everything
			}
		}
		else_if = {
			limit = {
				is_in_faction_with = IRE
				IRE = {
				    exists = yes 
				}
			}
			IRE = {
			    remove_ideas = Pakt_Bundnispartner
				econ_leave_sphere = yes
			}	
			declare_war_on = {
				target = IRE
				type = annex_everything
			}	
		}
		else_if = {
			limit = {
				IRE = {
				    exists = yes 
					has_idea = Pakt_Observer
				}
			}
			IRE = {
			    remove_ideas = Pakt_Observer
				econ_leave_sphere = yes
			}	
			declare_war_on = {
				target = IRE
				type = annex_everything
			}	
		}
	}
	relative_position_id = GGR_case_cerdic
	ai_will_do = {
		factor = 1
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 30 }
		}
		modifier = {
			factor = 2
			check_variable = { GER_Militarist_Hawkishness > 75 }
		}
		modifier = {
			factor = 0.5
			has_war = yes
		}
		modifier = {
			factor = 0.1
			has_idea = GGR_last_legs
		}
	}
	x = 0
	y = 2
}

shared_focus = {
	id = GGR_the_new_union
	icon = GFX_focus_GER_swastika_in_front_of_sun
	cost = 2
	prerequisite = {
		focus = GGR_conquer_the_isles
	}
	available = {
		GGR_conquered_the_isles = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_the_new_union"
		BRI = {
			add_stability = 0.05
		}
	}
	relative_position_id = GGR_case_cerdic
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1967.01.01
		}
	}
	x = 0
	y = 3
}

##############################################################################

# WAR PLAN B

##############################################################################


shared_focus = {
	id = GGR_plan_B
	icon = GFX_focus_GER_war_plan_B
	cost = 0.1
	x = 5
	y = 13
	allow_branch = {
		has_country_flag = GER_war_plan_B
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_plan_B"
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
    id = GGR_fall_vorbeck
    icon = GFX_focus_fall_vorbeck
    cost = 0.2
	prerequisite = {
		focus = GGR_plan_B
	}
    available = {
		player_one_operation_check = yes
		OR = {
			GGR_iberia_conquered = yes
			custom_trigger_tooltip = {
				tooltip = GGR_returned_the_congo
				OR = {
					RCA = {
						exists = yes
						is_in_faction_with = GER
					}
				}
			}
			custom_trigger_tooltip = {
				tooltip = GGR_returned_madagascar
				MAD = {
					is_in_faction_with = GER
				}
			}
			custom_trigger_tooltip = {
				tooltip = GGR_allied_boers
				BOR = {
					is_in_faction_with = GER
					owns_state = 934
				}
			}
		}
    }
    completion_reward = {
        GER = {
            set_country_flag = GGR_operation_locked
        }
		set_temp_variable = { Victory_ID = 105 }
		set_temp_variable = { Victory_Outcome = 0 }
		set_temp_variable = { Victory_Points = 0 }
		Cold_War_GUI_AddVictory = yes
		hidden_effect = {
			TSM = {
				GWA_Robert_Gysae = {
					set_nationality = CRI
				}
				CRI = {
					set_cosmetic_tag = GWA
					set_variable = {
						THIS.var_state = 778
					}
					set_popularities = { national_socialism = 100 }
					set_politics = { ruling_party = national_socialism }
					promote_character = {
						character = GWA_Robert_Gysae
						ideology = national_socialism_stratocratic_nazism_subtype
					}
					set_party_name = {
						ideology = national_socialism
						long_name = GWA_national_socialism_party_long
						name = GWA_national_socialism_party
					}
					for_loop_effect = {
						start = 1
						end = 4
						value = party_num
						meta_effect = {
							text = {
								set_party_name = {
									ideology = national_socialism
									long_name = GWA_national_socialism_party_long
									name = GWA_national_socialism_party
								}
							}
							NUMBER = [?party_num]
						}
					}
				}
			}
			add_dynamic_modifier = {
				modifier = GGR_fall_vorbeck
			}
		}
    }

    relative_position_id = GGR_plan_B
    x = -26
    y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
    id = GGR_blitz_though_the_deserts
	icon = GFX_focus_GRO_master_the_desert
	cost = 1
    prerequisite = {
        focus = GGR_fall_vorbeck
    }
	completion_reward = {
		set_temp_variable = { X = 0.06 }
		custom_effect_tooltip = GGR_heat_attrition_decrease_X_percent
		set_variable = { GGR_temporary_heat_attrition_factor = -0.06 }
		set_temp_variable = { X = 0.1 }
		custom_effect_tooltip = GGR_army_speed_increase_X_percent
		set_variable = { GGR_temporary_speed = 0.1 }
	}
    relative_position_id = GGR_fall_vorbeck
    x = -1
    y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
    id = GGR_raze_through_the_jungles
	icon = GFX_focus_GRO_master_the_jungle
	cost = 1
    
    prerequisite = {
        focus = GGR_fall_vorbeck
    }
	completion_reward = {
		set_temp_variable = { X = 0.1 }
		custom_effect_tooltip = GGR_army_org_factor_increase_X_percent
		set_variable = { GGR_temporary_army_organisation = 0.1 }
	}
    relative_position_id = GGR_fall_vorbeck
    x = 1
    y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
    id = GGR_so_many_directions_to_strike
    icon = GFX_focus_GER_well_we_tried
	cost = 0.35

    prerequisite = {
        focus = GGR_blitz_though_the_deserts
        focus = GGR_raze_through_the_jungles
    }

    completion_reward = {
		GGR_plan_A_max_planning = yes
    }

    relative_position_id = GGR_fall_vorbeck
    x = 0
    y = 2
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
    id = GGR_east_falls_first
    icon = GFX_focus_GGR_invade_ostafrika
	cost = 1

    prerequisite = {
        focus = GGR_so_many_directions_to_strike
    }

	available = {		
		custom_trigger_tooltip = {
			tooltip = GGR_we_can_attack_from_here
			USC = {
				if = {
					limit = {
						exists = yes
					}
					is_subject = no
				}
			}
			NOT = {
				MZB = {
					is_subject_of = USA
				}
			}
			OR = {
				any_country = {
					is_southwest_african_nation = yes
					any_neighbor_country = {
						is_in_faction_with = GER
					}
				}
				is_in_faction_with = MAD
			}
		}
	}

	mutually_exclusive = {
		focus = GGR_west_falls_first
		focus = GGR_center_falls_first
		focus = GGR_southwest_falls_first
	}

    completion_reward = {
		custom_effect_tooltip = GGR_east_falls_first_tooltip

    }

    relative_position_id = GGR_so_many_directions_to_strike
    x = 3
    y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
    id = GGR_west_falls_first
    icon = GFX_focus_GGR_invade_westafrika
	cost = 1

    prerequisite = {
        focus = GGR_so_many_directions_to_strike
    }

	available = {
		custom_trigger_tooltip = {
			tooltip = GGR_we_can_attack_from_here
			any_country = {
				is_west_african_nation = yes
				any_neighbor_country = {
					is_in_faction_with = GER
				}
			}
		}
	}

	mutually_exclusive = {
		focus = GGR_east_falls_first
		focus = GGR_center_falls_first
		focus = GGR_southwest_falls_first
	}

    completion_reward = {
		custom_effect_tooltip = GGR_west_falls_first_tooltip
    }

    relative_position_id = GGR_so_many_directions_to_strike
    x = -3
    y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
    id = GGR_center_falls_first
    icon = GFX_focus_GGR_invade_zentralafrika
	cost = 1

    available = {
		custom_trigger_tooltip = {
			tooltip = GGR_we_can_attack_from_here
			USC = {
				if = {
					limit = {
						exists = yes
					}
					is_subject = no
				}
			}
			NOT = {
				COG = {
					is_subject_of = USA
				}
			}
			any_country = {
				is_central_african_nation = yes
				any_neighbor_country = {
					is_in_faction_with = GER
				}
			}
		}
    }

    prerequisite = {
        focus = GGR_so_many_directions_to_strike
    }

	mutually_exclusive = {
		focus = GGR_west_falls_first
		focus = GGR_east_falls_first
		focus = GGR_southwest_falls_first
	}

    completion_reward = {
		custom_effect_tooltip = GGR_central_falls_first_tooltip
    }

    relative_position_id = GGR_so_many_directions_to_strike
    x = -1
    y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
    id = GGR_southwest_falls_first
    icon = GFX_focus_GGR_invade_sudwestafrika
	cost = 1

    prerequisite = {
        focus = GGR_so_many_directions_to_strike
    }

	available = {
		custom_trigger_tooltip = {
			tooltip = GGR_we_can_attack_from_here
			USC = {
				if = {
					limit = {
						exists = yes
					}
					is_subject = no
				}
			}
			NOT = {
				ANG = {
					is_subject_of = USA
				}
			}
			any_country = {
				is_southwest_african_nation = yes
				any_neighbor_country = {
					is_in_faction_with = GER
				}
			}
		}
	}

	mutually_exclusive = {
		focus = GGR_west_falls_first
		focus = GGR_center_falls_first
		focus = GGR_east_falls_first
	}

    completion_reward = {
		custom_effect_tooltip = GGR_southwest_falls_first_tooltip
    }

    relative_position_id = GGR_so_many_directions_to_strike
    x = 1
    y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}


shared_focus = {
    id = GGR_strike_from_madagascar
    icon = GFX_focus_GGR_strike_from_madagascar
	cost = 2

    available = {
		GGR_not_invaded_africa = yes
        MAD = { is_subject_of = GER }
    }

    prerequisite = {
        focus = GGR_east_falls_first
    }

    completion_reward = {
		MAD = {
			add_war_support = 0.1
		}
		set_temp_variable = { X = 0.5 }
		custom_effect_tooltip = GGR_invasion_preparation_time_decrease_X_percent
		set_variable = { GGR_temporary_invasion_preparation = -0.5 }
    }

    relative_position_id = GGR_east_falls_first
    x = 0
    y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
    id = GGR_strike_from_the_center
    icon = GFX_focus_GGR_strike_from_the_center
	cost = 2

    available = {
		GGR_not_invaded_africa = yes
		custom_trigger_tooltip = {
			tooltip = GGR_we_can_attack_from_congo
			country_exists = RCA
			is_in_faction_with = RCA
			if = {
				limit = {
					has_completed_focus = GGR_west_falls_first
				}
				RCA = {
					any_neighbor_country = {
						is_west_african_nation = yes
					}
				}
			}
			else_if = {
				limit = {
					has_completed_focus = GGR_southwest_falls_first
				}
				RCA = {
					any_neighbor_country = {
						is_southwest_african_nation = yes
					}
				}
			}
			else_if = {
				limit = {
					has_completed_focus = GGR_east_falls_first
				}
				RCA = {
					any_neighbor_country = {
						is_east_african_nation = yes
					}
				}
			}
		}
    }

    prerequisite = {
        focus = GGR_west_falls_first
        focus = GGR_southwest_falls_first
        focus = GGR_east_falls_first
        focus = GGR_center_falls_first
    }

    completion_reward = {
		RCA = {
			add_war_support = 0.1
		}
		set_temp_variable = { X = 0.10 }
		custom_effect_tooltip = GGR_attrition_decrease_X_percent
		set_variable = { GGR_temporary_attrition = -0.10 }
    }

    relative_position_id = GGR_center_falls_first
    x = 0
    y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
    id = GGR_strike_from_the_south
    icon = GFX_focus_GGR_strike_from_the_south
	cost = 2

    available = {
		GGR_not_invaded_africa = yes
		custom_trigger_tooltip = {
			tooltip = GGR_allied_boers
			BOR = {
				is_in_faction_with = GER
				owns_state = 934
			}
		}
    }

    prerequisite = {
        focus = GGR_southwest_falls_first
        focus = GGR_east_falls_first
    }

    completion_reward = {
		BOR = {
			add_war_support = 0.1
		}
		set_temp_variable = { X = 0.07 }
		custom_effect_tooltip = GGR_breakthrough_increase_X_percent
		set_variable = { GGR_temporary_repair_speed = 0.07 } # I shouldn't be doing that but I'm lazy to add new shit
    }

    relative_position_id = GGR_southwest_falls_first
    x = 0
    y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
    id = GGR_strike_from_morocco
    icon = GFX_focus_GGR_strike_from_morocco
	cost = 2

    available = {
		GGR_not_invaded_africa = yes
        GGR_iberia_conquered = yes
    }

    prerequisite = {
        focus = GGR_west_falls_first
    }

    completion_reward = {
		WAF = {
			add_war_support = 0.1
		}
		set_temp_variable = { X = 0.2 }
		custom_effect_tooltip = GGR_strategic_bombing_increase_X_percent
		set_temp_variable = { GGR_temporary_experience_gain_army_factor = 0.2 }
    }

    relative_position_id = GGR_west_falls_first
    x = 0
    y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
    id = GGR_strike_from_wherever_else_we_can
    icon = GFX_focus_GER_pakt_wargames
	cost = 2

    prerequisite = {
        focus = GGR_strike_from_madagascar
        focus = GGR_strike_from_the_center
        focus = GGR_strike_from_morocco
        focus = GGR_strike_from_the_south
    }

	completion_reward = {
		set_temp_variable = { X = 0.1 }
		custom_effect_tooltip = GGR_soft_attack_increase_X_percent
		custom_effect_tooltip = GGR_armor_attack_factor_increase_X_percent
		set_variable = { GGR_temporary_soft_attack = X }
		set_variable = { GGR_temporary_army_armor_attack_factor = X }
	}

    relative_position_id = GGR_so_many_directions_to_strike
    x = 0
    y = 3
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
    id = GGR_full_speed_ahead
    icon = GFX_focus_generic_tank_warfare
	cost = 1

    prerequisite = {
        focus = GGR_strike_from_wherever_else_we_can
    }

	completion_reward = {
		if = {
			limit = {
				has_completed_focus = GGR_west_falls_first
			}
			clear_array = global.WAC_contender
			every_country = {
		        limit = { 
				    is_west_african_nation = yes 
					exists = yes
				}
				if = {
					limit = {
						is_in_faction = yes
					}
					if = {
						limit = {
							is_in_faction_with = USA
						}
						GGR_add_on_our_own = yes
					}
					else = {
						leave_faction = yes
					}
				}
				every_subject_country = {
					PREV = { end_puppet = PREV }
				}
				declare_war_with_rks = yes
			}
			hidden_effect = {
				random_list = {
					2 = {}
					1 = {
						modifier = {
							factor = -100
							NOT = { has_global_flag = west_african_war_ongoing }
						}
						country_event = {
							id = goering.vorbeck.2
							days = 7
						}
					}
				}
				USA = {
					TNO_fopo_remove_wafr_reconstruction_tab = yes
					TNO_fopo_remove_wac_tab = yes
				}
				JAP = {
					TNO_fopo_remove_wafr_reconstruction_tab = yes
					TNO_fopo_remove_wac_tab = yes
				}
			}
		}
		else_if = {
			limit = {
				has_completed_focus = GGR_center_falls_first
			}
			if = {
				limit = {
					country_exists = GRO
					GRO = {
						has_country_leader = {
							character = GRO_Otto_Forschner
							ruling_only = yes
						}
					}
				}
				country_event = goering.vorbeck.1
			}
			every_country = {
				limit = {
					is_central_african_nation = yes
				}
				GGR_add_on_our_own = yes
				declare_war_with_rks = yes
			}
		}
		else_if = {
			limit = {
				has_completed_focus = GGR_southwest_falls_first
			}
			every_country = {
				limit = {
					is_southwest_african_nation = yes
				}
				GGR_add_on_our_own = yes
				declare_war_with_rks = yes
			}
		}
		else_if = {
			limit = {
				has_completed_focus = GGR_east_falls_first
			}
			every_country = {
				limit = {
					is_east_african_nation = yes
				}
				if = {
					limit = {
						is_ai = yes
					}
					every_country = {
						limit = {
							is_east_african_nation = yes
							is_in_faction = yes
						}
						set_variable = { THIS.on_our_own_timer = 60 }
					}
				}
				GGR_add_on_our_own = yes
				declare_war_with_rks = yes
				hidden_effect = {
					if = {
						limit = {
							MAD = { is_in_faction_with = GER }
						}
						MAD = {
							add_to_war = {
								targeted_alliance = GER
								enemy = PREV
							}
						}
					}
					if = {
						limit = {
							is_ai = yes
						}
						ROA = {
							annex_country = {
								target = CMR
								transfer_troops = no
							}
							GGR_set_up_RK_ROOT = yes
						}
					}
				}
			}
		}
	}

    relative_position_id = GGR_strike_from_wherever_else_we_can
    x = 0
    y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
    id = GGR_anti_partisan_tactics
    icon = GFX_focus_generic_burning_house_village
	cost = 1

    prerequisite = {
        focus = GGR_full_speed_ahead
    }

	completion_reward = {
		custom_effect_tooltip = GGR_resistance_target_decrease_50_percent
		set_variable = { GGR_temporary_resistance_target = -0.5 }
	}

    relative_position_id = GGR_full_speed_ahead
    x = -1
    y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}


shared_focus = {
    id = GGR_establish_supply_lines
    icon = GFX_focus_generic_scavenge_for_vehicles
	cost = 1

    prerequisite = {
        focus = GGR_full_speed_ahead
    }

	completion_reward = {
		set_temp_variable = { X = 0.2 }
		custom_effect_tooltip = GGR_truck_attrition_decrease_X_percent
		set_variable = { GGR_temporary_acclimatization_cold_climate_gain_factor = -0.2 }
	}

    relative_position_id = GGR_full_speed_ahead
    x = 1
    y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
    id = GGR_fortify_our_holdings
    icon = GFX_focus_GGR_the_military_fortress
	cost = 2

	available = {
		custom_trigger_tooltip = {
			tooltip = GGR_part_of_africa_conquered_tooltip
			OR = {
				has_global_flag = GGR_west_africa_conquered
				has_global_flag = GGR_southwest_africa_conquered
				has_global_flag = GGR_central_africa_conquered
				has_global_flag = GGR_east_africa_conquered
			}
		}
	}

    prerequisite = {
        focus = GGR_full_speed_ahead
    }

	completion_reward = {
		set_temp_variable = { X = 0.15 }
		custom_effect_tooltip = GGR_out_of_supply_factor_decrease_X_percent
		set_variable = { GGR_temporary_harbour_construction_speed = -0.15 }

		
		if = {
			limit = {
				has_completed_focus = GGR_west_falls_first
			}
			if = {
				limit = {
					WAF = {
						any_neighbor_country = {
							is_central_african_nation = yes
						}
					}
				}
				WAF = {
					every_owned_state = {
						limit = {
							any_neighbor_state = {
								owner = { is_central_african_nation = yes }
							}
						}
						every_country = {
							limit = {
								is_central_african_nation = yes
								exists = yes
								is_neighbor_of = WAF
							}
							PREV = {
								add_building_construction = {
									type = bunker
									level = 2
									instant_build = yes
									province = {
										all_provinces = yes
										limit_to_border = yes
										limit_to_border_country = PREV
									}
								}
							}
						}
					}
				}
				RCA = {
					every_owned_state = {
						limit = {
							any_neighbor_state = {
								owner = { is_african_nation = yes }
							}
						}
						every_country = {
							limit = {
								is_african_nation = yes
								exists = yes
								is_neighbor_of = RCA
							}
							PREV = {
								add_building_construction = {
									type = bunker
									level = 2
									instant_build = yes
									province = {
										all_provinces = yes
										limit_to_border = yes
										limit_to_border_country = PREV
									}
								}
							}
						}
					}
				}
			}
		}
		else_if = {
			limit = {
				has_completed_focus = GGR_center_falls_first
			}
			RCA = {
				every_owned_state = {
					limit = {
						any_neighbor_state = {
							owner = { is_african_nation = yes }
						}
					}
					every_country = {
						limit = {
							is_african_nation = yes
							exists = yes
							is_neighbor_of = RCA
						}
						PREV = {
							add_building_construction = {
								type = bunker
								level = 2
								instant_build = yes
								province = {
									all_provinces = yes
									limit_to_border = yes
									limit_to_border_country = PREV
								}
							}
						}
					}
				}
			}
		}
		else_if = {
			limit = {
				has_completed_focus = GGR_southwest_falls_first
			}
			GWA = {
				every_owned_state = {
					limit = {
						any_neighbor_state = {
							owner = { is_african_nation = yes }
						}
					}
					every_country = {
						limit = {
							is_african_nation = yes
							exists = yes
							is_neighbor_of = GWA
						}
						PREV = {
							add_building_construction = {
								type = bunker
								level = 2
								instant_build = yes
								province = {
									all_provinces = yes
									limit_to_border = yes
									limit_to_border_country = PREV
								}
							}
						}
					}
				}
			}
		}
		else_if = {
			limit = {
				has_completed_focus = GGR_east_falls_first
			}
			ROA = {
				every_owned_state = {
					limit = {
						any_neighbor_state = {
							owner = { is_african_nation = yes }
						}
					}
					every_country = {
						limit = {
							is_african_nation = yes
							exists = yes
							is_neighbor_of = ROA
						}
						PREV = {
							add_building_construction = {
								type = bunker
								level = 2
								instant_build = yes
								province = {
									all_provinces = yes
									limit_to_border = yes
									limit_to_border_country = PREV
								}
							}
						}
					}
				}
			}
		}
	}

    relative_position_id = GGR_full_speed_ahead
    x = 0
    y = 2
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
    id = GGR_and_get_the_rest
    icon = GFX_focus_generic_bad_expansionism
	cost = 1

    prerequisite = {
        focus = GGR_fortify_our_holdings
    }

    completion_reward = {
        unlock_decision_tooltip = invade_west_africa
        unlock_decision_tooltip = invade_southeast_africa
        unlock_decision_tooltip = invade_central_africa
        unlock_decision_tooltip = invade_southwest_africa
        unlock_decision_tooltip = invade_south_africa
        unlock_decision_tooltip = invade_madagascar
    }
    relative_position_id = GGR_fortify_our_holdings
    x = 0
    y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_fall_blau
	icon = GFX_focus_GER_goal_Fall_Blau
	cost = 0.2
	prerequisite = {
		focus = GGR_plan_B
	}
	allow_branch = {
		has_country_flag = GER_war_plan_B
		OR = {
			AND = {
				OR = {
					AND = {
					1013 = { is_core_of = SPA }
						1674 = { is_core_of = POR }
						1013 = { NOT = { is_core_of = IBR } }
						1674 = { NOT = { is_core_of = IBR } }
					}
					OR = {
						country_exists = SPA
						country_exists = POR
					}
				}
				NOT = {
					has_global_flag = Iberian_Wars
					has_completed_focus = GGR_the_final_straw
				}
			}
			if = {
				limit = {
					OR = {
						has_completed_focus = GGR_finishing_the_job
						has_completed_focus = GGR_making_an_entrance
					}
				}
				has_country_flag = GGR_conquered_iberia
			}
			else = {
				always = no
			}
		}
	}
	available = {
		if = {
			limit = {
				NOT = {
					OR = {
						has_completed_focus = GGR_fall_blau3
						has_completed_focus = GGR_fall_blau2
					}
				}
			}
			player_one_operation_check = yes
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_fall_blau"
		set_country_flag = GGR_operation_locked
		GGR_clear_temporary_variables = yes
		set_variable = { GGR_iberia_loot = 6 }
		set_temp_variable = { Victory_ID = 103 }
		set_temp_variable = { Victory_Outcome = 0 }
		set_temp_variable = { Victory_Points = 0 }
		Cold_War_GUI_AddVictory = yes
		hidden_effect = {
			add_dynamic_modifier = { modifier = GGR_fall_blau }
			remove_dynamic_modifier = { modifier = GGR_fall_blau3 }
		}
	}
	relative_position_id = GGR_plan_B
	x = -13
	y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_operation_antonio
	icon = GFX_focus_GER_goal_Operation_Antonio
	cost = 2
	prerequisite = {
		focus = GGR_fall_blau
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_operation_antonio"
		if = {
			limit = {
				country_exists = SPA
			}
			if = {
				limit = {
					OR = {
						is_in_faction_with = FRA
						is_in_faction_with = GLC
					}
				}
				19 = {
					add_building_construction = {
						type = naval_base
						level = 4
						instant_build = yes
						province = 9737
					}
				}
			}
			else = {
				1994 = {
					add_building_construction = {
						type = naval_base
						level = 4
						instant_build = yes
					}
				}
			}
		}
		else = {
			custom_effect_tooltip = GGR_planning_speed_increase_30_percent
			set_variable = { GGR_temporary_planning_speed = 0.3 }
			GGR_plan_A_max_planning = yes
		}
	}
	relative_position_id = GGR_fall_blau
	x = -3
	y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_keep_the_ofn_at_bay
	icon = GFX_focus_GER_spheres_of_influence
	cost = 2
	prerequisite = {
		focus = GGR_operation_antonio
	}
	available = {
		GGR_not_invaded_portugal = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_keep_the_ofn_at_bay"
		custom_effect_tooltip = GGR_keep_the_ofn_at_bay_tooltip
		navy_experience = 10
		country_event = { id = goering.blau.divorce.1 days = 1 }
	}
	relative_position_id = GGR_fall_blau
	x = -4
	y = 2
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_agitate_anti_spanish_sentiment
	icon = GFX_focus_GER_goal_Anti_Spanish_Sentiment
	cost = 2
	prerequisite = {
		focus = GGR_operation_antonio
	}
	available = {
		GGR_not_invaded_portugal = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_agitate_anti_spanish_sentiment"
		if = {
			limit = {
				country_exists = SPA
			}
			POR = {
				add_war_support = -0.05
			}
			custom_effect_tooltip = GGR_disrupt_iberian_relations
		}
		else = {
			custom_effect_tooltip = GGR_soft_attack_increase_15_percent
			set_variable = { GGR_temporary_soft_attack = 0.15 }
		}
	}
	relative_position_id = GGR_fall_blau
	x = -2
	y = 2
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_making_an_entrance
	icon = GFX_focus_generic_kick_down_the_door
	cost = 2
	prerequisite = {
		focus = GGR_operation_antonio
	}
	available = {
		if = {
			has_war = no
		}
	}
	dynamic = yes
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_making_an_entrance"
		hidden_effect = {
			random_country = { 
				limit = {
					is_neighbor_of = TRZ
					OR = {
						tag = SPA
						tag = POR
					}
				}
				annex_country = {
					target = TRZ
					transfer_troops = no
				}
			}
		}
		POR = { declare_war_with_rks = yes }
		if = {
			limit = {
				NOT = { has_completed_focus = GGR_finishing_the_job }
			}
			set_country_flag = GGR_no_clear_variables
		}
	}
	relative_position_id = GGR_fall_blau
	x = -3
	y = 3
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
		modifier = {
			factor = 0
			country_exists = SPA
		}
	}
}

shared_focus = {
	id = GGR_reorganize_france
	icon = GFX_focus_GER_rebuild_france
	cost = 2
	prerequisite = {
		focus = GGR_fall_blau
	}
	available = {
		FRA = {
			is_not_covered_by_faction = yes
		}
	}
	bypass = {
		is_in_faction_with = FRA
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_reorganize_france"
		custom_effect_tooltip = GER_GOR_reorganize_france_toolip
		set_country_flag = FRA_fat_invansion
	}
	relative_position_id = GGR_fall_blau
	x = 0
	y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_operation_philip
	icon = GFX_focus_GER_goal_Operation_Philip
	cost = 2
	prerequisite = {
		focus = GGR_fall_blau
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_operation_philip"
		add_war_support = 0.05
		custom_effect_tooltip = GGR_org_factor_increase_12_percent
		set_variable = { GGR_temporary_organisation_factor = 0.12 }
	}
	relative_position_id = GGR_fall_blau
	x = 3
	y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_agitate_anti_portugese_sentiment
	icon = GFX_focus_GER_goal_Anti_Portugese_Sentiment
	cost = 2
	prerequisite = {
		focus = GGR_operation_philip
	}
	available = {
		GGR_not_invaded_spain = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_agitate_anti_portugese_sentiment"
		if = {
			limit = {
				country_exists = POR
			}
			custom_effect_tooltip = GGR_disrupt_iberian_relations
			SPA = {
				add_war_support = -0.05
		        add_opinion_modifier = {
                    target = POR
                    modifier = betrayed_alliance 
                }
			}
		}
		else = {
			custom_effect_tooltip = GGR_army_speed_increase_10_percent
			set_variable = { GGR_temporary_speed = 0.1 }
		}
	}
	relative_position_id = GGR_fall_blau
	x = 2
	y = 2
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_rebuild_the_gustav
	icon = GFX_focus_GER_goal_Rebuild_the_Gustav
	cost = 2
	prerequisite = {
		focus = GGR_operation_philip
	}
	available = {
		GGR_not_invaded_spain = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_rebuild_the_gustav"
		custom_effect_tooltip = GGR_rebuild_the_gustav_tooltip
		custom_effect_tooltip = GGR_artillery_attack_increase_25_percent
		set_variable = { GGR_temporary_army_artillery_attack_factor = 0.25 }
		set_temp_variable = { temp_econ_spending_amount = 0.65 } 
		econ_spend_money_once_effect_raw_money = yes
		GGR_decrease_militarist_power = yes
	}
	relative_position_id = GGR_fall_blau
	x = 4
	y = 2
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_finishing_the_job
	icon = GFX_focus_generic_columns_of_tanks
	cost = 2
	prerequisite = {
		focus = GGR_operation_philip
	}
	available = {
		if = {
			has_war = no
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_finishing_the_job"
		hidden_effect = {
			random_country = {
				limit = {
					is_neighbor_of = TRZ
					OR = {
						tag = SPA
						tag = POR
					}
				}
				annex_country = {
					target = TRZ
					transfer_troops = no
				}
			}
		}
		SPA = { declare_war_with_rks = yes }
		PAD = { declare_war_with_rks = yes }
		if = {
			limit = {
				NOT = { has_completed_focus = GGR_making_an_entrance }
			}
			set_country_flag = GGR_no_clear_variables
		}
	}
	relative_position_id = GGR_fall_blau
	x = 3
	y = 3
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			factor = 0
			NOT = {
				any_neighbor_country = {
					is_in_faction_with = GER
				}
				FRA = { is_subject_of = ITA }
				FRA = { is_in_faction_with = ITA }
			}
		}
	}
}

shared_focus = {
	id = GGR_missing_ships
	icon = GFX_focus_GGR_Missing_Ships
	cost = 2
	prerequisite = {
		focus = GGR_making_an_entrance
	}
	available = {
		has_war_with = POR
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_missing_ships"
		custom_effect_tooltip = GGR_missing_ships_tooltip
		GGR_decrease_militarist_hawkishness = yes
		add_manpower = -1000
		add_war_support = -0.03
		hidden_effect = {
			if = {
				limit = { has_completed_focus = GGR_give_schorner_a_taste_of_his_own_medicine }
				country_event = { id = goering.blau.divorce.3 days = 3 }
			}
		}
	}
	relative_position_id = GGR_fall_blau
	x = -3
	y = 4
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_give_schorner_a_taste_of_his_own_medicine
	icon = GFX_focus_GGR_Give_Schorner_a_taste_of_his_own_medicine
	cost = 2
	prerequisite = {
		focus = GGR_finishing_the_job
	}
	available = {
		has_war_with = SPA
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_give_schorner_a_taste_of_his_own_medicine"
		custom_effect_tooltip = GGR_give_schorner_a_taste_of_his_own_medicine_tooltip
		GGR_decrease_militarist_power = yes
		add_manpower = -2500
		add_war_support = -0.04
		hidden_effect = {
			if = {
				limit = { has_completed_focus = GGR_missing_ships }
				country_event = { id = goering.blau.divorce.3 days = 3 }
			}
		}
	}
	relative_position_id = GGR_fall_blau
	x = 3
	y = 4
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_restoring_the_union
	icon = GFX_focus_GER_goal_Restoring_the_Union
	cost = 1
	prerequisite = {
		focus = GGR_making_an_entrance
		focus = GGR_finishing_the_job
	}
	available = {
		GGR_iberia_conquered = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_restoring_the_union"
		custom_effect_tooltip = GGR_restoring_the_union_tooltip
		country_event = { id =  goering.blau.divorce.4 }
		hidden_effect = {
			country_event = { id = goering.blau.divorce.5 days = 14 }
		}
	}
	relative_position_id = GGR_fall_blau
	x = 0
	y = 4
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_recruit_remaining_partisans
	icon = GFX_focus_GER_great_wave
	cost = 2
	prerequisite = {
		focus = GGR_restoring_the_union
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_recruit_remaining_partisans"
		add_manpower = 10000
		GBQ = {
			add_stability = 0.03
		}
	}
	relative_position_id = GGR_fall_blau
	x = -3
	y = 5
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_communication_blackout
	icon = GFX_focus_GER_blackest_of_ops
	cost = 2
	prerequisite = {
		focus = GGR_restoring_the_union
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_communication_blackout"
		custom_effect_tooltip = GGR_communication_blackout_tooltip
		GKA = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 5000
				producer = IBR
			}
		}
		GCA = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 5000
				producer = IBR
			}
		}
	}
	relative_position_id = GGR_fall_blau
	x = 3
	y = 5
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_allies_in_the_north
	icon = GFX_focus_BSQ_basque
	cost = 2
	prerequisite = {
		focus = GGR_restoring_the_union
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_allies_in_the_north"
		custom_effect_tooltip = GGR_allies_in_the_north_tooltip
		hidden_effect = {
			GBQ = {
				division_template = {
					name = "Basque volunteers"
					regiments = {
						light_infantry = { x = 0 y = 0 }
						light_infantry = { x = 0 y = 1 }
						light_infantry = { x = 0 y = 2 }
						light_infantry = { x = 0 y = 3 }
						light_infantry = { x = 1 y = 0 }
						light_infantry = { x = 1 y = 1 }
						light_infantry = { x = 1 y = 2 }
						light_infantry = { x = 1 y = 3 }
					}
					support = {
						recon = { x = 0 y = 0 }
					}
				}
				capital_scope = {
					create_unit = {
						division = "name = \"Basque volunteer division\" division_template = \"Basque volunteers\" start_experience_factor = 0.0 start_equipment_factor = 0.8"
						owner = GBQ
					}
					create_unit = {
						division = "name = \"Basque volunteer division\" division_template = \"Basque volunteers\" start_experience_factor = 0.0 start_equipment_factor = 0.8"
						owner = GBQ
					}
				}
			}
		}
	}
	relative_position_id = GGR_fall_blau
	x = 0
	y = 5
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_loot_the_east
	icon = GFX_focus_GGR_send_them_firebrands
	cost = 2
	prerequisite = {
		focus = GGR_allies_in_the_north
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_loot_the_east"
		custom_effect_tooltip = GGR_more_loot_tooltip
		add_to_variable = { GGR_iberia_loot = 2 }
		GPG = {
			add_stability = -0.05
		}
	}
	relative_position_id = GGR_fall_blau
	x = -2
	y = 6
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_go_west
	icon = GFX_focus_generic_pillage
	cost = 2
	prerequisite = {
		focus = GGR_allies_in_the_north
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_go_west"
		custom_effect_tooltip = GGR_more_loot_tooltip
		add_to_variable = { GGR_iberia_loot = 2 }
		GKA = {
			add_stability = -0.05
		}
	}
	relative_position_id = GGR_fall_blau
	x = 2
	y = 6
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_enemies_in_the_south
	icon = GFX_focus_generic_reinforce_frontier
	cost = 2
	prerequisite = {
		focus = GGR_allies_in_the_north
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_enemies_in_the_south"
		custom_effect_tooltip = GGR_enemies_in_the_south_tooltip
		add_manpower = 20000
		118 = {
			add_building_construction = {
				type = bunker
				level = 3
				instant_build = yes
				province = 4135
			}
		}
		GGR_decrease_militarist_hawkishness_small = yes
		GGR_decrease_militarist_power_small = yes
		ADS = {
			add_war_support = 0.05
			add_stability = 0.05
		}
	}
	relative_position_id = GGR_fall_blau
	x = 0
	y = 7
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_fall_blau2
	icon = GFX_focus_GER_goal_Fall_Blau
	cost = 0.2
	prerequisite = {
		focus = GGR_plan_B
	}
	allow_branch = {
		has_country_flag = GER_war_plan_B
		has_global_flag = Iberian_Wars
	}
	bypass = {
	    FZL = {
		    is_in_faction_with = GER 
		}	
    }
	available = {
		if = {
			limit = {
				NOT = {
					OR = {
						has_completed_focus = GGR_fall_blau
						has_completed_focus = GGR_fall_blau3
					}
				}
			}
			player_one_operation_check = yes
		}
		has_global_flag = Iberian_Anarchy_flag
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_fall_blau2"
		set_country_flag = GGR_operation_locked
		GGR_clear_temporary_variables = yes
		if = {
			limit = {
				FRA = {
					NOT = {
						is_guaranteed_by = ITA
						is_subject_of = ITA
					}
				}
			}
			set_country_flag = FRA_fat_invansion
		}
		set_variable = { GGR_iberia_loot = 6 }
		set_temp_variable = { Victory_ID = 103 }
		set_temp_variable = { Victory_Outcome = 0 }
		set_temp_variable = { Victory_Points = 0 }
		Cold_War_GUI_AddVictory = yes
		if = {
			limit = {
				country_exists = FZL
			}
			country_event = goering.blau.iberian_wars.13
		}
		else_if = {
			limit = {
				country_exists = SPS
				SPS = {
					has_war = yes
					surrender_progress < 0.8
				}
			}
			country_event = goering.blau.iberian_wars.12
		}
	}
	relative_position_id = GGR_plan_B
	x = -13
	y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_into_the_abyss
	icon = GFX_focus_GGR_Into_the_Abyss
	cost = 1
	prerequisite = {
		focus = GGR_fall_blau2
	}
	allow_branch = {
		has_global_flag = Iberian_Wars
		has_country_flag = GER_war_plan_B
		NOT = {
			has_country_flag = GGR_helping_spain
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_into_the_abyss"
		show_ideas_tooltip = GGR_iberian_wars
		set_variable = { GGR_temporary_enemy_partisan_effect = 0.3 }
		set_variable = { GGR_temporary_reinforce_rate = 0.12 }
		set_variable = { GGR_temporary_soft_attack = -0.2 }
		set_variable = { GGR_temporary_attrition = 0.12 }
		set_variable = { GGR_temporary_speed = -0.2 }
		set_variable = { GGR_temporary_war_support = -0.15 }
		hidden_effect = {
			add_dynamic_modifier = { modifier = GGR_fall_blau2 }
			remove_dynamic_modifier = { modifier = GGR_fall_blau3 }
		}
	}
	relative_position_id = GGR_fall_blau2
	x = 0
	y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = { # will be added later as a new branch
	id = GGR_our_great_spanish_friends
	icon = GFX_focus_GGR_our_great_spanish_friends
	cost = 1
	prerequisite = {
		focus = GGR_fall_blau2
	}
	allow_branch = {
		has_country_flag = GER_war_plan_B
		has_country_flag = GGR_helping_spain
		has_global_flag = Iberian_Wars
	}
	available = {
		country_exists = FZL
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_our_great_spanish_friends"
	}
	relative_position_id = GGR_fall_blau2
	x = 0
	y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}


shared_focus = { 
	id = GGR_send_them_men
	icon = GFX_focus_GGR_germania_proud_sons
	cost = 1
	prerequisite = {
		focus = GGR_our_great_spanish_friends
	}
	available = {
		country_exists = FZL
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_send_them_men"
		set_temp_variable = { target = FZL }
		TNO_increase_volunteer_cap_5 = yes
		FZL = {
			add_command_power = 50
		}
	}
	relative_position_id = GGR_our_great_spanish_friends
	x = -1
	y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}


shared_focus = { 
	id = GGR_send_them_guns
	icon = GFX_focus_MAG_preliminary_arming
	cost = 1
	prerequisite = {
		focus = GGR_our_great_spanish_friends
	}
	available = {
		country_exists = FZL
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_send_them_guns"
		send_equipment = {
			type = infantry_equipment
			amount = 15000
			target = FZL
		}
		send_equipment = {
			type = support_equipment
			amount = 5000
			target = FZL
		}
		send_equipment = {
			type = anti_air_shoulder_equipment
			amount = 1000
			target = FZL
		}
		send_equipment = {
			type = anti_tank_equipment
			amount = 1000
			target = FZL
		}
	}
	relative_position_id = GGR_our_great_spanish_friends
	x = 1
	y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = { 
	id = GGR_send_them_congratulations
	icon = GFX_focus_GGR_send_them_congratulations
	cost = 1
	prerequisite = {
		focus = GGR_send_them_guns
	}
	prerequisite = {
		focus = GGR_send_them_men
	}
	available = {
		FZL = {
			exists = yes
			has_war = no
		}
		NOT = {
			country_exists = IBR
			country_exists = SPR
			country_exists = SPS
			country_exists = FSR
		}
	}
	cancel_if_invalid = no
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_send_them_congratulations"
		add_to_faction = FZL
		FZL = {
			add_stability = 0.05
			add_war_support = 0.1
			remove_faction_status = yes
			add_ideas = Pakt_Mitstreiter
			econ_join_sphere_GER = yes
			hidden_effect = {
				IBRWarsResign = yes
			}
		}
	}
	relative_position_id = GGR_our_great_spanish_friends
	x = 0
	y = 2
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}



shared_focus = {
	id = GGR_the_smugglers
	icon = GFX_focus_GGR_The_Smugglers
	cost = 1
	prerequisite = {
		focus = GGR_into_the_abyss
		focus = GGR_send_them_congratulations
	}
	available = {
		country_exists = GAL
		if = {
			limit = { is_ai = yes }
			if = {
				limit = {
					has_war = yes
				}
				any_enemy_country = {
					NOT = {
						OR = {
							is_neighbor_of = GER
							any_allied_country = {
								is_neighbor_of = PREV
							}
						}
					}
				}
			}
		}
	}
	bypass = {
	    GAL = {
		    exists = no 
		}
	}	
	will_lead_to_war_with = GAL
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_the_smugglers"
		if = {
			limit = {
				NOT = { has_country_flag = GGR_helping_spain }
			}
			hidden_effect = {
				every_country = {
					limit = { is_ai = no }
					news_event = WORLD_REICH.311
				}
			}
			custom_effect_tooltip = GGR_enemy_partisan_effect_decrease_30_percent
			clear_variable = GGR_temporary_enemy_partisan_effect
		}
		GAL = { declare_war_with_rks = yes }
	}
	relative_position_id = GGR_fall_blau2
	x = -4
	y = 2
	offset = {
		trigger = {
			has_country_flag = GGR_helping_spain
		}
		x = 2
		y = 3
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
		modifier = {
			factor = 0
			NOT = { has_completed_focus = GGR_the_masters }
		}
	}
}

shared_focus = {
	id = GGR_the_misguided
	icon = GFX_focus_GGR_The_Misguided
	cost = 1
	prerequisite = {
		focus = GGR_into_the_abyss
		focus = GGR_send_them_congratulations
	}
	available = {
		country_exists = BSQ
		if = {
			limit = { is_ai = yes }
			if = {
				limit = {
					has_war = yes
				}
				any_enemy_country = {
					NOT = {
						OR = {
							is_neighbor_of = GER
							any_allied_country = {
								is_neighbor_of = PREV
							}
						}
					}
				}
			}
		}
	}
	bypass = {
	    BSQ = {
		    exists = no 
		}
	}
	
	will_lead_to_war_with = BSQ
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_the_misguided"
		if = {
			limit = {
				NOT = { has_country_flag = GGR_helping_spain }
			}
			hidden_effect = {
				every_country = {
					limit = { is_ai = no }
					news_event = WORLD_REICH.311
				}
			}
			custom_effect_tooltip = GGR_army_reinforce_rate_increase_3_percent
			add_to_variable = { GGR_temporary_reinforce_rate = 0.03 }
		}
		if = {
			limit = {
				country_exists = BSQ
			}
			BSQ = { declare_war_with_rks = yes }
		}
	}
	relative_position_id = GGR_fall_blau2
	x = -2
	y = 2
	offset = {
		trigger = {
			has_country_flag = GGR_helping_spain
		}
		x = -1
		y = 2
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_the_masters
	icon = GFX_focus_GGR_The_Masters
	cost = 1
	prerequisite = {
		focus = GGR_into_the_abyss
	}
	allow_branch = {
		has_country_flag = GER_war_plan_B
		NOT = { has_country_flag = GGR_helping_spain }
		has_global_flag = Iberian_Wars
	}
	available = {
		if = {
			limit = {
				NOT = { has_country_flag = GGR_helping_spain }
			}
			OR = {
				country_exists = IBR
				country_exists = SPR
				country_exists = SPS
				country_exists = FSR
				country_exists = FZL
				country_exists = ADL
				country_exists = TBA
				country_exists = PAD
			}
		}
		if = {
			limit = { is_ai = yes }
			has_war = no
		}
	}
	bypass = {
		OR = {
			AND = {
				BSQ = {
					exists = no 
				}
				IBR = {
					exists = no 
				}
				FSR = {
					exists = no 
				}
				FZL = {
					exists = no 
				}
				TBA = {
					exists = no 
				}
				SPR = {
					exists = no 
				}
				SPS = {
					exists = no 
				}
				ADL = {
					exists = no 
				}
			}
			AND = {
				has_country_flag = GGR_helping_spain
				FZL = { is_in_faction_with = GER }
			}
		}
	}
	will_lead_to_war_with = IBR
	will_lead_to_war_with = SPR
	will_lead_to_war_with = SPS
	will_lead_to_war_with = FSR
	will_lead_to_war_with = FZL
	will_lead_to_war_with = ADL
	will_lead_to_war_with = TBA
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_the_masters"
		if = {
			limit = {
				NOT = { has_country_flag = GGR_helping_spain }
			}
			hidden_effect = {
				every_country = {
					limit = { is_ai = no }
					news_event = WORLD_REICH.311
				}
			}
			custom_effect_tooltip = GGR_soft_attack_increase_15_percent
			add_to_variable = { GGR_temporary_soft_attack = 0.15 }
		}
		if = {
			limit = {
				country_exists = IBR
			}
			IBR = { declare_war_with_rks = yes }
		}

		if = {
			limit = {
				country_exists = SPR
			}
			SPR = { declare_war_with_rks = yes }
		}

		if = {
			limit = {
				country_exists = SPS
			}
			SPS = { declare_war_with_rks = yes }
		}

		if = {
			limit = {
				country_exists = FSR
			}
			FSR = { declare_war_with_rks = yes }
		}

		if = {
			limit = {
				country_exists = FZL
			}
			FZL = { declare_war_with_rks = yes }
		}

		if = {
			limit = {
				country_exists = ADL
			}
			ADL = { declare_war_with_rks = yes }
		}
		if = {
			limit = {
				country_exists = TBA
			}
			TBA = { declare_war_with_rks = yes }
		}
		if = {
			limit = {
				country_exists = PAD
			}
			PAD = { declare_war_with_rks = yes }
		}
	}
	relative_position_id = GGR_fall_blau2
	x = 0
	y = 2
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_shatter_their_dreams_like_glass
	icon = GFX_focus_GER_glass_them
	cost = 1
	prerequisite = {
		focus = GGR_the_masters
	}
	allow_branch = {
		has_country_flag = GER_war_plan_B
		has_global_flag = Iberian_Wars
		NOT = {
			has_country_flag = GGR_helping_spain
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_shatter_their_dreams_like_glass"
		custom_effect_tooltip = GGR_bombing_effectiveness_increase_20_percent
		custom_effect_tooltip = GGR_cas_attack_increase_15_percent
		set_variable = { GGR_temporary_air_cas_present_factor = 0.15 }
		set_variable = { GGR_temporary_bombing = 0.2 }
	}
	relative_position_id = GGR_fall_blau2
	x = -2
	y = 3
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_a_new_kind_of_union
	icon = GFX_focus_FZL_Spanish_Swastika
	cost = 1
	prerequisite = {
		focus = GGR_the_masters
	}
	allow_branch = {
		has_country_flag = GER_war_plan_B
		has_global_flag = Iberian_Wars
		NOT = {
			has_country_flag = GGR_helping_spain
		}
	}
	available = {
		country_exists = IBR
	}
	bypass = {
		NOT = {
			country_exists = IBR
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_a_new_kind_of_union"
		custom_effect_tooltip = GGR_a_new_kind_of_union_tooltip
		country_event = { id = goering.blau.iberian_wars.2 }
	}
	relative_position_id = GGR_fall_blau2
	x = 0
	y = 3
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_guns_for_the_rightful
	icon = GFX_focus_generic_a_gun_for_every_hand
	cost = 1
	prerequisite = {
		focus = GGR_the_masters
	}
	allow_branch = {
		has_country_flag = GER_war_plan_B
		has_global_flag = Iberian_Wars
		NOT = {
			has_country_flag = GGR_helping_spain
		}
	}
	available = {
		OR = {
			country_exists = FZL
			country_exists = SPS
		}
	}
	bypass = {
		NOT = {
			country_exists = FZL
			country_exists = SPS
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_guns_for_the_rightful"
		if = {
			limit = {
				country_exists = SPS
			}
			hidden_effect = {
				SPS = {
					add_to_variable = { IberianWarExhaustion = 15 }
				}
			}
			SPS = {
				add_stability = -0.05
				add_war_support = -0.08
			}
			#send_equipment = {
			#	type = infantry_equipment
			#	amount = 5000
			#	target = SPS
			#}
		}
		else_if = {
			limit = {
				country_exists = FZL
			}
			custom_effect_tooltip = GGR_guns_for_the_rightful_tooltip
			FZL = {
				add_stability = 0.05
				add_war_support = 0.08
			}
			send_equipment = {
				type = infantry_equipment
				amount = 5000
				target = FZL
			}
		}
	}
	relative_position_id = GGR_fall_blau2
	x = 2
	y = 3
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_the_rebels
	icon = GFX_focus_GGR_The_Rebels
	cost = 1
	prerequisite = {
		focus = GGR_into_the_abyss
		focus = GGR_send_them_congratulations
	}
	will_lead_to_war_with = CTL
	will_lead_to_war_with = CNT
	will_lead_to_war_with = PAD
	available = {
		OR = {
			country_exists = CTL
			country_exists = CNT
			if = {
				limit = {
					has_global_flag = Iberian_Wars
				}
				country_exists = PAD
			}
		}
		if = {
			limit = { is_ai = yes }
			has_war = no
		}
	}
	bypass = {
		NOT = {
			country_exists = CTL
			country_exists = CNT
			country_exists = PAD
		}
		FZL = {
		    is_in_faction_with = GER 
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_the_rebels"
		if = {
			limit = {
				NOT = { has_country_flag = GGR_helping_spain }
			}
			custom_effect_tooltip = GGR_attrition_decrease_10_percent
			subtract_from_variable = { GGR_temporary_attrition = 0.1 }
		}
		if = {
			limit = {
				country_exists = CTL
			}
			CTL = { declare_war_with_rks = yes }
		}
		if = {
			limit = {
				country_exists = CNT
			}
			CNT = { declare_war_with_rks = yes }
		}
		if = {
			limit = {
				has_global_flag = Iberian_Wars
				country_exists = PAD
			}
			PAD = { declare_war_with_rks = yes }
		}
	}
	relative_position_id = GGR_fall_blau2
	x = 2
	y = 2
	offset = {
		trigger = {
			has_country_flag = GGR_helping_spain
		}
		x = 1
		y = 2
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_the_traitors
	icon = GFX_focus_GGR_The_Traitors
	cost = 1
	prerequisite = {
		focus = GGR_into_the_abyss
		focus = GGR_send_them_congratulations
	}
	available = {
		OR = {
			country_exists = RPP
			country_exists = POR
			country_exists = GNS
			country_exists = PPR
		}
	}
	bypass = {
		NOT = {
			country_exists = RPP
			country_exists = POR
			country_exists = GNS
			country_exists = PPR
		}
	}
	will_lead_to_war_with = RPP
	will_lead_to_war_with = POR
	will_lead_to_war_with = GNS
	will_lead_to_war_with = PPR
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_the_traitors"
		if = {
			limit = {
				NOT = { has_country_flag = GGR_helping_spain }
			}
			hidden_effect = {
				every_country = {
					limit = { is_ai = no }
					news_event = WORLD_REICH.311
				}
			}
			custom_effect_tooltip = GGR_army_speed_increase_20_percent
			clear_variable = GGR_temporary_speed
		}
		if = {
			limit = {
				country_exists = RPP
			}
			RPP = { declare_war_with_rks = yes }
		}
		if = {
			limit = {
				country_exists = POR
			}
			POR = { declare_war_with_rks = yes }
		}
		if = {
			limit = {
				country_exists = GNS
			}
			GNS = { declare_war_with_rks = yes }
		}
		if = {
			limit = {
				country_exists = PPR
			}
			PPR = { declare_war_with_rks = yes }
		}
	}
	relative_position_id = GGR_fall_blau2
	x = 4
	y = 2
	offset = {
		trigger = {
			has_country_flag = GGR_helping_spain
		}
		x = -2
		y = 3
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
		modifier = {
			factor = 0
			NOT = {
				OR = {
					has_completed_focus = GGR_the_masters
					has_completed_focus = GGR_send_them_congratulations
				}
			}
		}
	}
}

shared_focus = {
	id = GGR_the_admiral
	icon = GFX_focus_GGR_Calling_their_Bluff
	cost = 1
	prerequisite = {
		focus = GGR_the_masters
		focus = GGR_send_them_congratulations
	}
	available = {
		NOT = {
			country_exists = IBR
			country_exists = SPR
			country_exists = FSR
			country_exists = ADL
			country_exists = TBA
			country_exists = SPS
		}
		FZL = {
			OR = {
				exists = no
				is_in_faction_with = GER
			}
		}
	}
	bypass = {
		any_country = {
			is_in_faction_with = GER
			owns_state = 1547
		}
	}
	dynamic = yes
	will_lead_to_war_with = GIB
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_the_admiral"
		if = {
			limit = {
				country_exists = GIB
			}
			GIB = { declare_war_with_rks = yes }
		}
	}
	relative_position_id = GGR_fall_blau2
	x = 4
	y = 3
	offset = {
		trigger = {
			has_country_flag = GGR_helping_spain
		}
		x = -3
		y = 1
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_securing_africa
	icon = GFX_focus_GGR_Securing_africa
	cost = 1
	prerequisite = {
		focus = GGR_the_masters
		focus = GGR_send_them_congratulations
	}
	available = {
		NOT = {
			country_exists = IBR
			country_exists = SPR
			country_exists = FSR
			country_exists = ADL
			country_exists = TBA
			country_exists = SPS
		}
		FZL = {
			OR = {
				exists = no
				is_in_faction_with = GER
			}
		}
		any_country = {
			is_in_faction_with = GER
			controls_state = 1547
		}
	}

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_securing_africa"
		if = {
			limit = {
				country_exists = MOR
			}
			MOR = { declare_war_with_rks = yes }
		}
		if = {
			limit = { country_exists = RIF }
			RIF = { declare_war_with_rks = yes }
		}
		if = {
			limit = { country_exists = TRZ }
			TRZ = { declare_war_with_rks = yes }
		}
	}
	relative_position_id = GGR_fall_blau2
	x = -4
	y = 3
	offset = {
		trigger = {
			has_country_flag = GGR_helping_spain
		}
		x = 3
		y = 1
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_the_conquered
	icon = GFX_focus_GER_The_Conquered
	cost = 1
	prerequisite = {
		focus = GGR_shatter_their_dreams_like_glass
		focus = GGR_a_new_kind_of_union
		focus = GGR_guns_for_the_rightful
	}
	allow_branch = {
		has_country_flag = GER_war_plan_B
		has_global_flag = Iberian_Wars
		NOT = {
			has_country_flag = GGR_helping_spain
		}
	}
	prerequisite = {
		focus = GGR_securing_africa
	}
	prerequisite = {
		focus = GGR_the_admiral
	}
	available = {
		GGR_iberia_conquered = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_the_conquered"
		add_stability = 0.05
		add_war_support = 0.05
		GPG = { add_stability = 0.03 }
		RKG = { add_stability = 0.03 }
		ADS = { add_stability = 0.03 }
		GBQ = { add_stability = 0.03 }
		GCA = { add_stability = 0.03 }
		GKA = { add_stability = 0.03 }
		NAF = { add_stability = 0.03 }
		WAF = { add_stability = 0.03 }
		RKM = { add_stability = 0.03 }
	}
	relative_position_id = GGR_fall_blau2
	x = 0
	y = 4
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_the_hub_of_iberia
	icon = GFX_focus_generic_open_road
	cost = 1
	prerequisite = {
		focus = GGR_the_conquered
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_the_hub_of_iberia"
		GCA = {
			add_stability = 0.03
			every_owned_state = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}
	}
	relative_position_id = GGR_fall_blau2
	x = -2
	y = 5
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_securing_loyalty
	icon = GFX_focus_generic_our_loyalty
	cost = 1
	prerequisite = {
		focus = GGR_the_hub_of_iberia
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_securing_loyalty"
		GGR_increase_militarist_loyalty = yes
		set_temp_variable = { temp_econ_spending_amount = 0.015 }
		econ_spend_money_once_effect_raw_money = yes
		GBQ = { add_stability = 0.03 }
		GCA = { add_stability = 0.03 }
		GKA = { add_stability = 0.03 }
		NAF = { add_stability = 0.03 }
		RKM = { add_stability = 0.03 }
	}
	relative_position_id = GGR_fall_blau2
	x = -2
	y = 6
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_forming_the_asb
	icon = GFX_focus_generic_spying_assassination
	cost = 1
	prerequisite = {
		focus = GGR_the_conquered
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_forming_the_asb"
		country_event = { id = goering.blau.iberian_wars.4 }
	}
	relative_position_id = GGR_fall_blau2
	x = 2
	y = 5
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_divert_their_attention
	icon = GFX_focus_SCO_Died_Like_Pigs
	cost = 1
	prerequisite = {
		focus = GGR_forming_the_asb
	}
	mutually_exclusive = {
		focus = GGR_friends_in_the_weirdest_places
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_divert_their_attention"
		custom_effect_tooltip = GGR_divert_their_attention_tooltip
		GGR_decrease_militarist_loyalty = yes
		ADS = {
			add_stability = -0.03
			add_war_support = -0.03
		}
	}
	relative_position_id = GGR_fall_blau2
	x = 1
	y = 6
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_friends_in_the_weirdest_places
	icon = GFX_focus_GER_german_friends
	cost = 1
	prerequisite = {
		focus = GGR_forming_the_asb
	}
	mutually_exclusive = {
		focus = GGR_divert_their_attention
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_friends_in_the_weirdest_places"
		custom_effect_tooltip = GGR_friends_in_the_weirdest_places_tooltip
		GKA = {
			add_stability = 0.03
			add_war_support = 0.03
			TNO_improve_security_policy_effectiveness_med = yes
		}
		GCA = {
			add_stability = 0.03
			add_war_support = 0.03
			TNO_improve_security_policy_effectiveness_med = yes
		}
	}
	relative_position_id = GGR_fall_blau2
	x = 3
	y = 6
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_fall_blau3
	icon = GFX_focus_GER_goal_Fall_Blau
	cost = 0.2
	prerequisite = {
		focus = GGR_plan_B
	}
	available = {
		if = {
			limit = {
				NOT = {
					OR = {
						has_completed_focus = GGR_fall_blau
						has_completed_focus = GGR_fall_blau2
					}
				}
			}
			player_one_operation_check = yes
		}
	}
	allow_branch = {
		NOT = {
			has_global_flag = Iberian_Wars
			country_exists = SPA
			country_exists = POR
			has_completed_focus = GGR_making_an_entrance
			has_completed_focus = GGR_finishing_the_job
		}
		has_country_flag = GER_war_plan_B
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_fall_blau3"
		set_country_flag = GGR_operation_locked
		GGR_clear_temporary_variables = yes
		set_variable = { GGR_iberia_loot = 6 }
		set_temp_variable = { Victory_ID = 103 }
		set_temp_variable = { Victory_Outcome = 0 }
		set_temp_variable = { Victory_Points = 0 }
		Cold_War_GUI_AddVictory = yes
		hidden_effect = {
			add_dynamic_modifier = { modifier = GGR_fall_blau3 }
		}
	}
	relative_position_id = GGR_plan_B
	x = -13
	y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_securing_france
	icon = GFX_focus_GGR_Securing_france
	cost = 2
	prerequisite = {
		focus = GGR_fall_blau3
	}
	available = {
		FRA = {
			is_not_covered_by_faction = yes
		}
	}
	bypass = {
		is_in_faction_with = FRA
	}
	cancel = {
		hidden_trigger = {
			has_global_flag = Iberian_Wars
		}
	}
	bypass_if_unavailable = yes
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_securing_france"
		custom_effect_tooltip = GGR_securing_france_tooltip
		set_country_flag = FRA_fat_invansion
	}
	relative_position_id = GGR_fall_blau3
	x = -2
	y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_a_multi_front_invasion
	icon = GFX_focus_GER_nazi_domination
	cost = 2
	prerequisite = {
		focus = GGR_securing_france
	}
	available = {
		GGR_not_invaded_iberia = yes
	}
	cancel = {
		hidden_trigger = {
			has_global_flag = Iberian_Wars
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_a_multi_front_invasion"
		custom_effect_tooltip = GGR_special_forces_attack_increase_15_percent
		custom_effect_tooltip = GGR_special_forces_defence_increase_15_percent
		custom_effect_tooltip = GGR_supply_grace_increase_120

		custom_effect_tooltip = GGR_infantry_attack_decrease_15_percent
		custom_effect_tooltip = GGR_attrition_increase_20_percent

		set_variable = { GGR_temporary_special_forces_attack_factor = 0.15 }
		set_variable = { GGR_temporary_special_forces_defence_factor = 0.15 }
		set_variable = { GGR_temporary_supply_grace = 120 }

		set_variable = { GGR_temporary_infantry_attack = -0.15 }
		set_variable = { GGR_temporary_attrition = 0.2 }
	}
	relative_position_id = GGR_fall_blau3
	x = -2
	y = 3
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_the_burgundian_method
	icon = GFX_focus_BRG_friends_in_high_places
	cost = 2
	prerequisite = {
		focus = GGR_fall_blau3
	}
	available = {
		GGR_not_invaded_iberia = yes
	}
	cancel = {
		hidden_trigger = {
			has_global_flag = Iberian_Wars
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_the_burgundian_method"
		unlock_decision_category_tooltip = GGR_destablising_iberia_category
		IBR = {
			custom_effect_tooltip = IBR_sub_stability_small_tt
			subtract_from_variable = {
				var = IBRIberiaStability
				value = 1
			}
		}
	}
	relative_position_id = GGR_fall_blau3
	x = 0
	y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_fight_for_your_freedom
	icon = GFX_focus_YUN_stand_up_and_fight
	cost = 2
	prerequisite = {
		focus = GGR_the_burgundian_method
	}
	available = {
		GGR_not_invaded_iberia = yes
	}
	cancel = {
		hidden_trigger = {
			has_global_flag = Iberian_Wars
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_fight_for_your_freedom"
		unlock_decision_tooltip = GGR_cripple_AAS_operations
		unlock_decision_tooltip = GGR_increase_seperatist_sentiment
	}
	relative_position_id = GGR_fall_blau3
	x = 1
	y = 2
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_let_the_abwehr_run_wild
	icon = GFX_focus_generic_the_best_guns_money_can_buy
	cost = 2
	prerequisite = {
		focus = GGR_fight_for_your_freedom
	}
	mutually_exclusive = {
		focus = GGR_thinking_ahead
	}
	available = {
		GGR_not_invaded_iberia = yes
	}
	cancel = {
		hidden_trigger = {
			has_global_flag = Iberian_Wars
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_let_the_abwehr_run_wild"
		custom_effect_tooltip = GGR_let_the_abwehr_run_wild_tooltip
		set_temp_variable = { temp_econ_spending_amount = 0.8 }
		econ_spend_money_once_effect_raw_money = yes  
		IBR = {
			custom_effect_tooltip = IBR_sub_stability_small_tt
			subtract_from_variable = {
				var = IBRIberiaStability
				value = 1
			}
		}
	}
	relative_position_id = GGR_fall_blau3
	x = 0
	y = 3
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_thinking_ahead
	icon = GFX_focus_generic_anti_corruption
	cost = 2
	prerequisite = {
		focus = GGR_fight_for_your_freedom
	}
	mutually_exclusive = {
		focus = GGR_let_the_abwehr_run_wild
	}
	available = {
		GGR_not_invaded_iberia = yes
	}
	cancel = {
		hidden_trigger = {
			has_global_flag = Iberian_Wars
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_thinking_ahead"
		custom_effect_tooltip = GGR_thinking_ahead_tooltip
	}
	relative_position_id = GGR_fall_blau3
	x = 2
	y = 3
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_north_african_connections
	icon = GFX_focus_GGR_North_African_Connections
	cost = 2
	prerequisite = {
		focus = GGR_the_burgundian_method
	}
	cancel = {
		hidden_trigger = {
			has_global_flag = Iberian_Wars
		}
	}
	available = {
		GGR_not_invaded_iberia = yes
		custom_trigger_tooltip = {
			tooltip = GGR_own_algeria
			460 = {
				owner = {
					is_in_faction_with = GER
				}
			}
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_north_african_connections"
		custom_effect_tooltip = GGR_north_african_connections_tooltip
		add_equipment_to_stockpile = {
			type = anti_tank_equipment
			amount = -150
		}
		add_equipment_to_stockpile = {
			type = infantry_equipment
			amount = -1500
		}

		custom_effect_tooltip = IBR_add_bta_activity_small_tt
		custom_effect_tooltip = IBR_add_fslp_activity_small_tt
		add_to_variable = {
			var = IBR_FSLP_Activity
			value = 2
		}
		add_to_variable = {
			var = IBR_BTA_Activity
			value = 2
		}
		custom_effect_tooltip = IBR_add_bta_supplies_small_tt
		add_to_variable = {
			var = IBR_BTA_Supplies
			value = 2
		}
		custom_effect_tooltip = IBR_add_fslp_supplies_small_tt
		add_to_variable = {
			var = IBR_FSLP_Supplies
			value = 2
		}
	}
	relative_position_id = GGR_fall_blau3
	x =-1
	y = 4
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_the_best_training_man_can_find
	icon = GFX_focus_generic_experimental_training_methods
	cost = 2
	prerequisite = {
		focus = GGR_fall_blau3
	}
	available = {
		GGR_not_invaded_iberia = yes
	}
	cancel = {
		hidden_trigger = {
			has_global_flag = Iberian_Wars
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_the_best_training_man_can_find"
		TNO_improve_training_policy_effectiveness_high = yes
		custom_effect_tooltip = GGR_army_experience_gain_increase_factor_20_percent
		custom_effect_tooltip = GGR_experience_loss_factor_increase_20_percent
		custom_effect_tooltip = GGR_max_planning_decrease_15_percent

		set_variable = { GGR_temporary_experience_loss_factor = -0.2 }
		set_variable = { GGR_temporary_experience_gain_army_factor = 0.2 }
		set_variable = { GGR_temporary_max_planning = -0.15 }
	}
	relative_position_id = GGR_fall_blau3
	x = 5
	y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_from_alger_to_marrakech
	icon = GFX_focus_generic_back_of_the_truck
	cost = 2
	prerequisite = {
		focus = GGR_the_best_training_man_can_find
	}
	cancel = {
		hidden_trigger = {
			has_global_flag = Iberian_Wars
		}
	}
	available = {
        GGR_not_invaded_iberia = yes	
		custom_trigger_tooltip = {
			tooltip = GGR_own_algeria
			460 = {
				owner = {
					is_in_faction_with = GER
				}
			}
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_from_alger_to_marrakech"
		set_temp_variable = { temp_econ_spending_amount = 0.080 }
		econ_spend_money_once_effect_raw_money = yes
		460 = {
			add_building_construction = {
				type = naval_base
				level = 2
				instant_build = yes
			}
			add_building_construction = {
				type = air_base
				level = 2
				instant_build = yes
			}
			add_building_construction = {
				type = infrastructure
				level = 2
				instant_build = yes
			}
		}
	}
	relative_position_id = GGR_fall_blau3
	x = 4
	y = 3
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_from_paris_to_madrid
	icon = GFX_focus_generic_back_of_the_truck
	cost = 2
	prerequisite = {
		focus = GGR_the_best_training_man_can_find
	}
	cancel = {
		hidden_trigger = {
			has_global_flag = Iberian_Wars
		}
	}
	available = {
	    GGR_not_invaded_iberia = yes
		custom_trigger_tooltip = {
			tooltip = GGR_own_france
			19 = {
				owner = {
					OR = {
						is_in_faction_with = GER
						tag = GER
					}
				}
			}
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_from_alger_to_marrakech"
		set_temp_variable = { temp_econ_spending_amount = 0.080 }
		econ_spend_money_once_effect_raw_money = yes
		19 = {
			add_building_construction = {
				type = naval_base
				level = 2
				instant_build = yes
			}
			add_building_construction = {
				type = air_base
				level = 2
				instant_build = yes
			}
			add_building_construction = {
				type = infrastructure
				level = 2
				instant_build = yes
			}
		}
	}
	relative_position_id = GGR_fall_blau3
	x = 6
	y = 3
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_the_final_straw
	icon = GFX_focus_IBR_end_to_iberia
	cost = 2
	prerequisite = {
		focus = GGR_north_african_connections
		focus = GGR_let_the_abwehr_run_wild
		focus = GGR_from_alger_to_marrakech
		focus = GGR_from_paris_to_madrid
		focus = GGR_thinking_ahead
	}
	available = {
	    GGR_not_invaded_iberia = yes
		has_war = no
	}
	select_effect = {
		IBR = {
			country_event = { id = goering.blau.united.1 days = 5 }
		}
	}
	cancel = {
		hidden_trigger = {
			has_global_flag = Iberian_Wars
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_the_final_straw"
		hidden_effect = {
			USA = {
			    diplomatic_relation = {
			        country = IBR
			        relation = guarantee
			        active = no
				}
		    }
			IBR = {
				annex_country = {
					target = TRZ
					transfer_troops = no
				}
			}
		}
		IBR = {
			if = {
				limit = {
					is_in_faction = yes
				}
				GGR_add_on_our_own = yes
			}
		}
		IBR = { declare_war_with_rks = yes }
		PAD = { declare_war_with_rks = yes }
	}
	relative_position_id = GGR_fall_blau3
	x = 0
	y = 5
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_call_to_the_basques
	icon = GFX_focus_BSQ_basque
	cost = 2
	prerequisite = {
		focus = GGR_the_final_straw
	}
	bypass = {
		NOT = { country_exists = IBR }
	}

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_call_to_the_basques"
		IBR = {
			add_war_support = -0.05
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = -3000
			}
			custom_effect_tooltip = IBR_sub_tba_support_mid_tt
			add_to_variable = {
				var = IBR_TBA_Support
				value = -5
			}
			if = {
				limit = { has_idea = GGR_northern_unrest }
				modify_timed_idea = {
					idea = GGR_northern_unrest
					days = 30
				}
			}
			else = {
				add_timed_idea = {
					idea = GGR_northern_unrest
					days = 30
				}
			}
		}
		country_event = { id = goering.blau.united.2 }
	}
	relative_position_id = GGR_fall_blau3
	x = -1
	y = 6
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_call_to_the_catalans
	icon = GFX_focus_CNT_a_new_catalonia
	cost = 2
	prerequisite = {
		focus = GGR_the_final_straw
	}
	bypass = {
		NOT = { country_exists = IBR }
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_call_to_the_catalans"
		IBR = {
			add_war_support = -0.05
			add_equipment_to_stockpile = {
				type = anti_tank_equipment
				amount = -200
			}
			custom_effect_tooltip = IBR_sub_tba_support_mid_tt
			add_to_variable = {
				var = IBR_TBA_Support
				value = -5
			}
			if = {
				limit = { has_idea = GGR_northern_unrest }
				modify_timed_idea = {
					idea = GGR_northern_unrest
					days = 30
				}
			}
			else = {
				add_timed_idea = {
					idea = GGR_northern_unrest
					days = 30
				}
			}
		}
	}
	relative_position_id = GGR_fall_blau3
	x = 1
	y = 6
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_call_to_the_portugese
	icon = GFX_focus_GGR_Call_to_the_Portugese
	cost = 2
	prerequisite = {
		focus = GGR_call_to_the_basques
		focus = GGR_call_to_the_catalans
	}
	bypass = {
		NOT = { country_exists = IBR }
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_call_to_the_portugese"
		custom_effect_tooltip = GGR_call_to_the_portugese_tooltip
		add_equipment_to_stockpile = {
			type = anti_tank_equipment
			amount = -200
		}
		add_equipment_to_stockpile = {
			type = infantry_equipment
			amount = -3000
		}
		hidden_effect = {
			division_template = {
				name = "Brigada de Legionarios"
				regiments = {
					infantry = { x = 0 y = 0 }
					infantry = { x = 0 y = 1 }
					infantry = { x = 0 y = 2 }
					infantry = { x = 0 y = 3 }
					infantry = { x = 0 y = 4 }
					infantry = { x = 1 y = 0 }
					infantry = { x = 1 y = 1 }
					infantry = { x = 1 y = 2 }
					infantry = { x = 1 y = 3 }
					infantry = { x = 1 y = 4 }
				}
				support = {
					recon = { x = 0 y = 0 }
				}
			}
			set_division_template_lock = {
				division_template = "Portuguese Freedom Fighters"
				is_locked = yes
			}
			1000 = {
				create_unit = {
					division = "name = \"43a Brigada de Legionarios \" division_template = \"Brigada de Legionarios\" start_experience_factor = 0.5 start_equipment_factor = 0.8"
					prioritize_location = 9869
					owner = GER
				}
				create_unit = {
					division = "name = \"48a Brigada de Legionarios\" division_template = \"Brigada de Legionarios\" start_experience_factor = 0.5 start_equipment_factor = 0.8"
					prioritize_location = 9869
					owner = GER
				}
			}
		}
	}
	relative_position_id = GGR_fall_blau3
	x = 0
	y = 7
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_but_no_one_answered
	icon = GFX_focus_generic_embrace_totalitarianism
	cost = 2
	prerequisite = {
		focus = GGR_call_to_the_portugese
	}
	available = {
		GGR_iberia_conquered = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_but_no_one_answered"
		if = {
			limit = {
				has_completed_focus = GGR_call_to_the_portugese
			}
			delete_unit_template_and_units = {
				division_template = "Brigada de Legionarios"
			}
		}
		country_event = { id = goering.blau.united.5 }
	}
	relative_position_id = GGR_fall_blau3
	x = 0
	y = 8
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_no_more_games
	icon = GFX_focus_GER_pakt_wargames
	cost = 2
	prerequisite = {
		focus = GGR_but_no_one_answered
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_no_more_games"
		hidden_effect = { country_event = { id = goering.blau.united.6 } }
		GPG = {
			add_stability = 0.03
			add_war_support = -0.03
			add_manpower = -5000
		}
		RKG = {
			add_stability = 0.03
			add_war_support = -0.03
			add_manpower = -5000
		}
		GBQ = {
			add_stability = 0.03
			add_war_support = -0.03
			add_manpower = -5000
		}
		GCA = {
			add_stability = 0.03
			add_war_support = -0.03
			add_manpower = -5000
		}
		ADS = {
			add_stability = 0.03
			add_war_support = -0.03
			add_manpower = -5000
		}
		GKA = {
			add_stability = 0.03
			add_war_support = -0.03
			add_manpower = -5000
		}
		NAF = {
			add_stability = 0.03
			add_war_support = -0.03
			add_manpower = -5000
		}
		RKM = {
			add_stability = 0.03
			add_war_support = -0.03
			add_manpower = -5000
		}
	}
	relative_position_id = GGR_fall_blau3
	x = -1
	y = 9
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_raze_barcelona
	icon = GFX_focus_generic_burn_them_all
	cost = 2
	prerequisite = {
		focus = GGR_no_more_games
	}
	prerequisite = {
		focus = GGR_close_the_dam
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_raze_barcelona"
		986 = {
			damage_building = {
				type = infrastructure
				damage = 4
			}
			add_manpower = -1500000
			set_temp_variable = { temp_state_value_addition = -2.50 }
		    econ_state_value_change_addition = yes
			set_state_name = STATE_986_goering
		}
		add_victory_points = { province = 9764 value = -50 }
		GKA = {
			set_capital = { state = 167 }
			add_stability = -0.05
		}
		set_temp_variable = { money_reserves_temp = 2.50 }
		econ_money_reserves_change_raw_money = yes
	}
	relative_position_id = GGR_fall_blau3
	x = 0
	y = 10
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_contain_the_terrorists
	icon = GFX_focus_BRG_Turn_The_Key
	cost = 2
	prerequisite = {
		focus = GGR_raze_barcelona
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_contain_the_terrorists"
		GBQ = {
			random_owned_controlled_state = {
				damage_building = {
					type = infrastructure
					damage = 2
				}
			}
			add_stability = 0.03
			add_war_support = -0.03
		}
		RKM = {
			random_owned_controlled_state = {
				damage_building = {
					type = infrastructure
					damage = 2
				}
			}
			add_stability = 0.03
			add_war_support = -0.03
		}
		GKA = {
			random_owned_controlled_state = {
				damage_building = {
					type = infrastructure
					damage = 2
				}
			}
			add_stability = 0.03
			add_war_support = -0.03
		}
		ADS = {
			random_owned_controlled_state = {
				damage_building = {
					type = infrastructure
					damage = 2
				}
			}
			add_stability = 0.03
			add_war_support = -0.03
		}
		RKG = {
			random_owned_controlled_state = {
				damage_building = {
					type = infrastructure
					damage = 2
				}
			}
			add_stability = 0.03
			add_war_support = -0.03
		}
		GCA = {
			random_owned_controlled_state = {
				damage_building = {
					type = infrastructure
					damage = 2
				}
			}
			add_stability = 0.03
			add_war_support = -0.03
		}
		GPG = {
			random_owned_controlled_state = {
				damage_building = {
					type = infrastructure
					damage = 2
				}
			}
			add_stability = 0.03
			add_war_support = -0.03
		}
	
	}
	relative_position_id = GGR_fall_blau3
	x = -1
	y = 11
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_always_vigilant
	icon = GFX_focus_generic_eternal_vigilance
	cost = 2
	prerequisite = {
		focus = GGR_raze_barcelona
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_always_vigilant"
		navy_experience = 10
		air_experience = 10
		add_doctrine_cost_reduction = {
		    name = naval_doc_bonus
		    cost_reduction = 0.75
		    uses = 1
		    category = naval_doctrine
		}
	}
	relative_position_id = GGR_fall_blau3
	x = 1
	y = 11
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_close_the_dam
	icon = GFX_focus_GGR_Close_the_Dam
	cost = 2
	prerequisite = {
		focus = GGR_but_no_one_answered
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_close_the_dam"
		ITA = {
			country_event = { id = goering.blau.united.7 }
		}
	}
	relative_position_id = GGR_fall_blau3
	x = 1
	y = 9
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}



shared_focus = {
	id = GGR_fall_rot
	icon = GFX_focus_GER_Fall_Rot
	cost = 0.2
	prerequisite = {
		focus = GGR_plan_B
	}
	available = {
		player_one_operation_check = yes
		hidden_trigger = {
			if = {
				limit = { is_ai = no }
			}
			else_if = {
				limit = {
					has_game_rule = {
						rule = GGR_FALL_ROT_TIME
						option = GGR_FALL_ROT_REGIONAL
					}
				}
				has_global_flag = RUS_West_Russian_unification
			}
			else_if = {
				limit = {
					has_game_rule = {
						rule = GGR_FALL_ROT_TIME
						option = GGR_FALL_ROT_SUPERREGIONAL
					}
				}
				has_global_flag = RUS_Russia_unification
			}
			else_if = {
				limit = {
					has_game_rule = {
						rule = GGR_FALL_ROT_TIME
						option = GGR_FALL_ROT_NATIONAL
					}
				}
				has_global_flag = RUS_national_unification
			}
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_fall_rot"
		set_country_flag = GGR_operation_locked
		GGR_clear_temporary_variables = yes
		if = {
			limit = {
				has_global_flag = RUS_West_Russian_unification
			}
			if = {
				limit = {
					country_exists = WRS
				}
				country_event = goering.rot.15
			}
			else_if = {
				limit = {
					country_exists = KOM
					KOM = { has_government = national_socialism }
				}
				country_event = goering.rot.19
			}
			else_if = {
				limit = {
					country_exists = PRM
					PRM = {
						has_country_leader = {
							character = PRM_Gutrum_Vagner
							ruling_only = yes
						}
					}
				}
				country_event = goering.rot.16
			}
		}
		hidden_effect = {
			add_dynamic_modifier = { modifier = GGR_fall_rot }
			if = {
				limit = {
					has_global_flag = RUS_Russia_unification
					country_exists = OMS
				}
				OMS = { country_event = goering.rot.14 }
			}
			every_country = {
				limit = {
					OR = {
						is_russian_nation = yes
						is_kazakh_nation = yes
						is_central_asian_nation = yes
					}
					has_war = no
					is_ai = no
				}
				if = {
					limit = {
						GER = {
							has_country_flag = GGR_hard_mode
						}
					}
					add_ideas = GGR_against_the_german_giant_hard
				}
				else = {
					add_ideas = GGR_against_the_german_giant
				}
			}
			859 = {
				set_demilitarized_zone = no
			}
			858 = {
				set_demilitarized_zone = no
			}
		}
		set_temp_variable = { Victory_ID = 102 }
		set_temp_variable = { Victory_Outcome = 0 }
		set_temp_variable = { Victory_Points = 0 }
		Cold_War_GUI_AddVictory = yes
	}
	relative_position_id = GGR_plan_B
	x = 26
	y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

# Unique Russian warlord branches

shared_focus = {
	id = GGR_
	icon = GFX_focus_GGR_german_soldiers
	cost = 2
	prerequisite = {
		focus = GGR_fall_rot
	}
	allow_branch = {
		has_country_flag = GER_war_Plan_B
		has_global_flag = RUS_West_Russian_unification
		always = no
	}
	available = {
		GGR_not_invaded_russia = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_"
	}
	relative_position_id = GGR_fall_rot
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
	x = 0
	y = 1
}

# booo tabby 

shared_focus = {
	id = GGR_the_mad_regent_of_russia
	icon = GFX_focus_KOM_the_grand_regency
	cost = 2
	prerequisite = {
		focus = GGR_fall_rot
	}
	allow_branch = {
		has_country_flag = GER_war_Plan_B
		has_global_flag = RUS_West_Russian_unification
		if = {
			limit = {
				NOT = {
					has_completed_focus = GGR_the_mad_regent_of_russia
				}
			}
			KOM = {
				exists = yes
				has_government = national_socialism
			}
		}
		NOT = {
			has_global_flag = AFTER_MIDNIGHT_Collapsed
		}
	}
	available = {
		GGR_not_invaded_russia = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_the_mad_regent_of_russia"
	}
	relative_position_id = GGR_fall_rot
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
	x = 0
	y = 1
}

shared_focus = {
	id = GGR_and_his_most_beloved_weapon
	icon = GFX_focus_KOM_no_law_but_the_regents
	cost = 2
	prerequisite = {
		focus = GGR_the_mad_regent_of_russia
	}
	available = {
		GGR_not_invaded_russia = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_and_his_most_beloved_weapon"
		add_ideas = GGR_anti_gas_measures_KOM
	}
	relative_position_id = GGR_the_mad_regent_of_russia
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
	x = 0
	y = 1
}

shared_focus = {
	id = GGR_into_hell_itself
	icon = GFX_focus_GER_into_hell_itself
	cost = 2
	prerequisite = {
		focus = GGR_and_his_most_beloved_weapon
	}
	available = {
		GGR_not_invaded_russia = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_into_hell_itself"
		custom_effect_tooltip = GGR_resistance_target_decrease_50_percent
		set_variable = { GGR_temporary_resistance_target = -0.5 }
	}
	relative_position_id = GGR_and_his_most_beloved_weapon
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
	x = 0
	y = 1
}

# MAD LAD №111 YAZOV

shared_focus = {
	id = GGR_darkness_and_hatred_from_the_east
	icon = GFX_focus_GGR_hatred_and_darkness_from_the_east
	cost = 1
	prerequisite = {
		focus = GGR_fall_rot
	}
	allow_branch = {
		has_country_flag = GER_war_Plan_B
		has_global_flag = RUS_Russia_unification
		if = {
			limit = {
				NOT = { country_exists = OMS }
			}
			has_completed_focus = GGR_darkness_and_hatred_from_the_east
		}
	}
	available = {
		GGR_not_invaded_russia = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_darkness_and_hatred_from_the_east"
		GGR_plan_A_max_planning = yes
	}
	relative_position_id = GGR_fall_rot
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
	x = 0
	y = 1
}

shared_focus = {
	id = GGR_a_considerable_enemy
	icon = GFX_focus_OMS_fortress_omsk
	cost = 1
	prerequisite = {
		focus = GGR_darkness_and_hatred_from_the_east
	}
	available = {
		GGR_not_invaded_russia = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_a_considerable_enemy"
		add_ideas = GGR_anti_gas_measures_OMS
	}
	relative_position_id = GGR_darkness_and_hatred_from_the_east
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
	x = 0
	y = 1
}

shared_focus = {
	id = GGR_the_great_trial_is_on_the_way
	icon = GFX_focus_GGR_the_great_trial_awaits
	cost = 1
	prerequisite = {
		focus = GGR_a_considerable_enemy
	}
	available = {
		GGR_not_invaded_russia = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_the_great_trial_is_on_the_way"
		custom_effect_tooltip = GGR_army_org_increase_7
		set_variable = { GGR_temporary_army_organisation = 0.07 }
	}
	relative_position_id = GGR_a_considerable_enemy
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
	x = 0
	y = 1
}


# Samara

shared_focus = {
	id = GGR_our_old_trusted_traitors
	icon = GFX_focus_SAM_for_your_freedom_not_mine
	cost = 1
	prerequisite = {
		focus = GGR_fall_rot
	}
	allow_branch = {
		has_country_flag = GER_war_Plan_B
		has_global_flag = RUS_West_Russian_unification
		if = {
			limit = {
				NOT = { country_exists = SAM }
			}
			has_completed_focus = GGR_our_old_trusted_traitors
		}
	}
	available = {
		GGR_not_invaded_russia = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_our_old_trusted_traitors"
		GGR_plan_A_max_planning = yes
	}
	relative_position_id = GGR_fall_rot
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
	x = 0
	y = 1
}


shared_focus = {
	id = GGR_contact_the_loyalists_SAM
	icon = GFX_focus_MCW_joint_patrols
	cost = 1
	prerequisite = {
		focus = GGR_our_old_trusted_traitors
	}
	available = {
		GGR_not_invaded_russia = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_contact_the_loyalists_SAM"
		SAM = {
			if = {
				limit = {
					has_government = national_socialism
				}
				add_stability = -0.1
				add_war_support = -0.15
				GER = {
					custom_effect_tooltip = GGR_resistance_target_decrease_10_percent
					set_variable = { GGR_temporary_resistance_target = -0.1 }
					set_temp_variable_to_random = {
						var = GGR_manpower_taken
						min = 3500
						max = 6000
						integer = yes
					}
					add_manpower = GGR_manpower_taken
				}
			}
			else = {
				add_stability = -0.03
				add_war_support = -0.05
				GER = {
					set_temp_variable_to_random = {
						var = GGR_manpower_taken
						min = 1000
						max = 4000
						integer = yes
					}
					add_manpower = GGR_manpower_taken
				}
			}
		}
	}
	relative_position_id = GGR_our_old_trusted_traitors
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
	x = 0
	y = 1
}

shared_focus = {
	id = GGR_and_burn_the_rest
	icon = GFX_focus_generic_slaves_for_the_smelteries
	cost = 1
	prerequisite = {
		focus = GGR_contact_the_loyalists_SAM
	}
	available = {
		GGR_not_invaded_russia = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_and_burn_the_rest"
		add_ideas = GGR_no_mercy_for_traitors_idea
	}
	relative_position_id = GGR_contact_the_loyalists_SAM
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
	x = 0
	y = 1
}

# PERMHEIM

shared_focus = {
	id = GGR_dishonorable_aryans
	icon = GFX_focus_PRM_bolstering_our_ranks
	cost = 1
	prerequisite = {
		focus = GGR_fall_rot
	}
	allow_branch = {
		has_country_flag = GER_war_Plan_B
		if = {
			limit = {
				NOT = { has_completed_focus = GGR_dishonorable_aryans }
			}
			has_global_flag = RUS_West_Russian_unification
			country_exists = PRM
		}
	}
	available = {
		GGR_not_invaded_russia = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_dishonorable_aryans"
		GGR_plan_A_max_planning = yes
	}
	relative_position_id = GGR_fall_rot
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
		modifier = {
			add = 1000
			has_game_rule = {
				rule = GGR_AB_PATH
				option = GGR_AB_PATH_KILL
			}
		}
	}
	x = 0
	y = 1
}

shared_focus = {
	id = GGR_enough_jokes
	icon = GFX_focus_GER_failure_warrants_punishment
	cost = 1
	prerequisite = {
		focus = GGR_dishonorable_aryans
	}
	available = {
		GGR_not_invaded_russia = yes
	}
	mutually_exclusive = { focus = GGR_an_unthinkable_opportunity }
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_enough_jokes"
		GGR_increase_militarist_loyalty = yes
		GGR_decrease_militarist_hawkishness_small = yes
		#if = {
		#	limit = {
		#		PRM = { 
		#			has_government = national_socialism
		#		}
		#	}
		#	country_event = goering.rot.23
		#}
		#else = {
			set_temp_variable = { X = 0.15 }
			custom_effect_tooltip = GGR_army_org_factor_increase_X_percent
			set_variable = { GGR_temporary_army_organisation = 0.15 }
		#}
	}
	relative_position_id = GGR_dishonorable_aryans
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
		modifier = {
			factor = 0
			has_game_rule = {
				rule = GGR_AB_PATH
				option = GGR_AB_PATH_BEFRIEND
			}
		}
		modifier = {
			add = 1000
			has_game_rule = {
				rule = GGR_AB_PATH
				option = GGR_AB_PATH_KILL
			}
		}
	}
	x = -1
	y = 1
}

shared_focus = {
	id = GGR_you_are_not_aryans
	icon = GFX_focus_GRO_let_them_know_true_fear
	cost = 1
	prerequisite = {
		focus = GGR_enough_jokes
	}
	available = {
		GGR_not_invaded_russia = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_you_are_not_aryans"
		custom_effect_tooltip = GGR_bombing_effectiveness_increase_20_percent
		set_variable = { GGR_temporary_bombing = 0.2 }
	}
	relative_position_id = GGR_enough_jokes
	ai_will_do = {
		factor = 2
		modifier = {
			add = 10
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
	x = 0
	y = 1
}

shared_focus = {
	id = GGR_an_unthinkable_opportunity
	icon = GFX_focus_PRM_the_future_of_the_race
	cost = 2
	prerequisite = {
		focus = GGR_dishonorable_aryans
	}
	available = {
		GGR_not_invaded_russia = yes
		NOT = {
			has_completed_focus = GGR_renew_terror_bombings
		}
		PRM = {
			has_country_leader = {
				character = PRM_Gutrum_Vagner
				ruling_only = yes
			}
			has_war = no
		}
		set_temp_variable = { required_difference = 66 }
		militarists_are_pleased = yes
	}
	
	mutually_exclusive = { focus = GGR_enough_jokes }
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_an_unthinkable_opportunity"
		set_temp_variable = { loyalty_change = 35 }
		GGR_decrease_militarist_loyalty = yes
		country_event = goering.rot.20
	}
	relative_position_id = GGR_dishonorable_aryans
	ai_will_do = {
		factor = 2
		modifier = {
			add = 4
			check_variable = { GER_Militarist_Loyalty > 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
		modifier = {
			factor = 0
			has_game_rule = {
				rule = GGR_AB_PATH
				option = GGR_AB_PATH_KILL
			}
		}
		modifier = {
			add = 1000
			has_game_rule = {
				rule = GGR_AB_PATH
				option = GGR_AB_PATH_BEFRIEND
			}
		}
	}
	x = 1
	y = 1
}

shared_focus = {
	id = GGR_isolate_them
	icon = GFX_focus_generic_controlled_politics
	cost = 2
	prerequisite = {
		focus = GGR_an_unthinkable_opportunity
	}
	available = {
		GGR_not_invaded_russia = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_isolate_them"
		TNO_improve_immigration_policy_effectiveness_high = yes
		MCW = {
			TNO_improve_immigration_policy_effectiveness_med = yes
		}
		PRM = {
			TNO_improve_immigration_policy_effectiveness_low = yes
		}
	}
	relative_position_id = GGR_an_unthinkable_opportunity
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 1000
			has_game_rule = {
				rule = GGR_AB_PATH
				option = GGR_AB_PATH_BEFRIEND
			}
		}
	}
	x = 0
	y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}


# WRRF

shared_focus = {
	id = GGR_our_old_trusted_enemies
	icon = GFX_focus_WRS_militant_marxism
	cost = 1
	prerequisite = {
		focus = GGR_fall_rot
	}
	allow_branch = {
		has_country_flag = GER_war_Plan_B
		has_global_flag = RUS_West_Russian_unification
		if = {
			limit = {
				NOT = { country_exists = WRS }
			}
			has_completed_focus = GGR_our_old_trusted_enemies
		}
	}
	available = {
		GGR_not_invaded_russia = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_our_old_trusted_enemies"
		GGR_plan_A_max_planning = yes
	}
	relative_position_id = GGR_fall_rot
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
	x = 0
	y = 1
}
shared_focus = {
	id = GGR_our_old_trusted_strategies
	icon = GFX_focus_GGR_dust_off_the_bookshelves
	cost = 1
	prerequisite = {
		focus = GGR_our_old_trusted_enemies
	}
	available = {
		GGR_not_invaded_russia = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_our_old_trusted_strategies"
		custom_effect_tooltip = GGR_decryption_factor_increase_25
		set_variable = { GGR_temporary_decryption_factor = 0.25 }
	}
	relative_position_id = GGR_our_old_trusted_enemies
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
	x = 0
	y = 1
}
shared_focus = {
	id = GGR_our_old_trusted_generals
	icon = GFX_focus_GGR_german_soldiers
	cost = 1
	prerequisite = {
		focus = GGR_our_old_trusted_strategies
	}
	available = {
		GGR_not_invaded_russia = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_our_old_trusted_generals"
		custom_effect_tooltip = GGR_planning_speed_increase_15_percent
		set_variable = { GGR_temporary_planning_speed = 0.15 }
	}
	relative_position_id = GGR_our_old_trusted_strategies
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
	x = 0
	y = 1
}
shared_focus = {
	id = GGR_their_new_trusted_weapons
	icon = GFX_focus_generic_gas_soldier
	cost = 2
	prerequisite = {
		focus = GGR_our_old_trusted_generals
	}
	available = {
		GGR_not_invaded_russia = yes
		WRS = {
			has_country_leader = {
				character = WRS_Mikhail_Tukhachevsky
				ruling_only = yes
			}
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_their_new_trusted_weapons"
		add_ideas = GGR_anti_gas_measures_WRS
	}
	relative_position_id = 	GGR_our_old_trusted_generals
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
	x = 0
	y = 1
}
shared_focus = {
	id = GGR_reinforce_the_garrison
	icon = GFX_focus_GGR_german_soldiers
	cost = 2
	prerequisite = {
		focus = GGR_fall_rot
	}
	available = {
		GGR_not_invaded_russia = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_reinforce_the_garrison"
		MCW = {
			add_ideas = GGR_strengthening_the_garrison
		}
	}
	relative_position_id = GGR_fall_rot
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
	x = -4
	y = 1
}

shared_focus = {
	id = GGR_enlist_the_locals
	icon = GFX_focus_GGR_enlist_locals
	cost = 2
	prerequisite = {
		focus = GGR_reinforce_the_garrison
	}
	available = {
		GGR_not_invaded_russia = yes
	}

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_enlist_the_locals"
		MCW = {
			swap_ideas = {
				remove_idea = GGR_strengthening_the_garrison
				add_idea = GGR_strengthening_the_garrison2
			}
		}
	}
	relative_position_id = GGR_fall_rot
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
	x = -5
	y = 2
}

shared_focus = {
	id = GGR_mercenary_army
	icon = GFX_focus_GGR_russian_mercenaries
	cost = 2
	prerequisite = {
		focus = GGR_enlist_the_locals
	}
	available = {
		GGR_not_invaded_russia = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_mercenary_army"
		set_temp_variable = { temp_econ_spending_amount = 1 }
		econ_spend_money_once_effect_raw_money = yes
		hidden_effect = { load_oob = "GGR_Mercenary_Army" }
	}
	relative_position_id = GGR_fall_rot
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
	x = -5
	y = 3
	offset = {
		x = 1
		y = 0
		trigger = {
			NOT = {
				has_game_rule = {
					rule = BRITAIN_CONTENT_STATUS
					option = BRITAIN_OLD
				}
			}
		}
	}
}

shared_focus = {
	id = GGR_proud_sons_of_germania
	icon = GFX_focus_GGR_germanys_finest
	cost = 2
	prerequisite = {
		focus = GGR_reinforce_the_garrison
	}
	available = {
		GGR_not_invaded_russia = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_proud_sons_of_germania"
		custom_effect_tooltip = GGR_proud_sons_of_germania_tooltip
		add_war_support = 0.05
		add_manpower = 7800

		GGR_decrease_militarist_power_small = yes
	}
	relative_position_id = GGR_fall_rot
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
	x = -3
	y = 2
}

shared_focus = {
	id = GGR_cornwalls_finest
	icon = GFX_focus_GGR_cornwall_finest
	cost = 2
	prerequisite = {
		focus = GGR_proud_sons_of_germania
	}
	available = {
		GGR_not_invaded_russia = yes
		has_global_flag = ENG_GF_WonECW
		has_completed_focus = GGR_thebatteredgarrison
	}
	allow_branch = {
		has_country_flag = GER_war_plan_B
		has_game_rule = {
			rule = BRITAIN_CONTENT_STATUS
			option = BRITAIN_OLD
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_cornwalls_finest"
		custom_effect_tooltip = GGR_cornwalls_finest_tooltip
		custom_effect_tooltip = GGR_soft_attack_increase_15_percent
		set_variable = { GGR_temporary_soft_attack = 0.15 }
		if = {
			limit = { country_exists = CRN }
			CRN = {
				add_manpower = -10000
				army_experience = -50
			}
		}
	}
	relative_position_id = GGR_fall_rot
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
	x = -3
	y = 3
}

shared_focus = {
	id = GGR_the_army_is_ready
	icon = GFX_focus_GGR_the_army_is_ready
	cost = 2
	prerequisite = {
		focus = GGR_mercenary_army
		focus = GGR_cornwalls_finest
	}
	allow_branch = {
		has_country_flag = GER_war_plan_B
	}
	available = {
		GGR_not_invaded_russia = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_the_army_is_ready"
		custom_effect_tooltip = GGR_infantry_attack_increase_15_percent
		custom_effect_tooltip = GGR_infantry_defence_increase_15_percent
		set_variable = { GGR_temporary_infantry_attack = 0.15 }
		set_variable = { GGR_temporary_infantry_defence  = 0.15 }
	}
	relative_position_id = GGR_fall_rot
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
	x = -2
	y = 4
}

shared_focus = {
	id = GGR_renew_terror_bombings
	icon = GFX_focus_GGR_renew_terror_bombings
	cost = 2
	prerequisite = {
		focus = GGR_fall_rot
	}
	available = {
		GGR_not_invaded_russia = yes
		if = {
			limit = {
				has_completed_focus = GGR_an_unthinkable_opportunity
			}
			NOT = { 
				has_completed_focus = GGR_an_unthinkable_opportunity
			} # that shows only if you completed focus
		}
		NOT = {
			custom_trigger_tooltip = {
				tooltip = is_russian_midnight_not_tooltip 
				check_variable = { KOM.KOM_tabby_time_hours > 23 }
			}
		}
	}
	will_lead_to_war_with = KOM
	will_lead_to_war_with = WRS
	will_lead_to_war_with = VYT
	will_lead_to_war_with = SAM
	will_lead_to_war_with = KOM
	will_lead_to_war_with = PRM
	will_lead_to_war_with = OMS
	will_lead_to_war_with = TYM
	will_lead_to_war_with = SVR
	will_lead_to_war_with = TOM
	will_lead_to_war_with = SBA
	will_lead_to_war_with = NOV
	will_lead_to_war_with = PRC
	will_lead_to_war_with = KEM
	will_lead_to_war_with = CHT
	will_lead_to_war_with = AMR
	will_lead_to_war_with = MAG
	will_lead_to_war_with = OMO
	will_lead_to_war_with = BRY
	will_lead_to_war_with = IRK
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_renew_terror_bombings"
		if = {
			limit = {
				any_country = {
					is_russian_nation = yes
					can_form_west_russia = yes
					NOT = { is_in_faction_with = GER }
					exists = yes
				}
			}
			every_country = {
				limit = {
					is_russian_nation = yes
					can_form_west_russia = yes
					exists = yes
				}
				add_ideas = GGR_renewed_terror_bombing
				country_event = { id = goering.rot.1 days = 2 }
			}
		}
		else = {
			every_country = {
				limit = { is_central_russian_nation = yes }
				country_event = { id = goering.rot.1 days = 2 }
			}
			random_country = {
				limit = {
					is_russian_nation = yes
					is_neighbor_of = MCW
				}
				country_event = { id = goering.rot.1 days = 3 }
			}
		}
	}
	relative_position_id = GGR_fall_rot
	x = 4
	y = 1
	ai_will_do = {
		factor = 1
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_send_in_the_firebrands
	icon = GFX_focus_GGR_send_them_firebrands
	cost = 2
	prerequisite = {
		focus = GGR_renew_terror_bombings
	}
	available = {
		GGR_not_invaded_russia = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_send_in_the_firebrands"
		custom_effect_tooltip = GGR_send_in_the_firebrands_tooltip
		if = {
			limit = {
				any_country = {
					is_russian_nation = yes
					can_form_west_russia = yes
					exists = yes
				}
			}
			country_event = { id = goering.rot.4 }
		}
		else = {
			every_country = {
				limit = {
					OR = {
						is_central_russian_nation = yes
						is_west_siberian_nation = yes
					}
					NOT = {
						has_idea = GGR_hindered_war_effort
					}
					exists = yes
				}
				add_ideas = GGR_hindered_war_effort
			}
		}
	}
	relative_position_id = GGR_fall_rot
	x = 3
	y = 2
	ai_will_do = {
		factor = 2
		modifier = {
			add = 1
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_coordinated_rebellion
	icon = GFX_focus_GGR_coordinated_rebelions
	cost = 2
	prerequisite = {
		focus = GGR_send_in_the_firebrands
	}
	available = {
		GGR_not_invaded_russia = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_coordinated_rebellion"
		custom_effect_tooltip = GGR_coordinated_rebellion_tooltip
		if = {
			limit = {
				any_country = {
					is_russian_nation = yes
					can_form_west_russia = yes
					exists = yes
				}
			}
			if = {
				limit = { has_country_flag = firebrands_stab }
				every_country = {
					limit = {
						is_russian_nation = yes
						can_form_west_russia = yes
						exists = yes
					}
					random_list = {
						2 = {
							add_stability = -0.12
						}
						1 = {
							add_stability = 0.12
						}
					}
				}
			}
			if = {
				limit = { has_country_flag = firebrands_manpower }
				every_country = {
					limit = {
						is_russian_nation = yes
						can_form_west_russia = yes
						exists = yes
					}
					random_list = {
						1 = {
							add_manpower = -8901
						}
						1 = {
							add_manpower = 8901
						}
					}
				}
			}
			if = {
				limit = { has_country_flag = firebrands_factories }
				every_country = {
					limit = {
						is_russian_nation = yes
						can_form_west_russia = yes
						exists = yes
					}
					random_list = {
						1 = {
						}
						2 = {
							add_equipment_to_stockpile = {
								type = infantry_equipment
								amount = -2500
								producer = THIS
							}
						}
					}
				}
			}
		}
		else = {
			every_country = {
				limit = {
					has_idea = GGR_hindered_war_effort
				}
				swap_ideas = {
					remove_idea = GGR_hindered_war_effort
					add_idea = GGR_total_collapse
				}
			}
		}
	}
	relative_position_id = GGR_fall_rot
	x = 3
	y = 3
	ai_will_do = {
		factor = 1
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_fear_campaign
	icon = GFX_focus_GGR_fear_campaign
	cost = 2
	prerequisite = {
		focus = GGR_renew_terror_bombings
	}
	available = {
		GGR_not_invaded_russia = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_fear_campaign"
		if = {
			limit = {
				any_country = {
					is_russian_nation = yes
					can_form_west_russia = yes
					exists = yes
				}
			}
			every_country = {
				limit = {
					is_russian_nation = yes
					can_form_west_russia = yes
					exists = yes
				}
				add_war_support = -0.13
			}
		}
		else = {
			every_country = {
				limit = {
					is_central_russian_nation = yes
				}
				add_war_support = -0.1
			}
		}
	}
	relative_position_id = GGR_fall_rot
	x = 5
	y = 2
	ai_will_do = {
		factor = 1
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_total_demoralization
	icon = GFX_focus_GGR_total_demoralisation
	cost = 2
	prerequisite = {
		focus = GGR_fear_campaign
	}
	available = {
		GGR_not_invaded_russia = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_total_demoralization"
		if = {
			limit = {
				any_country = {
					is_russian_nation = yes
					can_form_west_russia = yes
					exists = yes
				}
			}
			every_country = {
				limit = {
					is_russian_nation = yes
					can_form_west_russia = yes
					exists = yes
				}
				add_stability = -0.13
			}
		}
		else = {
			every_country = {
				limit = {
					is_central_russian_nation = yes
				}
				random_list = {
					1 = {
						add_stability = -0.15
					}
					1 = {
						add_war_support = -0.2
					}
				}
			}
		}
	}
	relative_position_id = GGR_fall_rot
	x = 5
	y = 3
	ai_will_do = {
		factor = 1
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_their_people_are_weak
	icon = GFX_focus_GGR_weak_russians
	cost = 2
	prerequisite = {
		focus = GGR_total_demoralization
		focus = GGR_coordinated_rebellion
	}
	available = {
		GGR_not_invaded_russia = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_their_people_are_weak"
		if = {
			limit = {
				any_country = {
					is_russian_nation = yes
					can_form_west_russia = yes
					exists = yes
				}
			}
			every_country = {
				limit = {
					is_russian_nation = yes
					can_form_west_russia = yes
					exists = yes
				}
				add_timed_idea = {
					idea = GGR_weak_people
					days = 100
				}
			}
		}
		else = {
			every_country = {
				limit = {
					is_central_russian_nation = yes
				}
				add_timed_idea = {
					idea = GGR_weak_people
					days = 100
				} 
			}
		}
	}
	relative_position_id = GGR_fall_rot
	x = 2
	y = 4
	ai_will_do = {
		factor = 1
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_across_the_east_and_far_away
	icon = GFX_focus_GER_expand_frontier
	cost = 2
	dynamic = yes
	available = {
		if = {
			limit = {
				check_variable = { KOM.KOM_tabby_time_hours > 23 }
			}
			custom_trigger_tooltip = {
				tooltip = is_russian_midnight
				has_global_flag = AFTER_MIDNIGHT_Collapsed
			}
		}
	}
	prerequisite = {
		focus = GGR_the_army_is_ready
		focus = GGR_their_people_are_weak
		focus = GGR_our_old_trusted_generals
		focus = GGR_into_hell_itself
		focus = GGR_you_are_not_aryans
		focus = GGR_and_burn_the_rest
		focus = GGR_isolate_them
		focus = GGR_the_great_trial_is_on_the_way
	}
	will_lead_to_war_with = KOM
	will_lead_to_war_with = WRS
	will_lead_to_war_with = VYT
	will_lead_to_war_with = SAM
	will_lead_to_war_with = KOM
	will_lead_to_war_with = PRM
	will_lead_to_war_with = OMS
	will_lead_to_war_with = TYM
	will_lead_to_war_with = SVR
	will_lead_to_war_with = TOM
	will_lead_to_war_with = SBA
	will_lead_to_war_with = NOV
	will_lead_to_war_with = PRC
	will_lead_to_war_with = KEM
	will_lead_to_war_with = CHT
	will_lead_to_war_with = AMR
	will_lead_to_war_with = MAG
	will_lead_to_war_with = OMO
	will_lead_to_war_with = BRY
	will_lead_to_war_with = IRK
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_across_the_east_and_far_away"
		hidden_effect = {
			every_country = {
				limit = {
					is_russian_nation = yes
					has_capitulated = yes
					exists = yes
				}
				random_country = {
					limit = {
						is_russian_nation = yes
						has_capitulated = no
						exists = yes
					}
					annex_country = {
						target = PREV
						transfer_troops = yes
					}
					add_political_power = 50
				}
			}
			if = {
				limit = {
					KOM = {
						exists = yes
						has_government = national_socialism
					}
					has_global_flag = RUS_West_Russian_unification
				}
				GGR_decide_salted_earth_limits = yes # for tabby
				country_event = { id = goering.rot.18 days = 45 random_days = 15 }
			}
			set_country_flag = GGR_dealing_with_russian_partisans
			add_dynamic_modifier = { modifier = GGR_continued_resistance }
			set_variable = { pus_taken = 0 }
			set_variable = { stab_taken = 0 }
			set_variable = { war_supp_taken = 0 }
			FIN = {
				if = {
					limit = {
						is_in_faction_with = GER
					}
					save_global_event_target_as = join_SCN
				}
				else = { SCN = { save_global_event_target_as = join_SCN } }
			}
			MCW = {
				add_dynamic_modifier = { modifier = GGR_continued_resistance }
			}
			RKS = {
				add_dynamic_modifier = { modifier = GGR_continued_resistance }
			}
			RKF = {
				add_dynamic_modifier = { modifier = GGR_continued_resistance }
			}
			RKU = {
				add_dynamic_modifier = { modifier = GGR_continued_resistance }
			}
			set_variable = { KOM.KOM_tabby_time_hours = 1 }
			every_country = {
				limit = {
					is_ai = no
				}
				if = {
					limit = {
						country_exists = SAM
						has_global_flag = RUS_West_Russian_unification
					}
					news_event = WORLD_REICH.317
				}
				else_if = {
					limit = {
						country_exists = WRS
						has_global_flag = RUS_West_Russian_unification
					}
					news_event = WORLD_REICH.316
				}
				else_if = {
					limit = {
						country_exists = KOM
						has_global_flag = RUS_West_Russian_unification
						KOM = {
							has_country_leader = {
								character = KOM_Sergey_Taboritsky
								ruling_only = yes
							}
						}
					}
					news_event = WORLD_REICH.318
				}
				else_if = {
					limit = {
						country_exists = KOM
						KOM = {
							has_country_leader = {
								character = KOM_Viktor_Larionov
								ruling_only = yes
							}
						}
					}
					news_event = WORLD_REICH.321
				}
				else_if = {
					limit = {
						country_exists = PRM
						has_global_flag = RUS_West_Russian_unification
						PRM = { NOT = { is_in_faction_with = GER } }
					}
					news_event = WORLD_REICH.306
				}
				else_if = {
					limit = {
						country_exists = OMS
						has_global_flag = RUS_Russia_unification
					}
					news_event = WORLD_REICH.315
				}
				else = {
					news_event = WORLD_REICH.306
				}
			}

			if = {
				limit = { NOT = { has_variable = GGR_russian_loot } }
				set_variable = { GGR_russian_loot = 6 }
			}
		}
		if = {
			limit = {
				is_in_faction_with = PRM
			}
			complete_national_focus = GGR_rush_to_the_urals
			if = {
				limit = {
					has_global_flag = RUS_Russia_unification
				}
				complete_national_focus = GGR_finish_them_off
			}
		}
		if = {
			limit = {
				is_russian_midnight = yes
			}
			custom_effect_tooltip = GGR_russia_is_dead_tooltip
			every_country = {
				limit = {
					OR = {
						is_after_midninght_russian_nation = yes
						tag = FIN
					}
					exists = yes
				}
				declare_war_with_rks = yes
			}
			complete_national_focus = GGR_rush_to_the_urals
			complete_national_focus = GGR_finish_them_off
		}
		else = {
			if = {
				limit = {
					country_exists = PRM
				}
				set_country_flag = GGR_attacked_PRM
			}
			if = {
				limit = {
					country_exists = SAM
				}
				set_country_flag = GGR_attacked_SAM
			}
			hidden_effect = {
				every_country = {
					limit = {
						is_russian_nation = yes
					}
					set_country_flag = RUS_hide_regional_war_decisions
					set_country_flag = RUS_hide_superregional_war_decisions
					RUS_Smuta_Disable = yes
					if = {
						limit = {
							any_enemy_country = {
								OR = {
									is_central_asian_nation = yes
									is_kazakh_nation = yes
								}
							}
						}
						every_enemy_country = {
							white_peace = PREV
						}
					}
				}
			}
			every_country = {
				limit = {
					if = {
						limit = {
							has_global_flag = RUS_West_Russian_unification
						}
						can_form_west_russia = yes
					}
					else = {
						is_central_russian_nation = yes
					}
					NOT = { is_in_faction_with = GER }
					exists = yes
				}
				declare_war_with_rks = yes
			}
			if = { #If west siberia already annexed west russia, skip ahead to west siberia
				limit = {
					NOT = {
						any_country = {
							is_central_russian_nation = yes
							exists = yes
						}
					}
				}
				every_country = {
					limit = {
						is_west_siberian_nation = yes
						exists = yes
					}
					declare_war_with_rks = yes
				}
			}
			hidden_effect = {
				if = {
					limit = {
						NOT = {
							has_global_flag = RUS_national_unification
						}
					}
					if = {
						limit = {
							any_country = {
								is_russian_nation = yes
								is_ai = no
								exists = yes
								NOT = {
									OR = {
										AND = {
											tag = KOM
											has_government = national_socialism
										}
										tag = PRM
									}
								}
							}
						}
						random_country = {
							limit = {
								is_russian_nation = yes
								is_ai = no
								NOT = {
									OR = {
										AND = {
											tag = KOM
											has_government = national_socialism
										}
										tag = PRM
									}
								}
							}
							country_event = { id = ARC.2 days = 3 }
						}
					}
					else_if = {
						limit = {
							any_country = {
								is_russian_nation = yes
								has_country_flag = RUS_superregional_stage
								NOT = {
									OR = {
										AND = {
											tag = KOM
											has_government = national_socialism
										}
										tag = PRM
									}
								}
							}
						}
						random_country = {
							limit = {
								is_russian_nation = yes
								has_country_flag = RUS_superregional_stage
								NOT = {
									OR = {
										AND = {
											tag = KOM
											has_government = national_socialism
										}
										tag = PRM
									}
								}
							}
							country_event = { id = ARC.2 days = 3 }
						}
					}
					else = {
						random_country = {
							limit = {
								is_russian_nation = yes
								NOT = {
									OR = {
										AND = {
											tag = KOM
											has_government = national_socialism
										}
										tag = PRM
									}
								}
							}
							country_event = { id = ARC.2 days = 3 }
						}
					}
				}
			}
			clear_global_event_target = join_SCN
		}
		GGR_choose_closest_russian_unifier = yes
		GGR_choose_closest_russian_unifier = yes
		set_variable = { GGR_russian_population_anger = 0.35 }
		set_country_flag = GGR_no_clear_variables
	}
	relative_position_id = GGR_fall_rot
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
	x = 0
	y = 5
}

shared_focus = {
	id = GGR_the_first_domino
	icon = GFX_focus_RUS_russia_superregional
	cost = 2
	prerequisite = {
		focus = GGR_across_the_east_and_far_away
	}
	bypass = {
		GGR_russia_conquered = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_the_first_domino"
		custom_effect_tooltip = GGR_the_first_domino_tooltip
		custom_effect_tooltip = GGR_army_speed_increase_20_percent
		custom_effect_tooltip = GGR_armor_attack_factor_increase_25_percent
		set_variable = { GGR_temporary_speed = 0.2 }
		set_variable = { GGR_temporary_army_armor_attack_factor = 0.25 }
		hidden_effect = {
			country_event = { id = goering.1220 days = 90 }
		}
	}
	relative_position_id = GGR_fall_rot
	x = -4
	y = 6
	ai_will_do = {
		factor = 5
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}
shared_focus = {
	id = GGR_loot_the_factories
	icon = GFX_focus_generic_pillage
	cost = 2
	prerequisite = {
		focus = GGR_the_first_domino
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_loot_the_factories"
		custom_effect_tooltip = GGR_anger_russians_major
		add_to_variable = { GGR_russian_population_anger = 0.08 }
		set_temp_variable = { money_reserves_temp = 1.5 }
		econ_money_reserves_change_raw_money = yes
		if = {
			limit = {
				GGR_russia_conquered = no
			}
			set_variable = { GGR_war_timer_var = 300 }
			add_days_mission_timeout = {
				mission = GGR_war_timer
				days = 100
			}
		}
		MCW = {
			set_temp_variable = { pus_temp = -4 }
			econ_pus_change = yes
		}
	}
	relative_position_id = GGR_the_first_domino
	x = -1
	y = 1
	offset = {
		x = 1
		y = 0
		trigger = {
			NOT = { has_global_flag = RUS_all_russian_congress }
		}
	}
	ai_will_do = {
		factor = 5
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_fight_the_insurgency
	icon = GFX_focus_GGR_generic_major_war
	cost = 2
	prerequisite = {
		focus = GGR_the_first_domino
	}
	allow_branch = {
		has_country_flag = GER_war_plan_B
		if = {
			limit = {
				NOT = { has_global_flag = RUS_all_russian_congress }
			}
			has_completed_focus = GGR_fight_the_insurgency
		}
	}
	available = {
		has_country_flag = GGR_dealing_with_russian_partisans
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_fight_the_insurgency"
		custom_effect_tooltip = GGR_fight_the_insurgency_tooltip
	}
	relative_position_id = GGR_the_first_domino
	x = 1
	y = 1
	ai_will_do = {
		factor = 5
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_find_some_friends
	icon = GFX_focus_TYM_unity_foremost
	cost = 2
	prerequisite = {
		focus = GGR_fight_the_insurgency
	}
	allow_branch = {
		has_country_flag = GER_war_plan_B
		if = {
			limit = {
				NOT = { has_global_flag = RUS_all_russian_congress }
			}
			has_completed_focus = GGR_fight_the_insurgency
		}
		NOT = {
			any_country = {
				is_russian_nation = yes
				is_in_faction_with = GER
			}
		}
	}
	available = {
		has_country_flag = GGR_dealing_with_russian_partisans
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_find_some_friends"
		custom_effect_tooltip = GGR_calm_russians_minor
		subtract_from_variable = { GGR_russian_population_anger = 0.02 }
	}
	relative_position_id = GGR_fight_the_insurgency
	x = 0
	y = 1
	ai_will_do = {
		factor = 5
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_searching_in_perm
	icon = GFX_focus_generic_national_socialism
	cost = 2
	prerequisite = {
		focus = GGR_find_some_friends
	}
	mutually_exclusive = {
		focus = GGR_reestablish_the_roa
	}
	available = {
		has_country_flag = GGR_dealing_with_russian_partisans
		NOT = {
			has_country_flag = GGR_attacked_PRM
		}
		any_country = {
			is_in_faction_with = GER
			controls_state = 864
			controls_state = 753
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_searching_in_perm"
		custom_effect_tooltip = GGR_searching_in_perm_tooltip
		custom_effect_tooltip = GGR_calm_russians_minor
		subtract_from_variable = { GGR_russian_population_anger = 0.02 }
		MCW = {
			add_stability = 0.05
		}
	}
	relative_position_id = GGR_find_some_friends
	x = -1
	y = 1
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_reestablish_the_roa
	icon = GFX_focus_SAM_mechanization_of_the_roa
	cost = 2
	prerequisite = {
		focus = GGR_find_some_friends
	}
	available = {
		has_country_flag = GGR_dealing_with_russian_partisans
		NOT = {
			has_country_flag = GGR_attacked_SAM
		}
		any_country = {
			is_in_faction_with = GER
			controls_state = 850
		}
	}
	mutually_exclusive = {
		focus = GGR_searching_in_perm
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_reestablish_the_roa"
		custom_effect_tooltip = GGR_reestablish_the_roa_tooltip
		custom_effect_tooltip = GGR_calm_russians_medium
		subtract_from_variable = { GGR_russian_population_anger = 0.05 }
		hidden_effect = {
			country_event = { id = goering.rot.6 days = 25 }
		}
		MCW = {
			add_stability = 0.08
		}
	}
	relative_position_id = GGR_find_some_friends
	x = 1
	y = 1
	ai_will_do = {
		factor = 1
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_rush_to_the_urals
	icon = GFX_focus_GGR_to_the_urals
	cost = 2
	prerequisite = {
		focus = GGR_across_the_east_and_far_away
	}
	bypass = {
		GGR_russia_conquered = yes
	}
	available = {
		has_war = no #means to handle war timer
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_rush_to_the_urals"
		add_timed_idea = {
			idea = GGR_finishing_western_russia2
			days = 30
		}
		every_country = {
			limit = {
				OR = {
					is_southern_urals_nation = yes
					is_west_siberian_nation = yes
				}
				exists = yes
			}
			declare_war_with_rks = yes
		}
	}
	relative_position_id = GGR_fall_rot
	x = 0
	y = 6
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_do_it_ourselves
	icon = GFX_focus_GER_great_wave
	cost = 2
	prerequisite = {
		focus = GGR_rush_to_the_urals
	}
	bypass = {
		OR = {
			GGR_russia_conquered = yes
			is_russian_midnight = yes
		}
	}
	mutually_exclusive = {
		focus = GGR_all_russian_penal_battalions
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_do_it_ourselves"
		custom_effect_tooltip = GGR_calm_russians_minor
		subtract_from_variable = { GGR_russian_population_anger = 0.02 }
		add_manpower = 12000
	}
	relative_position_id = GGR_fall_rot
	x = -1
	y = 7
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_all_russian_penal_battalions
	icon = GFX_focus_GGR_russian_batalions
	cost = 2
	prerequisite = {
		focus = GGR_rush_to_the_urals
	}
	bypass = {
		OR = {
			GGR_russia_conquered = yes
			is_russian_midnight = yes
		}
	}
	mutually_exclusive = {
		focus = GGR_do_it_ourselves
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_all_russian_penal_battalions"
		custom_effect_tooltip = GGR_anger_russians_medium
		add_to_variable = { GGR_russian_population_anger = 0.05 }
		add_manpower = 25000
	}
	relative_position_id = GGR_fall_rot
	x = 1
	y = 7
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_redevelop_the_roads
	icon = GFX_focus_GGR_generic_construct_infrastructure
	cost = 2
	prerequisite = {
		focus = GGR_do_it_ourselves
		focus = GGR_all_russian_penal_battalions
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_redevelop_the_roads"
		custom_effect_tooltip = GGR_redevelop_the_roads_tooltip
		set_temp_variable = { temp_econ_spending_amount = 1.0 }
		econ_spend_money_once_effect_raw_money = yes
		855 = {
			add_building_construction = {
				type = infrastructure
				level = 3
				instant_build = yes
			}
		}
		867 = {
			add_building_construction = {
				type = infrastructure
				level = 3
				instant_build = yes
			}
		}
		854 = {
			add_building_construction = {
				type = infrastructure
				level = 3
				instant_build = yes
			}
		}
		400 = {
			add_building_construction = {
				type = infrastructure
				level = 3
				instant_build = yes
			}
		}
	}
	relative_position_id = GGR_fall_rot
	x = 0
	y = 8
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_take_the_people
	icon = GFX_focus_GGR_take_the_people
	cost = 2
	prerequisite = {
		focus = GGR_rush_to_the_urals
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_take_the_people"
		custom_effect_tooltip = GGR_anger_russians_medium
		add_to_variable = { GGR_russian_population_anger = 0.05 }
		random_state = {
			limit = {
				OR = {
					is_controlled_by = GER
					is_controlled_by = MCW
				}
				is_west_russian_state = yes
			}
			add_manpower = -35890
		}
		random_state = {
			limit = {
				OR = {
					is_controlled_by = GER
					is_controlled_by = MCW
				}
				is_west_russian_state = yes
			}
			add_manpower = -45623
		}
		random_state = {
			limit = {
				OR = {
					#is_controlled_by = GER
					is_controlled_by = MCW
				}
				is_west_russian_state = yes
			}
			add_manpower = -75146
		}
		random_state = {
			limit = {
				OR = {
					#is_controlled_by = GER
					is_controlled_by = MCW
				}
				is_west_russian_state = yes
			}
			add_manpower = -49234
		}
		random_state = {
			limit = {
				OR = {
					#is_controlled_by = GER
					is_controlled_by = MCW
				}
				is_west_russian_state = yes
			}
			add_manpower = -32569
		}
		random_state = {
			limit = {
				OR = {
					#is_controlled_by = GER
					is_controlled_by = MCW
				}
				is_west_russian_state = yes
			}
			add_manpower = -14576
		}
	}
	relative_position_id = GGR_fall_rot
	x = 3
	y = 7
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_rebuild_the_aa_line
	icon = GFX_focus_GGR_aa_line
	cost = 2
	prerequisite = {
		focus = GGR_take_the_people
	}
	available = {
		hidden_trigger = {
			NOT = {
				any_country = {
					is_central_russian_nation = yes
					is_in_faction = no
					exists = yes
				}
			}
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_rebuild_the_aa_line"
		custom_effect_tooltip = GGR_rebuild_the_aa_line_tooltip
		country_event = { id = goering.rot.8 }
	}
	relative_position_id = GGR_fall_rot
	x = 3
	y = 8
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_eyes_to_the_steppes
	icon = GFX_focus_generic_remote_steppe
	cost = 2
	available = {
		has_war = no
	}
	prerequisite = {
		focus = GGR_across_the_east_and_far_away
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_eyes_to_the_steppes"
		custom_effect_tooltip = GGR_bombing_effectiveness_increase_20_percent
		every_country = {
			limit = {
				OR = { 
					is_kazakh_nation = yes
					is_central_asian_nation = yes
				}
			}
			if = {
				limit = {
					is_in_faction_with = GER
				}
				leave_faction = yes
			}
			declare_war_with_rks = yes
			if = {
				limit = {
					tag = UTL
				}
				USA = {
					TNO_fopo_remove_ca_conference_tab = yes
				}
				TUR = {
					TNO_fopo_remove_ca_conference_tab = yes
				}
				JAP = {
					TNO_fopo_remove_ca_conference_tab = yes
				}
			}
		}
		if = {
			limit = {
				has_variable = GGR_temporary_bombing
			}
			add_to_variable = { GGR_temporary_bombing = 0.2 }
		}
		else = {
			set_variable = { GGR_temporary_bombing = 0.2 }
		}
	}
	relative_position_id = GGR_fall_rot
	x = 9
	y = 6
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_man_vs_machine
	icon = GFX_focus_generic_tank_warfare
	cost = 2
	prerequisite = {
		focus = GGR_eyes_to_the_steppes
	}
	bypass = {
		NOT = {
			has_dynamic_modifier = { modifier = GGR_fall_rot }
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_man_vs_machine"
		custom_effect_tooltip = GGR_armor_speed_factor_increase_20_percent
		set_variable = { GGR_temporary_army_armor_speed_factor = 0.2 }
		add_equipment_to_stockpile = {
			type = APC_equipment_1
			amount = 100
			producer = GER
		}
	}
	relative_position_id = GGR_fall_rot
	x = 9
	y = 7
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_dont_look_back
	icon = GFX_focus_generic_burn_it_down
	cost = 2
	prerequisite = {
		focus = GGR_man_vs_machine
	}
	available = {
		country_exists = RKT
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_dont_look_back"
		custom_effect_tooltip = GGR_dont_look_back_tooltip
		custom_effect_tooltip = GGR_anger_russians_major
		add_to_variable = { GGR_russian_population_anger = 0.08 }
		set_temp_variable = { money_reserves_temp = 0.85 }
		econ_money_reserves_change_raw_money = yes
		RKT = {
			set_temp_variable = { pus_temp = -2 }
			econ_pus_change = yes
		}
		586 = {
			add_resource = {
				type = aluminium
				amount = -3
			}
			add_resource = {
				type = tungsten
				amount = -1
			}
			add_resource = {
				type = steel
				amount = -6
			}
		}
		1803 = {
			add_resource = {
				type = aluminium
				amount = -2
			}
			add_resource = {
				type = tungsten
				amount = -3
			}
			add_resource = {
				type = steel
				amount = -5
			}
		}
		238 = {
			add_resource = {
				type = aluminium
				amount = 6
			}
		}
		217 = {
			add_resource = {
				type = steel
				amount = 8
			}
		}
		222 = {
			add_resource = {
				type = tungsten
				amount = 3
			}
		}
		hidden_effect = {
			add_to_array = { GGR_anarchy_states = 584 }
			add_to_array = { GGR_anarchy_states = 1468 }
			add_to_array = { GGR_anarchy_states = 742 }
			add_to_array = { GGR_anarchy_states = 732 }
			add_to_array = { GGR_anarchy_states = 586 }
			add_to_array = { GGR_anarchy_states = 405 }
			add_to_array = { GGR_anarchy_states = 585 }
			add_to_array = { GGR_anarchy_states = 1466 }
			add_to_array = { GGR_anarchy_states = 1802 }
			add_to_array = { GGR_anarchy_states = 750 }
			add_to_array = { GGR_anarchy_states = 1803 }
			add_to_array = { GGR_anarchy_states = 587 }
			add_to_array = { GGR_anarchy_states = 1467 }
			add_to_array = { GGR_anarchy_states = 2203 }
			add_to_array = { GGR_anarchy_states = 2204 }
			add_to_array = { GGR_anarchy_states = 2202 }
			add_to_array = { GGR_anarchy_states = 2201 }
			add_to_array = { GGR_anarchy_states = 2194 }
			add_to_array = { GGR_anarchy_states = 2205 }
			add_to_array = { GGR_anarchy_states = 2199 }
			add_to_array = { GGR_anarchy_states = 2200 }
			add_to_array = { GGR_anarchy_states = 2198 }
			add_to_array = { GGR_anarchy_states = 2197 }
			add_to_array = { GGR_anarchy_states = 2196 }
			add_to_array = { GGR_anarchy_states = 2195 }
			GGR_update_anarchy = yes
		}
	}
	relative_position_id = GGR_fall_rot
	x = 9
	y = 8
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_finish_them_off
	icon = GFX_focus_GGR_across_the_east_and_far_away
	cost = 2
	prerequisite = {
		focus = GGR_across_the_east_and_far_away
	}
	bypass = {
		GGR_russia_conquered = yes
	}
	available = {
		has_war = no
		hidden_trigger = {
			if = {
				limit = {
					NOT = {
						has_global_flag = RUS_national_unification
					}
				}
				any_country = {
					is_in_faction_with = GER
					owns_state = 571
					owns_state = 403
					owns_state = 580
					owns_state = 579
				}
			}
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_finish_them_off"
		every_country = {
			limit = {
				OR = {
					is_russian_nation = yes #at this point all remaining nations are Russian. tho because of some collapses we might miss few. So just in case...
					tag = NRL #fucking wastes need to be capitulated
					tag = VIL
				}
				NOT = { is_in_faction_with = GER }
				exists = yes
			}
			declare_war_with_rks = yes
		}
		custom_effect_tooltip = GGR_special_forces_attack_increase_15_percent
		custom_effect_tooltip = GGR_special_forces_defence_increase_15_percent
		set_variable = { GGR_temporary_special_forces_attack_factor = 0.15 }
		set_variable = { GGR_temporary_special_forces_defence_factor = 0.15 }
	}
	relative_position_id = GGR_fall_rot
	x = 6
	y = 6
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_sow_the_seeds
	icon = GFX_focus_GGR_sow_the_seeds
	cost = 2
	prerequisite = {
		focus = GGR_finish_them_off
	}
	bypass = {
		GGR_russia_conquered = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_sow_the_seeds"
		custom_effect_tooltip = GGR_calm_russians_minor
		subtract_from_variable = { GGR_russian_population_anger = 0.02 }
		every_country = {
			limit = {
				is_russian_nation = yes
				NOT = { is_in_faction_with = GER }
			}
			add_war_support = -0.1
		}
	}
	relative_position_id = GGR_fall_rot
	x = 5
	y = 7
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_national_socialism_stands_triumphant
	icon = GFX_focus_GER_autumn_in_germany
	cost = 2
	prerequisite = {
		focus = GGR_sow_the_seeds
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_national_socialism_stands_triumphant"
		add_war_support = 0.1
		add_stability = 0.1
	}
	relative_position_id = GGR_fall_rot
	x = 5
	y = 8
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_drive_them_into_the_sea
	icon = GFX_focus_AKT_Russian_Flag_Tatters
	cost = 2
	prerequisite = {
		focus = GGR_finish_them_off
	}
	bypass = {
		GGR_russia_conquered = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_drive_them_into_the_sea"
		custom_effect_tooltip = GGR_mechanized_attack_increase_15_percent
		custom_effect_tooltip = GGR_mechanized_defence_increase_15_percent
		set_variable = { GGR_temporary_mechanized_attack_factor = 0.15 }
		set_variable = { GGR_temporary_mechanized_defence_factor = 0.15 }
	}
	relative_position_id = GGR_fall_rot
	x = 7
	y = 7
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_threaten_the_japanese
	icon = GFX_focus_GGR_focus_attack_japan
	cost = 2
	prerequisite = {
		focus = GGR_drive_them_into_the_sea
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_threaten_the_japanese"
		#TODO: interaction with Japan and vladivostok stuff once that is implemented
		MAN = {
			add_war_support = -0.06
		}
	}
	relative_position_id = GGR_fall_rot
	x = 7
	y = 8
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_the_end_of_the_rus
	icon = GFX_focus_GGR_end_of_the_rus
	cost = 2
	prerequisite = {
		focus = GGR_national_socialism_stands_triumphant
		focus = GGR_threaten_the_japanese
	}
	available = {
		custom_trigger_tooltip = {
			tooltip = GGR_russia_conquered_tooltip
			is_in_faction_with = MCW
			OR = {
				AND = {
					is_in_faction_with = RKS
					is_in_faction_with = RKF
				}
				all_country = {
					if = {
						limit = {
							is_russian_nation = yes
						}
						OR = {
							is_in_faction_with = GER
							exists = no
						}
					}
				}
			}
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_the_end_of_the_rus"
		custom_effect_tooltip = GGR_calm_russians_major
		add_to_variable = { GGR_russian_population_anger = -0.2 }
		clamp_variable = { var = GGR_russian_population_anger min = 0 }
		set_temp_variable = { money_reserves_temp = 25 }
		econ_money_reserves_change_raw_money = yes
		TNO_improve_poverty_low = yes
		RKT = {
			add_stability = 0.1
			#remove_ideas = GGR_RKS_continued_resistance
		}
		RKS = {
			add_stability = 0.1
			#remove_ideas = GGR_RKS_continued_resistance
		}
		RKU = {
			add_stability = 0.1
			#remove_ideas = GGR_RKS_continued_resistance
		}
		RKF = {
			add_stability = 0.1
			#remove_ideas = GGR_RKS_continued_resistance
		}
		MCW = {
			add_stability = 0.1
			#remove_ideas = GGR_RKS_continued_resistance
		}
	}
	relative_position_id = GGR_fall_rot
	x = 6
	y = 9
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

##REMOVE KEBAB HAHA XDDD FUNNY MEME TREE
shared_focus = {
	id = GGR_operation_gertrud
	icon = GFX_focus_GGR_Operation_Gertrud
	cost = 0.2
	prerequisite = {
		focus = GGR_plan_B
	}
	available = {
	    player_one_operation_check = yes
	}
	relative_position_id = GGR_plan_B
	x = 15
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_operation_gertrud"
		set_country_flag = GGR_operation_locked
		GGR_clear_temporary_variables = yes
		set_temp_variable = { Victory_ID = 104 }
		set_temp_variable = { Victory_Outcome = 0 }
		set_temp_variable = { Victory_Points = 0 }
		Cold_War_GUI_AddVictory = yes
		hidden_effect = {
			add_dynamic_modifier = { modifier = GGR_fall_gertrud }
		}
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_over_the_sea
	icon = GFX_focus_generic_battleship
	cost = 2
	prerequisite = {
		focus = GGR_operation_gertrud
	}
	available = {
		GGR_not_invaded_turkey = yes
	}

	mutually_exclusive = { focus = GGR_across_the_mountains }

	relative_position_id = GGR_operation_gertrud
	x = -1
	y = 1
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_over_the_sea"
		custom_effect_tooltip = GGR_over_the_sea_tooltip
		set_temp_variable = { X = 0.1 }
		custom_effect_tooltip = GGR_fleet_coordination_increase_X_percent
		set_variable = { GGR_TUR_naval_coordination = X }
		custom_effect_tooltip = GGR_naval_speed_increase_X_percent
		set_variable = { GGR_TUR_naval_speed = X }
		custom_effect_tooltip = GGR_spotting_speed_increase_X_percent
		set_variable = { GGR_TUR_naval_coordination = X }
		naval_funding_maximal_increase_low = yes
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_build_up_the_balkans
	icon = GFX_focus_GER_the_balkan_bulwark
	cost = 2
	prerequisite = {
		focus = GGR_over_the_sea
	}
	available = {
		GGR_not_invaded_turkey = yes
	}
	bypass = {
		country_exists = BUL
		BUL = {
			NOT = { is_in_faction_with = GER }
		}
	}

	relative_position_id = GGR_over_the_sea
	x = -1
	y = 1
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_build_up_the_balkans"
		custom_effect_tooltip = GGR_build_up_the_balkans_tooltip
		211 = {
			add_building_construction = {
				type = bunker
				level = 2
				instant_build = yes
				province = 9902
			}
			add_building_construction = {
				type = bunker
				level = 2
				instant_build = yes
				province = 9888
			}
		}
		1269 = {
			add_building_construction = {
				type = bunker
				level = 2
				instant_build = yes
				province = 9862
			}
			add_building_construction = {
				type = bunker
				level = 2
				instant_build = yes
				province = 878
			}
		}
		1964 = {
			add_building_construction = {
				type = bunker
				level = 2
				instant_build = yes
				province = 11813
			}
			add_building_construction = {
				type = bunker
				level = 2
				instant_build = yes
				province = 893
			}
		}
		48 = {
			add_building_construction = {
				type = bunker
				level = 2
				instant_build = yes
				province = 6857
			}
			add_building_construction = {
				type = bunker
				level = 2
				instant_build = yes
				province = 9818
			}
		}
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_storming_the_beaches
	icon = GFX_focus_GGR_Storming_the_Beaches
	cost = 2
	prerequisite = {
		focus = GGR_build_up_the_balkans
	}
	available = {
		GGR_not_invaded_turkey = yes
	}
	relative_position_id = GGR_build_up_the_balkans
	x = -1
	y = 1
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_storming_the_beaches"
		custom_effect_tooltip = GGR_storming_the_beaches_tooltip
		set_temp_variable = { X = 0.25 }
		custom_effect_tooltip = GGR_invasion_preparation_time_decrease_X_percent
		set_variable = { GGR_temporary_invasion_preparation = -0.25 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_strike_their_industry
	icon = GFX_focus_generic_bombs
	cost = 2
	prerequisite = {
		focus = GGR_build_up_the_balkans
	}
	available = {
		GGR_not_invaded_turkey = yes
	}
	relative_position_id = GGR_build_up_the_balkans
	x = 1
	y = 1
	completion_reward = {
		custom_effect_tooltip = GGR_strike_their_industry_tooltip
		log = "[GetDateText]: [Root.GetName]: Focus GGR_strike_their_industry"
		set_temp_variable = { X = 0.1 }
		custom_effect_tooltip = GGR_strategic_bombing_increase_X_percent
		set_variable = { GGR_temporary_bombing = 0.1 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_across_the_mountains
	icon = GFX_focus_DRL_penetrate_the_mountain
	cost = 2
	prerequisite = {
		focus = GGR_operation_gertrud
	}
	available = {
		GGR_not_invaded_turkey = yes
	}

	mutually_exclusive = { focus = GGR_over_the_sea }

	relative_position_id = GGR_operation_gertrud
	x = 1
	y = 1
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_build_up_the_balkans"
		custom_effect_tooltip = GGR_across_the_mountains_tooltip
		set_temp_variable = { X = 0.2 }
		custom_effect_tooltip = GGR_winter_attrition_decrease_X_percent
		set_variable = { GGR_temporary_winter_attrition_factor = -0.2 }
		custom_effect_tooltip = GGR_terrain_penalty_reduction_increase_X_percent
		set_variable = { GGR_TUR_terrain_penalty = 0.2 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_efficient_use_of_supplies
	icon = GFX_focus_generic_feed_the_soldiers
	cost = 2
	prerequisite = {
		focus = GGR_across_the_mountains
	}
	available = {
		GGR_not_invaded_turkey = yes
	}
	relative_position_id = GGR_across_the_mountains
	x = 1
	y = 1
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_efficient_use_of_supplies"
		custom_effect_tooltip = GGR_efficient_use_of_supplies_tooltip
		set_temp_variable = { X = 0.2 }
		custom_effect_tooltip = GGR_supply_consumption_factor_decrease_X_percent
		set_variable = { GGR_temporary_supply_consumption = -0.2 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_fly_over_them
	icon = GFX_focus_ITA_OLD_total_transport
	cost = 2
	prerequisite = {
		focus = GGR_efficient_use_of_supplies
	}
	available = {
		GGR_not_invaded_turkey = yes
	}
	relative_position_id = GGR_efficient_use_of_supplies
	x = -1
	y = 1
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_fly_over_them"
		add_equipment_to_stockpile = {
			type = transport_helicopter_equipment
			amount = 100
			producer = GER
		}
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_charge_over_them
	icon = GFX_focus_generic_red_army
	cost = 2
	prerequisite = {
		focus = GGR_efficient_use_of_supplies
	}
	available = {
		GGR_not_invaded_turkey = yes
	}
	relative_position_id = GGR_efficient_use_of_supplies
	x = 1
	y = 1
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_charge_over_them"
		custom_effect_tooltip = GGR_charge_over_them_tooltip
		set_temp_variable = { X = 0.05 }
		custom_effect_tooltip = GGR_supply_consumption_factor_decrease_X_percent
		add_to_variable = { GGR_temporary_supply_consumption = -0.05 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_crush_the_turks
	icon = GFX_focus_GER_nazi_army_officers
	cost = 2
	prerequisite = {
		focus = GGR_storming_the_beaches
		focus = GGR_strike_their_industry
		focus = GGR_fly_over_them
		focus = GGR_charge_over_them
	}
	relative_position_id = GGR_fly_over_them
	x = -1
	y = 1
	will_lead_to_war_with = TUR
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_crush_the_turks"
		TUR = { declare_war_with_rks = yes }
		hidden_effect = {
			ARM = { declare_war_with_rks = yes }
		}
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_fund_jihad
	icon = GFX_focus_generic_revolutionary_movement
	cost = 1
	prerequisite = {
		focus = GGR_crush_the_turks
	}
	bypass = {
		TUR = {
		    exists = no 
		}	
	}
	relative_position_id = GGR_crush_the_turks
	x = 1
	y = 1
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_fund_jihad"
		custom_effect_tooltip = GGR_fund_jihad_tooltip
		
		TUR = {
			add_manpower = -25000
			add_stability = -0.10
			add_political_power = -50
		}
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_occupation_for_the_turks
	icon = GFX_focus_generic_pillage
	cost = 1
	prerequisite = {
		focus = GGR_crush_the_turks
	}

	relative_position_id = GGR_crush_the_turks
	x = -1
	y = 1
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_occupation_for_the_turks"
		custom_effect_tooltip = GGR_occupation_for_the_turks_tooltip
		
		GGR_decrease_militarist_power = yes
		GGR_increase_militarist_loyalty = yes
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_kleinasien_secured
	icon = GFX_focus_CHI_silence_the_hawks
	cost = 2
	prerequisite = {
		focus = GGR_fund_jihad
	}
	prerequisite = {
		focus = GGR_occupation_for_the_turks
	}
	available = {
		GGR_turkey_conquered = yes
	}
	relative_position_id = GGR_occupation_for_the_turks
	x = 1
	y = 1
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_kleinasien_secured"
		custom_effect_tooltip = GGR_kleinasien_secured_tooltip
		
		GGR_increase_militarist_loyalty = yes
		RKK = {
			TNO_improve_security_policy_effectiveness_monthly_med = yes
		}
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

####################
#Göring Italy Tree#
####################


shared_focus = { # LETS INVADE ITALY BOYS
	id = GGR_operation_gaiseric
	icon = GFX_focus_GER_Operation_Gaiseric
	cost = 1

	prerequisite = {
		focus = GGR_plan_B
	}
	available = {
		player_one_operation_check = yes
		custom_trigger_tooltip = {
			tooltip = GGR_operation_gaiseric_trigger_tooltip
			GGR_iberia_out_of_the_way = yes
			GGR_turkey_conquered = yes
			GGR_russia_conquered = yes
			GGR_france_out_of_the_way = yes
			GGR_africa_conquered = yes
		}
	}

	relative_position_id = GGR_plan_B
	x = 0
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_operation_gaiseric"
		custom_effect_tooltip = GGR_operation_gaiseric_tooltip
		set_country_flag = GGR_operation_locked
		GGR_clear_temporary_variables = yes
		set_temp_variable = { Victory_ID = 106 }
		set_temp_variable = { Victory_Outcome = 0 }
		set_temp_variable = { Victory_Points = 0 }
		Cold_War_GUI_AddVictory = yes
		hidden_effect = {
			country_event = {
				id = goering.1803
				days = 10
			}
		}
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = { # HOW WE GONNA DO IT
	id = GGR_choosing_a_plan
	icon = GFX_focus_GGR_surrounding_the_boot
	cost = 1

	prerequisite = {
		focus = GGR_operation_gaiseric
	}

	relative_position_id = GGR_operation_gaiseric
	x = 0
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_choosing_a_plan"
		custom_effect_tooltip = GGR_choosing_a_plan_tooltip
		country_event = { id = goering.gaiseric.1 days = 2 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = { #Göring uses a 3 pronged assault on Italy; from the air, from the sea and from the alps
	id = GGR_a_war_on_3_fronts
	icon = GFX_focus_GER_pakt_wargames
	cost = 1

	allow_branch = {
		has_country_flag = goering_italy_war_on_3_fronts
	}

	prerequisite = {
		focus = GGR_choosing_a_plan
	}

	relative_position_id = GGR_choosing_a_plan
	x = 0
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_a_war_on_3_fronts"
		GGR_decrease_militarist_loyalty_large = yes
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

#Cut Italy off path#

shared_focus = { #We shall cut off Italy from its naval bases and from the suez canal to cripple it
	id = GGR_sever_the_artery
	icon = GFX_focus_ITA_OLD_italy
	cost = 1

	relative_position_id = GGR_a_war_on_3_fronts
	x = -5
	y = 1

	mutually_exclusive = {
		focus = GGR_burn_the_peninsula
		focus = GGR_plunder_the_resources
	}

	prerequisite = {
		focus = GGR_a_war_on_3_fronts
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_sever_the_artery"
		hidden_effect = { add_dynamic_modifier = { modifier = GGR_sever_the_artery_dynmod } }
		custom_effect_tooltip = GGR_TOOLTIP_sever_the_artery
		set_variable = {
			var = GGR_artery_heatattrition
			value = 0.15
		}
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = { #Utilising our navy we can attempt to establish naval superiority over the med to ensure smoother landings
	id = GGR_sink_the_ships
	icon = GFX_focus_generic_dreadnought_warfare
	cost = 1

	relative_position_id = GGR_sever_the_artery
	x = 0
	y = 1

	prerequisite = {
		focus = GGR_sever_the_artery
	}

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_sink_the_ships"
		custom_effect_tooltip = GGR_TOOLTIP_sink_the_ships
		set_variable = {
			var = GGR_artery_navalhitchance
			value = 0.1
		}
		set_variable = {
			var = GGR_artery_sortieefficiency
			value = 0.1
		}
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = { #We need to decide what to do once we have captured the Italian naval bases
	id = GGR_precious_holdings
	icon = GFX_focus_generic_overwhelm_the_outposts
	cost = 1

	prerequisite = {
		focus = GGR_sink_the_ships
	}

	relative_position_id = GGR_sink_the_ships
	x = 0
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_precious_holdings"
		custom_effect_tooltip = GGR_TOOLTIP_GGR_precious_holdings
		set_variable = {
			var = GGR_artery_amphibiousinvasion
			value = 0.1
		}
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = { #Once we land we will destroy every single ship in port to cripple the Italian fleet, alas the need for this level of destruction will mean we wont be able to use the ports ourselves
	id = GGR_make_a_tempting_lure
	icon = GFX_focus_generic_bombs
	cost = 1

	relative_position_id = GGR_precious_holdings
	x = -1
	y = 1

	prerequisite = {
		focus = GGR_precious_holdings
	}

	mutually_exclusive = {
		focus = GGR_make_perfect_staging_grounds
	}

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_make_a_tempting_lure"
		custom_effect_tooltip = GGR_TOOLTIP_GGR_make_a_tempting_lure
		set_country_flag = GGR_tempting_lure
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = { #While it will allow the Italian ships to escape, we cant destroy such valuble ports, especially since we're gonna need as many men as possible to land on the wretched peninsula
	id = GGR_make_perfect_staging_grounds
	icon = GFX_focus_GER_nazi_domination
	cost = 1

	relative_position_id = GGR_precious_holdings
	x = 1
	y = 1

	prerequisite = {
		focus = GGR_precious_holdings
	}

	mutually_exclusive = {
		focus = GGR_make_a_tempting_lure
	}

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_make_perfect_staging_grounds"
		custom_effect_tooltip = GGR_TOOLTIP_GGR_perfect_staging_grounds
		set_country_flag = GGR_perfect_staging_grounds
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = { #We must decide where the main landing/paratrooper force will come from once we capture the canal and the islands
	id = GGR_the_knife_strikes
	icon = GFX_focus_generic_attack
	cost = 1

	relative_position_id = GGR_make_a_tempting_lure
	x = 1
	y = 1

	prerequisite = {
		focus = GGR_make_a_tempting_lure
		focus = GGR_make_perfect_staging_grounds
	}
	will_lead_to_war_with = ITA

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_the_knife_strikes"
		effect_tooltip = {
			declare_war_on = {
				target = ITA
				type = annex_everything
			}
		}
		hidden_effect = {
		    every_country = {
		        limit = {
					OR = {
						is_subject_of = ITA
						tag = ITA
						tag = VAC
					}
			    }
				declare_war_with_rks = yes
				set_country_flag = GGR_capitulate_properly_pls
		    }
		}
		ITA = {
			if = {
				limit = {
					OR = {
						is_in_faction_with = USA 
						is_in_faction_with = JAP 
					}
				}	
				GGR_add_on_our_own = yes
			}	
		}		
		hidden_effect = {
			every_country = {
				limit = { is_ai = no }
				news_event = WORLD_REICH.307
			}
			if = {
				limit = { has_country_flag = GGR_tempting_lure }
				custom_effect_tooltip = GGR_the_knife_strikes_2
				2 = {
					damage_building = {
						type = naval_base
						damage = 8
						province = 11846
					}
					damage_building = {
						type = naval_base
						damage = 8
						province = 11751
					}
				}
				else = { custom_effect_tooltip = GGR_the_knife_strikes_1 }
			}
		}
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = { # Due to its amazing infastrucutre, utilising the canal as our main base of operations will allow a large overwelming attack to quickly crush the Italian scum
	id = GGR_from_the_kanal
	icon = GFX_focus_GGR_from_the_kanal
	cost = 1

	relative_position_id = GGR_the_knife_strikes
	x = -1
	y = 1

	prerequisite = {
		focus = GGR_the_knife_strikes
	}

	available = {
		any_country = {
			is_in_faction_with = GER
			controls_state = 965
		}
	}

	mutually_exclusive = {
		focus = GGR_from_the_isles
	}

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_from_the_kanal"
		custom_effect_tooltip = GGR_TOOLTIP_GGR_from_the_kanal
		set_variable = {
			var = GGR_artery_specops_attack
			value = 0.1
		}
		set_variable = {
			var = GGR_artery_specops_defense
			value = 0.1
		}
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = { #Despite the islands not having as good naval infastrucutre as the canal, their closer location and the fact that if one falls the others may still stand will allow us to supply our men more easily
	id = GGR_from_the_isles
	icon = GFX_focus_GGR_from_the_isles
	cost = 1

	relative_position_id = GGR_the_knife_strikes
	x = 1
	y = 1

	prerequisite = {
		focus = GGR_the_knife_strikes
	}

	available = {
		any_country = {
			is_in_faction_with = GER
			controls_state = 182
			controls_state = 183
			controls_state = 114
		}
	}

	mutually_exclusive = {
		focus = GGR_from_the_kanal
	}

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_from_the_isles"
		custom_effect_tooltip = GGR_TOOLTIP_GGR_from_the_isles
		set_variable = {
			var = GGR_artery_outofsupplyfactor
			value = -0.05
		}
		set_variable = {
			var = GGR_artery_supplyconsymptionfactor
			value = -0.1
		}

	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = { #Our unexpected attack direction will throw off Italian planners, temporarily compromising their well prepared defenses
	id = GGR_cries_for_help
	icon = GFX_focus_generic_embrace_totalitarianism
	cost = 1

	relative_position_id = GGR_from_the_kanal
	x = 1
	y = 1

	prerequisite = {
		focus = GGR_from_the_kanal
		focus = GGR_from_the_isles
	}

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_cries_for_help"
		ITA = {
			add_dynamic_modifier = {
				modifier = GGR_ITA_unexpected_manuvers
				days = 40
			}
		}
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = { #The lack of a Canal and the fact we control Gibraltar will ensure the Italians are stranggled and isolated from any foreign help
	id = GGR_and_no_one_to_help_them
	icon = GFX_focus_GGR_Prolonged_Occupation
	cost = 1

	prerequisite = {
		focus = GGR_cries_for_help
	}

	relative_position_id = GGR_cries_for_help
	x = 0
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_and_no_one_to_help_them"
		custom_effect_tooltip = GGR_TOOLTIP_GGR_and_no_one_to_help_them
		hidden_effect = {
			USA = {
				set_temp_variable = { target = ITA }
				TNO_clear_and_recall_volunteers = yes
				set_temp_variable = { target = VAC }
				TNO_clear_and_recall_volunteers = yes
				set_temp_variable = { target = SNM }
				TNO_clear_and_recall_volunteers = yes
				set_temp_variable = { target = CRO }
				TNO_clear_and_recall_volunteers = yes
				set_temp_variable = { target = MNT }
				TNO_clear_and_recall_volunteers = yes
				set_temp_variable = { target = GRE }
				TNO_clear_and_recall_volunteers = yes
				set_temp_variable = { target = IME }
				TNO_clear_and_recall_volunteers = yes
			}
			JAP = {
				set_temp_variable = { target = ITA }
				TNO_clear_and_recall_volunteers = yes
				set_temp_variable = { target = VAC }
				TNO_clear_and_recall_volunteers = yes
				set_temp_variable = { target = SNM }
				TNO_clear_and_recall_volunteers = yes
				set_temp_variable = { target = CRO }
				TNO_clear_and_recall_volunteers = yes
				set_temp_variable = { target = MNT }
				TNO_clear_and_recall_volunteers = yes
				set_temp_variable = { target = GRE }
				TNO_clear_and_recall_volunteers = yes
				set_temp_variable = { target = IME }
				TNO_clear_and_recall_volunteers = yes
			}
		}
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {#How can the Italians expect to fight back when their entire peninsula is on fire ?
	id = GGR_burn_the_peninsula
	icon = GFX_focus_GER_burn_the_peninsula
	cost = 1

	relative_position_id = GGR_a_war_on_3_fronts
	x = 0
	y = 1

	mutually_exclusive = {
		focus = GGR_sever_the_artery
		focus = GGR_plunder_the_resources
	}

	prerequisite = {
		focus = GGR_a_war_on_3_fronts
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_burn_the_peninsula"
		hidden_effect = {
			add_dynamic_modifier = { modifier = GGR_burn_the_peninsula_dynmod }
			set_variable = { GGR_italy_heat_attrition = 0 }
			set_variable = { GGR_italy_supply_consumption = 0 }
			set_variable = { GGR_italy_invasion_preparation = 0 }
			set_variable = { GGR_italy_special_forces_attack = 0 }
			set_variable = { GGR_italy_air_superiority_bonus = 0 }
			set_variable = { GGR_italy_strategic_bombing = 0 }
		}
		set_temp_variable = { X = 0.05 }
		custom_effect_tooltip = GGR_heat_attrition_increase_X_percent
		add_to_variable = { GGR_italy_heat_attrition = X }
		set_temp_variable = { X = 0.1 }
		custom_effect_tooltip = GGR_supply_consumption_factor_increase_X_percent
		add_to_variable = { GGR_italy_supply_consumption = 0.1 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = { #We must plan to ensure maximum collateral damage
	id = GGR_pour_the_gasoline
	icon = GFX_focus_GER_Torch_The_Gasoline
	cost = 1

	prerequisite = {
		focus = GGR_burn_the_peninsula
	}

	relative_position_id = GGR_burn_the_peninsula
	x = 0
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_pour_the_gasoline"
		set_temp_variable = { X = 0.05 }
		custom_effect_tooltip = GGR_invasion_preparation_time_decrease_X_percent
		subtract_from_variable = { GGR_italy_invasion_preparation = X }
		set_temp_variable = { X = 0.05 }
		custom_effect_tooltip = GGR_special_forces_attack_increase_X_percent
		add_to_variable = { GGR_italy_special_forces_attack = X }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = { #Destroying their agriculture in southern Italy will starve their soldiers
	id = GGR_torch_the_crops
	icon = GFX_focus_GER_Torch_The_Crops
	cost = 1

	prerequisite = {
		focus = GGR_pour_the_gasoline
	}
	mutually_exclusive = { focus = GGR_smolder_the_factories }

	relative_position_id = GGR_pour_the_gasoline
	x = -1
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_torch_the_crops"
		set_country_flag = GGR_torch_the_crops
		custom_effect_tooltip = GGR_ITL_torch_the_crops
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = { #Destroying their factories in central Italy will cripple their industry
	id = GGR_smolder_the_factories
	icon = GFX_focus_generic_bombs
	cost = 1

	prerequisite = {
		focus = GGR_pour_the_gasoline
	}

	mutually_exclusive = { focus = GGR_torch_the_crops }

	relative_position_id = GGR_pour_the_gasoline
	x = 1
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_smolder_the_factories"
		set_country_flag = GGR_smolder_the_factories
		custom_effect_tooltip = GGR_ITL_smolder_the_factories
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = { #we must decide where our main attack will come from after Italy is softened
	id = GGR_who_shall_light_the_match
	icon = GFX_focus_generic_pillage
	cost = 1

	prerequisite = {
		focus = GGR_smolder_the_factories
		focus = GGR_torch_the_crops
	}

	relative_position_id = GGR_torch_the_crops
	x = 1
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_who_shall_light_the_match"
		custom_effect_tooltip = GGR_TOOLTIP_GGR_who_shall_light_the_match
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}



shared_focus = { #War is declared. The main force will come from our well supplied ground units in the north
	id = GGR_death_from_above
	icon = GFX_focus_GGR_fighters_without_equal
	cost = 1

	prerequisite = {
		focus = GGR_who_shall_light_the_match
	}

	mutually_exclusive = { focus = GGR_death_from_below }

	relative_position_id = GGR_who_shall_light_the_match
	x = -1
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_death_from_above"
		set_temp_variable = { X = 0.1 }
		custom_effect_tooltip = GGR_supply_consumption_factor_decrease_X_percent
		subtract_from_variable = { GGR_italy_supply_consumption = X }
		set_temp_variable = { X = 0.05 }
		custom_effect_tooltip = GGR_air_superiority_bonus_increase_X_percent
		add_to_variable = { GGR_italy_air_superiority_bonus = X }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = { # War is declared. Our naval units will both pass the alps, be suprising and can be easily supplied
	id = GGR_death_from_below
	icon = GFX_focus_GGR_modernize_the_fleet
	cost = 1

	prerequisite = {
		focus = GGR_who_shall_light_the_match
	}

	mutually_exclusive = { focus = GGR_death_from_above }

	relative_position_id = GGR_who_shall_light_the_match
	x = 1
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_death_from_below"
		set_temp_variable = { X = 0.05 }
		custom_effect_tooltip = GGR_invasion_preparation_time_decrease_X_percent
		subtract_from_variable = { GGR_italy_invasion_preparation = X }
		set_temp_variable = { X = 0.05 }
		custom_effect_tooltip = GGR_supply_consumption_factor_decrease_X_percent
		subtract_from_variable = { GGR_italy_supply_consumption = X }
		set_temp_variable = { X = 0.05 }
		custom_effect_tooltip = GGR_special_forces_attack_increase_X_percent
		add_to_variable = { GGR_italy_special_forces_attack = X }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = { #The luftwaffe shall aid in our quest to decimate Italy
	id = GGR_an_inescapable_inferno
	icon = GFX_focus_generic_burn_their_barns
	cost = 1

	prerequisite = {
		# focus = GGR_death_from_the_north
		focus = GGR_death_from_above
		focus = GGR_death_from_below
	}

	relative_position_id = GGR_death_from_above
	x = 1
	y = 1

	will_lead_to_war_with = ITA

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_an_inescapable_inferno"
		set_temp_variable = { X = 0.05 }
		custom_effect_tooltip = GGR_strategic_bombing_increase_X_percent
		add_to_variable = { GGR_italy_strategic_bombing = X }
		effect_tooltip = {
			declare_war_on = {
				target = ITA
				type = annex_everything
			}
		}
		hidden_effect = {
		    every_country = {
		        limit = {
					OR = {
						is_subject_of = ITA
						tag = ITA
						tag = VAC
					}
			    }
				declare_war_with_rks = yes
				set_country_flag = GGR_capitulate_properly_pls
		    }
			every_country = {
			    limit = { is_ai = no }
			    news_event = WORLD_REICH.307
		    }
		}
		ITA = {
			if = {
				limit = {
					OR = {
						is_in_faction_with = USA 
						is_in_faction_with = JAP 
					}
				}	
				GGR_add_on_our_own = yes
			}	
		}
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = { # Our strategy of shooting anyone that moves is proving quite handy against partisans
	id = GGR_house_to_house
	icon = GFX_focus_generic_burning_house_village
	cost = 1

	prerequisite = {
		focus = GGR_an_inescapable_inferno
	}

	relative_position_id = GGR_an_inescapable_inferno
	x = 0
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_house_to_house"
		set_temp_variable = { X = 0.1 }
		custom_effect_tooltip = GGR_resistance_growth_decrease_X_percent
		set_variable = { GGR_italy_resistance_growth = -0.1 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = { # An event about how Italy is burning, our mass looting is also filling our coffers
	id = GGR_city_to_city
	icon = GFX_focus_YUN_stand_up_and_fight
	cost = 1

	prerequisite = {
		focus = GGR_house_to_house
	}

	relative_position_id = GGR_house_to_house
	x = 0
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_city_to_city"
		country_event = {
			id = goering.gaiseric.19
		}
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = { #Prepare supplies to allow us to take over the middle east
	id = GGR_plunder_the_resources
	icon = GFX_focus_generic_pillage
	cost = 1


	mutually_exclusive = {
		focus = GGR_sever_the_artery
		focus = GGR_burn_the_peninsula
	}

	prerequisite = {
		focus = GGR_a_war_on_3_fronts
	}

	relative_position_id = GGR_a_war_on_3_fronts
	x = 6
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_plunder_the_resources"
		set_temp_variable = { X = 0.05 }
		custom_effect_tooltip = GGR_army_org_factor_increase_X_percent
		set_variable = { GGR_italy_army_org = X }
		hidden_effect = {
			add_dynamic_modifier = { modifier = GGR_plunder_the_resources_dynmod }
		}
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = { #When we take over colonies we get a small GDP boost
	id = GGR_ignored_riches
	icon = GFX_focus_generic_gold_bars
	cost = 1

	prerequisite = {
		focus = GGR_plunder_the_resources
	}

	relative_position_id = GGR_plunder_the_resources
	x = 0
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_ignored_riches"
		set_country_flag = GGR_ignored_riches
		set_global_flag = GGR_ignored_riches
		custom_effect_tooltip = GGR_ITL_ignored_riches
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = { #Prepare the men to face the hot climate
	id = GGR_prepare_for_the_deserts
	icon = GFX_focus_generic_desert_patrols
	cost = 1

	prerequisite = {
		focus = GGR_ignored_riches
	}

	relative_position_id = GGR_ignored_riches
	x = 0
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_prepare_for_the_deserts"
		set_temp_variable = { X = 0.1 }
		custom_effect_tooltip = GGR_heat_attrition_decrease_X_percent
		set_variable = { GGR_italy_heat_attrition = -0.1 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = { #We must decide where our attacks will come from
	id = GGR_where_to_begin
	icon = GFX_focus_generic_adapting_their_strategies
	cost = 1

	prerequisite = {
		focus = GGR_prepare_for_the_deserts
	}

	relative_position_id = GGR_prepare_for_the_deserts
	x = 0
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_where_to_begin"
		custom_effect_tooltip = GGR_TOOLTIP_GGR_where_to_begin
		GGR_increase_militarist_loyalty = yes
		GGR_decrease_militarist_hawkishness = yes
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = { #We shall primarily use airborn units and aircraft to take the Italian colonies, alas this also means less resources will go into maintaining our panzers
	id = GGR_ready_the_planes
	icon = GFX_focus_GGR_knights_of_the_sky
	cost = 1

	prerequisite = {
		focus = GGR_where_to_begin
	}

	relative_position_id = GGR_where_to_begin
	x = -2
	y = 1

	mutually_exclusive = {
		focus = GGR_ready_the_trucks
		focus = GGR_ready_the_landing_craft
	}

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_ready_the_planes"
		set_temp_variable = { X = 0.05 }
		custom_effect_tooltip = GGR_armor_attack_factor_decrease_X_percent
		set_variable = { GGR_italy_armor_attack = -0.05 }
		set_temp_variable = { X = 0.1 }
		custom_effect_tooltip = GGR_special_forces_attack_increase_X_percent
		set_variable = { GGR_italy_special_forces_attack = 0.1 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = { #War is declared. Building airfields in morroco will both give us a nice jumping off point aswell as improving the efficiency of the luftwaffe's missions
	id = GGR_the_morrocan_airfields
	icon = GFX_focus_generic_airland_integration
	cost = 1

	prerequisite = {
		focus = GGR_ready_the_planes
	}

	relative_position_id = GGR_ready_the_planes
	x = 0
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_the_morrocan_airfields"
		set_temp_variable = { X = 0.05 }
		custom_effect_tooltip = GGR_air_superiority_bonus_increase_X_percent
		set_variable = { GGR_italy_air_superiority_bonus = 0.05 }
		if = {
			limit = {
				any_country = {
					is_in_faction_with = GER
					controls_state = 460
				}
			}
			460 = {
				add_building_construction = {
					type = air_base
					level = 4
					instant_build = yes
				}
			}
			else = {
				1005 = {
					add_building_construction = {
						type = air_base
						level = 4
						instant_build = yes
					}
				}
			}
		}
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = { #We're German goddamnit, the best method for subduing Italian colonies would be nothing short of a blitzkrieg
	id = GGR_ready_the_trucks
	icon = GFX_focus_generic_scavenge_for_vehicles
	cost = 1

	prerequisite = {
		focus = GGR_where_to_begin
	}

	mutually_exclusive = {
		focus = GGR_ready_the_planes
		focus = GGR_ready_the_landing_craft
	}

	relative_position_id = GGR_where_to_begin
	x = 0
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_ready_the_trucks"
		set_temp_variable = { X = 0.1 }
		custom_effect_tooltip = GGR_army_speed_increase_X_percent
		set_variable = { GGR_italy_army_speed = X }
		set_temp_variable = { X = 0.05 }
		custom_effect_tooltip = GGR_supply_consumption_factor_increase_X_percent
		set_variable = { GGR_italy_supply_consumption = 0.05 }
		custom_effect_tooltip = GGR_special_forces_attack_decrease_X_percent
		set_variable = { GGR_italy_special_forces_attack = -0.05 }
		custom_effect_tooltip = GGR_special_forces_defence_increase_X_percent
		set_variable = { GGR_italy_special_forces_defence = 0.05 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = { #Begin the blitzkrieg ! We shall sweep over Arabia and north Africa !
	id = GGR_the_eastern_blitz
	icon = GFX_focus_generic_redoubt_preperations
	cost = 1

	prerequisite = {
		focus = GGR_ready_the_trucks
	}

	relative_position_id = GGR_ready_the_trucks
	x = 0
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_the_eastern_blitz"
		set_temp_variable = { X = 0.05 }
		custom_effect_tooltip = GGR_armor_attack_factor_increase_X_percent
		set_variable = { GGR_italy_armor_attack = 0.05 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = { #Focusing on a landing will be a nice balance between suprise and supply
	id = GGR_ready_the_landing_craft
	icon = GFX_focus_GGR_Storming_the_Beaches
	cost = 1

	prerequisite = {
		focus = GGR_where_to_begin
	}

	mutually_exclusive = {
		focus = GGR_ready_the_planes
		focus = GGR_ready_the_trucks
	}

	relative_position_id = GGR_where_to_begin
	x = 2
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_ready_the_landing_craft"
		set_temp_variable = { X = 0.05 }
		custom_effect_tooltip = GGR_special_forces_attack_increase_X_percent
		set_variable = { GGR_italy_special_forces_attack = 0.05 }
		custom_effect_tooltip = GGR_special_forces_defence_increase_X_percent
		set_variable = { GGR_italy_special_forces_defence = 0.05 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = { #War is declared. Supply via sea will be more convenient than using blasted railways and roads
	id = GGR_the_tunisian_landing
	icon = GFX_focus_generic_battleship
	cost = 1

	prerequisite = {
		focus = GGR_ready_the_landing_craft
	}

	relative_position_id = GGR_ready_the_landing_craft
	x = 0
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_the_tunisian_landing"
		set_temp_variable = { X = 0.1 }
		custom_effect_tooltip = GGR_special_forces_attack_increase_X_percent
		set_variable = { GGR_italy_invasion_preparation = -0.1 }
		custom_effect_tooltip = GGR_out_of_supply_factor_decrease_X_percent
		set_variable = { GGR_italy_non_combat_supplies = -0.1 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = { #Without its colonies, Italy's industry will suffer
	id = GGR_hold_them_down
	icon = GFX_focus_GER_some_are_more_german_than_others
	cost = 1

	prerequisite = {
		focus = GGR_the_morrocan_airfields
		focus = GGR_the_eastern_blitz
		focus = GGR_the_tunisian_landing
	}

	relative_position_id = GGR_the_eastern_blitz
	x = 0
	y = 1

	will_lead_to_war_with = ITA

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_hold_them_down"
		effect_tooltip = {
			declare_war_on = {
				target = ITA
				type = annex_everything
			}
		}
		hidden_effect = {
		    every_country = {
		        limit = {
					OR = {
						is_subject_of = ITA
						tag = ITA
						tag = VAC
					}
			    }
				declare_war_with_rks = yes
				set_country_flag = GGR_capitulate_properly_pls
		    }
			every_country = {
			    limit = { is_ai = no }
			    news_event = WORLD_REICH.307
		    }
		}	
		ITA = {
			if = {
				limit = {
					OR = {
						is_in_faction_with = USA 
						is_in_faction_with = JAP 
					}
				}	
				GGR_add_on_our_own = yes
			}	
		}
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = { # Distribute the looting and subsiquent wealth made by our Herr will ensure their loyalty
	id = GGR_search_their_pockets
	icon = GFX_focus_generic_the_best_guns_money_can_buy
	cost = 1

	prerequisite = {
		focus = GGR_hold_them_down
	}

	relative_position_id = GGR_hold_them_down
	x = 0
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_search_their_pockets"
		set_temp_variable = { money_reserves_temp = 4 }
		econ_money_reserves_change_raw_money = yes
		GGR_increase_militarist_loyalty = yes
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = { #TACTICS TYME
	id = GGR_the_tactical_approach
	icon = GFX_focus_GER_realpolitik
	cost = 1

	allow_branch = {
		has_country_flag = goering_italy_tac_approach
	}

	prerequisite = {
		focus = GGR_choosing_a_plan
	}

	relative_position_id = GGR_choosing_a_plan
	x = 0
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_the_tactical_approach"
		GGR_decrease_militarist_loyalty = yes
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = { #GOERING RULES THE WAVES
	id = GGR_release_the_kraken
	icon = GFX_focus_generic_carrier_warfare
	cost = 0.2

	prerequisite = {
		focus = GGR_the_tactical_approach
	}

	mutually_exclusive = {
		focus = GGR_infiltrate_the_lowlands
		focus = GGR_an_invasion_the_likes_never_before_seen
	}

	relative_position_id = GGR_the_tactical_approach
	x = -5
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_release_the_kraken"
		hidden_effect = { add_dynamic_modifier = { modifier = GGR_release_the_kraken_dynmod } }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_surrounding_the_boot
	icon = GFX_focus_GGR_surrounding_the_boot
	cost = 1

	prerequisite = {
		focus = GGR_release_the_kraken
	}

	relative_position_id = GGR_release_the_kraken
	x = 0
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_surrounding_the_boot"
		set_temp_variable = { X = 0.1 }
		custom_effect_tooltip = GGR_convoy_raiding_effeciency_increase_X_percent
		set_variable = { GGR_temporary_convoy_raiding_efficiency = 0.1 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_the_stealthy_approach
	icon = GFX_focus_GGR_the_stealthy_approach
	cost = 1

	prerequisite = {
		focus = GGR_surrounding_the_boot
	}

	mutually_exclusive = {
		focus = GGR_strength_is_everything
	}

	relative_position_id = GGR_surrounding_the_boot
	x = -1
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_the_stealthy_approach"
		set_temp_variable = { X = 0.1 }
		custom_effect_tooltip = GGR_submarine_attack_increase_X_percent
		custom_effect_tooltip = GGR_submarine_defence_increase_X_percent
		set_variable = { GGR_italy_submarine_attack = 0.1 }
		set_variable = { GGR_italy_submarine_defence = 0.1 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_naval_hit_and_run
	icon = GFX_focus_generic_naval_hit_and_run
	cost = 1

	prerequisite = {
		focus = GGR_the_stealthy_approach
	}

	relative_position_id = GGR_the_stealthy_approach
	x = 0
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_naval_hit_and_run"
		set_temp_variable = { X = 0.1 }
		custom_effect_tooltip = GGR_naval_speed_increase_X_percent
		set_variable = { GGR_italy_naval_speed = 0.1 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_strength_is_everything
	icon = GFX_focus_generic_bombs
	cost = 1

	prerequisite = {
		focus = GGR_surrounding_the_boot
	}

	mutually_exclusive = {
		focus = GGR_the_stealthy_approach
	}

	relative_position_id = GGR_surrounding_the_boot
	x = 1
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_strength_is_everything"
		set_temp_variable = { X = 0.15 }
		custom_effect_tooltip = GGR_capital_ship_attack_increase_X_percent
		set_variable = { GGR_italy_capital_ship_attack_factor = 0.15 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_preserving_our_power
	icon = GFX_focus_generic_national_socialist_male
	cost = 1

	prerequisite = {
		focus = GGR_strength_is_everything
	}

	relative_position_id = GGR_strength_is_everything
	x = 0
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_preserving_our_power"
		custom_effect_tooltip = GGR_preserving_our_power_tooltip
		set_temp_variable = { X = 0.1 }
		custom_effect_tooltip = GGR_sortie_effeciency_increase_X_percent
		set_variable = { GGR_italy_sortie_effeciency = 0.1 }
		set_temp_variable = { X = 0.2 }
		custom_effect_tooltip = GGR_naval_retreat_chance_increase_X_percent
		set_variable = { GGR_italy_naval_retreat_chance = 0.2 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_time_to_strike
	icon = GFX_focus_GER_smoke_soldiers
	cost = 1

	prerequisite = {
		focus = GGR_naval_hit_and_run
		focus = GGR_preserving_our_power
	}

	relative_position_id = GGR_preserving_our_power
	x = -1
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_time_to_strike"
		effect_tooltip = {
			declare_war_on = {
				target = ITA
				type = annex_everything
			}
		}
		hidden_effect = {
		    every_country = {
		        limit = {
					OR = {
						is_subject_of = ITA
						tag = ITA
						tag = VAC
					}
			    }
				declare_war_with_rks = yes
				set_country_flag = GGR_capitulate_properly_pls
		    }
			every_country = {
			    limit = { is_ai = no }
			    news_event = WORLD_REICH.307
		    }
		}	
		ITA = {
			if = {
				limit = {
					OR = {
						is_in_faction_with = USA 
						is_in_faction_with = JAP 
					}
				}	
				GGR_add_on_our_own = yes
			}	
		}		
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_no_one_to_help_them
	icon = GFX_focus_generic_embrace_totalitarianism
	cost = 1

	prerequisite = {
		focus = GGR_time_to_strike
	}

	relative_position_id = GGR_time_to_strike
	x = 0
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_no_one_to_help_them"
		custom_effect_tooltip = GGR_no_one_to_help_them_tooltip
		hidden_effect = {
			ITA = {
				every_country = {
					set_embargo_PREV = yes
					ITA = {
						set_embargo_PREV = yes
					}
				}
			}
			USA = {
				set_temp_variable = { target = ITA }
				TNO_clear_and_recall_volunteers = yes
			}
			JAP = {
				set_temp_variable = { target = ITA }
				TNO_clear_and_recall_volunteers = yes
			}
		}
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_smash_the_ports
	icon = GFX_focus_generic_bombs
	cost = 1

	prerequisite = {
		focus = GGR_no_one_to_help_them
	}

	relative_position_id = GGR_no_one_to_help_them
	x = -1
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_smash_the_ports"
		country_event = {
			id = goering.gaiseric.34
			days = 2
		}
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_infiltration_tactics
	icon = GFX_focus_YUN_hit_and_run
	cost = 1

	prerequisite = {
		focus = GGR_no_one_to_help_them
	}

	relative_position_id = GGR_no_one_to_help_them
	x = 1
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_infiltration_tactics"
		custom_effect_tooltip = GGR_infiltration_tactics_tooltip
		set_temp_variable = { X = 0.2 }
		custom_effect_tooltip = GGR_out_of_supply_factor_decrease_X_percent
		set_variable = { GGR_italy_out_of_supply_factor = -0.2 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_the_time_has_come
	icon = GFX_focus_GGR_Prolonged_Occupation
	cost = 1

	available = {
		any_country = {
			is_in_faction_with = GER
			OR = {
				controls_state = 2
				controls_state = 115
				controls_state = 156
				controls_state = 117
				controls_state = 1323
			}
		}
	}

	prerequisite = {
		focus = GGR_smash_the_ports
		focus = GGR_infiltration_tactics
	}

	relative_position_id = GGR_smash_the_ports
	x = 1
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_the_time_has_come"
		set_temp_variable = { X = 0.15 }
		custom_effect_tooltip = GGR_infantry_attack_increase_X_percent
		set_variable = { GGR_temporary_infantry_attack = 0.15 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = { #THE SANE WAY I GUESS
	id = GGR_infiltrate_the_lowlands
	icon = GFX_focus_GGR_infiltrate_the_lowlands
	cost = 0.2

	prerequisite = {
		focus = GGR_the_tactical_approach
	}

	mutually_exclusive = {
		focus = GGR_release_the_kraken
		focus = GGR_an_invasion_the_likes_never_before_seen
	}

	relative_position_id = GGR_the_tactical_approach
	x = 0
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_infiltrate_the_lowlands"
		hidden_effect = { add_dynamic_modifier = { modifier = GGR_infiltrate_the_lowlands_dynmod } }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_sweeping_the_seas
	icon = GFX_focus_generic_dreadnought_warfare
	cost = 1

	prerequisite = {
		focus = GGR_infiltrate_the_lowlands
	}

	relative_position_id = GGR_infiltrate_the_lowlands
	x = 0
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_sweeping_the_seas"
		set_temp_variable = { X = 0.15 }
		custom_effect_tooltip = GGR_capital_ship_attack_increase_X_percent
		set_variable = { GGR_italy_capital_ship_attack_factor = 0.15 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_the_iberian_launchpad
	icon = GFX_focus_GER_The_Iberian_Launchpad
	cost = 1

	prerequisite = {
		focus = GGR_sweeping_the_seas
	}

	mutually_exclusive = {
		focus = GGR_the_turkish_gateway
	}

	relative_position_id = GGR_sweeping_the_seas
	x = -1
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_the_iberian_launchpad"
		set_temp_variable = { X = 0.2 }
		custom_effect_tooltip = GGR_invasion_speed_increase_X_percent
		set_variable = { GGR_temporary_invasion_speed = 0.20 }
		986 = {
			add_building_construction = {
				type = naval_base
				level = 4
				province = 6927
				instant_build = yes
			}
		}
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_the_turkish_gateway
	icon = GFX_focus_GER_The_Turkish_Gateway
	cost = 1

	prerequisite = {
		focus = GGR_sweeping_the_seas
	}

	mutually_exclusive = {
		focus = GGR_the_iberian_launchpad
	}

	relative_position_id = GGR_sweeping_the_seas
	x = 1
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_the_iberian_launchpad"
		set_temp_variable = { X = 0.2 }
		custom_effect_tooltip = GGR_invasion_speed_increase_X_percent
		set_variable = { GGR_temporary_invasion_speed = 0.20 }
		342 = {
			add_building_construction = {
				type = naval_base
				level = 8
				province = 1122
				instant_build = yes
			}
		}
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_strike_the_boot
	icon = GFX_focus_GER_Strike_the_Boot
	cost = 1

	prerequisite = {
		focus = GGR_the_iberian_launchpad
		focus = GGR_the_turkish_gateway
	}

	relative_position_id = GGR_the_iberian_launchpad
	x = 1
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_strike_the_boot"
		effect_tooltip = {
			declare_war_on = {
				target = ITA
				type = annex_everything
			}
		}
		hidden_effect = {
		    every_country = {
		        limit = {
					OR = {
						is_subject_of = ITA
						tag = ITA
						tag = VAC
					}
			    }
				declare_war_with_rks = yes
				set_country_flag = GGR_capitulate_properly_pls
		    }
			every_country = {
			    limit = { is_ai = no }
			    news_event = WORLD_REICH.307
		    }
		}	
		ITA = {
			if = {
				limit = {
					OR = {
						is_in_faction_with = USA 
						is_in_faction_with = JAP 
					}
				}	
				GGR_add_on_our_own = yes
			}	
		}		
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_secure_the_skies
	icon = GFX_focus_GGR_knights_of_the_sky
	cost = 1

	prerequisite = {
		focus = GGR_strike_the_boot
	}

	relative_position_id = GGR_strike_the_boot
	x = 0
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_secure_the_skies"
		set_temp_variable = { X = 0.2 }
		custom_effect_tooltip = GGR_air_superiority_bonus_increase_X_percent
		set_variable = { GGR_temporary_army_bonus_air_superiority_factor = 0.20 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_limited_mountain_combat
	icon = GFX_focus_generic_winter_weather_conditioning
	cost = 1

	prerequisite = {
		focus = GGR_secure_the_skies
	}

	relative_position_id = GGR_secure_the_skies
	x = 0
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_limited_mountain_combat"
		custom_effect_tooltip = GGR_infiltration_tactics_tooltip
		set_temp_variable = { X = 0.2 }
		custom_effect_tooltip = GGR_out_of_supply_factor_decrease_X_percent
		set_variable = { GGR_italy_out_of_supply_factor = -0.2 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_a_foothold_secured
	icon = GFX_focus_GER_nazi_domination
	cost = 1

	available = {
		any_country = {
			is_in_faction_with = GER
			OR = {
				controls_state = 2
				controls_state = 115
				controls_state = 156
				controls_state = 117
				controls_state = 1323
			}
		}
	}

	prerequisite = {
		focus = GGR_limited_mountain_combat
	}


	relative_position_id = GGR_limited_mountain_combat
	x = 0
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_a_foothold_secured"
		set_temp_variable = { X = 0.15 }
		custom_effect_tooltip = GGR_soft_attack_increase_X_percent
		set_variable = { GGR_temporary_soft_attack = 0.15 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_forward_men
	icon = GFX_focus_generic_red_army
	cost = 1

	prerequisite = {
		focus = GGR_a_foothold_secured
	}

	relative_position_id = GGR_a_foothold_secured
	x = 0
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_forward_men"
		set_temp_variable = { X = 0.2 }
		custom_effect_tooltip = GGR_army_speed_increase_X_percent
		set_variable = { GGR_temporary_speed = 0.2 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}


shared_focus = { #BIG ASS INVASION TIME
	id = GGR_an_invasion_the_likes_never_before_seen
	icon = GFX_focus_generic_carrier
	cost = 0.2

	prerequisite = {
		focus = GGR_the_tactical_approach
	}

	mutually_exclusive = {
		focus = GGR_release_the_kraken
		focus = GGR_infiltrate_the_lowlands
	}

	relative_position_id = GGR_the_tactical_approach
	x = 5
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_an_invasion_the_likes_never_before_seen"
		hidden_effect = { add_dynamic_modifier = { modifier = GGR_an_unprecedented_invasion_dynmod } }
		set_temp_variable = { debt_temp = 1.0 } 
		econ_national_debt_change = yes
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_ready_the_men
	icon = GFX_focus_YUN_new_officers
	cost = 1

	prerequisite = {
		focus = GGR_an_invasion_the_likes_never_before_seen
	}

	relative_position_id = GGR_an_invasion_the_likes_never_before_seen
	x = 0
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_ready_the_men"
		custom_effect_tooltip = GGR_GRE_conscription_increase_10_percent
		set_temp_variable = { X = 0.1 }
		custom_effect_tooltip = GGR_conscription_factor_increase_X_percent
		set_variable = { GGR_italy_conscription_factor = 0.1 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_rule_the_waves
	icon = GFX_focus_generic_battleship
	cost = 1

	prerequisite = {
		focus = GGR_ready_the_men
	}

	relative_position_id = GGR_ready_the_men
	x = -1
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_rule_the_waves"
		set_temp_variable = { X = 0.2 }
		custom_effect_tooltip = GGR_capital_ship_attack_increase_X_percent
		set_variable = { GGR_italy_capital_ship_attack_factor = 0.2 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_specialist_training
	icon = GFX_focus_generic_experimental_training_methods
	cost = 1

	prerequisite = {
		focus = GGR_rule_the_waves
	}

	relative_position_id = GGR_rule_the_waves
	x = 0
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_specialist_training"
		set_temp_variable = { X = 0.1 }
		custom_effect_tooltip = GGR_infantry_attack_increase_X_percent
		custom_effect_tooltip = GGR_infantry_defence_increase_X_percent
		set_variable = { GGR_temporary_infantry_attack = 0.1 }
		set_variable = { GGR_temporary_infantry_defence = 0.1 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_and_the_skies
	icon = GFX_focus_generic_jet_fighter_3
	cost = 1

	prerequisite = {
		focus = GGR_ready_the_men
	}

	relative_position_id = GGR_ready_the_men
	x = 1
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_and_the_skies"
		set_temp_variable = { X = 0.2 }
		custom_effect_tooltip = GGR_air_superiority_bonus_increase_X_percent
		set_variable = { GGR_temporary_army_bonus_air_superiority_factor = 0.20 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_dividing_supplies
	icon = GFX_focus_generic_feed_the_soldiers
	cost = 1

	prerequisite = {
		focus = GGR_and_the_skies
	}

	relative_position_id = GGR_and_the_skies
	x = 0
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_dividing_supplies"
		set_temp_variable = { X = 0.2 }
		custom_effect_tooltip = GGR_supply_consumption_factor_decrease_X_percent
		set_variable = { GGR_temporary_supply_consumption = -0.2 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_find_the_money
	icon = GFX_focus_generic_gold_bars
	cost = 1

	prerequisite = {
		focus = GGR_dividing_supplies
		focus = GGR_specialist_training
	}

	relative_position_id = GGR_specialist_training
	x = 1
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_find_the_money"
		set_temp_variable = { debt_temp = -10 }
		econ_national_debt_change = yes
		set_temp_variable = { inflation_temp = 0.5 }
		econ_inflation_change = yes 
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_destroy_the_italians
	icon = GFX_focus_GGR_Storming_the_Beaches
	cost = 1

	prerequisite = {
		focus = GGR_find_the_money
	}

	relative_position_id = GGR_find_the_money
	x = 0
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_destroy_the_italians"
		effect_tooltip = {
			declare_war_on = {
				target = ITA
				type = annex_everything
			}
		}
		hidden_effect = {
		    every_country = {
		        limit = {
					OR = {
						is_subject_of = ITA
						tag = ITA
						tag = VAC
					}
			    }
				declare_war_with_rks = yes
				set_country_flag = GGR_capitulate_properly_pls
		    }
			every_country = {
			    limit = { is_ai = no }
			    news_event = WORLD_REICH.307
		    }
		}	
		ITA = {
			if = {
				limit = {
					OR = {
						is_in_faction_with = USA 
						is_in_faction_with = JAP 
					}
				}	
				GGR_add_on_our_own = yes
			}	
		}		
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_help_from_an_old_friend
	icon = GFX_focus_GER_Help_from_an_Old_Friend
	cost = 1

	prerequisite = {
		focus = GGR_destroy_the_italians
	}

	relative_position_id = GGR_destroy_the_italians
	x = 0
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_help_from_an_old_friend"
		set_temp_variable = { X = 0.2 }
		custom_effect_tooltip = GGR_army_speed_increase_X_percent
		set_variable = { GGR_temporary_speed = 0.2 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_the_big_push
	icon = GFX_focus_generic_military_discipline
	cost = 1

	prerequisite = {
		focus = GGR_help_from_an_old_friend
	}

	relative_position_id = GGR_help_from_an_old_friend
	x = 0
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_the_big_push"
		set_temp_variable = { X = 0.1 }
		custom_effect_tooltip = GGR_infantry_attack_increase_X_percent
		add_to_variable = { GGR_temporary_infantry_attack = 0.1 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = { #OH GOD OH FUCK SCHORNER PLEASE DON'T KILL ME I'LL INVADE ITALY FOR YOU
	id = GGR_a_swift_end
	icon = GFX_focus_GGR_surrounding_the_boot
	cost = 1

	allow_branch = {
		has_country_flag = goering_italy_a_swift_end
	}

	prerequisite = {
		focus = GGR_choosing_a_plan
	}

	relative_position_id = GGR_choosing_a_plan
	x = 0
	y = 1

	ai_will_do = {
		factor = 1
		modifier = {
			add = 5
			check_variable = { GER_Militarist_Loyalty < 40 }
		}
	}

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_a_swift_end"
		GGR_increase_militarist_loyalty_large = yes
		GGR_increase_militarist_hawkishness_large = yes
		hidden_effect = {
			add_dynamic_modifier = { modifier = GGR_a_swift_end_dynmod }
		}
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_no_room_for_cowardice
	icon = GFX_focus_YUN_if_you_can_hold_a_gun_you_can_fight
	cost = 1

	prerequisite = {
		focus = GGR_a_swift_end
	}

	relative_position_id = GGR_a_swift_end
	x = -2
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_no_room_for_cowardice"
		custom_effect_tooltip = GGR_no_room_for_cowardice_tooltip
		hidden_effect = {
			set_variable = { GGR_SWIFT_END_NEGATIVE = -9999 }
			set_variable = { GGR_SWIFT_END = 9999 }
		}
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_no_room_for_caution
	icon = GFX_focus_generic_red_army
	cost = 1

	prerequisite = {
		focus = GGR_a_swift_end
	}

	relative_position_id = GGR_a_swift_end
	x = 0
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_no_room_for_caution"
		custom_effect_tooltip = GGR_no_room_for_caution_tooltip
		set_temp_variable = { X = 0.1 }
		custom_effect_tooltip = GGR_soft_attack_increase_X_percent
		set_variable = { GGR_temporary_soft_attack = 0.1 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_no_room_for_hunger
	icon = GFX_focus_generic_food_for_all
	cost = 1

	prerequisite = {
		focus = GGR_a_swift_end
	}

	relative_position_id = GGR_a_swift_end
	x = 2
	y = 1

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_no_room_for_hunger"
		custom_effect_tooltip = GGR_no_room_for_hunger_tooltip
		set_temp_variable = { X = 0.1 }
		custom_effect_tooltip = GGR_attrition_decrease_X_percent
		set_variable = { GGR_temporary_attrition = -0.1 }
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}

shared_focus = {
	id = GGR_over_the_alps
	icon = GFX_focus_YUN_mountain_people
	cost = 1

	prerequisite = {
		focus = GGR_no_room_for_cowardice
	}
	prerequisite = {
		focus = GGR_no_room_for_caution
	}
	prerequisite = {
		focus = GGR_no_room_for_hunger
	}

	relative_position_id = GGR_no_room_for_caution
	x = 0
	y = 1

	will_lead_to_war_with = ITA

	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_over_the_alps"
		effect_tooltip = {
			declare_war_on = {
				target = ITA
				type = annex_everything
			}
		}
		hidden_effect = {
		    every_country = {
		        limit = {
					OR = {
						is_subject_of = ITA
						tag = ITA
						tag = VAC
					}
			    }
				declare_war_with_rks = yes
				set_country_flag = GGR_capitulate_properly_pls
		    }
			every_country = {
			    limit = { is_ai = no }
			    news_event = WORLD_REICH.307
		    }
		}	
		ITA = {
			if = {
				limit = {
					OR = {
						is_in_faction_with = USA 
						is_in_faction_with = JAP 
					}
				}	
				GGR_add_on_our_own = yes
			}	
		}			
	}
	ai_will_do = {
		factor = 2
		modifier = {
			add = 2
			check_variable = { GER_Militarist_Loyalty < 50 }
		}
		modifier = {
			add = 2
			date > 1970.01.01
		}
	}
}


##############################################################################

# WAR PLAN C 

##############################################################################

shared_focus = {
	id = GER_GOR_war_plan_C_new
	icon = GFX_focus_GER_war_plan_C
	cost = 0.02
	allow_branch = {
		has_country_flag = GER_war_plan_C
	}
	relative_position_id = GER_GOR_war_plan_c
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_war_plan_C_new"
	}
	x = 0
	y = 1
}

### FALL SCHWARZ ##############
shared_focus = {
	id = GER_GOR_fall_schwarz2
	icon = GFX_focus_fall_schwarz
	cost = 0.2

	bypass = {
		hidden_trigger = {
			has_country_flag = GGR_BRG_went_hot
		}
	}
	allow_branch = {
		has_country_flag = GER_war_plan_C
	}
	available = {
		player_one_operation_check = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_fall_schwarz2"
		country_event = { id = goering.schwarz.1 }
		set_country_flag = GGR_operation_locked
		GGR_clear_temporary_variables = yes
		set_country_flag = GOR_fall_schwarz
		add_dynamic_modifier = { modifier = GGR_Fall_Schwarz }
		set_temp_variable = { Victory_ID = 107 }
		set_temp_variable = { Victory_Outcome = 0 }
		set_temp_variable = { Victory_Points = 0 }
		Cold_War_GUI_AddVictory = yes
	}
	prerequisite = {
		focus = GER_GOR_war_plan_C_new
	}
	relative_position_id = GER_GOR_war_plan_C_new
	x = 0
	y = 3
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0
			OR = {
				USA = { is_ai = no }
				JAP = { is_ai = no }
			}
			BRG = { is_ai = yes }
		}
		modifier = {
			factor = 5
			BRG = { is_ai = no }
		}
	}
}
shared_focus = {
	id = GER_GOR_preparing_the_blow
	icon = GFX_focus_GGR_preparing_the_blow
	cost = 2.00
	bypass = {
		hidden_trigger = {
			has_country_flag = GGR_BRG_went_hot
		}
	}
	available = {
		GGR_not_invaded_burgundy = yes
	}
	prerequisite = {
		focus = GER_GOR_fall_schwarz2
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_preparing_the_blow"
		custom_effect_tooltip = GER_GOR_preparing_the_blow_tooltip
		hidden_effect = {
			country_event = { id = goering.schwarz.16 }
			add_ideas = GGR_the_silent_war_1
		}
	}
	relative_position_id = GER_GOR_fall_schwarz2
	x = 4
	y = 2
}
shared_focus = {
	id = GER_GOR_deploy_the_abwehr
	icon = GFX_focus_generic_a_spy_in_every_command
	cost = 2.00
	bypass = {
		hidden_trigger = {
			has_country_flag = GGR_BRG_went_hot
		}
	}
	available = {
		GGR_not_invaded_burgundy = yes
	}
	prerequisite = {
		focus = GER_GOR_preparing_the_blow
	}
	relative_position_id = GER_GOR_preparing_the_blow
	x = 2
	y = 1
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_deploy_the_abwehr"
		custom_effect_tooltip = GER_GOR_deploy_the_abwehr_tooltip
		add_to_variable = { GGR_schwarz_covert_level = 1 }
		country_event = { id = goering.schwarz.15 days = 1 }
	}
}
shared_focus = {
	id = GER_GOR_match_their_spies
	icon = GFX_focus_Goering_matching_their_spies
	cost = 2
	bypass = {
		hidden_trigger = {
			has_country_flag = GGR_BRG_went_hot
		}
	}
	available = {
		GGR_not_invaded_burgundy = yes
	}
	prerequisite = {
		focus = GER_GOR_deploy_the_abwehr
	}
	relative_position_id = GER_GOR_deploy_the_abwehr
	x = 0
	y = 1
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_match_their_spies"
		custom_effect_tooltip = GER_GOR_match_their_spies_tooltip
	}
}
shared_focus = {
	id = GER_GOR_blow_for_blow
	icon = GFX_focus_GER_blow_for_blow
	cost = 2.00
	bypass = {
		hidden_trigger = {
			has_country_flag = GGR_BRG_went_hot
		}
	}
	prerequisite = {
		focus = GER_GOR_match_their_spies
	}
	available = {
		GGR_not_invaded_burgundy = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_blow_for_blow"
	}
	relative_position_id = GER_GOR_match_their_spies
	x = 0
	y = 1
}
shared_focus = {
	id = GER_GOR_strange_bedfellows
	icon = GFX_focus_Goering_strange_bedfellows
	cost = 2
	bypass = {
		hidden_trigger = {
			has_country_flag = GGR_BRG_went_hot
		}
	}
	available = {
		GGR_not_invaded_burgundy = yes
	}
	prerequisite = {
		focus = GER_GOR_preparing_the_blow
	}
	relative_position_id = GER_GOR_preparing_the_blow
	x = -2
	y = 1
	completion_reward ={
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_strange_bedfellows"
		custom_effect_tooltip = GER_GOR_strange_bedfellows_tooltip
		country_event = { id = goering.schwarz.7 }
	}
}
shared_focus = {
	id = GER_GOR_meetings_in_the_night
	icon = GFX_focus_GER_meetings_in_the_night
	cost = 2
	bypass = {
		hidden_trigger = {
			has_country_flag = GGR_BRG_went_hot
		}
	}
	prerequisite = {
		focus = GER_GOR_strange_bedfellows
	}
	available = {
		GGR_not_invaded_burgundy = yes
	}
	relative_position_id = GER_GOR_strange_bedfellows
	x = 0
	y = 1
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_meetings_in_the_night"
		custom_effect_tooltip = GER_GOR_meetings_in_the_night_tooltip
	}
}
shared_focus = {
	id = GER_GOR_prepare_for_sabotage
	icon = GFX_focus_Goering_Burgundy_Sabotage
	cost = 2
	bypass = {
		hidden_trigger = {
			has_country_flag = GGR_BRG_went_hot
		}
	}
	available = {
		GGR_not_invaded_burgundy = yes
	}
	prerequisite = {
		focus = GER_GOR_meetings_in_the_night
	}
	relative_position_id = GER_GOR_meetings_in_the_night
	x = 0
	y = 1
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_prepare_for_sabotage"
		custom_effect_tooltip = GER_GOR_prepare_for_sabotage_tooltip
	}
}
shared_focus = {
	id = GER_GOR_map_out_the_silos
	icon = GFX_focus_GER_map_out_the_silos
	cost = 2
	bypass = {
		hidden_trigger = {
			has_country_flag = GGR_BRG_went_hot
		}
	}
	prerequisite = {
		focus = GER_GOR_prepare_for_sabotage
		focus = GER_GOR_blow_for_blow
	}
	available = {
		GGR_not_invaded_burgundy = yes
	}
	relative_position_id = GER_GOR_prepare_for_sabotage
	x = 2
	y = 1
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_map_out_the_silos"
		country_event = { id = goering.schwarz.5 days = 2 }
		custom_effect_tooltip = GER_map_out_the_silos_tooltip
		custom_effect_tooltip = GER_map_out_the_silos_tooltip2
		set_variable = {
			GGR_Schwarz_strat_attack = 0.10
		}
		add_equipment_to_stockpile = {
			type = scout_plane_equipment_4
			amount = 25
			producer = GER
		}
	}
}
shared_focus = {
	id = GER_GOR_learn_their_secrets
	icon = GFX_focus_GER_learn_their_secrets
	cost = 2
	bypass = {
		hidden_trigger = {
			has_country_flag = GGR_BRG_went_hot
		}
	}
	prerequisite = {
		focus = GER_GOR_prepare_for_sabotage
	}
	available = {
		GGR_not_invaded_burgundy = yes
	}
	relative_position_id = GER_GOR_prepare_for_sabotage
	x = -1
	y = 1
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_learn_their_secrets"
		country_event = { id = goering.schwarz.29 days = 2 }
	}
}
shared_focus = {
	id = GER_GOR_blind_their_eyes
	icon = GFX_focus_GER_blind_their_eyes
	cost = 2
	bypass = {
		hidden_trigger = {
			has_country_flag = GGR_BRG_went_hot
		}
	}
	prerequisite = {
		focus = GER_GOR_blow_for_blow
	}
	available = {
		GGR_not_invaded_burgundy = yes
	}
	relative_position_id = GER_GOR_blow_for_blow
	x = 1
	y = 1
	completion_reward = {
		custom_effect_tooltip = GER_GOR_blind_their_eyes_tooltip
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_blind_their_eyes"
		country_event = { id = goering.schwarz.32 days = 5 }
		add_war_support = 0.05
	}
	relative_position_id = GER_GOR_blow_for_blow
	x = 1
	y = 1
}
shared_focus = {
	id = GER_GOR_information_overload
	icon = GFX_focus_GER_information_overload
	cost = 2
	bypass = {
		hidden_trigger = {
			has_country_flag = GGR_BRG_went_hot
		}
	}
	available = {
		GGR_not_invaded_burgundy = yes
	}
	prerequisite = {
		focus = GER_GOR_learn_their_secrets
		focus = GER_GOR_map_out_the_silos
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_information_overload"
		custom_effect_tooltip = GER_GOR_information_overload_tooltip
		BRG = {
			add_ideas = BRG_information_overload
		}
		GER = {
			add_command_power = 25
			add_war_support = 0.10
			add_to_variable = {
				GGR_schwarz_covert_level = 1
			}
			if = {
				limit = {
					NOT = {
						has_completed_focus = GER_GOR_ready_the_people
					}
				}
				set_variable = { GGR_Schwarz_morale = 0.05 }
			}
			else_if = {
				limit = {
					has_completed_focus = GER_GOR_ready_the_people
				}
				add_to_variable = { GGR_Schwarz_morale = 0.05 }
			}
		}
	}
	relative_position_id = GER_GOR_map_out_the_silos
	x = -2
	y = 1.5
}
shared_focus = {
	id = GER_GOR_absolute_nuclear_coverage
	icon = GFX_focus_GER_Modern_Nuclear_Silos
	cost = 2.00
	bypass = {
		hidden_trigger = {
			has_country_flag = GGR_BRG_went_hot
		}
	}
	prerequisite = {
		focus = GER_GOR_map_out_the_silos
		focus = GER_GOR_blind_their_eyes
	}
	available = {
		GGR_not_invaded_burgundy = yes
	}
	relative_position_id = GER_GOR_map_out_the_silos
	x = 2
	y = 1.5
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_absolute_nuclear_coverage"
		custom_effect_tooltip = GER_GOR_absolute_nuclear_coverage_tooltip
		custom_effect_tooltip = GER_GOR_absolute_nuclear_coverage_tooltip2
		add_equipment_to_stockpile = {
			type = ICBM_equipment
			amount = 100
			producer = GER
		}
		28 = {
			add_building_construction = {
				type = missile_silo
				level = 1
				instant_build = yes
			}	
			add_building_construction = {
				type = radar_station
				level = 4
				instant_build = yes
			}
		}
		8 = {
			add_building_construction = {
				type = missile_silo
				level = 1
				instant_build = yes
			}
			add_building_construction = {
				type = radar_station
				level = 4
				instant_build = yes
			}
		}
		50 = {
			add_building_construction = {
				type = missile_silo
				level = 1
				instant_build = yes
			}
			add_building_construction = {
				type = radar_station
				level = 4
				instant_build = yes
			}
		}
	}
}
shared_focus = {
	id = GER_GOR_it_is_their_turn_to_fear_the_dark
	icon = GFX_focus_GER_it_is_their_turn_to_fear_the_dark
	cost = 2.00
	bypass = {
		hidden_trigger = {
			has_country_flag = GGR_BRG_went_hot
		}
	}
	prerequisite = {
		focus = GER_GOR_information_overload
		focus = GER_GOR_absolute_nuclear_coverage
	}
	available = {
		GGR_not_invaded_burgundy = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_it_is_their_turn_to_fear_the_dark"
		if = {
			limit = {
				check_variable = {
					BRG_silent_war_spies = GER_silent_war_spies
				}
			}
			swap_ideas = {
				remove_idea = GGR_the_silent_war_1
				add_idea = GGR_the_silent_war_stalemate
			}
		}
		else_if = {
			limit = {
				check_variable = {
					BRG_silent_war_spies > GER_silent_war_spies
				}
			}
			swap_ideas = {
				remove_idea = GGR_the_silent_war_1
				add_idea = GGR_the_silent_war_lost
			}
		}
		else_if = {
			limit = {
				check_variable = {
					BRG_silent_war_spies < GER_silent_war_spies
				}
			}
			swap_ideas = {
				remove_idea = GGR_the_silent_war_1
				add_idea = GGR_the_silent_war_won
			}
		}
	}
	relative_position_id = GER_GOR_map_out_the_silos
	x = 0
	y = 2
}
shared_focus = {
	id = GER_GOR_a_swfit_end_to_the_madness
	icon = GFX_focus_GER_a_swift_end_to_the_madness
	cost = 1
	bypass = {
		hidden_trigger = {
			has_country_flag = GGR_BRG_went_hot
		}
	}
	available = {
		GGR_not_invaded_burgundy = yes
	}
	prerequisite = {
		focus = GER_GOR_fall_schwarz2
	}
	relative_position_id = GER_GOR_fall_schwarz2
	x = -6
	y = 2
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_a_swfit_end_to_the_madness"
		custom_effect_tooltip = GER_GOR_a_swfit_end_to_the_madness_tooltip
		hidden_effect = {
			set_variable = { GGR_Schwarz_planning_speed = 0.15 }
		}
	}
}
shared_focus = {
	id = GER_GOR_ready_the_heer
	icon = GFX_focus_GER_ready_the_heer
	cost = 1
	bypass = {
		hidden_trigger = {
			has_country_flag = GGR_BRG_went_hot
		}
	}
	prerequisite = {
		focus = GER_GOR_a_swfit_end_to_the_madness
	}
	relative_position_id = GER_GOR_a_swfit_end_to_the_madness
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_ready_the_heer"
		custom_effect_tooltip = GER_GOR_ready_the_heer_tooltip
		hidden_effect = {
			country_event = { id = goering.schwarz.2 days = 2}
			set_variable = { GGR_Schwarz_army_attack = 0.05 }
			set_variable = { GGR_Schwarz_army_defense = 0.05 }
		}
		army_experience = 20
		add_doctrine_cost_reduction = {
		    name = land_doc_bonus
		    cost_reduction = 0.75
		    uses = 1
		    category = land_doctrine
		}
	}
	available = {
		GGR_not_invaded_burgundy = yes
	}
	x = 3
	y = 1
}
shared_focus = {
	id = GER_GOR_ready_the_kriegsmarine
	icon = GFX_focus_GER_See_The_World
	cost = 1
	bypass = {
		hidden_trigger = {
			has_country_flag = GGR_BRG_went_hot
		}
	}
	prerequisite = {
		focus = GER_GOR_ready_the_heer
	}
	available = {
		GGR_not_invaded_burgundy = yes
	}
	relative_position_id = GER_GOR_ready_the_heer
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_ready_the_kriegsmarine"
		custom_effect_tooltip = GER_GOR_ready_the_kriegsmarine_tooltip
		hidden_effect = {
			country_event = { id = goering.schwarz.3 days = 2}
			set_variable = { GGR_Schwarz_naval_coordination = 0.05 }
			set_variable = { GGR_Schwarz_capital_attack = 0.05 }
		}
		add_tech_bonus = {
			bonus = 1.0
			uses = 1
			technology = blue_water_navy
		}
		navy_experience = 20
	}
	x = -2
	y = 1
}
shared_focus = {
	id = GER_GOR_ready_the_luftwaffe
	icon = GFX_focus_GER_the_grandeur_of_flight
	cost = 1
	bypass = {
		hidden_trigger = {
			has_country_flag = GGR_BRG_went_hot
		}
	}
	prerequisite = {
		focus = GER_GOR_ready_the_heer
	}
	available = {
		GGR_not_invaded_burgundy = yes
	}
	relative_position_id = GER_GOR_ready_the_heer
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_ready_the_luftwaffe"
		custom_effect_tooltip = GER_GOR_ready_the_luftwaffe_tooltip
		hidden_effect = {
			country_event = { id = goering.schwarz.4 days = 3}
			set_variable = { GGR_Schwarz_cas_attack = 0.10 }
		}
		add_tech_bonus = {
			bonus = 1.0
			uses = 1
			technology = air_supremacy
			technology = air_superiority
			technology = air_parity
		}
		air_experience = 20
	}
	x = 2
	y = 1
}
shared_focus = {
	id = GER_GOR_an_iron_curtain
	icon = GFX_focus_GER_an_iron_curtain
	cost = 3
	bypass = {
		hidden_trigger = {
			has_country_flag = GGR_BRG_went_hot
		}
	}
	available = {
		GGR_not_invaded_burgundy = yes
	}
	prerequisite = {
		focus = GER_GOR_ready_the_luftwaffe
		focus = GER_GOR_ready_the_kriegsmarine
	}
	relative_position_id = GER_GOR_ready_the_heer
	x = 0
	y = 2
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_an_iron_curtain "
		custom_effect_tooltip = GER_GOR_an_iron_curtain_tooltip
		custom_effect_tooltip = GER_GOR_an_iron_curtain_tooltip2
		country_event = { id = goering.schwarz.6 }
	}
}
shared_focus = {
	id = GER_GOR_ready_the_people
	icon = GFX_focus_generic_quantity_recruitment
	cost = 1
	bypass = {
		hidden_trigger = {
			has_country_flag = GGR_BRG_went_hot
		}
	}
	available = {
		GGR_not_invaded_burgundy = yes
	}
	prerequisite = {
		focus = GER_GOR_an_iron_curtain
	}
	relative_position_id = GER_GOR_an_iron_curtain
	x = 0
	y = 1
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_ready_the_people"
		hidden_effect = {
			set_variable = { GGR_Schwarz_morale = 0.05 }
		}
		add_war_support = 0.15
	}
}
shared_focus = {
	id = GER_GOR_we_fight_devils
	icon = GFX_focus_GER_we_fight_devils
	cost = 1
	bypass = {
		hidden_trigger = {
			has_country_flag = GGR_BRG_went_hot
		}
	}
	available = {
		GGR_not_invaded_burgundy = yes
	}
	prerequisite = {
		focus = GER_GOR_ready_the_people
	}
	relative_position_id = GER_GOR_ready_the_people
	x = -1
	y = 1
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_we_fight_devils"
		custom_effect_tooltip = GER_GOR_we_fight_devils_tooltip
		add_to_variable = { GGR_Schwarz_morale = 0.05 }
		add_to_variable = { GGR_Schwarz_army_defense = 0.05 }
	}
}
shared_focus = {
	id = GER_GOR_and_we_follow_the_fuhrer
	icon = GFX_focus_GER_and_we_follow_the_fuhrer
	cost = 1
	bypass = {
		hidden_trigger = {
			has_country_flag = GGR_BRG_went_hot
		}
	}
	available = {
		GGR_not_invaded_burgundy = yes
	}
	prerequisite = {
		focus = GER_GOR_ready_the_people
	}
	relative_position_id = GER_GOR_ready_the_people
	x = 1
	y = 1
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_and_we_follow_the_fuhrer"
		add_equipment_to_stockpile = {
			type = motorized_equipment
			amount = 1500
			producer = GER
		}
		custom_effect_tooltip = GER_GOR_and_we_follow_the_fuhrer_tooltip
		set_variable = { GGR_Schwarz_infantry_speed = 0.10 }
	}
}
shared_focus = {
	id = GER_GOR_into_hell_itself
	icon = GFX_focus_GER_into_hell_itself
	cost = 1
	bypass = {
		hidden_trigger = {
			has_country_flag = GGR_BRG_went_hot
		}
	}
	available = {
		GGR_not_invaded_burgundy = yes
	}
	prerequisite = {
		focus = GER_GOR_we_fight_devils
	}
	prerequisite = {
		focus = GER_GOR_and_we_follow_the_fuhrer
	}
	relative_position_id = GER_GOR_ready_the_people
	x = 0
	y = 2
	completion_reward = {
		custom_effect_tooltip = GER_GOR_into_hell_itself_tooltip
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_into_hell_itself"
		if = {
			limit = {
				has_completed_focus = GER_GOR_infantry_in_auvergne
			}
			add_to_variable = {
				GGR_Schwarz_infantry_attack	= 0.05
			}
		}
		else_if = {
			limit = {
				NOT = { has_completed_focus = GER_GOR_infantry_in_auvergne }
			}
			set_variable = { GGR_Schwarz_infantry_attack = 0.05 }
		}
	}
}
shared_focus = {
	id = GER_GOR_rally_the_rks
	icon = GFX_focus_GER_Rally_The_RKs
	cost = 1
	bypass = {
		hidden_trigger = {
			has_country_flag = GGR_BRG_went_hot
		}
	}
	prerequisite = {
		focus = GER_GOR_a_swfit_end_to_the_madness
	}
	available = {
		GGR_not_invaded_burgundy = yes
	}
	relative_position_id = GER_GOR_a_swfit_end_to_the_madness
	x = -4
	y = 1
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_rally_the_rks"
		custom_effect_tooltip = GER_GOR_rally_the_rks_tooltip
	}
}
shared_focus = {
	id = GER_GOR_alert_the_isr
	icon = GFX_focus_GER_Rally_the_ISR
	cost = 1
	bypass = {
		hidden_trigger = {
			has_country_flag = GGR_BRG_went_hot
		}
	}
	available = {
		GGR_not_invaded_burgundy = yes
		custom_trigger_tooltip = {
			tooltip = GGR_created_isr
			LOM = { has_autonomy_state = autonomy_collaborator_puppet_state }
		}
	}
	prerequisite = {
		focus = GER_GOR_rally_the_rks
	}
	relative_position_id = GER_GOR_rally_the_rks
	x = 0
	y = 1
	completion_reward = {
		custom_effect_tooltip = GER_GOR_alert_the_isr_tooltip
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_alert_the_isr"
		add_manpower = 10000
		LOM = {
			add_war_support = 0.30
			add_stability = 0.10
			add_ideas = {
				GGR_rk_alerted
			}
		}
	}
}
shared_focus = {
	id = GER_GOR_mountaineers_in_the_alps
	icon = GFX_focus_GER_Mountaineers_In_The_Alps
	cost = 1
	bypass = {
		hidden_trigger = {
			has_country_flag = GGR_BRG_went_hot
		}
	}
	available = {
		GGR_not_invaded_burgundy = yes
	}
	prerequisite = {
		focus = GER_GOR_alert_the_isr
	}
	relative_position_id = GER_GOR_alert_the_isr
	x = 0
	y = 2
	completion_reward = {
		custom_effect_tooltip = GER_GOR_mountaineers_in_the_alps_tooltip
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_mountaineers_in_the_alps"
		send_equipment = {
			type = infantry_equipment_2
			amount = 1500
			target = LOM
		}
		send_equipment = {
			type = artillery_equipment_2
			amount = 500
			target = LOM
		}
		send_equipment = {
			type = support_equipment
			amount = 500
			target = LOM
		}
	}
}
shared_focus = {
	id = GER_GOR_alert_rk_britannien
	icon = GFX_focus_GER_Rally_the_RK_Brittanien
	cost = 1
	bypass = {
		hidden_trigger = {
			OR = {
				has_country_flag = GGR_BRG_went_hot
				BRI = { has_cosmetic_tag = ENG_national_republic }
				country_exists = ENG
			}
		}
	}
	prerequisite = {
		focus = GER_GOR_rally_the_rks
	}
	available = {
		GGR_not_invaded_burgundy = yes
	}
	relative_position_id = GER_GOR_rally_the_rks
	x = -2
	y = 2
	completion_reward = {
		custom_effect_tooltip = GER_GOR_alert_rk_britannien_tooltip
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_alert_rk_britannien"
		add_manpower = 10000
		set_variable = {
			GGR_Schwarz_invasion = -0.50
		}
		BRI = {
			add_war_support = 0.30
			add_stability = 0.10
			add_ideas = {
				GGR_rk_alerted
			}
		}
	}
}
shared_focus = {
	id = GER_GOR_alert_rk_okzitanien
	icon = GFX_focus_GER_Rally_the_RK_Occitanien
	cost = 1
	bypass = {
		hidden_trigger = {
			OR = {
				has_country_flag = GGR_BRG_went_hot
				country_exists = FRA
			}
		}
	}
	available = {
		GGR_not_invaded_burgundy = yes
	}
	prerequisite = {
		focus = GER_GOR_rally_the_rks
	}
	relative_position_id = GER_GOR_rally_the_rks
	x = 2
	y = 2
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_alert_rk_okzitanien"
		custom_effect_tooltip = GER_GOR_alert_rk_okzitanien_tooltip
		add_manpower = 10000
		GLC = {
			add_war_support = 0.30
			add_stability = 0.10
			add_ideas = {
				GGR_rk_alerted
			}
		}
	}
}
shared_focus = {
	id = GER_GOR_infantry_in_auvergne
	icon = GFX_focus_GER_Infantry_In_Auvergne
	cost = 1
	bypass = {
		hidden_trigger = {
			OR = {
				has_country_flag = GGR_BRG_went_hot
				country_exists = FRA
			}
		}
	}
	prerequisite = {
		focus = GER_GOR_alert_rk_okzitanien
	}
	available = {
		GGR_not_invaded_burgundy = yes
	}
	relative_position_id = GER_GOR_alert_rk_okzitanien
	x = 0
	y = 1
	completion_reward = {
		custom_effect_tooltip = GER_GOR_infantry_in_auvergne_tooltip
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_infantry_in_auvergne"
		send_equipment = {
			type = infantry_equipment_2
			amount = 1500
			target = GLC
		}
		send_equipment = {
			type = artillery_equipment_2
			amount = 500
			target = GLC
		}
		send_equipment = {
			type = support_equipment
			amount = 500
			target = GLC
		}
		set_variable = {
			GGR_Schwarz_infantry_defence = 0.05
		}
		if = {
			limit = { has_completed_focus = GER_GOR_into_hell_itself }
			add_to_variable = {
				GGR_Schwarz_infantry_attack	= 0.05
			}
		}
		else_if = {
			limit = {
				NOT = { has_completed_focus = GER_GOR_into_hell_itself }
			}
			set_variable = { GGR_Schwarz_infantry_attack = 0.05 }
		}
	}
}
shared_focus = {
	id = GER_GOR_marines_in_normandy
	icon = GFX_focus_GER_Marines_In_Normandy
	cost = 1
	bypass = {
		hidden_trigger = {
			OR = {
				has_country_flag = GGR_BRG_went_hot
				BRI = { has_cosmetic_tag = ENG_national_republic }
				country_exists = ENG
			}
		}
	}
	available = {
		GGR_not_invaded_burgundy = yes
	}
	prerequisite = {
		focus = GER_GOR_alert_rk_britannien
	}
	relative_position_id = GER_GOR_alert_rk_britannien
	x = 0
	y = 1
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_marines_in_normandy"
		custom_effect_tooltip = GER_GOR_marines_in_normandy_tooltip
		send_equipment = {
			type = infantry_equipment_2
			amount = 1500
			target = BRI
		}
		send_equipment = {
			type = artillery_equipment_2
			amount = 500
			target = BRI
		}
		send_equipment = {
			type = support_equipment
			amount = 500
			target = BRI
		}
		hidden_effect = {
			load_oob = GGR_Fall_Schwarz_Seekorps
		}
	}
}
shared_focus = {
	id = GER_GOR_ready_the_dutch_reichsgau
	icon = GFX_focus_Goering_Alert_The_Dutch
	cost = 1
	bypass = {
		hidden_trigger = {
			has_country_flag = GGR_BRG_went_hot
		}
	}
	available = {
		GGR_not_invaded_burgundy = yes
	}
	prerequisite = {
		focus = GER_GOR_mountaineers_in_the_alps
		focus = GER_GOR_marines_in_normandy
		focus = GER_GOR_infantry_in_auvergne
	}
	relative_position_id = GER_GOR_mountaineers_in_the_alps
	x = 0
	y = 1
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_ready_the_dutch_reichsgau"
		custom_effect_tooltip = GER_GOR_ready_the_dutch_reichsgau_tooltip
		hidden_effect = {
			load_oob = "GGR_Fall_Schwarz_Korpsgruppe_Kurtz"
		}
	}
}
shared_focus = {
	id = GER_GOR_panzers_in_calais
	icon = GFX_focus_Tour_The_Panzer_Fleet
	cost = 1
	bypass = {
		hidden_trigger = {
			has_country_flag = GGR_BRG_went_hot
		}
	}
	available = {
		GGR_not_invaded_burgundy = yes
	}
	prerequisite = {
		focus = GER_GOR_ready_the_dutch_reichsgau
	}
	relative_position_id = GER_GOR_ready_the_dutch_reichsgau
	x = 0
	y = 1
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_panzers_in_calais"
		custom_effect_tooltip = GER_GOR_panzers_in_calais_tooltip
		set_temp_variable = { X = 0.05 }
		custom_effect_tooltip = GGR_armor_speed_increase_X_percent
		custom_effect_tooltip = GGR_armor_attack_factor_increase_X_percent
		set_variable = {
			GGR_Schwarz_armor_speed = 0.05
		}
		set_variable = {
			GGR_Schwarz_armor_attack = 0.05
		}
	}
}
shared_focus = {
	id = GER_GOR_kick_down_the_door
	icon = GFX_focus_generic_kick_down_the_door
	cost = 1
	bypass = {
		hidden_trigger = {
			has_country_flag = GGR_BRG_went_hot
		}
	}
	available = {
		GGR_not_invaded_burgundy = yes
	}
	prerequisite = {
		focus = GER_GOR_panzers_in_calais
		focus = GER_GOR_into_hell_itself
	}
	relative_position_id = GER_GOR_panzers_in_calais
	x = 3
	y = 2
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_kick_down_the_door"
		custom_effect_tooltip = GER_GOR_kick_down_the_door_tooltip
		set_temp_variable = { X = 0.05 }
		custom_effect_tooltip = GGR_soft_attack_increase_X_percent
		add_to_variable = {
			GGR_Schwarz_army_attack = 0.05
		}
		add_command_power = 100
	}
}
shared_focus = {
	id = GER_GOR_just_like_old_times
	icon = GFX_focus_GER_just_like_old_times_BRG
	cost = 1.00
	bypass = {
		hidden_trigger = {
			has_country_flag = GGR_BRG_went_hot
		}
	}
	prerequisite = {
		focus = GER_GOR_kick_down_the_door
		focus = GER_GOR_it_is_their_turn_to_fear_the_dark
	}
	available = {
		if = {
			limit = { is_ai = yes }
			has_war = no
		}
	}
	relative_position_id = GER_GOR_kick_down_the_door
	completion_reward = {
		custom_effect_tooltip = GER_GOR_just_like_old_times_tooltip
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_just_like_old_times"
		BRG = { declare_war_with_rks = yes }
		hidden_effect = {
			every_country = { news_event = WORLD_REICH.300 }
			GLC = { set_variable = { var_state = 786 } }
		}
	}
	x = 6
	y = 2
}
shared_focus = {
	id = GER_GOR_flatten_ost_paris
	icon = GFX_focus_GER_flatten_ost_paris
	cost = 1
	prerequisite = {
		focus = GER_GOR_just_like_old_times
	}
	bypass = {
		hidden_trigger = {
			GGR_conquered_burgundy = yes
		}
	}
	relative_position_id = GER_GOR_just_like_old_times
	x = 2
	y = 1
	completion_reward = {
		custom_effect_tooltip = GER_GOR_flatten_ost_paris_tooltip
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_flatten_ost_paris"
		BRG = {
			add_command_power = -40
			add_stability = -0.20
			add_war_support = -0.20
		}
		GER = {
			country_event = { id = goering.schwarz.38 days = 2 }
		}
		BRG = {
			country_event = { id = goering.schwarz.39 days = 3 }
		}
	}
}
shared_focus = {
	id = GER_GOR_cut_the_communication_lines
	icon = GFX_focus_Goering_sabotaging_communications
	cost = 1
	prerequisite = {
		focus = GER_GOR_flatten_ost_paris
	}
	bypass = {
		hidden_trigger = {
			GGR_conquered_burgundy = yes
		}
	}
	completion_reward = {
		BRG = {
			random_army_leader = {
				retire = yes
			}
			random_army_leader = {
				retire = yes
			}
		}
		custom_effect_tooltip = GER_GOR_cut_the_communication_lines_tooltip
	}
	relative_position_id = GER_GOR_flatten_ost_paris
	x = 0
	y = 1
}
shared_focus = {
	id = GER_GOR_an_answer_to_the_call
	icon = GFX_focus_Goering_collaborate_with_belgium_people
	cost = 1
	prerequisite = {
		focus = GER_GOR_cut_the_communication_lines
	}
	bypass = {
		hidden_trigger = {
			GGR_conquered_burgundy = yes
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_an_answer_to_the_call"
		country_event = {
			id = goering.schwarz.41
		}
		custom_effect_tooltip = GER_GOR_an_answer_to_the_call_tooltip
	}
	relative_position_id = GER_GOR_cut_the_communication_lines
	x = 0
	y = 1
}
shared_focus = {
	id = GER_GOR_mansteins_lessons
	icon = GFX_focus_Goering_Mannsteins_lessons
	cost = 1
	prerequisite = {
		focus = GER_GOR_just_like_old_times
	}
	bypass = {
		hidden_trigger = {
			GGR_conquered_burgundy = yes
		}
	}
	relative_position_id = GER_GOR_just_like_old_times
	x = -2
	y = 1
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_mansteins_lessons"
		custom_effect_tooltip = GER_GOR_mansteins_lessons_tooltip
		if = {
			limit = { has_completed_focus = GER_GOR_a_swfit_end_to_the_madness }
			add_to_variable = { GGR_Schwarz_planning_speed = 0.15 }
		}
		else_if = {
			limit = {
				NOT = { has_completed_focus = GER_GOR_a_swfit_end_to_the_madness }
			}
			set_variable = { GGR_Schwarz_planning_speed = 0.15 }
		}
		else_if = {
			limit = { has_completed_focus = GER_GOR_ready_the_luftwaffe }
			add_to_variable = { GGR_Schwarz_cas_attack = 0.05 }
		}
		else_if = {
			limit = {
				NOT = { has_completed_focus = GER_GOR_ready_the_luftwaffe }
			}
			set_variable = { GGR_Schwarz_cas_attack = 0.05 }
		}
	}
}
shared_focus = {
	id = GER_GOR_around_their_defenses
	icon = GFX_focus_Goering_go_around_burgundy
	cost = 1
	prerequisite = {
		focus = GER_GOR_mansteins_lessons
	}
	bypass = {
		hidden_trigger = {
			GGR_conquered_burgundy = yes
		}
	}
	relative_position_id = GER_GOR_mansteins_lessons
	x = 0
	y = 1
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_around_their_defenses"
		custom_effect_tooltip = GER_GOR_around_their_defenses_tooltip
		if = {
			limit = { has_completed_focus = GER_GOR_panzers_in_calais }
			add_to_variable = { GGR_Schwarz_armor_speed = 0.05 }
		}
		else_if = {
			limit = {
				NOT = { has_completed_focus = GER_GOR_panzers_in_calais }
			}
			set_variable = { GGR_Schwarz_armor_speed = 0.05 }
		}
		set_variable = { GGR_Schwarz_infantry_speed = 0.10 }
	}
}
shared_focus = {
	id = GER_GOR_empty_the_rat_traps
	icon = GFX_focus_Goering_Mouse_Trap
	cost = 1
	prerequisite = {
		focus = GER_GOR_around_their_defenses
	}
	bypass = {
		hidden_trigger = {
			GGR_conquered_burgundy = yes
		}
	}
	relative_position_id = GER_GOR_around_their_defenses
	x = 0
	y = 1
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_empty_the_rat_traps"
		custom_effect_tooltip = GER_GOR_empty_the_rat_traps_tooltip
		if = {
			limit = {
				NOT = {
					has_country_flag = GER_beat_BRG
				}
			}
			add_ideas ={
				GGR_rat_traps
			}
			else_if = {
				limit = {
					has_country_flag = GER_beat_BRG
				}
				add_ideas = {
					GGR_rat_traps_2
				}
			}
		}
	}
}
shared_focus = {
	id = GER_GOR_the_black_sun_eclipsed
	icon = GFX_focus_GER_the_black_sun_eclipsed
	cost = 1
	prerequisite = {
		focus = GER_GOR_empty_the_rat_traps
		focus = GER_GOR_an_answer_to_the_call
	}
	available = {
		GGR_conquered_burgundy = yes
	}
	relative_position_id = GER_GOR_empty_the_rat_traps
	x = 2
	y = 1
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_fall_schwarz2"
		country_event = { id = goering.schwarz.42 }
		add_stability = 0.10
		GER_GOR_epilogue_trigger = yes
	}
}

#################### FALL DAMMERUNG ##########################


shared_focus = {
	id = GGR_operation_dammerung
	icon = GFX_focus_operation_dammerung
	cost = 0.2
	prerequisite = {
		focus = GER_GOR_war_plan_C_new
	}
	available = {
		player_one_operation_check = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_operation_dammerung"
		hidden_effect = {
			add_dynamic_modifier = { modifier = GGR_Operation_Dammerung }
		}
		unlock_decision_category_tooltip = GGR_crack_the_sphere_category
		country_event = { id = goering.dammerung.1 }
		set_country_flag = GGR_operation_locked
		GGR_clear_temporary_variables = yes
		JAP = {
			set_country_flag = anti_goering_preparation_plan_C
		}
		set_temp_variable = { Victory_ID = 108 }
		set_temp_variable = { Victory_Outcome = 0 }
		set_temp_variable = { Victory_Points = 0 }
		Cold_War_GUI_AddVictory = yes
	}
	relative_position_id = GER_GOR_war_plan_C_new
	x = 30
	y = 1
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0
			OR = {
				USA = { is_ai = no }
				BRG = { is_ai = no }
			}
			JAP = { is_ai = yes }
		}
		modifier = {
			factor = 5
			JAP = { is_ai = no }
		}
	}
}


shared_focus = {
	id = GGR_the_southern_route
	icon = GFX_focus_GER_The_Southern_Route
	cost = 1
	prerequisite = {
		focus = GGR_operation_dammerung
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_the_southern_route"
		custom_effect_tooltip = GGR_army_speed_increase_10_percent
		custom_effect_tooltip = GGR_command_power_max_increase_30
		set_variable = { GGR_temporary_speed = 0.1 }
		set_variable = { GGR_temporary_max_command_power = 30 }
	}
	relative_position_id = GGR_operation_dammerung
	x = -10
	y = 1
}

shared_focus = {
	id = GGR_operation_alexander
	icon = GFX_focus_GER_Operation_Alexander
	cost = 1
	prerequisite = {
		focus = GGR_the_southern_route
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_operation_alexander"
		custom_effect_tooltip = GGR_operation_alexander_tooltip
	}
	relative_position_id = GGR_the_southern_route
	x = 0
	y = 1
}

shared_focus = {
	id = GGR_clamp_down_on_arabia
	icon = GFX_focus_SAU_Gerhard_Of_Arabia
	cost = 1
	prerequisite = {
		focus = GGR_operation_alexander
	}
	available = {
		if = {
			limit = {
				is_ai = yes
			}
			has_war = no
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_clamp_down_on_arabia"
		SAU = { declare_war_with_rks = yes }
		OMA = { declare_war_with_rks = yes }
		GUL = { declare_war_with_rks = yes }
	}
	relative_position_id = GGR_the_southern_route
	x = -2
	y = 2
}

shared_focus = {
	id = GGR_into_the_indean_ocean
	icon = GFX_focus_GGR_Storming_the_Beaches
	cost = 1
	prerequisite = { 
		focus = GGR_clamp_down_on_arabia
	}
	available = {
		678 = { 
			is_owned_by = RKA
		}
	}
	bypass = {
		GGR_japan_conquered = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_into_the_indean_ocean"
		678 = {
			add_building_construction = {
				type = air_base
				level = 3
				instant_build = yes
			}
			add_building_construction = {
				type = naval_base
				level = 3
				instant_build = yes
				province = 13458
			}
		}
	}
	relative_position_id = GGR_the_southern_route
	x = -4
	y = 3
}

shared_focus = {
	id = GGR_seperate_the_chains_of_command
	icon = GFX_focus_GER_military_garbage
	cost = 1
	prerequisite = {
		focus = GGR_clamp_down_on_arabia
	}
	bypass = {
		GGR_japan_conquered = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_seperate_the_chains_of_command"
		custom_effect_tooltip = GGR_army_speed_increase_10_percent
		custom_effect_tooltip = GGR_soft_attack_increase_15_percent
		custom_effect_tooltip = GGR_armor_speed_factor_increase_20_percent
		custom_effect_tooltip = GGR_supply_consumption_factor_increase_25_percent
		custom_effect_tooltip = GGR_attrition_increase_20_percent

		add_to_variable = { GGR_temporary_speed = 0.1 }
		set_variable = { GGR_temporary_soft_attack = 0.15 }
		set_variable = { GGR_temporary_army_armor_speed_factor = 0.2 }
		set_variable = { GGR_temporary_attrition = 0.2 }
		set_variable = { GGR_temporary_supply_consumption = 0.25 }
	}
	relative_position_id = GGR_the_southern_route
	x = -2
	y = 3
}

shared_focus = {
	id = GGR_iranian_military_cooperation
	icon = GFX_focus_GER_Pressure_the_Iranians
	cost = 1
	prerequisite = {
		focus = GGR_operation_alexander
	}
	mutually_exclusive = {
		focus = GGR_flip_the_switch
	}
	available = {
		country_exists = PER
		PER = {
			has_idea = Pakt_Observer
		}
	}
	bypass = {
		is_in_faction_with = PER
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_iranian_military_cooperation"
		if = {
			limit = {
				PER = { has_war = yes }
			}
			every_country = {
				limit = {
					OR = {
						tag = IRI
						tag = IRL
						tag = IRC
						tag = IRA
						tag = IRB
					}
				}
				GGR_add_on_our_own = yes
				declare_war_with_rks = yes
			}
			add_to_faction = PER
			PER = {
				add_ideas = Pakt_Bundnispartner
				econ_join_sphere_GER = yes
			}
		}
		else = {
			custom_effect_tooltip = GGR_iranian_military_cooperation_tooltip
		}
	}
	relative_position_id = GGR_the_southern_route
	x = 3
	y = 3
}

shared_focus = {
	id = GGR_flip_the_switch
	icon = GFX_focus_DRL_penetrate_the_mountain
	cost = 2
	prerequisite = {
		focus = GGR_operation_alexander
	}
	mutually_exclusive = {
		focus = GGR_iranian_military_cooperation
	}
	available = {
		if = {
			limit = {
				is_ai = yes
			}
			has_war = no
		}
		NOT = { is_in_faction_with = PER }
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_flip_the_switch"
		every_country = {
			limit = {
				OR = {
					tag = PER
					tag = IRI
					tag = IRL
					tag = IRC
					tag = IRA
					tag = IRB
				}
			}
			GGR_add_on_our_own = yes
			declare_war_with_rks = yes
		}
		add_timed_idea = {
			idea = GGR_hostile_iranian_population
			days = 90
		}
		hidden_effect = {
			country_event = { id = goering.dammerung.15 days = 120 }
		}
	}
	relative_position_id = GGR_the_southern_route
	x = 0
	y = 3
}

shared_focus = {
	id = GGR_exhaust_the_supply_lines
	icon = GFX_focus_COG_air_supply_logistics
	cost = 1
	prerequisite = {
		focus = GGR_flip_the_switch
		focus = GGR_iranian_military_cooperation
	}
	available = {
		has_war = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_exhaust_the_supply_lines"
		add_timed_idea = {
			idea = GGR_emergency_supply_drive
			days = 7
		}
		custom_effect_tooltip = GGR_exhaust_the_supply_lines_tooltip
		show_ideas_tooltip = GGR_exhausted_supply_routes
	}
	relative_position_id = GGR_the_southern_route
	x = 0
	y = 4
}

shared_focus = {
	id = GGR_frontline_emergency_reparation
	icon = GFX_focus_YUN_repair_all_you_can
	cost = 1
	prerequisite = {
		focus = GGR_flip_the_switch
		focus = GGR_iranian_military_cooperation
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_frontline_emergency_reparation"
		GER = {
			add_timed_idea = {
				idea = GGR_emergency_reparation
				days = 7
			}
		}
		every_country = {
			limit = {
				is_in_faction_with = GER
				any_owned_state = { is_on_continent = asia }
			}
			add_timed_idea = {
				idea = GGR_emergency_reparation
				days = 7
			}
		}
	}
	relative_position_id = GGR_the_southern_route
	x = 2
	y = 4
}

shared_focus = {
	id = GGR_over_the_mountains2
	icon = GER_GOR_over_the_mountains2
	cost = 1
	prerequisite = {
		focus = GGR_exhaust_the_supply_lines
		focus = GGR_frontline_emergency_reparation
	}
	bypass = {
		GGR_japan_conquered = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_over_the_mountains2"
		custom_effect_tooltip = GGR_special_forces_attack_increase_15_percent
		custom_effect_tooltip = GGR_special_forces_defence_increase_15_percent
		set_variable = { GGR_temporary_special_forces_attack_factor = 0.15 }
		set_variable = { GGR_temporary_special_forces_defence_factor = 0.15 }
		GGR_increase_japanese_awarenes = yes
	}
	relative_position_id = GGR_the_southern_route
	x = 1
	y = 5
}

shared_focus = {
	id = GGR_destabilize_the_sphere
	icon = GFX_focus_USA_crack_the_sphere
	cost = 1
	prerequisite = {
		focus = GGR_operation_dammerung
	}
	available = {
		GGR_not_invaded_japan = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_destabilize_the_sphere"
		unlock_decision_tooltip = GGR_influence_sphere_nation
		BUR = {
			set_variable = { GER_influence = 2 }
		}
		THA = {
			set_variable = { GER_influence = 3 }
		}
		if = {
		    limit = {
			    CAM = {
				    is_in_faction_with = JAP  
				}
			}
			CAM = {
			    set_variable = { GER_influence = 1 }
		    }
		}
        else = {
			CAM = {
			    set_variable = { GER_influence = -1 }
		    }
		}		
		if = {
		    limit = {
			    INS = {
				    is_in_faction_with = JAP  
				}
			}
			INS = {
			    set_variable = { GER_influence = 1 }
		    }
		}
		else = {
			INS = {
			    set_variable = { GER_influence = -1 }
		    }
		}
		if = {
		    limit = {
			    PHI = {
				    is_in_faction_with = JAP  
					exists = yes
					NOT = {
					    has_idea = Sphere_Imp_Protectorate
					}	
				}
			}
			PHI = {
			    set_variable = { GER_influence = -2 }
		    }
		}
		else_if = {
		    limit = {
			    FGB = {
				    is_in_faction_with = JAP
					exists = yes	
				}
			}
			PHI = {
			    set_variable = { GER_influence = -2 }
		    }
		}
		else = {
			PHI = {
			    set_variable = { GER_influence = -1 }
		    }
		}
		if = {
		    limit = {
			    LAO = {
				    is_in_faction_with = JAP  
				}
			}
			LAO = {
			    set_variable = { GER_influence = 1 }
		    }
		}	
		else = {
			LAO = {
			    set_variable = { GER_influence = 01 }
		    }
		}
		if = {
		    limit = {
			    VIN = {
				    is_in_faction_with = JAP 
				}
			}
			VIN = {
			    set_variable = { GER_influence = 1 }
		    }
		}	
		else = {
			VIN = {
			    set_variable = { GER_influence = -1 }
		    }
		}
		SHO = {
			if = {
				limit = {
					has_cosmetic_tag = SHO_Singapore
				}
				set_variable = { GER_influence = -2 }
			}
			else_if = {
				limit = {
					is_in_faction_with = JAP 
					NOT = {
						has_idea = Sphere_Imp_Protectorate
					}	
				}
				set_variable = { GER_influence = 1 }
			}
			else = {
				set_variable = { GER_influence = -1 }
			}
		}
		if = {
		    limit = {
			    MAD = {
				    is_in_faction_with = JAP 	
				}
			}
			MAD = {
			    set_variable = { GER_influence = 1 }
		    }
		}
		else = {
			MAD = {
			    set_variable = { GER_influence = -1 }
		    }
		}
		AZH = {
			if = {
				limit = {
					exists = yes
				}
				set_variable = { GER_influence = 3 }
			}
			else = {
				set_variable = { GER_influence = -1 }
			}
		}
	}
	relative_position_id = GGR_operation_dammerung
	x = 0
	y = 2
}

shared_focus = {
	id = GGR_allies_in_the_farthest_places
	icon = GFX_focus_INS_fully_indonesian_army
	cost = 2
	prerequisite = {
		focus = GGR_destabilize_the_sphere
	}
	available = {
		GGR_not_invaded_japan = yes
	}
	bypass = {
		INS = {
			OR = {
				exists = no
				NOT = { is_in_faction_with = JAP }
			}
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_allies_in_the_farthest_places"
		country_event = { id = goering.dammerung.3 }
	}
	relative_position_id = GGR_destabilize_the_sphere
	x = -2
	y = 1
}

shared_focus = {
	id = GGR_running_through_the_jungle
	icon = GFX_focus_TNO_Generic_Burma
	cost = 1
	prerequisite = {
		focus = GGR_allies_in_the_farthest_places
	}
	bypass = {
		BUR = {
			OR = {
				exists = no
				NOT = { is_in_faction_with = JAP }
			}
		}
	}
	available = {
		GGR_not_invaded_japan = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_running_through_the_jungle"
		country_event = { id = goering.dammerung.2 }
	}
	relative_position_id = GGR_destabilize_the_sphere
	x = -3
	y = 2
}

shared_focus = {
	id = GGR_in_the_lion_city
	icon = GFX_focus_generic_orthographic_east_asia
	cost = 1
	prerequisite = {
		focus = GGR_allies_in_the_farthest_places
	}
	available = {
		GGR_not_invaded_japan = yes
	}
	bypass = {
		SHO = {
			OR = {
				exists = no
				has_idea = Sphere_Imp_Protectorate
				has_cosmetic_tag = SHO_Singapore
			}
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_in_the_lion_city"
		country_event = { id = goering.dammerung.5 }
	}
	relative_position_id = GGR_destabilize_the_sphere
	x = -1
	y = 2
}

shared_focus = {
	id = GGR_against_all_masters
	icon = GFX_focus_JAP_baptism_by_fire
	cost = 2
	prerequisite = {
		focus = GGR_allies_in_the_farthest_places
		focus = GGR_running_through_the_jungle
		focus = GGR_in_the_lion_city
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_against_all_masters"
		country_event = { id = goering.dammerung.6 }
	}
	relative_position_id = GGR_destabilize_the_sphere
	x = -2
	y = 3
}

shared_focus = {
	id = GGR_the_dragon_rises
	icon = GFX_focus_CHI_for_china
	cost = 2
	prerequisite = {
		focus = GGR_destabilize_the_sphere
	}
	available = {
		GGR_not_invaded_japan = yes
	}
	bypass = {
		NOT = {
			CHI = {
				has_country_leader = {
					character = CHI_gao_zongwu
					ruling_only = yes
				}
			}
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_the_dragon_rises"
		CHI = {
			add_political_power = 100
			add_war_support = 0.08
		}
		country_event = { id = goering.dammerung.7 }
	}
	relative_position_id = GGR_destabilize_the_sphere
	x = 2
	y = 1
}

shared_focus = {
	id = GGR_china_will_grow_larger
	icon = GFX_focus_GER_china_will_grow
	cost = 1
	prerequisite = {
		focus = GGR_the_dragon_rises
	}
	available = {
		GGR_not_invaded_japan = yes
	}
	bypass = {
		OR = {
			NOT = {
				CHI = {
					has_country_leader = {
						character = CHI_gao_zongwu
						ruling_only = yes
					}
				}
			}
			TIB = {
				has_idea = Sphere_Observer
			}
		}
	}
	mutually_exclusive = {
		focus = GGR_freedom_for_all_peoples_of_east_asia
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_china_will_grow_larger"
		custom_effect_tooltip = GGR_china_will_grow_larger_tooltip		
		hidden_effect = {
			set_country_flag = GGR_china_will_grow_larger_flag
			every_state = {
				limit = {
				    OR = {
					    is_core_of = TIB
					}	
				}
				CHI = {
					add_state_claim = PREV
				}
			}
			every_state = {
				limit = {
				    OR = {
					    is_core_of = SHX
					}	
				}
				CHI = {
					add_state_claim = PREV
				}
			}
			every_state = {
				limit = {
				    OR = {
					    is_core_of = YUN
					}	
				}
				CHI = {
					add_state_claim = PREV
				}
			}
			every_state = {
				limit = {
				    OR = {
					    is_core_of = GUX
					}	
				}
				CHI = {
					add_state_claim = PREV
				}
			}
			every_state = {
				limit = {
				    OR = {
					    is_core_of = GNG
					}	
				}
				CHI = {
					add_state_claim = PREV
				}
			}
			every_state = {
				limit = {
				    OR = {
					    is_core_of = GAN
					}	
				}
				CHI = {
					add_state_claim = PREV
				}
			}
			every_state = {
				limit = {
				    OR = {
					    is_core_of = XIK
					}	
				}
				CHI = {
					add_state_claim = PREV
				}
			}
			every_state = {
				limit = {
				    OR = {
					    is_core_of = QIN
					}	
				}
				CHI = {
					add_state_claim = PREV
				}
			}
			every_state = {
				limit = {
				    OR = {
					    is_core_of = MEN
					}	
				}
				CHI = {
					add_state_claim = PREV
				}
			}
			every_state = {
				limit = {
				    OR = {
					    is_core_of = MAN
					}	
				}
				CHI = {
					add_state_claim = PREV
				}
			}
		}
	}
	relative_position_id = GGR_destabilize_the_sphere
	x = 1
	y = 2
}

shared_focus = {
	id = GGR_freedom_for_all_peoples_of_east_asia
	icon = GFX_focus_UPO_we_die_for_freedom
	cost = 2
	prerequisite = {
		focus = GGR_the_dragon_rises
	}
	available = {
		GGR_not_invaded_japan = yes
	}
	mutually_exclusive = {
		focus = GGR_china_will_grow_larger
	}
	available = {
		NOT = {
			has_completed_focus = GGR_secure_xinjiang
		}
	}
	bypass = {
		NOT = {
			CHI = {
				has_country_leader = {
					character = CHI_gao_zongwu
					ruling_only = yes
				}
			}
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_freedom_for_all_peoples_of_east_asia"
		custom_effect_tooltip = GGR_freedom_for_all_peoples_of_east_asia_tooltip
		GGR_increase_japanese_awarenes = yes
		set_country_flag = GGR_freedom_for_all_peoples_of_east_asia_flag
	}
	relative_position_id = GGR_destabilize_the_sphere
	x = 3
	y = 2
}

shared_focus = {
	id = GGR_strengthen_chinese_unity
	icon = GFX_focus_YUN_for_china
	cost = 2
	prerequisite = {
		focus = GGR_freedom_for_all_peoples_of_east_asia
	}
	available = {
		GGR_not_invaded_japan = yes
	}
	bypass = {
		NOT = {
			CHI = {
				has_country_leader = {
					character = CHI_gao_zongwu
					ruling_only = yes
				}
			}
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_strengthen_chinese_unity"
		custom_effect_tooltip = GGR_strengthen_chinese_unity_tooltip
		hidden_effect = {
			set_country_flag = GGR_strengthen_chinese_unity_flag
		    SHX = {
			    add_war_support = 0.10
				add_stability = 0.05
				add_to_variable = { GER_influence = 5 }
			}
			GUX = {
			    add_war_support = 0.10
				add_stability = 0.05
				add_to_variable = { GER_influence = 5 }
			}
		}	
	}
	relative_position_id = GGR_freedom_for_all_peoples_of_east_asia
	x = 1
	y = 1
}

shared_focus = {
	id = GGR_against_the_mad_dog
	icon = GFX_focus_generic_advanced_weapons
	cost = 2
	prerequisite = {
		focus = GGR_freedom_for_all_peoples_of_east_asia
	}
	available = {
		GGR_not_invaded_japan = yes
	}
	bypass = {
		NOT = {
			OR = {
				CHI = {
					has_country_leader = {
						character = CHI_gao_zongwu
						ruling_only = yes
					}
				}
				country_exists = QIN
			}
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_against_the_mad_dog"
		custom_effect_tooltip = GGR_against_the_mad_dog_tooltip
		set_country_flag = GGR_against_the_mad_dog_flag
		hidden_effect = {
		    send_equipment = {
			    equipment = infantry_equipment
			    amount = 5000
			    target = QIN
		    }  
		    send_equipment = {
			    equipment = anti_tank_equipment
			    amount = 250
			    target = QIN
		    }
		}	
		QIN = {
			add_to_variable = { chi_influence = 20 }
		}
	}
	relative_position_id = GGR_strengthen_chinese_unity
	x = -2
	y = 0
}

shared_focus = {
	id = GGR_from_within
	icon = GFX_focus_GRO_the_drums_echo
	cost = 2
	prerequisite = {
		focus = GGR_against_all_masters
		focus = GGR_china_will_grow_larger
		focus = GGR_freedom_for_all_peoples_of_east_asia
	}
	available = {
		GGR_not_invaded_japan = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_from_within"
		add_political_power = 100
		custom_effect_tooltip = GGR_from_within_tooltip
		show_ideas_tooltip = GGR_anti_japanese_fervor
		GGR_increase_japanese_awarenes = yes
	}
	relative_position_id = GGR_destabilize_the_sphere
	x = 0
	y = 4
}

shared_focus = {
	id = GGR_the_northern_route
	icon = GFX_focus_GER_The_Northern_Route
	cost = 1
	prerequisite = {
		focus = GGR_operation_dammerung
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_the_northern_route"
		custom_effect_tooltip = GGR_winter_attrition_factor_decrease_20_percent
		set_variable = { GGR_temporary_winter_attrition_factor = -0.2 }
		add_timed_idea = {
			idea = GGR_back_to_the_drawing_room
			days = 365
		}
	}
	relative_position_id = GGR_operation_dammerung
	x = 9
	y = 1
}

shared_focus = {
	id = GGR_through_the_steppes
	icon = GFX_focus_generic_remote_steppe
	cost = 1
	prerequisite = {
		focus = GGR_the_northern_route
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_through_the_steppes"
		custom_effect_tooltip = GGR_supply_consumption_factor_decrease_20_percent
		set_variable = { GGR_temporary_supply_consumption = -0.2 }
		589 = {
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
		1806 = {
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
		1805 = {
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
		1804 = {
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
		hidden_effect = {
			remove_from_array = { GGR_anarchy_states = 584 }
			remove_from_array = { GGR_anarchy_states = 1468 }
			remove_from_array = { GGR_anarchy_states = 742 }
			remove_from_array = { GGR_anarchy_states = 732 }
			remove_from_array = { GGR_anarchy_states = 586 }
			remove_from_array = { GGR_anarchy_states = 405 }
			remove_from_array = { GGR_anarchy_states = 585 }
			remove_from_array = { GGR_anarchy_states = 1466 }
			remove_from_array = { GGR_anarchy_states = 1802 }
			remove_from_array = { GGR_anarchy_states = 750 }
			remove_from_array = { GGR_anarchy_states = 1803 }
			remove_from_array = { GGR_anarchy_states = 587 }
			remove_from_array = { GGR_anarchy_states = 1467 }
			remove_from_array = { GGR_anarchy_states = 2203 }
			remove_from_array = { GGR_anarchy_states = 2204 }
			remove_from_array = { GGR_anarchy_states = 2202 }
			remove_from_array = { GGR_anarchy_states = 2201 }
			remove_from_array = { GGR_anarchy_states = 2194 }
			remove_from_array = { GGR_anarchy_states = 2205 }
			remove_from_array = { GGR_anarchy_states = 2199 }
			remove_from_array = { GGR_anarchy_states = 2200 }
			remove_from_array = { GGR_anarchy_states = 2198 }
			remove_from_array = { GGR_anarchy_states = 2197 }
			remove_from_array = { GGR_anarchy_states = 2196 }
			remove_from_array = { GGR_anarchy_states = 2195 }
			RKT = {
				every_owned_state = {
					set_demilitarized_zone = no
				}
			}
			GGR_update_anarchy = yes
		}
	}
	relative_position_id = GGR_the_northern_route
	x = -3
	y = 1
	offset = {
		x = 3
		y = 0
		trigger = {
			is_in_faction_with = PRM
		}
	}
}

shared_focus = {
	id = GGR_into_the_mountains
	icon = GFX_focus_YUN_mountain_people
	cost = 3
	prerequisite = {
		focus = GGR_through_the_steppes
	}
	mutually_exclusive = {
		focus = GGR_secure_xinjiang
	}
	available = {
		if = {
			limit = { is_ai = yes }
			has_war = no
		}
		NOT = {
			XIN = { is_in_faction_with = GER }
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_into_the_mountains"
		custom_effect_tooltip = GGR_invade_xijiang_warning_good_tt
		add_to_faction = XIN
		XIN = {
			econ_join_sphere_GER = yes
			add_ideas = Pakt_Bundnispartner
		}
		random_list = {
			1 = {
				GGR_increase_japanese_awarenes = yes
			}
			1 = {

			}
		}
	}
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 5
			has_game_rule = { rule = GGR_SIK option = GGR_SIK_JOIN }
		}
	}
	relative_position_id = GGR_through_the_steppes
	x = -1
	y = 1
}

shared_focus = {
	id = GGR_secure_xinjiang
	icon = GFX_focus_GER_secure_xinjiang
	cost = 1
	will_lead_to_war_with = XIN
	prerequisite = {
		focus = GGR_through_the_steppes
	}
	mutually_exclusive = {
		focus = GGR_into_the_mountains
	}
	available = {
		country_exists = XIN
		has_war = no
		NOT = {
			has_completed_focus = GGR_freedom_for_all_peoples_of_east_asia
		}
	}
	bypass = {
	    XIN = {
		    is_in_faction_with = JAP  
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_secure_xinjiang"
		custom_effect_tooltip = GGR_invade_xijiang_warning_bad_tt
		XIN = { declare_war_with_rks = yes }
	}
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 5
			has_game_rule = { rule = GGR_SIK option = GGR_SIK_ATTACK }
		}
	}
	relative_position_id = GGR_through_the_steppes
	x = 1
	y = 1
}

shared_focus = {
	id = GGR_restore_mongolian_pride
	icon = GFX_focus_JAP_bolster_mongolians
	cost = 1
	prerequisite = {
		focus = GGR_into_the_mountains
		focus = GGR_secure_xinjiang
	}
	available = {
		GGR_not_invaded_japan = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_restore_mongolian_pride"
		MEN = {
			add_stability = -0.1
			add_war_support = -0.1
		}
	}
	relative_position_id = GGR_through_the_steppes
	x = 0
	y = 2
}

shared_focus = { #GGR_mongolian_partisans
	id = GGR_block_off_mongolia
	icon = GFX_focus_UPO_ready_the_partisans
	cost = 1
	prerequisite = {
		focus = GGR_restore_mongolian_pride
	}
	available = {
		GGR_not_invaded_japan = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_block_off_mongolia"
		MEN = {
			every_owned_state = {
				add_province_modifier = {
					static_modifiers = { GGR_mongolian_partisans }
					province = {
						all_provinces = yes
					}
				}
			}
		}
	}
	relative_position_id = GGR_through_the_steppes
	x = 0
	y = 3
}

shared_focus = {
	id = GGR_secure_the_russias
	icon = GFX_focus_RUS_far_east_war_siberia
	cost = 2
	allow_branch = {
		has_country_flag = GER_war_plan_C
		NOT = { is_in_faction_with = PRM }
	}
	prerequisite = {
		focus = GGR_the_northern_route
	}
	available = {
		GGR_not_invaded_japan = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_secure_the_russias"
		RKU = {
			add_ideas = GGR_assistance_from_the_fatherland
		}
		RKF = {
			add_ideas = GGR_assistance_from_the_fatherland
		}
		RKS = {
			add_ideas = GGR_assistance_from_the_fatherland
		}
	}
	relative_position_id = GGR_the_northern_route
	x = 3
	y = 1
}

shared_focus = {
	id = GGR_partisan_suppression
	icon = GFX_focus_generic_stamp_down_on_partisans
	cost = 3
	prerequisite = {
		focus = GGR_secure_the_russias
	}
	mutually_exclusive = {
		focus = GGR_all_russian_military_league
	}
	available = {
		GGR_not_invaded_japan = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_partisan_suppression"
		RKF = {
			swap_ideas = {
				remove_idea = GGR_assistance_from_the_fatherland
				add_idea = GGR_assistance_from_the_fatherland2
			}
		}
		RKS = {
			swap_ideas = {
				remove_idea = GGR_assistance_from_the_fatherland
				add_idea = GGR_assistance_from_the_fatherland2
			}
		}
	}

	relative_position_id = GGR_the_northern_route
	x = 1
	y = 2
}

shared_focus = {
	id = GGR_all_russian_military_league
	icon = GFX_focus_generic_amur_war
	cost = 1
	prerequisite = {
		focus = GGR_secure_the_russias
	}
	mutually_exclusive = {
		focus = GGR_partisan_suppression
	}
	available = {
		GGR_not_invaded_japan = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_all_russian_military_league"
		custom_effect_tooltip = GGR_all_russian_military_league_tooltip
		GER = {
			add_to_faction = AMR
			set_autonomy = {
				target = AMR
				autonomous_state = autonomy_collaborator_puppet_state
			}
		}
		AMR = {
			transfer_state = 564
			transfer_state = 561
			transfer_state = 563
			transfer_state = 759
		}
		hidden_effect = {
			AMR = {
				econ_join_sphere_GER = yes
				load_focus_tree = GER_blankfocus
				set_cosmetic_tag = AMR_GER
				set_politics = {
					ruling_party = national_socialism
				}
				remove_all_ministers = yes
				add_ideas = Pakt_Marionettenstaat
				add_country_leader_role = {
					character = AMR_Konstantin_Ageev
					country_leader = {
						ideology = national_socialism_naturalised_nazism_subtype
						expire = "1999.1.1"
					}
					promote_leader = yes
				}
				set_popularities = {
					national_socialism = 67
					fascism = 23
					ultranationalism = 10
				}
				retire_character = AMR_Konstantin_Rodzaevsky
				remove_all_ideas = yes
				if = {
					limit = { RKF = { owns_state = 1364 } }
					transfer_state = 1364
				}
				add_core_effect = yes
			}
			JAP = {
				country_event = { id = goering.dammerung.16 days = 45 }
			}
		}
	}
	relative_position_id = GGR_the_northern_route
	x = 5
	y = 2
}

shared_focus = {
	id = GGR_the_old_breed
	icon = GFX_focus_GER_nazi_domination
	cost = 1
	prerequisite = {
		focus = GGR_partisan_suppression
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_the_old_breed"
		custom_effect_tooltip = GGR_the_old_breed_tooltip
		hidden_effect = {
			division_template = {
				name = "SS-Rücknahmeabteilung"
				regiments = {
					elite_infantry = { x = 0 y = 0 }
					elite_infantry = { x = 0 y = 1 }
					elite_infantry = { x = 0 y = 2 }
					elite_infantry = { x = 1 y = 0 }
					elite_infantry = { x = 1 y = 1 }
					elite_infantry = { x = 1 y = 2 }
					elite_infantry = { x = 2 y = 0 }
					elite_infantry = { x = 2 y = 1 }
					elite_infantry = { x = 2 y = 2 }
				}
				support = {
					engineer = { x = 0 y = 0 }
					artillery = { x = 0 y = 1 }
					anti_tank = { x = 0 y = 2 }
				}
			}
			RKF = {
				capital_scope = {
					create_unit = {
						division = "name = \"SS-Rücknahmeabteilung\" division_template = \"SS-Rücknahmeabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						owner = GER
					}
					create_unit = {
						division = "name = \"SS-Rücknahmeabteilung\" division_template = \"SS-Rücknahmeabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						owner = GER
					}
					create_unit = {
						division = "name = \"SS-Rücknahmeabteilung\" division_template = \"SS-Rücknahmeabteilung\" start_experience_factor = 1 start_equipment_factor = 1"
						owner = GER
					}
				}
			}
		}
	}
	relative_position_id = GGR_the_northern_route
	x = 1
	y = 3
}

shared_focus = {
	id = GGR_fill_the_lines
	icon = GFX_focus_generic_traitors_in_the_army
	cost = 1
	prerequisite = {
		focus = GGR_all_russian_military_league
		focus = GGR_partisan_suppression
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_fill_the_lines"
		add_manpower = 50000
		if = {
			limit = {
				country_exists = AMR
			}
			AMR = {
				add_war_support = 0.05
			}
		}
		else = {
			RKF = {
				add_war_support = 0.1
			}
		}
	}
	relative_position_id = GGR_the_northern_route
	x = 3
	y = 3
}

shared_focus = {
	id = GGR_autonomy_for_service
	icon = GFX_focus_generic_paperwork_1
	cost = 1
	prerequisite = {
		focus = GGR_all_russian_military_league
	}
	available = {
		GGR_not_invaded_japan = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_autonomy_for_service"
		custom_effect_tooltip = GGR_autonomy_for_service_tooltip
		hidden_effect = {
			AMR = {
				hidden_effect = {
					division_template = {
						name = "Rossiyskiy otdel podderzhki"
						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 }
							infantry = { x = 2 y = 1 }
							infantry = { x = 2 y = 2 }
						}
						support = {
							engineer = { x = 0 y = 0 }
							artillery = { x = 0 y = 1 }
						}
					}
					capital_scope = {
						create_unit = {
							division = "name = \"SS-Rücknahmeabteilung\" division_template = \"Rossiyskiy otdel podderzhki\" start_experience_factor = 1 start_equipment_factor = 1"
							owner = AMR
						}
						create_unit = {
							division = "name = \"SS-Rücknahmeabteilung\" division_template = \"Rossiyskiy otdel podderzhki\" start_experience_factor = 1 start_equipment_factor = 1"
							owner = AMR
						}
						create_unit = {
							division = "name = \"SS-Rücknahmeabteilung\" division_template = \"Rossiyskiy otdel podderzhki\" start_experience_factor = 1 start_equipment_factor = 1"
							owner = AMR
						}
						create_unit = {
							division = "name = \"SS-Rücknahmeabteilung\" division_template = \"Rossiyskiy otdel podderzhki\" start_experience_factor = 1 start_equipment_factor = 1"
							owner = AMR
						}
						create_unit = {
							division = "name = \"SS-Rücknahmeabteilung\" division_template = \"Rossiyskiy otdel podderzhki\" start_experience_factor = 1 start_equipment_factor = 1"
							owner = AMR
						}
						create_unit = {
							division = "name = \"SS-Rücknahmeabteilung\" division_template = \"Rossiyskiy otdel podderzhki\" start_experience_factor = 1 start_equipment_factor = 1"
							owner = AMR
						}
					}
				}
			}
		}
	}
	relative_position_id = GGR_the_northern_route
	x = 5
	y = 3
}

shared_focus = {
	id = GGR_manchurian_depots
	icon = GFX_focus_GER_Manchurian_Depots
	cost = 2
	prerequisite = {
		focus = GGR_the_old_breed
		focus = GGR_fill_the_lines
		focus = GGR_autonomy_for_service
	}
	available = {
		GGR_not_invaded_japan = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_manchurian_depots"
		custom_effect_tooltip = GGR_manchurian_depots_tooltip
	}
	relative_position_id = GGR_the_northern_route
	x = 2
	y = 4
}

shared_focus = {
	id = GGR_reclaim_your_birthright
	icon = GFX_focus_AMR_free_all_russian_army
	cost = 1
	prerequisite = {
		focus = GGR_fill_the_lines
	}
	prerequisite = {
		focus = GGR_autonomy_for_service
	}
	available = {
		GGR_not_invaded_japan = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_reclaim_your_birthright"
		if = {
			limit = {
				country_exists = AMR
			}
			AMR = {
				add_ideas = GGR_anti_japanese_fervor
			}
		}
	}
	relative_position_id = GGR_the_northern_route
	x = 4
	y = 4
}

shared_focus = {
	id = GGR_across_the_wastes
	icon = GFX_focus_GRO_master_the_desert
	cost = 2
	prerequisite = {
		focus = GGR_manchurian_depots
		focus = GGR_reclaim_your_birthright
		focus = GGR_block_off_mongolia
	}
	available = {
		GGR_not_invaded_japan = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_across_the_wastes"
		custom_effect_tooltip = GGR_org_factor_increase_12_percent
		custom_effect_tooltip = GGR_attrition_decrease_20_percent
		set_variable = { GGR_temporary_organisation_factor = 0.12 }
		if = {
			limit = {
				has_variable = GGR_temporary_attrition
			}
			subtract_from_temp_variable = { GGR_temporary_attrition = 0.2 }
		}
		else = {
			set_variable = { GGR_temporary_attrition = -0.20 }
		}
	}
	relative_position_id = GGR_the_northern_route
	x = 0
	y = 5
}

shared_focus = {
	id = GGR_eclipse_the_rising_sun
	icon = GER_GOR_Eclipse_the_Rising_Sun
	cost = 3
	available = {
		NOT = {
			has_war = yes
		}
		if = {
			limit = { is_ai = yes }
			has_completed_focus = GGR_over_the_mountains2
			has_completed_focus = GGR_across_the_wastes
			has_completed_focus = GGR_from_within
		}
	}
	prerequisite = {
		focus = GGR_over_the_mountains2
		focus = GGR_across_the_wastes
		focus = GGR_from_within
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_eclipse_the_rising_sun"
		if = {
			limit = {
				has_country_flag = GGR_freedom_for_all_peoples_of_east_asia_flag
				NOT = { has_country_flag = GGR_china_will_grow_larger_flag }
			}
			TIB = {
				econ_join_sphere_GER = yes
				add_ideas = Pakt_Bundnispartner
			}
			add_to_faction = TIB
		} 
		else_if = {
		    limit = {
				has_country_flag = GGR_china_will_grow_larger_flag
				NOT = { has_country_flag = GGR_freedom_for_all_peoples_of_east_asia_flag }
			}
			JAP = {
				add_to_faction = TIB
			}
			TIB = {
				add_ideas = Sphere_Coequal
				econ_join_sphere_JAP = yes
			}
		}
		if = {
			limit = {
				has_country_flag = GGR_against_the_mad_dog_flag
				NOT = { has_country_flag = GGR_china_will_grow_larger_flag }
			}
			QIN = {
				econ_join_sphere_GER = yes
				leave_faction = yes
				add_ideas = Pakt_Bundnispartner
			}
			add_to_faction = QIN
		}
		if = {
			limit = {
				has_country_flag = GGR_strengthen_chinese_unity_flag
				NOT = { has_country_flag = GGR_china_will_grow_larger_flag }
			}
			SHX = {
				set_variable = { GER_influence = 20 }
			}
			XIK = {
			    set_variable = { GER_influence = 20 }
			}
			GUX = {
				set_variable = { GER_influence = 20 }
			}
			CHI = {
			    end_puppet = GUX 
				end_puppet = SHX 
				end_puppet = XIK
			}
		}
		else_if = {
		    limit = {
				has_country_flag = GGR_china_will_grow_larger_flag
			}
			CHI = {
			    end_puppet = GUX 
				end_puppet = SHX 
				end_puppet = XIK
			}
			MEN = { drop_cosmetic_tag = yes }
			GUX = {
			    get_current_government_type = yes
			    save_party_popularities = yes
		    }
		    JAP = {
			    set_autonomy = {
				    target = GUX
				    autonomy_state = autonomy_collaborator_puppet_state
			    }
		    }
		    GUX = {
			    restore_previous_government_type = yes
			    apply_party_popularities = yes
		    }
			SHX = {
			    get_current_government_type = yes
			    save_party_popularities = yes
		    }
		    JAP = {
			    set_autonomy = {
				    target = SHX
				    autonomy_state = autonomy_collaborator_puppet_state
			    }
		    }
		    SHX = {
			    restore_previous_government_type = yes
			    apply_party_popularities = yes
		    }
			if = {
			    limit = {
				    XIK = {
					    is_in_faction_with = JAP 
					}
				}
			    XIK = {
			        get_current_government_type = yes
			        save_party_popularities = yes
				}	
		        JAP = {
			        set_autonomy = {
				        target = XIK
				        autonomy_state = autonomy_collaborator_puppet_state
					}	
			    }
		        XIK = {
			        restore_previous_government_type = yes
			        apply_party_popularities = yes
				}	
		    }
			SHX = {
				set_variable = { GER_influence = -2 }
			}
			XIK = {
			    set_variable = { GER_influence = -2 }
			}
			GUX = {
				set_variable = { GER_influence = -2 }
			}
		}
		if = {
			limit = {
				CHI = {
					NOT = { 
						has_war_with = GER
					}
					GER = {
						has_country_flag = GGR_china_will_grow_larger_flag
					}
					has_country_leader = {
						character = CHI_gao_zongwu
						ruling_only = yes
					}
				}
			}
			hidden_effect = {
				CHI = {
					declare_war_on = {
						target = JAP
						type = annex_everything
					}
					end_puppet = MEN
					set_variable = { GER_influence = 20 }
					remove_ideas = {
						CHI_small_army
						CHI_surrounded_by_enemies
						CHI_japans_breadbasket_1
						CHI_japans_breadbasket_2
						CHI_japans_breadbasket_0
						CHI_slave_of_the_samurai_1
						CHI_slave_of_the_samurai_2
						CHI_slave_of_the_samurai_3
						CHI_slave_of_the_samurai_4
						CHI_slave_of_the_samurai_0
					}
				}
			}
		}
		every_country = {
			limit = {
				is_in_faction_with = JAP
			}
			if = {
				limit = {
					OR = {
						check_variable = { GER_influence > 10 }
					}
				}
				hidden_effect = {
					remove_faction_status = yes
					add_ideas = Pakt_Bundnispartner
					if = {
						limit = {
							has_country_flag = GGR_sphere_influence_army
						}
						add_ideas = GGR_anti_japanese_fervor
					}
				}
				econ_leave_sphere = yes
				econ_join_sphere_GER = yes
				leave_faction = yes
				swap_ideas = {
					remove_idea = Sphere_Economic_Dependent
					add_idea = Pakt_Bundnispartner
				}
				GER = {
					add_to_faction = PREV
				}
			}
			else_if = {
				limit = {
					check_variable = { GER_influence > 5 }
					check_variable = { GER_influence < 11 }
				}
				add_ideas = GGR_stalling_participation
				econ_leave_sphere = yes
				econ_join_sphere_GER = yes
			}
		}
		if = {
		    limit = {
			    GER = {
					has_country_flag = GGR_china_will_grow_larger_flag
					NOT = { has_country_flag = GGR_freedom_for_all_peoples_of_east_asia_flag }
				}
			}	
		    MEN = {
			    get_current_government_type = yes
			    save_party_popularities = yes
			}	
		    JAP = {
			    set_autonomy = {
				    target = MEN
				    autonomy_state = autonomy_collaborator_puppet_state
				}	
			}
		
		    MEN = {
			    restore_previous_government_type = yes
			    apply_party_popularities = yes
		    }
		}	
		every_country = {
			limit = {
				is_in_faction_with = JAP
				NOT = { has_idea = GGR_stalling_participation }
			}
			declare_war_with_rks = yes
		}
		hidden_effect = {
			every_country = { news_event = WORLD_REICH.302 }
			GUX = { drop_cosmetic_tag = yes }
			XIK = { drop_cosmetic_tag = yes }
			SHX = { drop_cosmetic_tag = yes }
		}
	}
	relative_position_id = GGR_from_within
	x = 0
	y = 2
}

shared_focus = {
	id = GGR_seize_the_sphere
	icon = GFX_focus_JAP_sphere_failing
	cost = 2
	prerequisite = {
		focus = GGR_eclipse_the_rising_sun
	}
	bypass = {
		GGR_japan_conquered = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_seize_the_sphere"
		custom_effect_tooltip = GGR_seize_the_sphere_tooltip
	}
	relative_position_id = GGR_eclipse_the_rising_sun
	x = -2
	y = 1
}

shared_focus = {
	id = GGR_starve_them_out
	icon = GFX_focus_generic_risk_of_famine
	cost = 2
	prerequisite = {
		focus = GGR_seize_the_sphere
	}
	available = {
		963 = {
			controller = {
				is_in_faction_with = GER
			}
		}
		537 = {
			controller = {
				is_in_faction_with = GER
			}
		}
	}
	bypass = {
		GGR_japan_conquered = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_starve_them_out"
		JAP = {
			add_ideas = JAP_supply_lines_cut
		}
	}
	relative_position_id = GGR_eclipse_the_rising_sun
	x = -2
	y = 2
}

shared_focus = {
	id = GGR_burn_the_tinderboxes
	icon = GFX_focus_generic_burning_house_village
	cost = 2
	prerequisite = {
		focus = GGR_eclipse_the_rising_sun
	}
	bypass = {
		GGR_japan_conquered = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_burn_the_tinderboxes"
		custom_effect_tooltip = GGR_bombing_effectiveness_increase_20_percent
		set_variable = { GGR_temporary_bombing = 0.2 }
	}
	relative_position_id = GGR_eclipse_the_rising_sun
	x = 2
	y = 1
}

shared_focus = {
	id = GGR_unleash_the_SLBM
	icon = GFX_focus_generic_hidden_menace_submarine
	cost = 2
	prerequisite = {
		focus = GGR_burn_the_tinderboxes
	}
	bypass = {
		GGR_japan_conquered = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_unleash_the_SLBM"
		add_ideas = GGR_aggressive_submarine_tactics
	}
	relative_position_id = GGR_eclipse_the_rising_sun
	x = 2
	y = 2
}

shared_focus = {
	id = GGR_only_clouds_remain
	icon = GER_GOR_Only_Clouds_Remain
	cost = 2
	prerequisite = {
		focus = GGR_starve_them_out
		focus = GGR_unleash_the_SLBM
	}
	available = {
		NOT = {
			country_exists = JAP
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_only_clouds_remain"
		custom_effect_tooltip = GGR_only_clouds_remain_tooltip
		country_event = goering.dammerung.18
	}
	relative_position_id = GGR_eclipse_the_rising_sun
	x = 0
	y = 3
}

shared_focus = {
	id = GGR_germanian_cherry_blosssoms
	icon = GFX_focus_GER_germanian_cherry_blossoms
	cost = 2
	prerequisite = {
		focus = GGR_only_clouds_remain
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_germanian_cherry_blosssoms"
		custom_effect_tooltip = GGR_germanian_cherry_blosssoms_tooltip
		TOH = {
			add_stability = -0.25
			set_temp_variable = { temp_econ_GDP_boost_flat = -150 }
			econ_GDP_boost_once_flat = yes
		}
		set_temp_variable = { temp_econ_GDP_boost_flat = 132.54 }
		econ_GDP_boost_once_flat = yes
		set_temp_variable = { money_reserves_temp = 15 }
        econ_money_reserves_change_raw_money = yes
		TNO_improve_industrial_equipment_med = yes
        TNO_improve_poverty_med = yes
	}
	relative_position_id = GGR_only_clouds_remain
	x = -2
	y = 1
}

shared_focus = {
	id = GGR_repurpose_the_kenpeitai
	icon = GFX_focus_JAP_kenpeitai
	cost = 3
	prerequisite = {
		focus = GGR_germanian_cherry_blosssoms
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_repurpose_the_kenpeitai"
		custom_effect_tooltip = GGR_repurpose_the_kenpeitai_tooltip
		TOH = {
			swap_ideas = {
				remove_idea = TOH_remaining_resistance1
				add_idea = TOH_remaining_resistance2
			}
		}
	}
	relative_position_id = GGR_only_clouds_remain
	x = -3
	y = 2
}

shared_focus = {
	id = GGR_the_korea_question
	icon = GFX_focus_GER_The_Korean_Question
	cost = 2
	prerequisite = {
		focus = GGR_germanian_cherry_blosssoms
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_the_korea_question"
		custom_effect_tooltip = GGR_the_korea_question_tooltip
		add_manpower = 6000
		GKO = {
			add_stability = 0.05
		}
		hidden_effect = {
		    GKO = {
		        if = {
			        limit = {
				        NOT = {
					        country_exists = GKO
					    }
				    }
				    GGR_set_up_RK_ROOT = yes
		        }
                every_state = {
				    limit = {
					    is_core_of = KOR
				    }
				    GKO = {
					    transfer_state = PREV
					    add_state_core = PREV
				    }
			    }
		    } 
	    }				
	}
	relative_position_id = GGR_only_clouds_remain
	x = -1
	y = 2
}

shared_focus = {
	id = GGR_carve_it_up
	icon = GFX_focus_GER_carve_it_up
	cost = 2
	prerequisite = {
		focus = GGR_repurpose_the_kenpeitai
	}
	prerequisite = {
		focus = GGR_the_korea_question
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_carve_it_up"
		custom_effect_tooltip = GGR_carve_it_up_tooltip

		TOH = {
			swap_ideas = {
				remove_idea = TOH_remaining_resistance2
				add_idea = TOH_remaining_resistance3
			}
			add_stability = 0.15
			set_war_support = 0.0
		}
	}
	relative_position_id = GGR_only_clouds_remain
	x = -2
	y = 3
}

shared_focus = {
	id = GGR_pacific_dominance
	icon = GFX_focus_generic_air_and_naval_support
	cost = 2
	prerequisite = {
		focus = GGR_only_clouds_remain
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_pacific_dominance"
		custom_effect_tooltip = GGR_pacific_dominance_tooltip
		navy_experience = 50
		638 = {
			add_building_construction = {
				type = naval_base
				level = 2
				instant_build = yes
			}
		}
		646 = {
			add_building_construction = {
				type = naval_base
				level = 2
				instant_build = yes
			}
		}
		634 = {
			add_building_construction = {
				type = naval_base
				level = 2
				instant_build = yes
			}
		}
		635 = {
			add_building_construction = {
				type = naval_base
				level = 2
				instant_build = yes
			}
		}
		647 = {
			add_building_construction = {
				type = naval_base
				level = 2
				instant_build = yes
			}
		}
	}
	relative_position_id = GGR_only_clouds_remain
	x = 2
	y = 1
}

shared_focus = {
	id = GGR_integrate_the_IJN
	icon = GFX_focus_GER_integrate_the_ijn
	cost = 2
	prerequisite = {
		focus = GGR_pacific_dominance
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_integrate_the_IJN"
		custom_effect_tooltip = GGR_integrate_the_IJN_tooltip
		JAP = { transfer_navy = { target = ENA } }
	}
	relative_position_id = GGR_only_clouds_remain
	x = 1
	y = 2
}
shared_focus = {
	id = GGR_japanese_bases
	icon = GFX_focus_generic_protect_the_air_bases
	cost = 2
	prerequisite = {
		focus = GGR_pacific_dominance
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_japanese_bases"
		custom_effect_tooltip = GGR_japanese_bases_tooltip
		526 = {
			add_building_construction = {
				type = dockyard
				level = 3
				instant_build = yes
			}
			add_building_construction = {
				type = naval_base
				level = 1
				instant_build = yes
			}
		}
		528 = {
			add_building_construction = {
				type = dockyard
				level = 2
				instant_build = yes
			}
			add_building_construction = {
				type = naval_base
				level = 1
				instant_build = yes
			}
		}
		536 = {
			add_building_construction = {
				type = dockyard
				level = 5
				instant_build = yes
			}
			add_building_construction = {
				type = naval_base
				level = 1
				instant_build = yes
			}
		}
		282 = {
			add_building_construction = {
				type = dockyard
				level = 2
				instant_build = yes
			}
			add_building_construction = {
				type = naval_base
				level = 1
				instant_build = yes
			}
		}
	}
	relative_position_id = GGR_only_clouds_remain
	x = 3
	y = 2
}

shared_focus = {
	id = GGR_the_eastern_naval_authority
	icon = GFX_focus_Eastern_Naval_Authority
	cost = 2
	prerequisite = {
		focus = GGR_japanese_bases
		focus = GGR_integrate_the_IJN
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_the_eastern_naval_authority"
		custom_effect_tooltip = GGR_the_eastern_naval_authority_tooltip
		ENA = {
			add_command_power = 20
			add_war_support = 0.20
			add_stability = 0.10
		}
		hidden_effect = {
		    ENA = {
				every_state = {
					limit = {
						OR = {
							state = 813
							state = 729
							state = 592
							state = 326
							state = 1022
							state = 751
							state = 591
							state = 1853
							state = 1855
							state = 1856
							state = 1854
							state = 524
							state = 1850
							state = 1851
							state = 1852
							state = 810
							state = 811
							state = 812
							state = 629
							state = 772
							state = 270
							state = 649

							
							state = 537
							state = 526
							state = 528
							state = 645
							state = 646
							state = 638
							state = 648
							state = 647
							state = 684
							state = 633
							state = 725
							state = 634
							state = 734
							state = 635
							state = 643
							state = 726
							state = 641
							state = 1627
							state = 727
							state = 632
							state = 737
							state = 636
							state = 536
							state = 809
							state = 709
						}
						owner = {
							is_in_faction_with = GER
							NOT = {
								tag = COL
								tag = CHI
							}
						}
					}
					transfer_state_to = ENA
				}	
				GGR_set_up_RK_ROOT = yes
			}
			TOH = { transfer_navy = { target = ENA } }
			523 = {
				if = {
					limit = {
						owner = {
							is_subject_of = GER
						}
					}
					ENA = {
						transfer_state = 523
						transfer_state = 1332
						transfer_state = 807
						add_state_core = 523
						add_state_core = 1332
						add_state_core = 807
					}
				}	
			}
		}
	}
	relative_position_id = GGR_only_clouds_remain
	x = 2
	y = 3
}

shared_focus = {
	id = GGR_break_the_unbroken_line
	icon = GFX_focus_JAP_Exploit_the_Emperors_apathy
	cost = 3
	prerequisite = {
		focus = GGR_carve_it_up
		focus = GGR_the_eastern_naval_authority
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_break_the_unbroken_line"
		custom_effect_tooltip = GGR_break_the_unbroken_line_tooltip
		TOH = {
			remove_ideas = TOH_remaining_resistance3
		}
		remove_ideas = GER_japanese_manpower_drain
		GER_GOR_epilogue_trigger = yes
	}
	relative_position_id = GGR_only_clouds_remain
	x = 0
	y = 4
}

#### Fall Rockwell ######
shared_focus = {
	id = GER_GOR_fall_rockwell
	icon = GFX_focus_fall_rockwell
	cost = 0.2
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_fall_rockwell"
		GGR_clear_temporary_variables = yes
		add_dynamic_modifier = { modifier = GGR_operation_ikarus }
		set_variable = { GGR_conquistador_supply = 0.25 }
		set_variable = { GGR_conquistador_consump = 0.25 }
		set_variable = { GGR_conquistador_heat_attrition = 0.25 }
		set_variable = { GGR_conquistador_no_supply = -0.25 }
		set_variable = { GGR_conquistador_hot_acclimation = -0.25 }
		set_variable = { GGR_conquistador_reinforce = -0.25 }
		set_variable = { GGR_conquistador_speed = -0.25 }
		set_variable = { GGR_conquistador_spotting = -0.25 }
		set_variable = { GGR_conquistador_hit = -0.25 }
		set_country_flag = GGR_operation_locked
		set_temp_variable = { Victory_ID = 109 }
		set_temp_variable = { Victory_Outcome = 0 }
		set_temp_variable = { Victory_Points = 0 }
		Cold_War_GUI_AddVictory = yes
		hidden_effect = {
			activate_mission = GGR_inforcement_of_the_monroe_doctrine
		}
	}
	available = {
		player_one_operation_check = yes
	}
	prerequisite = {
		focus = GER_GOR_war_plan_C_new
	}
	allow_branch = {
		has_country_flag = GER_war_plan_C
	}
	relative_position_id = GER_GOR_war_plan_C_new
	x = -30
	y = 1
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0
			OR = {
				JAP = { is_ai = no }
				BRG = { is_ai = no }
			}
			USA = { is_ai = yes }
		}
		modifier = {
			factor = 5
			USA = { is_ai = no }
		}
	}
}
### Carribbean Branch 
shared_focus = {
	id = GER_GOR_goerings_carribbean_vacation
	icon = GFX_focus_GER_Goerings_Caribbean_Vacation
	cost = 1
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_goerings_carribbean_vacation"
		add_dynamic_modifier = { modifier = GGR_operation_hydra }
		country_event = {
			id = goering.rockwell.1
		}
	}
	prerequisite = {
		focus = GER_GOR_fall_rockwell
	}
	relative_position_id = GER_GOR_fall_rockwell
	x = -6
	y = 1
}
shared_focus = {
	id = GER_GOR_the_cuban_question
	icon = GFX_focus_CUB_And_then_Fidel_Arrived
	cost = 1
	available = {
		if = {
			limit = { is_ai = yes }
			has_war = no
		}
		GGR_not_invaded_america = yes
	}
	bypass = {
		CUB = {
			OR = {
				NOT = {
					has_country_leader = {
						character = CUB_Fidel_Castro
						ruling_only = yes
					}
				}
				is_in_faction_with = USA
			}
		}
	}	
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_the_cuban_question"
		country_event = {
			id = goering.rockwell.2 days = 3
		}
		GGR_decrease_militarist_loyalty = yes
		set_variable = { GGR_hydra_no_supply = 0.02 }
		set_variable = { GGR_hydra_consump = 0.02 }
	}
	prerequisite = {
		focus = GER_GOR_goerings_carribbean_vacation
	}
	relative_position_id = GER_GOR_goerings_carribbean_vacation
	x = 1
	y = 2
}
shared_focus = {
	id = GER_GOR_talks_with_haiti
	icon = GFX_focus_generic_shady_deal
	cost = 1
	available = {
		if = {
			limit = { is_ai = yes }
			has_war = no
		}
	}
	bypass = {
		NOT = {
		    DOM = {
				OR = {
					has_government = fascism
					has_government = ultranationalism
				}
			}
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_talks_with_haiti"
		if = {
			limit = {
				DOM = { has_idea = DOM_Puppet_Caudillo }
			}
			unlock_decision_tooltip = invite_dominican_republic
		}
		else = {
			country_event = { id = goering.rockwell.4 days = 1 }
		}
	}
	prerequisite = {
		focus = GER_GOR_goerings_carribbean_vacation
	}
	relative_position_id = GER_GOR_goerings_carribbean_vacation
	x = -1
	y = 2
}
shared_focus = {
	id = GER_GOR_island_hopping
	icon = GFX_focus_GER_island_hopping
	cost = 3
	bypass = {
		GGR_america_conquered = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_island_hopping"
		custom_effect_tooltip = GER_GOR_island_hopping_tooltip
		set_variable = { GGR_hydra_spec_attk = 0.02 }
		set_variable = { GGR_hydra_spec_def = 0.02 }
		set_variable = { GGR_hydra_naval_speed = 0.02 }
	}
	prerequisite = {
		focus = GER_GOR_talks_with_haiti
		focus = GER_GOR_the_cuban_question
	}
	relative_position_id = GER_GOR_goerings_carribbean_vacation
	x = 0
	y = 3.5
}
shared_focus = {
	id = GER_GOR_operation_hydra
	icon = GFX_focus_GER_Operation_Hydra
	cost = 2
	available = {
		GGR_not_invaded_america = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_operation_hydra"
		custom_effect_tooltip = GER_GOR_operation_hydra_tooltip
		set_variable = { GGR_hydra_invasion = 0.05 }
		set_variable = { GGR_hydra_prep = 0.05 }
		add_to_variable = { GGR_hydra_spec_attk = 0.02 }
		add_to_variable = { GGR_hydra_spec_def = 0.02 }
	}
	prerequisite = {
		focus = GER_GOR_island_hopping
	}
	relative_position_id = GER_GOR_island_hopping
	x = 0
	y = 2
}
### America Branch
shared_focus = {
	id = GER_GOR_battle_across_the_atlantic
	icon = GFX_focus_GER_Super_Heavy_Battleships
	cost = 2
	available = {
		GGR_not_invaded_america = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_battle_across_the_atlantic"
		navy_experience = 50
		set_variable = { GGR_ikarus_naval_coordination = 0.08 }
		set_variable = {  GGR_ikarus_cap_attk = 0.08 }
		set_variable = { GGR_ikarus_prod = 0.25 }
	}
	prerequisite = {
		focus = GER_GOR_fall_rockwell
	}
	relative_position_id = GER_GOR_fall_rockwell
	x = 0
	y = 1
}
shared_focus = {
	id = GER_GOR_storm_their_beaches
	icon = GFX_focus_GGR_Storming_the_Beaches
	cost = 1
	available = {
		GGR_not_invaded_america = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_storm_their_beaches"
		set_variable = { GGR_ikarus_spec_ops = 0.02 }
		set_variable = { GGR_ikarus_invasion = -0.05}
		add_doctrine_cost_reduction = {
		    name = land_doc_bonus
		    cost_reduction = 0.75
		    uses = 2
		    category = land_doctrine
		}
	}
	prerequisite = {
		focus = GER_GOR_battle_across_the_atlantic
	}
	relative_position_id = GER_GOR_battle_across_the_atlantic
	x = 1.5
	y = 1.5
}
shared_focus = {
	id = GER_GOR_swarm_their_skies
	icon = GFX_focus_generic_helicopter_2
	cost = 2
	available = {
		GGR_not_invaded_america = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_swarm_their_skies"
		set_temp_variable = { X = 0.1 }
		custom_effect_tooltip = GGR_air_agility_increase_X_percent
		set_variable = { GGR_ikarus_air_agility = 0.10 }
		add_equipment_to_stockpile = {
			type = transport_helicopter_equipment
			amount = 150
			producer = GER
		}
		add_equipment_to_stockpile = {
			type = jet_fighter_equipment_2
			amount = 150
			producer = GER
		}
	}
	prerequisite = {
		focus = GER_GOR_storm_their_beaches
	}
	relative_position_id = GER_GOR_storm_their_beaches
	x = 0
	y = 1.5
}
shared_focus = {
	id = GER_GOR_the_amerika_bomber
	icon = GFX_focus_ANG_tactical_approach
	cost = 2
	available = {
		GGR_not_invaded_america = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_the_amerika_bomber"
		air_experience = 60
		add_tech_bonus = {
			bonus = 1.0
			uses = 2
			technology = air_supremacy
			technology = air_superiority
			technology = air_parity
		}
		add_tech_bonus = {
			name = heavy_air_bonus
			bonus = 0.5
			uses = 2
			category = heavy_air
		}
	}
	prerequisite = {
		focus = GER_GOR_battle_across_the_atlantic
	}
	relative_position_id = GER_GOR_battle_across_the_atlantic
	x = -1.5
	y = 1.5
}
shared_focus = {
	id = GER_GOR_review_american_geography
	icon = GFX_focus_GER_review_american_geography
	cost = 2
	available = {
		GGR_not_invaded_america = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_review_american_geography"
		set_variable = { GGR_ikarus_speed = 0.15 }
		add_command_power = 20
	}
	prerequisite = {
		focus = GER_GOR_the_amerika_bomber
	}
	relative_position_id = GER_GOR_the_amerika_bomber
	x = 0
	y = 1.5
}
shared_focus = {
	id = GER_GOR_contact_the_amerikadeutscher_bund
	icon = GFX_focus_GER_contact_the_bund
	cost = 5
	available = {
		GGR_not_invaded_america = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_contact_the_amerikadeutscher_bund"
		USA = {
			add_political_power = -100
			add_stability = -0.05
			effect_tooltip = {
				add_popularity = {
					ideology = national_socialism
					popularity = 0.05
				}
			}
			hidden_effect = {
				every_owned_state = {
					limit = {
						can_have_elections_in_state = yes
					}
					add_to_variable = { USA_BONUS_union_anv_val = .15 }
					add_to_variable = { USA_BONUS_urban_anv_val = .15 }
					add_to_variable = { USA_BONUS_rural_anv_val = .15 }
					add_to_variable = { USA_BONUS_black_anv_val = .15 }
					add_to_variable = { USA_BONUS_minority_anv_val = .15 }
					add_to_variable = { USA_BONUS_hispanic_anv_val = .15 }
					add_to_variable = { USA_BONUS_nativists_anv_val = .15 }
				}
				country_event = { id = USA.124 }
			}
		}
		GER = {
			country_event = {
				id = goering.rockwell.6 days = 8
			}
		}
	}
	prerequisite = {
		focus = GER_GOR_review_american_geography
		focus = GER_GOR_swarm_their_skies
	}
	relative_position_id = GER_GOR_battle_across_the_atlantic
	x = 0
	y = 4.5
}
### South America Branch
shared_focus = {
	id = GER_GOR_the_conquistadors_footsteps
	icon = GFX_focus_GER_The_Conquistadors_Footsteps
	available = {
		if = {
			limit = { is_ai = yes }
			has_war = no
		}
	}
	bypass = {
		GGR_america_conquered = yes
	}
	cost = 1
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_the_conquistadors_footsteps"
		custom_effect_tooltip = GER_GOR_the_conquistadors_footsteps_tooltip
		if = {
			limit = {
				CLC = {
					has_idea = Pakt_Observer
				}
			}
			unlock_decision_tooltip = invite_colombia
		}
		add_dynamic_modifier = {
			modifier = GGR_conquistador
		}
	}
	prerequisite = {
		focus = GER_GOR_fall_rockwell
	}
	relative_position_id = GER_GOR_fall_rockwell
	x = 6
	y = 1
}
shared_focus = {
	id = GER_GOR_cut_off_their_reinforcements
	icon = GFX_focus_generic_hidden_menace_submarine
	cost = 2
	bypass = {
		GGR_america_conquered = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_cut_off_their_reinforcements"
		custom_effect_tooltip = GER_GOR_cut_off_their_reinforcements_tooltip
		AST = { add_war_support = -0.10 }
		NZL = { add_war_support = -0.10 }
	}
	prerequisite = {
		focus = GER_GOR_the_conquistadors_footsteps
	}
	relative_position_id = GER_GOR_the_conquistadors_footsteps
	x = 2
	y = 1
}
shared_focus = {
	id = GER_GOR_cape_verde_launch_pad
	icon = GFX_focus_generic_air_and_naval_support
	cost = 2
	available = {
		any_country = {
			is_in_faction_with = GER
			owns_state = 702
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_cape_verde_launch_pad"
		702 = {
			add_building_construction = {
				type = air_base
				level = 10
				instant_build = yes
			}
			add_building_construction = {
				type = naval_base
				level = 10
				province = 13014
				instant_build = yes
			}
		}
		add_equipment_to_stockpile = {
			type = jet_fighter_equipment_2
			amount = 200
			producer = GER
		}
		add_equipment_to_stockpile = {
			type = convoy_1
			amount = 200
			producer = GER
		}
		add_equipment_to_stockpile = {
			type = jet_CAS_equipment_2
			amount = 150
			producer = GER
		}
	}
	prerequisite = {
		focus = GER_GOR_the_conquistadors_footsteps
	}
	relative_position_id = GER_GOR_the_conquistadors_footsteps
	x = -2
	y = 1
}
shared_focus = {
	id = GER_GOR_prepare_for_jungle_warfare
	icon = GFX_focus_GRO_master_the_jungle
	cost = 2
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_prepare_for_jungle_warfare"
		custom_effect_tooltip = GER_GOR_prepare_for_jungle_warfare_tooltip
		hidden_effect = {
			load_oob = "GGR_dschungeljäger"
		}
	}
	prerequisite = {
		focus = GER_GOR_the_conquistadors_footsteps
	}
	relative_position_id = GER_GOR_the_conquistadors_footsteps
	x = 0
	y = 1
}
shared_focus = {
	id = GER_GOR_fall_amazon
	icon = GFX_focus_GER_Fall_Amazon
	cost = 1
	available = {
		if = {
			limit = { is_ai = yes }
			has_war = no
		}
	}
	bypass = {
		NOT = { country_exists = BRA }
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_fall_amazon"
		BRA = {
			GGR_add_on_our_own = yes
			declare_war_with_rks = yes
		}
		GUC = { declare_war_with_rks = yes }
	}
	prerequisite = {
		focus = GER_GOR_prepare_for_jungle_warfare
	}
	prerequisite = {
		focus = GER_GOR_cape_verde_launch_pad
	}
	relative_position_id = GER_GOR_prepare_for_jungle_warfare
	x = -1
	y = 1
}
shared_focus = {
	id = GER_GOR_fall_venedig2
	icon = GFX_focus_GER_Fall_Venedig2
	cost = 1
	available = {
		if = {
			limit = { is_ai = yes }
			has_war = no
		}
	}
	bypass = {
		NOT = {
			country_exists = CLL
			country_exists = CLD
			country_exists = CLC
			country_exists = COL
			country_exists = VEN
		}
	}
	prerequisite = {
		focus = GER_GOR_cut_off_their_reinforcements
	}
	prerequisite = {
		focus = GER_GOR_prepare_for_jungle_warfare
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_fall_venedig"
		CLL = {
			if = {
				limit = {
					is_in_faction_with = USA 
				}	
				GGR_add_on_our_own = yes
			}	
		}
		if = {
			limit = { country_exists = CLD }
			CLD = { declare_war_with_rks = yes }
		}		
		if = {
			limit = { country_exists = CLL }
			CLL = { declare_war_with_rks = yes }
		}
		if = {
			limit = { CLC = { exists = yes is_in_faction = no } }
			CLC = { declare_war_with_rks = yes }
		}
        if = {
			limit = { country_exists = COL }
			COL = { declare_war_with_rks = yes }
		}		
		VEN = { declare_war_with_rks = yes }
	}
	relative_position_id = GER_GOR_prepare_for_jungle_warfare
	x = 1
	y = 1
}
shared_focus = {
	id = GER_GOR_secure_more_lebensraum
	icon = GFX_focus_CNT_south_america
	cost = 1
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_secure_more_lebensraum"
		custom_effect_tooltip = GER_GOR_secure_more_lebensraum_tooltip
	}
	prerequisite = {
		focus = GER_GOR_fall_amazon
		focus = GER_GOR_fall_venedig2
	}
	relative_position_id = GER_GOR_prepare_for_jungle_warfare
	x = 0
	y = 2
}
shared_focus = {
	id = GER_GOR_isolate_the_panama_canal
	icon = GFX_focus_GER_Super_Carriers
	cost = 1
	available = {
		if = {
			limit = { is_ai = yes }
			has_war = no
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_isolate_the_panama_canal"
		PAN = { declare_war_with_rks = yes }
	}
	prerequisite = {
		focus = GER_GOR_fall_venedig2
	}
	relative_position_id = GER_GOR_secure_more_lebensraum
	x = 2
	y = 0
}
shared_focus = {
	id = GER_GOR_operation_von_spee
	icon = GFX_focus_GER_Operation_Von_Spee
	cost = 1
	available = {
		if = {
			limit = { is_ai = yes }
			has_war = no
		}
	}
	completion_reward = {
		custom_effect_tooltip = GER_GOR_operation_von_spee_tooltip
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_operation_von_spee"
		ARG = { declare_war_with_rks = yes }
	}
	prerequisite = {
		focus = GER_GOR_fall_amazon
	}
	relative_position_id = GER_GOR_secure_more_lebensraum
	x = -2
	y = 0
}
shared_focus = {
	id = GER_GOR_the_ofns_peon
	icon = GFX_focus_GER_the_ofns_peon
	cost = 1
	available = {
		if = {
			limit = { is_ai = yes }
			has_war = no
		}
	}
	bypass = {
		NOT = {
			country_exists = SUR
			country_exists = GUY
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_the_ofns_peon"
		SUR = {
			if = {
				limit = {
					OR = {
						is_in_faction_with = USA 
						is_in_faction_with = JAP
					}
				}
				GGR_add_on_our_own = yes
			}	
		}
		GUY = {
			if = {
				limit = {
					OR = {
						is_in_faction_with = USA 
						is_in_faction_with = JAP
					}
				}
				GGR_add_on_our_own = yes
			}	
		}
		GUC = {
			if = {
				limit = {
					exists = yes
					is_subject = no
				}
				GGR_add_on_our_own = yes
				declare_war_with_rks = yes
			}
		}
		GUY = { declare_war_with_rks = yes }
		SUR = { declare_war_with_rks = yes }
	}
	prerequisite = {
		focus = GER_GOR_operation_von_spee
	}
	relative_position_id = GER_GOR_operation_von_spee
	x = 1
	y = 1
}
shared_focus = {
	id = GER_GOR_crush_central_america
	icon = GFX_focus_generic_iron_fist
	cost = 1
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_crush_central_america"
		custom_effect_tooltip = GER_GOR_crush_central_america_tooltip
	}
	prerequisite = {
		focus = GER_GOR_isolate_the_panama_canal
	}
	relative_position_id = GER_GOR_isolate_the_panama_canal
	x = -1
	y = 1
}
shared_focus = {
	id = GER_GOR_operation_maximillian
	icon = GFX_focus_GER_Operation_Maximilian
	cost = 1
	will_lead_to_war_with = MEX
	available = {
		if = {
			limit = { is_ai = yes }
			has_war = no
		}
	}
	completion_reward = {
		custom_effect_tooltip = GER_GOR_operation_maximillian_tooltip
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_operation_maximillian"
		MEX = { declare_war_with_rks = yes }
	}
	prerequisite = {
		focus = GER_GOR_crush_central_america
		focus = GER_GOR_the_ofns_peon
	}
	relative_position_id = GER_GOR_secure_more_lebensraum
	x = 0
	y = 2.5
}
### War Branch
shared_focus = {
	id = GER_GOR_operation_ikarus
	icon = GFX_focus_operation_ikarus
	cost = 3
	available = {
		if = {
			limit = { is_ai = yes }
			has_war = no
			has_completed_focus = GER_GOR_contact_the_amerikadeutscher_bund
			has_completed_focus = GER_GOR_operation_maximillian
			has_completed_focus = GER_GOR_operation_hydra
		}
	}
	will_lead_to_war_with = USA
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_operation_adler"
		USA = { declare_war_with_rks = yes }
		hidden_effect = {
			every_country = {
				limit = { is_in_faction_with = USA }
				declare_war_with_rks = yes
			}
			every_country = { news_event = WORLD_REICH.301 }
		}
	}
	prerequisite = {
		focus = GER_GOR_operation_maximillian
		focus = GER_GOR_operation_hydra
		focus = GER_GOR_contact_the_amerikadeutscher_bund
	}
	relative_position_id = GER_GOR_fall_rockwell
	x = 0
	y = 7
}
shared_focus = {
	id = GER_GOR_in_the_good_old_usa
	icon = GFX_focus_AMK_the_white_knights
	cost = 1
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_in_the_good_old_usa"
		add_political_power = 25
		country_event = {
			id = goering.rockwell.12
		}
		USA = {
			add_political_power = -25
			add_stability = -0.05
			add_popularity = {
				ideology = national_socialism
				popularity = 0.05
			}
		}
	}
	bypass = {
		GGR_america_conquered = yes	
	}
	prerequisite = {
		focus = GER_GOR_operation_ikarus
	}
	relative_position_id = GER_GOR_operation_ikarus
	x = 0
	y = 1.5
}
shared_focus = {
	id = GER_GOR_it_will_happen_there
	icon = GER_GOR_It_Will_Happen_There
	cost = 1
	available = {
		NOT = {
			GER = {
				has_country_flag = bp2_crushed
			}
		}
	}
	bypass = {
		GGR_america_conquered = yes	
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_it_will_happen_there"
		country_event = {
			id = goering.rockwell.11
		}
	}
	prerequisite = {
		focus = GER_GOR_operation_ikarus
	}
	relative_position_id = GER_GOR_operation_ikarus
	x = 2
	y = 1.5
}
shared_focus = {
	id = GER_GOR_strangle_their_eagle
	icon = GFX_focus_GER_strangle_their_eagle
	cost = 1
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_strangle_their_eagle"
		USA = {
			add_equipment_to_stockpile = {
				type = convoy_1
				amount = -100
				producer = USA
			}
		}
		set_variable = { GGR_ikarus_submarine_attk = 0.15 }
	}
	bypass = {
		GGR_america_conquered = yes	
	}
	prerequisite = {
		focus = GER_GOR_operation_ikarus
	}
	relative_position_id = GER_GOR_operation_ikarus
	x = -2
	y = 1.5
}
shared_focus = {
	id = GER_GOR_their_last_best_hoped_dimmed
	icon = GFX_focus_GER_their_last_best_hope_dimmed
	cost = 5
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_their_last_best_hoped_dimmed"
		add_political_power = 500
		add_war_support = 0.2
		country_event = {
			id = goering.rockwell.10
			days = 1
		}
		GER_GOR_epilogue_trigger = yes
	}
	available = {
		GGR_america_conquered = yes	
	}
	prerequisite = {
		focus = GER_GOR_strangle_their_eagle
		focus = GER_GOR_it_will_happen_there
		focus = GER_GOR_in_the_good_old_usa
	}
	relative_position_id = GER_GOR_operation_ikarus
	x = 0
	y = 3
}
shared_focus = { # Final Part
	id = GER_GOR_the_end_is_near
	icon = GFX_focus_GER_GOR_end_war_plan
	cost = 2
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_their_last_best_hoped_dimmed"
		add_stability = 0.2
		add_war_support = 0.2
	}
	allow_branch = {
		has_country_flag = GER_GOR_epilogue_content
	}
	prerequisite = {
		focus = GER_GOR_the_black_sun_eclipsed
	}
	available = {
		GGR_america_conquered = yes
		GGR_conquered_burgundy = yes
		GGR_japan_conquered = yes
	}
	relative_position_id = GER_GOR_the_black_sun_eclipsed
	ai_will_do = {
		factor = 100
	}
	x = 0
	y = 2
}
shared_focus = {
	id = GER_GOR_army_marches_on
	icon = GFX_focus_GER_GOR_army_time
	cost = 3
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_army_marches_on"
		army_experience = 200
		custom_effect_tooltip = GOR_epilogue_army
		hidden_effect = {  
		    country_event = {
			    id = goering.epilogue.1
			}
		}
	}
	prerequisite = {
		focus = GER_GOR_the_end_is_near
	}
	relative_position_id = GER_GOR_the_end_is_near
	ai_will_do = {
		factor = 100
	}
	x = 2
	y = 2
}
shared_focus = {
	id = GER_GOR_let_the_bombs_reign
	icon = GFX_focus_GER_GOR_air_time_2
	cost = 3
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_their_last_best_hoped_dimmed"
		air_experience = 200
		custom_effect_tooltip = GOR_epilogue_planes
		hidden_effect = {
		    country_event = {
			    id = goering.epilogue.2
			}	
		}
	}
	prerequisite = {
		focus = GER_GOR_the_end_is_near
	}
	relative_position_id = GER_GOR_the_end_is_near
	ai_will_do = {
		factor = 100
	}
	x = 0
	y = 2
}
shared_focus = {
	id = GER_GOR_germania_rules_the_waves
	icon = GFX_focus_GER_GOR_kriegsmarine_best
	cost = 3
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_their_last_best_hoped_dimmed"
		navy_experience = 200
		custom_effect_tooltip = GOR_epilogue_navy
		hidden_effect = {
		    country_event = {
			    id = goering.epilogue.3
			}
		}
	}
	prerequisite = {
		focus = GER_GOR_the_end_is_near
	}
	relative_position_id = GER_GOR_the_end_is_near
	ai_will_do = {
		factor = 100
	}
	x = -2
	y = 2
}
shared_focus = { #SW
	id = GER_GOR_execute_order_66
	icon = GFX_focus_GER_GOR_Germanic_world
	cost = 1
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_execute_order_66"
	    custom_effect_tooltip = GER_GOR_conquered_world
	    hidden_effect = {
	        set_cosmetic_tag = GER_WLD
			set_temp_variable = { TNO_temp_super_event = token:SE_THE_NEW_ORDER }
			TNO_fire_super_event = yes
			GGR_Reload_main = yes
	    }
		
	}
	prerequisite = {
		focus = GER_GOR_germania_rules_the_waves
	}
	prerequisite = {
		focus = GER_GOR_army_marches_on
	}
	prerequisite = {
		focus = GER_GOR_let_the_bombs_reign
	}
	relative_position_id = GER_GOR_let_the_bombs_reign
	ai_will_do = {
		factor = 100
		modifier = {
			factor = 0
			GER = {
				has_war = yes
			}
		}
	}
	x = 0
	y = 2
}
shared_focus = { #SW
	id = GER_GOR_all_heil_goering
	allow_branch = {
		GER = {
			has_completed_focus = GER_GOR_execute_order_66
		}
	}
	icon = GFX_focus_GER_GOR_all_heil_goering
	cost = 1
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GER_GOR_all_heil_goering"
		custom_effect_tooltip = Goering_happi_tooltip
		add_stability = 1.0
		add_war_support = 1.0
		add_political_power = 1000
		set_temp_variable = { loyalty_change = 100 }
		GGR_increase_militarist_loyalty = yes
		set_temp_variable = { power_change = 100 }
		GGR_increase_militarist_power = yes
		set_temp_variable = { hawkishness_change = 100 }
		GGR_increase_militarist_hawkishness = yes
		hidden_effect = {
		    country_event = {
			    id = goering.epilogue.4
			}
		}
	}
	prerequisite = {
		focus = GER_GOR_execute_order_66
	}
	relative_position_id = GER_GOR_execute_order_66
	ai_will_do = {
		factor = 100
	}
	x = 0
	y = 2
}
##############################################################################

# MILITARY TREE

##############################################################################

shared_focus = {
	id = GGR_finish_the_SS
	icon = GFX_focus_GGR_purge_the_SS
	cost = 2.00
	allow_branch = {
		has_country_flag = GGR_military_tree
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GGR_finish_the_SS"
		custom_effect_tooltip = GER_finish_off_the_SS_tt
		GGR_increase_militarist_loyalty_small = yes
		country_event = {
			id = goering.military.1
			days = 3
		}
	}
	x = -18
	y = 0
}

shared_focus = {
	id = GGR_drumheads_across_germany
	icon = GFX_focus_GER_drumheads_across_germany
	cost = 1
	prerequisite = {
		focus = GGR_finish_the_SS
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_drumheads_across_germany "
		custom_effect_tooltip = GER_judge_SS_tt
		add_stability = 0.10
		GGR_increase_militarist_hawkishness = yes
		GGR_increase_militarist_loyalty = yes
		country_event = {
			id = goering.military.3
			days = 6
		}
	}
	relative_position_id = GGR_finish_the_SS
	x = -2
	y = 1
}

shared_focus = {
	id = GGR_loot_the_castles
	icon = GFX_focus_GER_Loot_the_Castles
	cost = 1
	prerequisite = {
		focus = GGR_finish_the_SS
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_loot_the_castles "
		custom_effect_tooltip = GER_loot_SS_tt
		GGR_increase_militarist_loyalty_small = yes
		GGR_increase_militarist_power_small = yes
		country_event = {
			id = goering.military.2
			days = 7
		}
	}
	relative_position_id = GGR_finish_the_SS
	x = 0
	y = 1
}

shared_focus = {
	id = GGR_strip_them_of_their_honor
	icon = GFX_focus_strip_them_off_their_honor
	cost = 1
	prerequisite = {
		focus = GGR_finish_the_SS
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_strip_them_of_their_honor "
		custom_effect_tooltip = GER_strip_SS_honors_tt
		add_war_support = 0.10
		GGR_increase_militarist_hawkishness = yes
		GGR_increase_militarist_loyalty = yes
		country_event = {
			id = goering.military.4
			days = 5
		}
	}
	relative_position_id = GGR_finish_the_SS
	x = 2
	y = 1
}

shared_focus = {
	id = GGR_germanian_triumph
	icon = GFX_focus_GGR_Germanian_triumph
	cost = 2
	prerequisite = {
		focus = GGR_strip_them_of_their_honor
	}
	prerequisite = {
		focus = GGR_loot_the_castles
	}
	prerequisite = {
		focus = GGR_drumheads_across_germany
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_germanian_triumph "
		custom_effect_tooltip = GER_germanian_triumph_tt
		country_event = {
			id = goering.military.5
			days = 8
		}
	}
	relative_position_id = GGR_finish_the_SS
	x = 0
	y = 2
}

shared_focus = {
	id = GGR_grenadiers
	icon = GFX_focus_generic_quality_recruitment
	cost = 2
	prerequisite = {
		focus = GGR_germanian_triumph
	}
	mutually_exclusive = {
		focus = GGR_volksgrenadiers
	}
	available = {
		set_temp_variable = { required_difference = 50 }
		militarists_are_pleased = yes
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_grenadiers"
		custom_effect_tooltip = GGR_GRE_Infatry_attack_increase_5_percent
		custom_effect_tooltip = GGR_GRE_Armour_attack_increase_5_percent
		set_variable = { GGR_infantry_attack = 0.02 }
		set_variable = { GGR_armour_attack = 0.02 }
		GGR_decrease_militarist_loyalty_large = yes
		GGR_decrease_militarist_power = yes
		GGR_decrease_militarist_hawkishness = yes
		army_funding_minimal_increase_high = yes
		army_funding_maximal_increase_high = yes
		add_doctrine_cost_reduction = {
		    name = land_doc_bonus
		    cost_reduction = 0.5
		    uses = 1
		    category = land_doctrine
		}
		hidden_effect = {
			if = {
				limit = {
					is_ai = yes
				}
				army_experience = 500
				delete_unit_template_and_units = { division_template = "Infantrie-Division" disband = yes }
				GWR_disband_old_infantry = yes
				GWR_kill_half_of_infantry = yes
			}
			add_dynamic_modifier = { modifier = GGR_Grenadiers }
			add_ideas = GGR_grenadiers_idea
		}
		set_variable = { num_division_limit = 300 }
	}
	relative_position_id = GGR_finish_the_SS
	x = -3
	y = 3
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = GGR_germanies_finest
	icon = GFX_focus_GGR_germanys_finest
	cost = 2
	prerequisite = {
		focus = GGR_grenadiers
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_germanies_finest"
		TNO_improve_army_professionalism_high = yes
		army_funding_minimal_increase_low = yes
		army_funding_maximal_increase_low = yes
	}
	relative_position_id = GGR_finish_the_SS
	x = -4
	y = 4
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = GGR_intensive_training_regimen
	icon = GFX_focus_generic_training_day_and_night
	cost = 2
	prerequisite = {
		focus = GGR_germanies_finest
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_intensive_training_regimen "
		custom_effect_tooltip = GGR_GRE_Infatry_attack_increase_10_percent
		custom_effect_tooltip = GGR_GRE_recovery_rate_increase_5_percent
		TNO_improve_army_professionalism_high = yes
		hidden_effect = {
			swap_ideas = {
				remove_idea = tno_training_basic_training
				add_idea = tno_training_combat_schooling
			}
		}
		effect_tooltip = {
			swap_ideas = {
				remove_idea = tno_training_basic_training_dummy
				add_idea = tno_training_combat_schooling_dummy
			}
		}
		TNO_improve_training_policy_effectiveness_high = yes
		TNO_improve_training_policy_effectiveness_monthly_med = yes

		add_to_variable = { GGR_infantry_attack = 0.04 }
		set_variable = { GGR_GRE_morale = 0.02 }
		army_funding_minimal_increase_low = yes
		army_funding_maximal_increase_low = yes

	}
	relative_position_id = GGR_finish_the_SS
	x = -4
	y = 5
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = GGR_mobile_support_weapons
	icon = GFX_focus_SBA_mobility_revisited
	cost = 2
	prerequisite = {
		focus = GGR_intensive_training_regimen
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_mobile_support_weapons "
		add_to_variable = { GGR_GRE_morale = 0.04 }
		set_variable = { GGR_speed = 0.04 }
		add_to_variable = { GGR_infantry_attack = 0.06 }
		custom_effect_tooltip = GGR_infantry_attack_increase_15_percent
		custom_effect_tooltip = GGR_GRE_speed_increase_10_percent
		custom_effect_tooltip = GGR_GRE_recovery_rate_increase_10_percent
		army_funding_minimal_increase_low = yes
		army_funding_maximal_increase_low = yes
	}
	relative_position_id = GGR_finish_the_SS
	x = -4
	y = 6
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = GGR_knights_of_the_panzerkorps
	icon = GFX_focus_knights_of_the_panzerkorps
	cost = 2
	prerequisite = {
		focus = GGR_grenadiers
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_knights_of_the_panzerkorps "
		add_to_variable = { GGR_armour_attack = 0.04 }
		set_variable = { GGR_armour_speed = 0.04 }
		custom_effect_tooltip = GGR_GRE_Armour_attack_increase_15_percent
		custom_effect_tooltip = GGR_GRE_Armour_speed_increase_10_percent
		army_funding_minimal_increase_low = yes
		army_funding_maximal_increase_low = yes
	}
	relative_position_id = GGR_finish_the_SS
	x = -2
	y = 4
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = GGR_armor_every_grenadier
	icon = GFX_focus_Armour_every_Grenadier
	cost = 2
	prerequisite = {
		focus = GGR_knights_of_the_panzerkorps
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_armor_every_grenadier "
		add_ideas = GGR_Armour_every_grenadier
		army_funding_minimal_increase_low = yes
		army_funding_maximal_increase_low = yes
	}
	relative_position_id = GGR_finish_the_SS
	x = -2
	y = 5
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = GGR_legacy_of_the_ghost_division
	icon = GFX_focus_GER_smoke_them_out
	cost = 2
	prerequisite = {
		focus = GGR_armor_every_grenadier
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_legacy_of_the_ghost_division "
		custom_effect_tooltip = GGR_GRE_supply_debuff_decrease_15_percent
		set_variable = { GGR_GRE_supply_factor = -0.15 }
		army_funding_minimal_increase_low = yes
		army_funding_maximal_increase_low = yes
	}
	relative_position_id = GGR_finish_the_SS
	x = -2
	y = 6
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = GGR_volksgrenadiers
	icon = GFX_focus_GGR_volksgrenadiers
	cost = 2
	prerequisite = {
		focus = GGR_germanian_triumph
	}
	mutually_exclusive = {
		focus = GGR_grenadiers
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_volksgrenadiers"
		custom_effect_tooltip = GGR_extend_army_volksgrenadiers_soon
		if = {
			limit = { has_completed_focus = GGR_ready_the_men }
			add_to_variable = { GGR_volk_conscripts = 0.10 }
		}
		else = { set_variable = { GGR_volk_conscripts = 0.10 } }
		add_to_variable = { GGR_garrisons_from_germany_bonus = 0.25 }
		custom_effect_tooltip = GGR_GRE_conscription_increase_10_percent
		army_funding_minimal_increase_med = yes
		army_funding_maximal_increase_med = yes
		add_doctrine_cost_reduction = {
			name = land_doc_bonus
			cost_reduction = 0.5
			uses = 1
			category = land_doctrine
		}
		GGR_increase_militarist_loyalty_large = yes
		GGR_increase_militarist_power = yes
		GGR_decrease_militarist_hawkishness = yes
		hidden_effect = {
			add_dynamic_modifier = { modifier = GGR_Volksgrenadiers }
		}
	}
	relative_position_id = GGR_finish_the_SS
	x = 3
	y = 3
	ai_will_do = {
		factor = 0
	}
}

shared_focus = {
	id = GGR_quality_of_quantity
	icon = GFX_focus_generic_quantity_recruitment
	cost = 2
	prerequisite = {
		focus = GGR_volksgrenadiers
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_quality_of_quantity "
		tno_conscription_worsen = yes
		TNO_improve_conscription_policy_effectiveness_monthly_low = yes

		army_funding_minimal_increase_low = yes
		army_funding_maximal_increase_low = yes
	}
	relative_position_id = GGR_finish_the_SS
	x = 4
	y = 4
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = GGR_gun_in_every_hand
	icon = GFX_focus_SAM_german_arms
	cost = 2
	prerequisite = {
		focus = GGR_quality_of_quantity
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_gun_in_every_hand "
		add_ideas = GGR_Gun_in_every_hand
		army_funding_minimal_increase_low = yes
		army_funding_maximal_increase_low = yes
	}
	relative_position_id = GGR_finish_the_SS
	x = 4
	y = 5
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = GGR_citizenship_through_service
	icon = GFX_focus_GER_the_new_draft
	cost = 2
	prerequisite = {
		focus = GGR_gun_in_every_hand
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_citizenship_through_service "
		swap_ideas = {
			remove_idea = tno_racial_integration_none
			add_idea = tno_racial_integration_segregated_regiments
		}

		TNO_improve_conscription_policy_effectiveness_med = yes

		set_temp_variable = { debt_temp = 1 }
		econ_national_debt_change = yes
		army_funding_minimal_increase_low = yes
		army_funding_maximal_increase_low = yes
	}
	relative_position_id = GGR_finish_the_SS
	x = 4
	y = 6
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = GGR_shock_and_awe
	icon = GFX_focus_generic_combined_arms
	cost = 2
	prerequisite = {
		focus = GGR_volksgrenadiers
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_shock_and_awe "
		set_variable = { GGR_volk_art_attack = 0.08 }
		custom_effect_tooltip = GGR_artillery_attack_increase_20_percent
		army_funding_minimal_increase_low = yes
		army_funding_maximal_increase_low = yes
	}
	relative_position_id = GGR_finish_the_SS
	x = 2
	y = 4
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = GGR_gun_for_every_meter
	icon = GFX_focus_MAG_preliminary_arming
	cost = 2
	prerequisite = {
		focus = GGR_shock_and_awe
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_gun_for_every_meter "
		set_variable = { GGR_volk_defence = 0.06 }
		custom_effect_tooltip = GGR_defence_increase_20_percent
		tno_training_worsen = yes
		army_funding_minimal_increase_low = yes
		army_funding_maximal_increase_low = yes
	}
	relative_position_id = GGR_finish_the_SS
	x = 2
	y = 5
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = GGR_grenadier_panzer_operations
	icon = GFX_focus_generic_tour_the_panzer_fleet
	cost = 2
	prerequisite = {
		focus = GGR_gun_for_every_meter
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_grenadier_panzer_operations "
		set_variable = { GGR_volk_armour_attack = 0.05 }
		custom_effect_tooltip = GGR_GRE_Armour_attack_increase_10_percent
		army_funding_minimal_increase_low = yes
		army_funding_maximal_increase_low = yes
	}
	relative_position_id = GGR_finish_the_SS
	x = 2
	y = 6
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = GGR_restore_the_armies_grandeur
	icon = GFX_focus_Restore_the_armies_granduer
	cost = 2
	prerequisite = {
		focus = GGR_germanian_triumph
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_restore_the_armies_grandeur "
		GGR_increase_militarist_loyalty_large = yes
		GGR_increase_militarist_hawkishness = yes
		GGR_increase_militarist_power_small = yes
		army_funding_minimal_increase_high = yes
	}
	relative_position_id = GGR_finish_the_SS
	x = 0
	y = 4
	ai_will_do = {
		factor = 0
		modifier = {
			add = 1000
			check_variable = { GER_Militarist_Loyalty < 20 }
		}
	}
}

shared_focus = {
	id = GGR_rebuild_the_prussian_staff_college
	icon = GFX_focus_GER_prussias_glory
	cost = 2
	prerequisite = {
		focus = GGR_restore_the_armies_grandeur
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_rebuild_the_prussian_staff_college"
		GGR_increase_militarist_loyalty_large = yes
		GGR_increase_militarist_hawkishness_large = yes
		GGR_increase_militarist_power = yes
		set_temp_variable = { temp_econ_spending_amount = 0.120 }
		econ_spend_money_once_effect_raw_money = yes
	}
	relative_position_id = GGR_finish_the_SS
	x = 0
	y = 5
	ai_will_do = {
		factor = 0
		modifier = {
			add = 1000
			has_active_mission = GGR_militarist_coup
		}
	}
}

shared_focus = {
	id = GGR_cuff_titles_and_new_uniforms
	icon = GFX_focus_COG_gain_some_expertise
	cost = 2
	prerequisite = {
		focus = GGR_rebuild_the_prussian_staff_college
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_cuff_titles_and_new_uniforms "
		GGR_increase_militarist_loyalty_large = yes
		GGR_increase_militarist_hawkishness = yes
		GGR_increase_militarist_power_large = yes
		set_temp_variable = { temp_econ_spending_amount = 0.030 }
		econ_spend_money_once_effect_raw_money = yes
	}
	relative_position_id = GGR_finish_the_SS
	x = 0
	y = 6
	ai_will_do = {
		factor = 0
		modifier = {
			add = 1000
			has_active_mission = GGR_militarist_coup
		}
	}
}

shared_focus = {
	id = GGR_end_political_interfearance
	icon = GFX_focus_generic_controlled_politics
	cost = 2
	prerequisite = {
		focus = GGR_cuff_titles_and_new_uniforms
	}
	allow_branch = {
		always = no
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_end_political_interfearance "
		GGR_increase_militarist_loyalty_large = yes
		GGR_increase_militarist_hawkishness = yes
		GGR_increase_militarist_power_small = yes

		TNO_improve_military_supervision_policy_effectiveness_high = yes
	}
	relative_position_id = GGR_finish_the_SS
	x = 0
	y = 6
	ai_will_do = {
		factor = 0
		modifier = {
			add = 1000
			has_active_mission = GGR_militarist_coup
		}
	}
}

shared_focus = {
	id = GGR_masters_of_the_world
	icon = GFX_focus_Masters_of_the_world
	cost = 3
	prerequisite = {
		focus = GGR_grenadier_panzer_operations
		focus = GGR_citizenship_through_service
		focus = GGR_legacy_of_the_ghost_division
		focus = GGR_mobile_support_weapons
	}
	available = {
		if = {
			limit = {
				has_completed_focus = GGR_grenadiers
			}
			has_completed_focus = GGR_mobile_support_weapons
			has_completed_focus = GGR_legacy_of_the_ghost_division
		}
		if = {
			limit = {
				has_completed_focus = GGR_volksgrenadiers
			}
			has_completed_focus = GGR_grenadier_panzer_operations
			has_completed_focus = GGR_citizenship_through_service
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_masters_of_the_world"
		custom_effect_tooltip = ita_focus_will_be_known_soon_fuck_you_tt
		if = {
			limit = {
				has_completed_focus = GGR_volksgrenadiers
			}
			GGR_extend_division_limit_volksgrenadiers = yes
			hidden_effect = {
				add_ideas = GGR_volksgrenadiers_idea
			}
		}
		else_if = {
			limit = {
				has_completed_focus = GGR_grenadiers
			}
			TNO_improve_army_professionalism_high = yes
			add_war_support = 0.1
		}
	}
	relative_position_id = GGR_finish_the_SS
	x = 0
	y = 7
	ai_will_do = {
		factor = 10
	}
}

shared_focus = {
	id = GGR_pride_of_the_reich
	icon = GFX_focus_GER_pride_of_the_reich
	cost = 2
	prerequisite = {
		focus = GGR_germanian_triumph
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_pride_of_the_reich "
		custom_effect_tooltip = GER_Luftwaffe_tt
		add_dynamic_modifier = { modifier = GGR_Luftwaffe_modifier }
	}
	relative_position_id = GGR_finish_the_SS
	x = 9
	y = 3
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0.25
			has_country_flag = GER_war_plan_A
		}
		modifier = {
			factor = 0.1
			has_country_flag = GER_war_plan_B
			NOT = { has_completed_focus = GGR_full_speed_ahead }
		}
	}
}

shared_focus = {
	id = GGR_strike_like_lightning
	icon = GFX_focus_GER_strike_like_lightning
	cost = 2
	prerequisite = {
		focus = GGR_pride_of_the_reich
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_strike_like_lightning "
		set_temp_variable = { X = 0.1 }
		custom_effect_tooltip = GGR_air_agility_increase_X_percent
		add_to_variable = { GGR_luftwaffe_agility_factor = .1 }
		add_tech_bonus = {
			name = cas_air_bonus
			bonus = 0.25
			uses = 1
			category = cas
		}
	}
	relative_position_id = GGR_finish_the_SS
	x = 6
	y = 4
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0.25
			has_country_flag = GER_war_plan_A
		}
		modifier = {
			factor = 0.1
			has_country_flag = GER_war_plan_B
			NOT = { has_completed_focus = GGR_full_speed_ahead }
		}
	}
}

shared_focus = {
	id = GGR_higher_faster_better
	icon = GFX_focus_GER_planes_imperial
	cost = 2
	prerequisite = {
		focus = GGR_strike_like_lightning
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_higher_faster_better "
		custom_effect_tooltip = GGR_air_superiority_defence_increase_5_percent_tooltip
		add_to_variable = { GGR_luftwaffe_air_superiority = 0.05 }
	}
	relative_position_id = GGR_finish_the_SS
	x = 6
	y = 5
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0.25
			has_country_flag = GER_war_plan_A
		}
		modifier = {
			factor = 0.1
			has_country_flag = GER_war_plan_B
			NOT = { has_completed_focus = GGR_full_speed_ahead }
		}
	}
}

shared_focus = {
	id = GGR_destruction_of_nations
	icon = GFX_focus_GGR_destroyers_of_nations
	cost = 2
	prerequisite = {
		focus = GGR_higher_faster_better
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_destruction_of_nations "
		custom_effect_tooltip = GGR_strat_bomb_effectiveness_increase_10_percent_tooltip
		set_temp_variable = { X = 0.05 }
		custom_effect_tooltip = GGR_air_agility_increase_X_percent
		add_to_variable = { GGR_luftwaffe_strat_bomb_boom_factor = 0.05 }
		add_to_variable = { GGR_luftwaffe_agility_factor = 0.05 }
		add_tech_bonus = {
			name = heavy_air_bonus
			bonus = 0.25
			uses = 1
			category = heavy_air
		}
	}
	relative_position_id = GGR_finish_the_SS
	x = 6
	y = 6
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0.25
			has_country_flag = GER_war_plan_A
		}
		modifier = {
			factor = 0.1
			has_country_flag = GER_war_plan_B
			NOT = { has_completed_focus = GGR_full_speed_ahead }
		}
	}
}

shared_focus = {
	id = GGR_barons_children
	icon = GFX_focus_GER_Barons_Children
	cost = 2
	prerequisite = {
		focus = GGR_pride_of_the_reich
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_barons_children "
		custom_effect_tooltip = GGR_accident_chance_decrease_15_percent_tooltip
		custom_effect_tooltip = GGR_ace_factor_increase_10_percent_tooltip
		custom_effect_tooltip = GGR_air_experience_increase_10_percent_tooltip
		add_to_variable = { GGR_luftwaffe_accident_chance = -0.10 }
		add_to_variable = { GGR_luftwaffe_air_ace_chance = 0.10 }
		add_to_variable = { GGR_luftwaffe_air_experience_gain = 0.08}
		add_tech_bonus = {
			name = interceptor_bonus
			bonus = 0.25
			uses = 1
			category = interceptor
		}
	}
	relative_position_id = GGR_finish_the_SS
	x = 8
	y = 4
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0.25
			has_country_flag = GER_war_plan_A
		}
		modifier = {
			factor = 0.1
			has_country_flag = GER_war_plan_B
			NOT = { has_completed_focus = GGR_full_speed_ahead }
		}
	}
}

shared_focus = {
	id = GGR_fighters_without_equal
	icon = GFX_focus_GGR_fighters_without_equal
	cost = 2
	prerequisite = {
		focus = GGR_barons_children
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_fighters_without_equal "
		custom_effect_tooltip = GGR_air_superiority_enemy_army_increase_5_percent_tooltip
		add_to_variable = { GGR_luftwaffe_air_superiority_enemy_debuff = -0.05 }
		add_tech_bonus = {
			name = jet_figher_bonus
			bonus = 0.25
			uses = 1
			category = jet_fighter
		}
	}
	relative_position_id = GGR_finish_the_SS
	x = 8
	y = 5
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0.25
			has_country_flag = GER_war_plan_A
		}
		modifier = {
			factor = 0.1
			has_country_flag = GER_war_plan_B
			NOT = { has_completed_focus = GGR_full_speed_ahead }
		}
	}
}

shared_focus = {
	id = GGR_knights_of_the_sky
	icon = GFX_focus_GGR_knights_of_the_sky
	cost = 2
	prerequisite = {
		focus = GGR_fighters_without_equal
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_knights_of_the_sky "
		custom_effect_tooltip = GGR_ace_factor_increase_5_percent_tooltip
		add_to_variable = { GGR_luftwaffe_air_ace_chance = 0.05 }
	}
	relative_position_id = GGR_finish_the_SS
	x = 8
	y = 6
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0.25
			has_country_flag = GER_war_plan_A
		}
		modifier = {
			factor = 0.1
			has_country_flag = GER_war_plan_B
			NOT = { has_completed_focus = GGR_full_speed_ahead }
		}
	}
}

shared_focus = {
	id = GGR_fallschrimjaeger_ascendant
	icon = GFX_focus_GGR_Prepare_the_Fallschirmjagers
	cost = 2
	prerequisite = {
		focus = GGR_pride_of_the_reich
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_fallschrimjaeger_ascendant "
		custom_effect_tooltip = GGR_paratrooper_attack_increase_10_percent_tooltip
		custom_effect_tooltip = GGR_paratrooper_defence_increase_10_percent_tooltip
		add_to_variable = { GGR_luftwaffe_para_attack = 0.10 }
		add_to_variable = { GGR_luftwaffe_para_defence = 0.10 }
	}
	relative_position_id = GGR_finish_the_SS
	x = 10
	y = 4
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0.25
			has_country_flag = GER_war_plan_A
		}
		modifier = {
			factor = 0.1
			has_country_flag = GER_war_plan_B
			NOT = { has_completed_focus = GGR_full_speed_ahead }
		}
	}
}

shared_focus = {
	id = GGR_new_gunships
	icon = GFX_focus_generic_helicopter_1
	cost = 2
	prerequisite = {
		focus = GGR_fallschrimjaeger_ascendant
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_new_gunships "
		add_tech_bonus = {
			name = helicopter_bonus
			bonus = 0.25
			uses = 1
			category = helicopter
		}
	}
	relative_position_id = GGR_finish_the_SS
	x = 10
	y = 5
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0.25
			has_country_flag = GER_war_plan_A
		}
		modifier = {
			factor = 0.1
			has_country_flag = GER_war_plan_B
			NOT = { has_completed_focus = GGR_full_speed_ahead }
		}
	}
}

shared_focus = {
	id = GGR_Assume_spec_ops_burden
	icon = GFX_focus_GER_simple_test
	cost = 2
	prerequisite = {
		focus = GGR_new_gunships
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_Assume_spec_ops_burden "
		custom_effect_tooltip = GGR_spec_ops_20_percent_tooltip
		add_to_variable = { GGR_luftwaffe_spec_ops_cap = 0.20 }
		add_tech_bonus = {
			name = helicopter_bonus
			bonus = 0.25
			uses = 1
			category = helicopter
		}
	}
	relative_position_id = GGR_finish_the_SS
	x = 10
	y = 6
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0.25
			has_country_flag = GER_war_plan_A
		}
		modifier = {
			factor = 0.1
			has_country_flag = GER_war_plan_B
			NOT = { has_completed_focus = GGR_full_speed_ahead }
		}
	}
}

shared_focus = {
	id = GGR_walkurentruppen
	icon = GFX_focus_Walkurentruppen
	cost = 2
	prerequisite = {
		focus = GGR_pride_of_the_reich
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_walkurentruppen"
		add_equipment_to_stockpile = {
			type = transport_helicopter_equipment_1
			amount = 200
		}
		add_tech_bonus = {
			bonus = 0.50
			uses = 1
			technology = transport_helicopter_1970
		}
	}
	relative_position_id = GGR_finish_the_SS
	x = 12
	y = 4
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0.25
			has_country_flag = GER_war_plan_A
		}
		modifier = {
			factor = 0.1
			has_country_flag = GER_war_plan_B
			NOT = { has_completed_focus = GGR_full_speed_ahead }
		}
	}
}

shared_focus = {
	id = GGR_the_parachute_is_obsolete
	icon = GFX_focus_generic_helicopter_3
	cost = 2
	prerequisite = {
		focus = GGR_walkurentruppen
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_the_parachute_is_obsolete "
		add_tech_bonus = {
			name = helicopter_bonus
			bonus = 0.25
			uses = 1
			category = air_assault_tech
		}
	}
	relative_position_id = GGR_finish_the_SS
	x = 12
	y = 5
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0.25
			has_country_flag = GER_war_plan_A
		}
		modifier = {
			factor = 0.1
			has_country_flag = GER_war_plan_B
			NOT = { has_completed_focus = GGR_full_speed_ahead }
		}
	}
}

shared_focus = {
	id = GGR_over_any_ground_break_any_foe
	icon = GFX_focus_YUN_mountain_people
	cost = 2
	prerequisite = {
		focus = GGR_the_parachute_is_obsolete
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_over_any_ground_break_any_foe "
		custom_effect_tooltip = GGR_air_superiority_enemy_army_increase_10_percent_tooltip
		add_to_variable = { GGR_luftwaffe_air_superiority_enemy_debuff = -0.10 }
	}
	relative_position_id = GGR_finish_the_SS
	x = 12
	y = 6
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0.25
			has_country_flag = GER_war_plan_A
		}
		modifier = {
			factor = 0.1
			has_country_flag = GER_war_plan_B
			NOT = { has_completed_focus = GGR_full_speed_ahead }
		}
	}
}
shared_focus = {
	id = GGR_strategic_defence
	icon = GFX_focus_GER_social_engineering
	cost = 2
	prerequisite = {
		focus = GGR_germanian_triumph
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_strategic_defence "
		country_event = {
			id = goering.military.6
		}
	}
	relative_position_id = GGR_finish_the_SS
	x = 16
	y = 3
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0.25
			has_country_flag = GER_war_plan_A
		}
		modifier = {
			factor = 0.1
			has_country_flag = GER_war_plan_B
			NOT = { has_completed_focus = GGR_full_speed_ahead }
		}
	}
}

shared_focus = {
	id = GGR_repair_the_reichs_defences
	icon = GFX_focus_GER_industrial_revitalization
	cost = 3
	prerequisite = {
		focus = GGR_strategic_defence
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_repair_the_reichs_defences "
		custom_effect_tooltip = GGR_repair_the_reichs_defences_cost
		country_event = {
			id = goering.military.7
		}
	}
	relative_position_id = GGR_finish_the_SS
	x = 14
	y = 4
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0.25
			has_country_flag = GER_war_plan_A
		}
		modifier = {
			factor = 0.1
			has_country_flag = GER_war_plan_B
			NOT = { has_completed_focus = GGR_full_speed_ahead }
		}
	}
}

shared_focus = {
	id = GGR_modernise_the_seigfreid_line
	icon = GFX_focus_GER_Modernise_the_Seigfreid_Line
	cost = 2
	prerequisite = {
		focus = GGR_repair_the_reichs_defences
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_modernise_the_seigfreid_line "
		if = {
			limit = {
				NOT = { has_country_flag = GGR_CIND_apolitical_man }
			}
			set_temp_variable = { temp_econ_spending_amount = 0.03 }
			econ_spend_money_once_effect_raw_money = yes
			1811 = {
				if = {
					limit = { is_controlled_by = ROOT }
					custom_effect_tooltip = GGR_west_wall_modernised1
					hidden_effect = {
						add_building_construction = {
							type = bunker
							level = 3
							province = 11531
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 3
							province = 563
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 3
							province = 3558
							instant_build = yes
						}
					}
				}
			}
			72 = {
				if = {
					limit = { is_controlled_by = ROOT }
					custom_effect_tooltip = GGR_west_wall_modernised6
					hidden_effect = {
						add_building_construction = {
							type = bunker
							level = 3
							province = 6542
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 3
							province = 6712
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 3
							province = 11640
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 3
							province = 3530
							instant_build = yes
						}
					}
				}
			}
			42 = {
				if = {
					limit = { is_controlled_by = ROOT }
					custom_effect_tooltip = GGR_west_wall_modernised3
					hidden_effect = {
						add_building_construction = {
							type = bunker
							level = 3
							province = 9575
							instant_build = yes
						}
					}
				}
			}
		}
		if = {
			limit = { has_country_flag = GGR_CIND_apolitical_man }
			set_temp_variable = { temp_econ_spending_amount = 0.02 }
			econ_spend_money_once_effect_raw_money = yes
			1811 = {
				if = {
					limit = { is_controlled_by = ROOT }
					custom_effect_tooltip = GGR_west_wall_modernised2
					hidden_effect = {
						add_building_construction = {
							type = bunker
							level = 2
							province = 11531
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 2
							province = 563
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 2
							province = 3558
							instant_build = yes
						}
					}
				}
			}
			72 = {
				if = {
					limit = { is_controlled_by = ROOT }
					custom_effect_tooltip = GGR_west_wall_modernised5
					hidden_effect = {
						add_building_construction = {
							type = bunker
							level = 2
							province = 6542
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 2
							province = 6712
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 2
							province = 11640
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 2
							province = 3530
							instant_build = yes
						}
					}
				}
			}
			42 = {
				if = {
					limit = { is_controlled_by = ROOT }
					custom_effect_tooltip = GGR_west_wall_modernised4
					hidden_effect = {
						add_building_construction = {
							type = bunker
							level = 2
							province = 9575
							instant_build = yes
						}
					}
				}
			}
		}
	}
	relative_position_id = GGR_finish_the_SS
	x = 14
	y = 5
	ai_will_do = {
		factor = 1
	}
}

shared_focus = {
	id = GGR_modernise_the_fuhrerbunker
	icon = GFX_focus_GER_Modernise_the_Fuhrerbunker
	cost = 2
	prerequisite = {
		focus = GGR_modernise_the_seigfreid_line
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_modernise_the_seigfreid_line "
		custom_effect_tooltip = GGR_modernise_the_fuhrerbunker_cost
		country_event = {
			id = goering.military.8
		}
	}
	relative_position_id = GGR_finish_the_SS
	x = 14
	y = 6
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0.25
			has_country_flag = GER_war_plan_A
		}
		modifier = {
			factor = 0.1
			has_country_flag = GER_war_plan_B
			NOT = { has_completed_focus = GGR_full_speed_ahead }
		}
	}
}

shared_focus = {
	id = GGR_crisis_response_teams
	icon = GFX_focus_GER_blackest_of_ops
	cost = 1
	prerequisite = {
		focus = GGR_strategic_defence
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_crisis_response_teams"
		set_temp_variable = { temp_econ_spending_amount = 0.05 }
		econ_spend_money_once_effect_raw_money = yes
		custom_effect_tooltip = GGR_EkfSA
		hidden_effect = {
			load_oob = "GGR_EkfSA"
		}
		GGR_decrease_militarist_loyalty = yes
		GGR_decrease_militarist_power = yes
		hidden_effect = {
			division_template = {
				name = "Crisis Response Group"
				regiments = {
					APC = { x = 0 y = 0 }
					APC = { x = 0 y = 1 }
					APC = { x = 0 y = 2 }
					APC = { x = 0 y = 0 }
					APC = { x = 0 y = 1 }
				}
			}
			64 = {
				create_unit = {
					division = "name = \"Germania 1st Crisis Response Group\" division_template = \"Crisis Response Group\" start_experience_factor = 0.0 start_equipment_factor = 0.3"
					owner = GER
				}
				create_unit = {
					division = "name = \"Germania 2nd Crisis Response Group\" division_template = \"Crisis Response Group\" start_experience_factor = 0.0 start_equipment_factor = 0.4"
					owner = GER
				}
				create_unit = {
					division = "name = \"Germania 3rd Crisis Response Group\" division_template = \"Crisis Response Group\" start_experience_factor = 0.0 start_equipment_factor = 0.6"
					owner = GER
				}
			}
		}
	}
	relative_position_id = GGR_finish_the_SS
	x = 16
	y = 4
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0.25
			has_country_flag = GER_war_plan_A
		}
		modifier = {
			factor = 0.1
			has_country_flag = GER_war_plan_B
			NOT = { has_completed_focus = GGR_full_speed_ahead }
		}
	}
}

shared_focus = {
	id = GGR_duck_and_cover
	icon = GFX_focus_GER_Duck_and_Cover
	cost = 2
	prerequisite = {
		focus = GGR_crisis_response_teams
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_duck_and_cover "
		add_political_power = -50
		add_stability = 0.10
		add_ideas = GGR_ente_und_deckel
	}
	relative_position_id = GGR_finish_the_SS
	x = 16
	y = 5
	ai_will_do = {
		factor = 1
	}
}

shared_focus = {
	id = GGR_tighten_atomic_security
	icon = GFX_focus_GER_notstandsrecht
	cost = 3
	prerequisite = {
		focus = GGR_strategic_defence
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_tighten_atomic_security "
		add_political_power = 100
		GGR_decrease_militarist_loyalty = yes
		GGR_decrease_militarist_power_large = yes
	}
	relative_position_id = GGR_finish_the_SS
	x = 18
	y = 4
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0.25
			has_country_flag = GER_war_plan_A
		}
		modifier = {
			factor = 0.1
			has_country_flag = GER_war_plan_B
			NOT = { has_completed_focus = GGR_full_speed_ahead }
		}
	}
}

shared_focus = {
	id = GGR_new_silos
	icon = GFX_focus_GER_modern_nuclear_silos
	cost = 2
	prerequisite = {
		focus = GGR_tighten_atomic_security
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_new_silos"
		custom_effect_tooltip = GGR_new_silos_cost
		country_event = {
			id = goering.military.9
		}
		nuclear_funding_maximal_increase_med = yes
	}
	relative_position_id = GGR_finish_the_SS
	x = 18
	y = 5
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0.25
			has_country_flag = GER_war_plan_A
		}
		modifier = {
			factor = 0.1
			has_country_flag = GER_war_plan_B
			NOT = { has_completed_focus = GGR_full_speed_ahead }
		}
	}
}

shared_focus = {
	id = GGR_new_missile_designs
	icon = GFX_focus_generic_new_missile_designs
	cost = 2
	prerequisite = {
		focus = GGR_new_silos
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_new_missile_designs "
		add_equipment_to_stockpile = {
			type = MRBM_equipment
			amount = 100
			producer = GER
		}
		add_equipment_to_stockpile = {
			type = SRBM_equipment
			amount = 50
			producer = GER
		}
		add_equipment_to_stockpile = {
			type = ICBM_equipment
			amount = 10
			producer = GER
		}
		custom_effect_tooltip = GGR_new_missile_designs_cost
		country_event = {
			id = goering.military.10
		}
		nuclear_funding_maximal_increase_med = yes
	}
	relative_position_id = GGR_finish_the_SS
	x = 18
	y = 6
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0.25
			has_country_flag = GER_war_plan_A
		}
		modifier = {
			factor = 0.1
			has_country_flag = GER_war_plan_B
			NOT = { has_completed_focus = GGR_full_speed_ahead }
		}
	}
}

shared_focus = {
	id = GGR_safeguard_the_volk
	icon = GFX_focus_generic_reinforce_frontier
	cost = 2
	prerequisite = {
		focus = GGR_new_missile_designs
	}
	prerequisite = {
		focus = GGR_duck_and_cover
	}
	prerequisite = {
		focus = GGR_modernise_the_fuhrerbunker
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_safeguard_the_volk "
		GGR_increase_militarist_loyalty_large = yes
		country_event = {
			id = goering.military.13
			days = 1
		}
	}
	relative_position_id = GGR_finish_the_SS
	x = 16
	y = 7
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0.25
			has_country_flag = GER_war_plan_A
		}
		modifier = {
			factor = 0.1
			has_country_flag = GER_war_plan_B
			NOT = { has_completed_focus = GGR_full_speed_ahead }
		}
	}
}

shared_focus = {
	id = GGR_review_the_fleet
	icon = GFX_focus_GER_can_we_trust_the_kriegsmarine
	cost = 3
	prerequisite = {
		focus = GGR_germanian_triumph
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_review_the_fleet "
		add_political_power = -25
		naval_funding_maximal_increase_low = yes
		naval_funding_minimal_increase_low = yes
		add_dynamic_modifier = { modifier = GGR_kriegsmarine_reforms }
		set_variable = { GGR_kriegsmarine_experience_gain = 0 }
		set_variable = { GGR_kriegsmarine_sortie = 0 }
		set_variable = { GGR_kriegsmarine_air_attack = 0 }
		set_variable = { GGR_kriegsmarine_navy_carrier_air_agility_factor = 0 }
		set_variable = { GGR_kriegsmarine_air_targetting = 0 }
		set_variable = { GGR_kriegsmarine_capital_ship_attack = 0 }
		set_variable = { GGR_kriegsmarine_capital_ship_defence = 0 }
		set_variable = { GGR_kriegsmarine_max_range = 0 }
		set_variable = { GGR_kriegsmarine_hit_chance = 0 }
		set_variable = { GGR_kriegsmarine_screen_defence = 0 }
		set_variable = { GGR_kriegsmarine_ships_at_battle = 0 }
		set_variable = { GGR_kriegsmarine_naval_coordination = 0 }
		set_variable = { GGR_kriegsmarine_production_speed_dockyard_factor = 0 }
	}
	relative_position_id = GGR_finish_the_SS
	x = -10
	y = 3
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0.25
			has_country_flag = GER_war_plan_A
		}
		modifier = {
			factor = 0.1
			has_country_flag = GER_war_plan_B
			NOT = { has_completed_focus = GGR_full_speed_ahead }
		}
	}
}

shared_focus = {
	id = GGR_gut_the_hulks
	icon = GFX_focus_GER_Gut_the_Hulks
	cost = 2
	prerequisite = {
		focus = GGR_review_the_fleet
	}
	mutually_exclusive = {
		focus = GGR_modernise_the_fleet
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_gut_the_hulks "
		add_ideas = GGR_a_reforged_kriegsmarine
	}
	relative_position_id = GGR_review_the_fleet
	x = -4
	y = 1
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0.25
			has_country_flag = GER_war_plan_A
		}
		modifier = {
			factor = 0.1
			has_country_flag = GER_war_plan_B
			NOT = { has_completed_focus = GGR_full_speed_ahead }
		}
	}
}

shared_focus = {
	id = GGR_mass_conversion_to_aircraft_carriers
	icon = GFX_focus_GER_Mass_Conversion
	cost = 2
	prerequisite = {
		focus = GGR_gut_the_hulks
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_mass_conversion_to_aircraft_carriers "
		swap_ideas = {
			remove_idea = GGR_a_reforged_kriegsmarine
			add_idea = GGR_a_reforged_kriegsmarine2
		}
	}
	relative_position_id = GGR_gut_the_hulks
	x = 0
	y = 1
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0.25
			has_country_flag = GER_war_plan_A
		}
		modifier = {
			factor = 0.1
			has_country_flag = GER_war_plan_B
			NOT = { has_completed_focus = GGR_full_speed_ahead }
		}
	}
}

shared_focus = {
	id = GGR_recycle_the_steel
	icon = GFX_focus_generic_modern_construction_equipment_yellow
	cost = 2
	prerequisite = {
		focus = GGR_gut_the_hulks
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_mass_conversion_to_aircraft_carriers "
		add_timed_idea = {
			idea = GGR_recycle_the_steel
			days = 180
		}
	}
	relative_position_id = GGR_gut_the_hulks
	x = 2
	y = 1
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0.25
			has_country_flag = GER_war_plan_A
		}
		modifier = {
			factor = 0.1
			has_country_flag = GER_war_plan_B
			NOT = { has_completed_focus = GGR_full_speed_ahead }
		}
	}
}

shared_focus = {
	id = GGR_revive_plan_z
	icon = GFX_focus_GGR_revive_plan_z
	cost = 2
	prerequisite = {
		focus = GGR_review_the_fleet
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_revive_plan_z "
		navy_experience = 15
		naval_funding_maximal_increase_med = yes
		naval_funding_minimal_increase_med = yes
	}
	relative_position_id = GGR_review_the_fleet
	x = 0
	y = 2
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0.25
			has_country_flag = GER_war_plan_A
		}
		modifier = {
			factor = 0.1
			has_country_flag = GER_war_plan_B
			NOT = { has_completed_focus = GGR_full_speed_ahead }
		}
	}
}

shared_focus = {
	id = GGR_modernise_the_fleet
	icon = GFX_focus_GGR_modernize_the_fleet
	cost = 2
	prerequisite = {
		focus = GGR_review_the_fleet
	}
	mutually_exclusive = {
		focus = GGR_gut_the_hulks
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_modernise_the_fleet "
		add_ideas = GGR_a_refurbished_kriegsmarine
	}
	relative_position_id = GGR_review_the_fleet
	x = 4
	y = 1
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0.25
			has_country_flag = GER_war_plan_A
		}
		modifier = {
			factor = 0.1
			has_country_flag = GER_war_plan_B
			NOT = { has_completed_focus = GGR_full_speed_ahead }
		}
	}
}

shared_focus = {
	id = GGR_no_such_thing_as_obsolete
	icon = GFX_focus_GGR_no_such_thing_as_obsolete
	cost = 2
	prerequisite = {
		focus = GGR_modernise_the_fleet
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_no_such_thing_as_obsolete"
		set_temp_variable = { X = 0.05 }
		custom_effect_tooltip = GGR_capital_ship_attack_increase_X_percent
		add_to_variable = { GGR_kriegsmarine_capital_ship_attack = 0.05 }
		custom_effect_tooltip = GGR_capital_ship_defence_increase_X_percent
		add_to_variable = { GGR_kriegsmarine_capital_ship_defence = 0.05 }
		navy_experience = 25
	}
	relative_position_id = GGR_modernise_the_fleet
	x = 0
	y = 1
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0.25
			has_country_flag = GER_war_plan_A
		}
		modifier = {
			factor = 0.1
			has_country_flag = GER_war_plan_B
			NOT = { has_completed_focus = GGR_full_speed_ahead }
		}
	}
}

shared_focus = {
	id = GGR_atlantic_veterans
	icon = GFX_focus_GER_Atlantic_Veterans
	cost = 2
	prerequisite = {
		focus = GGR_modernise_the_fleet
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_atlantic_veterans"
		set_temp_variable = { X = 0.1 }
		custom_effect_tooltip = GGR_naval_experience_gain_increase_X_percent
		add_to_variable = { GGR_kriegsmarine_experience_gain = 0.1 }
	}
	relative_position_id = GGR_modernise_the_fleet
	x = -2
	y = 1
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0.25
			has_country_flag = GER_war_plan_A
		}
		modifier = {
			factor = 0.1
			has_country_flag = GER_war_plan_B
			NOT = { has_completed_focus = GGR_full_speed_ahead }
		}
	}
}

shared_focus = {
	id = GGR_challenge_the_USN_and_the_IJN
	icon = GFX_focus_GGR_challange_the_USN_and_the_IJN
	cost = 2
	prerequisite = {
		focus = GGR_revive_plan_z
	}
	prerequisite = {
		focus = GGR_no_such_thing_as_obsolete
		focus = GGR_mass_conversion_to_aircraft_carriers
	}
	prerequisite = {
		focus = GGR_recycle_the_steel
		focus = GGR_atlantic_veterans
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_challenge_the_USN_and_the_IJN "
		58 = {
			add_building_construction = {
				type = dockyard
				level = 5
				instant_build = yes
			}
			add_extra_state_shared_building_slots = 5
		}
		naval_funding_maximal_increase_high = yes
		naval_funding_minimal_increase_high = yes
	}
	relative_position_id = GGR_revive_plan_z
	x = 0
	y = 1
	ai_will_do = {
		factor = 1
	}
}

shared_focus = {
	id = GGR_match_them
	icon = GFX_focus_GGR_match_them
	cost = 2
	prerequisite = {
		focus = GGR_challenge_the_USN_and_the_IJN
	}
	bypass = {
		NOT = {
			country_exists = USA
			country_exists = JAP
		}
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_match_them "
		add_timed_idea = {
			idea = GGR_match_them
			days = 200
		}
		set_variable = {
			var = GGR_ship_count
			value = num_ships
		}
		set_variable = {
			var = GGR_USA_ship_count
			value = USA.num_ships
		}
		set_variable = {
			var = GGR_JAP_ship_count
			value = JAP.num_ships
		}
		set_temp_variable = {
			var = GGR_USA_ship_temp
			value = USA.num_ships
		}
		multiply_temp_variable = {
			var = GGR_USA_ship_temp
			value = 0.75
		}
		set_temp_variable = {
			var = GGR_JAP_ship_temp
			value = JAP.num_ships
		}
		multiply_temp_variable = {
			var = GGR_JAP_ship_temp
			value = 0.75
		}
		set_variable = {
			var = GGR_USA_ship_target
			value = GGR_USA_ship_temp
		}
		set_variable = {
			var = GGR_JAP_ship_target
			value = GGR_JAP_ship_temp
		}
		if = {
			limit = {
				check_variable = {
					var = GGR_USA_ship_target
					value = GGR_JAP_ship_target
					compare = greater_than_or_equals
				}
			}
			set_variable = {
				var = GGR_ship_target
				value = GGR_JAP_ship_target
			}
		}
		if = {
			limit = {
				check_variable = {
					var = GGR_USA_ship_target
					value = GGR_JAP_ship_target
					compare = less_than
				}
			}
			set_variable = {
				var = GGR_ship_target
				value = GGR_USA_ship_target
			}
		}
		set_country_flag = GGR_kriegsmarine_development
	}
	relative_position_id = GGR_challenge_the_USN_and_the_IJN
	x = -1
	y = 1
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0.25
			has_country_flag = GER_war_plan_A
		}
		modifier = {
			factor = 0.1
			has_country_flag = GER_war_plan_B
			NOT = { has_completed_focus = GGR_full_speed_ahead }
		}
	}
}

shared_focus = {
	id = GGR_carrier_for_carrier
	icon = GFX_focus_generic_carrier_warfare
	cost = 2
	prerequisite = {
		focus = GGR_match_them
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_carrier_for_carrier "
		add_tech_bonus = {
			bonus = 0.5
			uses = 1
			category = cv_tech
		}
		add_timed_idea = {
			idea = GGR_carrier_for_carrier
			days = 180
		}
	}
	relative_position_id = GGR_match_them
	x = -4
	y = 1
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0.25
			has_country_flag = GER_war_plan_A
		}
		modifier = {
			factor = 0.1
			has_country_flag = GER_war_plan_B
			NOT = { has_completed_focus = GGR_full_speed_ahead }
		}
	}
}

shared_focus = {
	id = GGR_battleship_for_battleship
	icon = GFX_focus_generic_battleship
	cost = 2
	prerequisite = {
		focus = GGR_match_them
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_battleship_for_battleship "
		add_tech_bonus = {
			bonus = 0.5
			uses = 1
			category = bb_tech
		}
		add_timed_idea = {
			idea = GGR_battleship_for_battleship
			days = 180
		}
	}
	relative_position_id = GGR_match_them
	x = -2
	y = 1
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0.25
			has_country_flag = GER_war_plan_A
		}
		modifier = {
			factor = 0.1
			has_country_flag = GER_war_plan_B
			NOT = { has_completed_focus = GGR_full_speed_ahead }
		}
	}
}

shared_focus = {
	id = GGR_cruiser_for_cruiser
	icon = GFX_focus_GER_cruiser_for_cruiser
	cost = 2
	prerequisite = {
		focus = GGR_match_them
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_cruiser_for_cruiser "
		add_tech_bonus = {
			bonus = 0.5
			uses = 1
			category = cl_tech
		}
		add_timed_idea = {
			idea = GGR_cruiser_for_cruiser
			days = 180
		}
	}
	relative_position_id = GGR_match_them
	x = 0
	y = 1
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0.25
			has_country_flag = GER_war_plan_A
		}
		modifier = {
			factor = 0.1
			has_country_flag = GER_war_plan_B
			NOT = { has_completed_focus = GGR_full_speed_ahead }
		}
	}
}

shared_focus = {
	id = GGR_the_german_armada
	icon = GFX_focus_GER_fleet_pride
	cost = 2
	prerequisite = {
		focus = GGR_cruiser_for_cruiser
	}
	prerequisite = {
		focus = GGR_battleship_for_battleship
	}
	prerequisite = {
		focus = GGR_carrier_for_carrier
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_the_german_armada "
		add_doctrine_cost_reduction = {
		    name = naval_doc_bonus
		    cost_reduction = 0.5
		    uses = 2
		    category = naval_doctrine
		}
        add_timed_idea = {
			idea = GGR_the_german_armada
			days = 365
		}
	}
	relative_position_id = GGR_cruiser_for_cruiser
	x = 0
	y = 1
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0.25
			has_country_flag = GER_war_plan_A
		}
		modifier = {
			factor = 0.1
			has_country_flag = GER_war_plan_B
			NOT = { has_completed_focus = GGR_full_speed_ahead }
		}
	}
}

shared_focus = {
	id = GGR_the_ringhorn_doctrine
	icon = GFX_focus_GER_The_Ringhorn_Doctrine
	cost = 2
	prerequisite = {
		focus = GGR_challenge_the_USN_and_the_IJN
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_the_ringhorn_doctrine"
		if = {
		    limit = {
			    GGR_england_conquered = yes
			}
			country_event = {
			    id = goering.military.12
			    days = 1
		    }
		}	

		set_variable = {
			var = GGR_ship_count_carrier
			value = num_ships_with_type@carrier
		}
		set_variable = {
			var = GGR_ship_count_battleship
			value = num_ships_with_type@battleship
		}

		set_variable = {
			var = GGR_USA_ship_count_cruiser
			value = USA.num_ships_with_type@cruiser
		}
		set_variable = {
			var = GGR_JAP_ship_count_cruiser
			value = JAP.num_ships_with_type@cruiser
		}
		set_temp_variable = {
			var = GGR_USA_ship_cruiser_temp
			value = USA.num_ships_with_type@cruiser
		}
		multiply_temp_variable = {
			var = GGR_USA_ship_cruiser_temp
			value = 0.70
		}
		set_temp_variable = {
			var = GGR_JAP_ship_cruiser_temp
			value = JAP.num_ships_with_type@cruiser
		}
		multiply_temp_variable = {
			var = GGR_JAP_ship_cruiser_temp
			value = 0.70
		}
		set_variable = {
			var = GGR_USA_cruiser_target
			value = GGR_USA_ship_cruiser_temp
		}
		set_variable = {
			var = GGR_JAP_cruiser_target
			value = GGR_JAP_ship_cruiser_temp
		}
		if = {
			limit = {
				check_variable = {
					var = GGR_USA_cruiser_target
					value = GGR_JAP_cruiser_target
					compare = greater_than_or_equals
				}
			}
			set_variable = {
				var = GGR_cruiser_target
				value = GGR_JAP_cruiser_target
			}
		}
		if = {
			limit = {
				check_variable = {
					var = GGR_USA_cruiser_target
					value = GGR_JAP_cruiser_target
					compare = less_than
				}
			}
			set_variable = {
				var = GGR_cruiser_target
				value = GGR_USA_cruiser_target
			}
		}
		56 = {
			add_building_construction = {
				type = naval_base
				level = 5
				instant_build = yes
				province = 11360
			}
		}

		744 = {
			add_building_construction = {
				type = naval_base
				level = 5
				instant_build = yes
				province = 6361
			}
		}
		775 = {
			add_building_construction = {
				type = naval_base
				level = 5
				instant_build = yes
				province = 9347
			}
		}
		set_country_flag = GGR_kriegsmarine_development
	}
	relative_position_id = GGR_challenge_the_USN_and_the_IJN
	x = 1
	y = 1
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0.25
			has_country_flag = GER_war_plan_A
		}
		modifier = {
			factor = 0.1
			has_country_flag = GER_war_plan_B
			NOT = { has_completed_focus = GGR_full_speed_ahead }
		}
	}
}

shared_focus = {
	id = GGR_supercarriers
	icon = GFX_focus_GER_Super_Carriers
	cost = 2
	prerequisite = {
		focus = GGR_the_ringhorn_doctrine
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_supercarriers"
		set_temp_variable = { X = 0.2 }
		custom_effect_tooltip = GGR_sortie_effeciency_increase_X_percent
		add_to_variable = { GGR_kriegsmarine_sortie = 0.2 }
		set_temp_variable = { X = 0.05 }
		custom_effect_tooltip = GGR_naval_air_attack_increase_X_percent
		add_to_variable = { GGR_kriegsmarine_air_attack = 0.05 }
		custom_effect_tooltip = GGR_naval_air_targetting_increase_X_percent
		add_to_variable = { GGR_kriegsmarine_air_targetting = 0.05 }
	}
	relative_position_id = GGR_the_ringhorn_doctrine
	x = 0
	y = 1
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0.25
			has_country_flag = GER_war_plan_A
		}
		modifier = {
			factor = 0.1
			has_country_flag = GER_war_plan_B
			NOT = { has_completed_focus = GGR_full_speed_ahead }
		}
	}
}

shared_focus = {
	id = GGR_superheavy_battleships
	icon = GFX_focus_GER_Super_Heavy_Battleships
	cost = 2
	prerequisite = {
		focus = GGR_the_ringhorn_doctrine
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_superheavy_battleships"
		set_temp_variable = { X = 0.25 }
		custom_effect_tooltip = GGR_capital_ship_attack_increase_X_percent
		add_to_variable = { GGR_kriegsmarine_capital_ship_attack = 0.25 }
	}
	relative_position_id = GGR_the_ringhorn_doctrine
	x = 2
	y = 1
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0.25
			has_country_flag = GER_war_plan_A
		}
		modifier = {
			factor = 0.1
			has_country_flag = GER_war_plan_B
			NOT = { has_completed_focus = GGR_full_speed_ahead }
		}
	}
}

shared_focus = {
	id = GGR_their_battleships_are_our_cruisers
	icon = GFX_focus_GER_Their_Battleships_Are_Our_Cruisers
	cost = 2
	prerequisite = {
		focus = GGR_the_ringhorn_doctrine
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_their_battleships_are_our_cruisers "
		set_temp_variable = { X = 0.1 }
		custom_effect_tooltip = GGR_max_range_increase_X_percent
		add_to_variable = { GGR_kriegsmarine_max_range = 0.1 }
		custom_effect_tooltip = GGR_naval_hit_chance_increase_X_percent
		add_to_variable = { GGR_kriegsmarine_hit_chance = 0.1 }
		set_temp_variable = { X = 0.05 }
		custom_effect_tooltip = GGR_screen_defence_increase_X_percent
		add_to_variable = { GGR_kriegsmarine_screen_defence = 0.05 }
	}
	relative_position_id = GGR_the_ringhorn_doctrine
	x = 4
	y = 1
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0.25
			has_country_flag = GER_war_plan_A
		}
		modifier = {
			factor = 0.1
			has_country_flag = GER_war_plan_B
			NOT = { has_completed_focus = GGR_full_speed_ahead }
		}
	}
}

shared_focus = {
	id = GGR_German_leviathans
	icon = GFX_focus_GER_german_leviathans
	cost = 2
	prerequisite = {
		focus = GGR_their_battleships_are_our_cruisers
	}
	prerequisite = {
		focus = GGR_superheavy_battleships
	}
	prerequisite = {
		focus = GGR_supercarriers
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: focus GGR_German_leviathans "
		set_temp_variable = { X = 0.3 }
		custom_effect_tooltip = GGR_ships_at_battle_increase_X_percent
		add_to_variable = { GGR_kriegsmarine_ships_at_battle = 0.3 }
		set_temp_variable = { X = 0.05 }
		custom_effect_tooltip = GGR_screen_defence_increase_X_percent
		add_to_variable = { GGR_kriegsmarine_screen_defence = 0.05 }
		custom_effect_tooltip = GGR_capital_ship_defence_increase_X_percent
		add_to_variable = { GGR_kriegsmarine_capital_ship_defence = 0.05 }
	}
	relative_position_id = GGR_supercarriers
	x = 0
	y = 1
	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0.25
			has_country_flag = GER_war_plan_A
		}
		modifier = {
			factor = 0.1
			has_country_flag = GER_war_plan_B
			NOT = { has_completed_focus = GGR_full_speed_ahead }
		}
	}
}

##############################################################################

# SCIENCE TREE

##############################################################################

shared_focus = {
	id = GER_GOR_a_new_age_of_science
	icon = GFX_focus_GGR_a_new_age_of_science
	cost = 2
	x = -43
	y = 0
	allow_branch = {
		has_country_flag = GER_science_tree
	}
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_a_new_age_of_science"
		add_political_power = 100
		hidden_effect = {
			every_country = {
				news_event = WORLD_REICH.303
			}
		}
	}
}

shared_focus = {
	id = GER_GOR_founding_the_GGRCSI
	icon = GFX_focus_GER_social_engineering
	cost = 2
	prerequisite = {
		focus = GER_GOR_a_new_age_of_science
	}
	relative_position_id = GER_GOR_a_new_age_of_science
	x = -2
	y = 1
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_founding_the_GGRCSI"
		add_political_power = 50
		TNO_improve_research_facilities_low = yes
		country_event = {
			id = goering.science.1
			days = 3
		}
	}
}
shared_focus = {
	id = GER_GOR_purge_the_academia
	icon = GFX_focus_generic_cross_examination
	cost = 2
	prerequisite = {
		focus = GER_GOR_a_new_age_of_science
	}
	relative_position_id = GER_GOR_a_new_age_of_science
	x = 2
	y = 1
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_greater_projects_ahead"
		custom_effect_tooltip = GER_Bit_of_purgin
		add_timed_idea = {
			idea = GGR_science_purges
			days = 180
		}
	}
}
shared_focus = {
	id = GER_GOR_lets_get_down_to_work
	icon =  GFX_focus_generic_academic_investment
	cost = 4
	prerequisite = {
		focus = GER_GOR_purge_the_academia
	}
	prerequisite = {
		focus = GER_GOR_founding_the_GGRCSI
	}
	relative_position_id = GER_GOR_a_new_age_of_science
	x = 0
	y = 2
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_greater_projects_ahead"
		custom_effect_tooltip = GER_Time_for_science
		unlock_decision_category_tooltip = GGR_wunderwaffe_projects

		set_variable = { GGRCSI_spending = 100 }
		add_to_variable = { GGR_GGRCSI_misc_costs = 0.100 }
		set_variable = { GGRCSI_corruption = 0.1 }
		set_variable = { GGRCSI_public_concern = 0 }
		add_dynamic_modifier = { modifier = GGR_GGRCSI_economy }
		set_variable = { nuclear_maintenance = 1 }
	}
}

shared_focus = {
	id = GER_GOR_Militarwissenschaft
	icon = GFX_focus_GER_wunderwaffe
	cost = 3
	prerequisite = {
		focus = GER_GOR_lets_get_down_to_work
	}
	select_effect = {
		set_variable = { heer_centralisation = 0.3 }
		if = {
			limit = {
				has_country_flag = Picked_tank
			}
			add_to_variable = { heer_centralisation = 0.2 }
		}
		set_variable = { kriegsmarine_centralisation = 0.1 }
		set_country_flag = GGR_convincing_the_military
	}
	relative_position_id = GER_GOR_a_new_age_of_science
	x = 5
	y = 3
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_Militarwissenschaft"
		custom_effect_tooltip = GER_GOR_Militarwissenschaft_tooltip
		country_event = {
			id = goering.science.4
		}
		research_funding_maximal_increase_low = yes
		TNO_improve_research_facilities_low = yes
		clr_country_flag = GGR_convincing_the_military
	}
}

shared_focus = {
	id = GER_GOR_weapons_of_the_fourth_weltkrieg
	icon = GFX_focus_generic_bombs
	cost = 2
	prerequisite = {
		focus = GER_GOR_Militarwissenschaft
	}
	relative_position_id = GER_GOR_a_new_age_of_science
	x = 3
	y = 4
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_weapons_of_the_fourth_weltkrieg"
		custom_effect_tooltip = GER_GOR_weapons_of_the_fourth_weltkrieg_tooltip

		activate_mission = GGRCSI_adapting_the_infantry
		set_variable = { current_equipment = num_equipment@infantry_equipment }
		add_to_variable = { current_equipment = 30000 }

		country_event = { id = goering.science.10 }
	}
}
shared_focus = {
	id = GER_GOR_away_with_feltgrau
	icon = GFX_focus_GER_away_with_the_feldgrau
	cost = 2
	prerequisite = {
		focus = GER_GOR_weapons_of_the_fourth_weltkrieg
	}
	relative_position_id = GER_GOR_a_new_age_of_science
	x = 2
	y = 5
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_away_with_feltgrau"
		country_event = { id = goering.science.3 }
	}
}
shared_focus = {
	id = GER_GOR_guns_of_the_future
	icon = GFX_focus_GER_guns_for_the_future
	cost = 2
	prerequisite = {
		focus = GER_GOR_weapons_of_the_fourth_weltkrieg
	}
	relative_position_id = GER_GOR_a_new_age_of_science
	x = 4
	y = 5
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_guns_of_the_future"
		if = {
			limit = {
				has_country_flag = army_conference_big
			}
			add_tech_bonus = {
				bonus = 0.30
				uses = 3
				category = MBT
			}

			add_tech_bonus = {
				bonus = 0.70
				uses = 1
				category = infantry_weapons
			}
		}
		else_if = {
			limit = {
				has_country_flag = army_conference_big_medium
			}
			add_tech_bonus = {
				bonus = 0.30
				uses = 1
				category = MBT
			}

			add_tech_bonus = {
				bonus = 0.70
				uses = 1
				category = infantry_weapons
			}
		}
		else = {
			add_tech_bonus = {
				bonus = 0.30
				uses = 1
				category = MBT
			}

			add_tech_bonus = {
				bonus = 0.70
				uses = 1
				category = infantry_weapons
			}
		}
	}
}
shared_focus = {
	id = GER_GOR_redevelop_the_arsenal
	icon = GFX_focus_GER_military_garbage
	cost = 2
	prerequisite = {
		focus = GER_GOR_away_with_feltgrau
	}
	prerequisite = {
		focus = GER_GOR_guns_of_the_future
	}
	relative_position_id = GER_GOR_a_new_age_of_science
	x = 3
	y = 6
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_redevelop_the_arsenal"
		country_event = { id = goering.science.9 }
	}
}
shared_focus = {
	id = GER_GOR_flying_machines
	icon = GFX_focus_COG_helicopter_combat
	cost = 2
	prerequisite = {
		focus = GER_GOR_redevelop_the_arsenal
	}
	relative_position_id = GER_GOR_a_new_age_of_science
	x = 3
	y = 7
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_flying_machines"
		add_to_variable = { GGRCSI_spending = 20 }
		custom_effect_tooltip = GGRCSI_spending_increase_20
		add_to_variable = { GGR_GGRCSI_misc_costs = 0.020 }
		add_equipment_to_stockpile = {
			type = attack_helicopter_equipment_1 
			amount = 200
			producer = GER
		}
	}
}
shared_focus = {
	id = GER_GOR_a_new_tool_for_the_infantry
	icon = GFX_focus_generic_helicopter_2
	cost = 2
	prerequisite = {
		focus = GER_GOR_flying_machines
	}
	relative_position_id = GER_GOR_a_new_age_of_science
	x = 3
	y = 8
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_a_new_tool_for_the_infantry"
		#unlock_decision_tooltip = GGRCSI_declare_the_helicopter_fleet
		unlock_decision_tooltip = GGRCSI_new_helicopter_doctrine
		unlock_decision_tooltip = GGRCSI_draft_germans_into_the_luftwaffe
		add_tech_bonus = {
			bonus = 1
			uses = 1
			category = air_assault_tech
		}
	}
}
shared_focus = {
	id = GER_GOR_to_carry
	icon = GFX_focus_BOR_Schwarze_Adler
	cost = 2
	prerequisite = {
		focus = GER_GOR_a_new_tool_for_the_infantry
	}
	relative_position_id = GER_GOR_a_new_age_of_science
	x = 2
	y = 9
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_to_carry"
		add_ideas = GGR_truck_of_new_era
		add_tech_bonus = {
			bonus = 1.0
			uses = 1
			category = helicopter_support
		}
		add_to_variable = { GGR_GGRCSI_misc_costs = 0.010 }
		custom_effect_tooltip = GGRCSI_spending_increase_10
		add_to_variable = { GGRCSI_spending = 10 }
	}
}
shared_focus = {
	id = GER_GOR_to_fight
	icon = GFX_focus_generic_helicopter_3
	cost = 2
	prerequisite = {
		focus = GER_GOR_a_new_tool_for_the_infantry
	}
	relative_position_id = GER_GOR_a_new_age_of_science
	x = 4
	y = 9
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_to_fight"
		add_tech_bonus = {
			bonus = 1.0
			uses = 1
			category = helicopter_support
		}
		add_to_variable = { GGR_GGRCSI_misc_costs = 0.070 }
		add_to_variable = { GGRCSI_spending = 70 }
		custom_effect_tooltip = GGRCSI_spending_increase_70
	}
}
shared_focus = {
	id = GER_GOR_bigger_better_stronger
	icon = GFX_focus_GER_honor_the_war
	cost = 3
	prerequisite = {
		focus = GER_GOR_Militarwissenschaft
	}
	relative_position_id = GER_GOR_a_new_age_of_science
	x = 7
	y = 4
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_bigger_better_stronger"
		country_event = { id = goering.liger.1 }
		add_to_variable = { GGR_GGRCSI_misc_costs = 0.070 }
		add_to_variable = { GGRCSI_spending = 70 }
		custom_effect_tooltip = GGRCSI_spending_increase_70
	}
}
shared_focus = {
	id = GER_GOR_the_engine
	icon = GFX_focus_GER_liger_engine
	cost = 2
	prerequisite = {
		focus = GER_GOR_bigger_better_stronger
	}
	relative_position_id = GER_GOR_a_new_age_of_science
	x = 7
	y = 5
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_the_engine"
		country_event = goering.liger.2
	}
}
shared_focus = {
	id = GER_GOR_the_armor
	icon = GFX_focus_GER_liger_armor
	cost = 2
	prerequisite = {
		focus = GER_GOR_the_engine
	}
	relative_position_id = GER_GOR_a_new_age_of_science
	x = 7
	y = 6
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_the_armor"
		country_event = goering.liger.3

	}
}
shared_focus = {
	id = GER_GOR_the_gun
	icon = GFX_focus_GER_liger_gun
	cost = 2
	prerequisite = {
		focus = GER_GOR_the_armor
	}
	relative_position_id = GER_GOR_a_new_age_of_science
	x = 7
	y = 7
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_the_gun"
		country_event = goering.liger.4
		country_event = { id = goering.liger.5 days = 3 }

	}
}
shared_focus = {
	id = GER_GOR_are_we_missing_something
	icon = GFX_focus_GER_foregotten_problems
	cost = 0.2
	prerequisite = {
		focus = GER_GOR_the_gun
	}
	relative_position_id = GER_GOR_a_new_age_of_science
	x = 7
	y = 8
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_are_we_missing_something"
		if = {
			limit = {
				has_completed_focus = GER_GOR_the_gun
			}
			custom_effect_tooltip = GER_GOR_are_we_missing_something_tooltip2
			add_political_power = 30
		}
		else = {
			custom_effect_tooltip = GER_GOR_are_we_missing_something_tooltip
		}
	}
}
shared_focus = {
	id = GER_GOR_das_liger
	icon = GFX_focus_GER_das_liger
	cost = 2
	prerequisite = {
		focus = GER_GOR_are_we_missing_something
	}
	relative_position_id = GER_GOR_a_new_age_of_science
	x = 7
	y = 9
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_das_liger"
		country_event = goering.liger.6
		if = {
			limit = {
				has_country_flag = GGRCSI_get_remer_on_board
			}
			GGR_decrease_militarist_hawkishness = yes
			clr_country_flag = GGRCSI_get_remer_on_board
		}
		if = {
			limit = {
				has_country_flag = GGRCSI_change_some_names
			}
			GGRCSI_decrease_military_power = yes
			clr_country_flag = GGRCSI_change_some_names
		}
		if = {
			limit = {
				has_country_flag = GGRCSI_get_speidel_involved
			}
			GGR_decrease_militarist_hawkishness_large = yes
			GGR_decrease_militarist_power_large = yes
			clr_country_flag = GGRCSI_get_speidel_involved
		}
	}
}
shared_focus = {
	id = GER_GOR_Volkswissenschaft
	icon = GFX_focus_GER_industrial_revitalization
	cost = 2
	prerequisite = {
		focus = GER_GOR_lets_get_down_to_work
	}
	relative_position_id = GER_GOR_a_new_age_of_science
	x = -5
	y = 3
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_Volkswissenschaft"
		research_funding_maximal_increase_low = yes
		TNO_improve_research_facilities_low = yes

		add_political_power = 50

		country_event = {
			id = goering.science.2
			days = 3
		}
		set_temp_variable = { temp_econ_spending_amount = 1 }
		econ_spend_money_once_effect_raw_money = yes 
	}
}
shared_focus = {
	id = GER_GOR_the_power_of_the_atom
	icon = GFX_focus_GER_Nuclear_Reactor_Plans
	cost = 3
	prerequisite = {
		focus = GER_GOR_Volkswissenschaft
	}
	relative_position_id = GER_GOR_a_new_age_of_science
	x = -3
	y = 4
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_the_power_of_the_atom"
		custom_effect_tooltip = GER_power_of_the_atom
		
	    add_to_variable = { nuclear_maintenance = 70 }
		GGRCSI_calculate_total_nuclear_reactors = yes
		add_to_variable = {
			nuclear_stockpile_change = 30
		}
	}
}
shared_focus = {
	id = GER_GOR_infrastructure_planning
	icon = GFX_focus_KOM_infrastructure_repair_act
	cost = 3
	prerequisite = {
		focus = GER_GOR_the_power_of_the_atom
	}
	relative_position_id = GER_GOR_a_new_age_of_science
	x = -4
	y = 5
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_infrastructure_planning"
		custom_effect_tooltip = GER_Improved_Indus
		
		TNO_improve_industrial_equipment_low = yes
		add_tech_bonus = {
			bonus = 1
			uses = 1
			category = industry
		}
		random_owned_controlled_state = {
			add_building_construction = {
				type = enrichment_plant
				level = 1
				instant_build = yes
			}
			add_building_construction = {
				type = nuclear_reactor
				level = 1
				instant_build = yes
			}
		}
		random_owned_controlled_state = {
			add_building_construction = {
				type = enrichment_plant
				level = 1
				instant_build = yes
			}
			add_building_construction = {
				type = nuclear_reactor
				level = 1
				instant_build = yes
			}
		}
		random_owned_controlled_state = {
			add_building_construction = {
				type = enrichment_plant
				level = 1
				instant_build = yes
			}
			add_building_construction = {
				type = nuclear_reactor
				level = 1
				instant_build = yes
			}
		}
		random_owned_controlled_state = {
			add_building_construction = {
				type = enrichment_plant
				level = 1
				instant_build = yes
			}
			add_building_construction = {
				type = nuclear_reactor
				level = 1
				instant_build = yes
			}
		}
	}
}
shared_focus = {
	id = GER_GOR_electronics_research
	icon = GFX_focus_GER_invest_in_the_future
	cost = 3
	prerequisite = {
		focus = GER_GOR_the_power_of_the_atom
	}
	relative_position_id = GER_GOR_a_new_age_of_science
	x = -2
	y = 5
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_electronics_research"
		custom_effect_tooltip = GER_Improved_Elec
		
		TNO_improve_research_facilities_low = yes
		add_tech_bonus = {
			bonus = 1
			uses = 1
			category = electronics
		}
		random_owned_controlled_state = {
			add_building_construction = {
				type = thermoelectric_plant
				level = 1
				instant_build = yes
			}
		}
		random_owned_controlled_state = {
			add_building_construction = {
				type = thermoelectric_plant
				level = 1
				instant_build = yes
			}
		}
		random_owned_controlled_state = {
			add_building_construction = {
				type = thermoelectric_plant
				level = 1
				instant_build = yes
			}
		}
		random_owned_controlled_state = {
			add_building_construction = {
				type = thermoelectric_plant
				level = 1
				instant_build = yes
			}
		}
	}
}
shared_focus = {
	id = GER_GOR_atomic_planning
	icon = GFX_focus_GER_academia_generic
	cost = 3
	prerequisite = {
		focus = GER_GOR_infrastructure_planning
	}
	prerequisite = {
		focus = GER_GOR_electronics_research
	}
	relative_position_id = GER_GOR_a_new_age_of_science
	x = -3
	y = 6
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_atomic_planning"
		add_ideas = GGR_Computer_assisted_shit
		nuclear_funding_maximal_increase_med = yes
	}
}
shared_focus = {
	id = GER_GOR_make_them_grow_like_mushrooms
	icon = GFX_focus_generic_nuclear_power
	cost = 4
	prerequisite = {
		focus = GER_GOR_atomic_planning
	}
	relative_position_id = GER_GOR_a_new_age_of_science
	x = -3
	y = 7
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_make_them_grow_like_mushrooms"
		custom_effect_tooltip = GER_Power_Of_The_Future
		
		GGRCSI_increase_public_concern = yes

	}
}
shared_focus = {
	id = GER_GOR_biology_in_application
	icon = GFX_focus_GER_were_all_german
	cost = 4
	prerequisite = {
		focus = GER_GOR_Volkswissenschaft
	}
	relative_position_id = GER_GOR_a_new_age_of_science
	x = -7
	y = 4
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_biology_in_application"
		add_to_variable = { GGRCSI_spending = 50 }
		custom_effect_tooltip = GGRCSI_spending_increase_50
		add_to_variable = { GGR_GGRCSI_misc_costs = 0.050 }
		add_timed_idea = { idea = GER_GOR_biology_in_application_misc_costs days = 90 }
		add_ideas = GGR_GMO
		TNO_improve_agriculture_low = yes #coded with a script
	}
}
shared_focus = {
	id = GER_GOR_for_the_plants
	icon = GFX_focus_generic_plantations_beckon
	cost = 4
	prerequisite = {
		focus = GER_GOR_biology_in_application
	}
	relative_position_id = GER_GOR_a_new_age_of_science
	x = -8
	y = 5
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_for_the_plants"
		add_to_variable = { GGRCSI_spending = 10 }
		custom_effect_tooltip = GGRCSI_spending_increase_10
		add_to_variable = { GGR_GGRCSI_misc_costs = 0.010 }
		TNO_improve_agriculture_low = yes #coded with a script
		swap_ideas = {
			remove_idea = GGR_GMO
			add_idea = GGR_GMO_2
		}
	}
}
shared_focus = {
	id = GER_GOR_and_the_troops
	icon = GFX_focus_GER_experimenting_on_soldiers
	cost = 4
	prerequisite = {
		focus = GER_GOR_biology_in_application
	}
	relative_position_id = GER_GOR_a_new_age_of_science
	x = -6
	y = 5
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_and_the_troops"
		add_to_variable = { GGRCSI_spending = 10 }
		custom_effect_tooltip = GGRCSI_spending_increase_10
		add_to_variable = { GGR_GGRCSI_misc_costs = 0.010 }
		country_event = {
			id = goering.science.11
			days = 3
		}
	}
}
shared_focus = {
	id = GER_GOR_what_about_the_water
	icon = GFX_focus_generic_chemical_program
	cost = 1
	prerequisite = {
		focus = GER_GOR_for_the_plants
	}
	prerequisite = {
		focus = GER_GOR_and_the_troops
	}
	relative_position_id = GER_GOR_a_new_age_of_science
	x = -7
	y = 6
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_what_about_the_water"
		add_to_variable = { GGRCSI_spending = 20 }
		custom_effect_tooltip = GGRCSI_spending_increase_20
		add_to_variable = { GGR_GGRCSI_misc_costs = 0.020 }
		country_event = {
			id = goering.science.13
		}
	}
}
shared_focus = {
	id = GER_GOR_perfection
	icon = GFX_focus_GER_aryan_supremacy
	cost = 5
	prerequisite = {
		focus = GER_GOR_what_about_the_water
	}
	relative_position_id = GER_GOR_a_new_age_of_science
	x = -7
	y = 7
	completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_perfection"
		if = {
			limit = {
				has_country_flag = GGR_water_pacify_RK
			}
			custom_effect_tooltip = GGRCSI_perfection_pacify_tooltip
		}
		else = {
			custom_effect_tooltip = GGRCSI_perfection_water_tooltip
			hidden_effect = {
				set_temp_variable = { loops = 0 }
				while_loop_effect = {
					limit = {
						check_variable = { pipes_built > loops }
					}
					GGRCSI_decrease_military_power = yes
					add_to_temp_variable = { loops = 1 }
				}
			}
		}
	}
}
#shared_focus = {
#	id = GER_GOR_greater_projects_ahead
#	icon = GFX_focus_focus_State_Controlled_Science
#	cost = 1
#	prerequisite = {
#		focus = GER_GOR_make_them_grow_like_mushrooms
#	}
#	prerequisite = {
#		focus = GER_GOR_redevelop_the_arsenal
#	}
#	relative_position_id = GER_GOR_a_new_age_of_science
#	x = 1
#	y = 9
#	completion_reward = {
#		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_greater_projects_ahead"
#	}
#}
#shared_focus = {
#	id = GER_GOR_master_of_death
#	icon = GFX_focus_SKN_The_Nuclear_Option
#	cost = 1
#	prerequisite = {
#		focus = GER_GOR_greater_projects_ahead
#	}
#	relative_position_id = GER_GOR_a_new_age_of_science
#	x = -1
#	y = 10
#	completion_reward = {
#		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_master_of_death"
#		country_event = { id = goering.sungun.1 }
#	}
#}
#shared_focus = {
#	id = GER_GOR_master_of_light
#	icon = GFX_focus_GER_masters_of_light
#	cost = 1
#	prerequisite = {
#		focus = GER_GOR_greater_projects_ahead
#	}
#	relative_position_id = GER_GOR_a_new_age_of_science
#	x = 3
#	y = 10
#	completion_reward = {
#		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_master_of_light"
#		country_event = {
#			id = goering.346
#		}
#	}
#}
#shared_focus = {
#	id = GER_GOR_the_sun_gun
#	icon = GFX_focus_GER_sun_gun
#	cost = 2
#	allow_branch = {
#		always = no
#	}
#	prerequisite = {
#		focus = GER_GOR_lets_get_down_to_work
#	}
#	prerequisite = {
#		focus = GER_GOR_make_them_grow_like_mushrooms
#	}
#	prerequisite = {
#		focus = GER_GOR_redevelop_the_arsenal
#	}
#	relative_position_id = GER_GOR_a_new_age_of_science
#	x = 0
#	y = 8
#	completion_reward = {
#		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_the_sun_gun"
#		country_event = {
#			id = goering.sungun.2
#		}
#	}
#}
#shared_focus = {
#	id = GER_GOR_Sonnengewehr_directive
#	icon = GFX_focus_GER_end_the_wunderwaffe
#	cost = 1
#	prerequisite = {
#		focus = GER_GOR_the_sun_gun
#	}
#	allow_branch = {
#		has_country_flag = GER_science_tree
#		has_country_flag = GER_an_angry_visit
#	}
#	relative_position_id = GER_GOR_a_new_age_of_science
#	x = 1
#	y = 12
#	completion_reward = {
#		log = "[GetDateText]: [Root.GetName]: Focus GER_GOR_fuhrer_directive_Sonnengewehr"
#		custom_effect_tooltip = GER_GOR_an_angry_visit
#		hidden_effect = {
#			country_event = {
#				id = goering.345
#				days = 2
#			}
#		}
#	}
#}
