### Göring War Plan AI - By PresidentStorm and RuSKaz ###
GGR_idle = {
	allowed = {
		tag = GER
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
	}
	abort_when_not_enabled = yes

	ai_strategy = {
		type = garrison
		value = -100000
	}

	ai_strategy = {
		type = asking_foreign_garrison
		value = 100000
	}
}

GGR_not_goring_invade_shit = {
	allowed = { always = yes }
	enable = {
		has_global_flag = german_civil_war_goeringvic
		is_in_faction_with = GER
		NOT = {
			tag = GER
			is_subject_of = GER
		}
		has_war = yes
		has_war_together_with = GER
	}

	abort_when_not_enabled = yes


	ai_strategy = {
		type = front_unit_request
		country_trigger = {
			has_war_with = GER
		}
    	value = 10000
	}

	ai_strategy = {
		type = invasion_unit_request
		country_trigger = {
			has_war_with = GER
		}
		value = 100000
	}

	ai_strategy = {
        type = front_control
		country_trigger = {
			has_war_with = GER
		}
        priority = 100
        ordertype = front
        execution_type = rush
        execute_order = yes 
        manual_attack = yes
    }
}

GGR_losing_push = { # k so YOU HAVE TO put this one down
	allowed = {
		tag = GER
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
		}
		has_war = yes
		OR = {
			has_country_flag = GER_war_plan_zero
			if = {
				limit = {
					has_active_mission = GGR_war_timer
				}
				if = {
					limit = {
						GER = { has_country_flag = GER_war_plan_B }
					}
					check_variable = { days_mission_timeout@GGR_war_timer < 60 }
				}
				else = {
					check_variable = { days_mission_timeout@GGR_war_timer < 20 }
				}
			}
			has_idea = GGR_last_legs
			any_enemy_country = {
				has_idea = GGR_on_our_own
			}
		}
	}
	abort_when_not_enabled = yes

	ai_strategy = {
		type = ignore_army_incompetence
		value = 1000
	}

	ai_strategy = {
		type = garrison
		value = -100000
	}

	ai_strategy = {
		type = front_unit_request
		country_trigger = {
			has_war_with = GER
		}
    	value = 10000
	}

	ai_strategy = {
		type = invasion_unit_request
		country_trigger = {
			has_war_with = GER
		}
		value = 10000
	}

	ai_strategy = {
        type = front_control
		country_trigger = {
			has_war_with = GER
		}
        priority = 100
        ordertype = front
        execution_type = rush
        execute_order = yes 
        manual_attack = yes 
    }
}

GGR_build_army = {
	allowed = {
		tag = GER
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
		}
		if = {
			limit = {
				has_variable = num_division_limit
			}
			reached_division_limit = no
		}
	}
	abort_when_not_enabled = yes

	ai_strategy = {
		type = force_build_armies	
		value = 300
	}
	
	ai_strategy = {
		type = build_army
		id = infantry
		value = 150
	}

	ai_strategy = {
		type = build_army
		id = MBT
		value = 10
	}
	ai_strategy = {
		type = build_army
		id = mobile
		value = 150
	}
	
	ai_strategy = {
		type = building_target
		id = dockyard 
		value = 75
	}
	ai_strategy = {
		type = air_factory_balance
		value = 20
	}
}	

GGR_build_army_all_countries = {
	allowed = {
		always = yes
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			is_in_faction_with = GER
		}
		GER = { is_ai = no }
		if = {
			limit = {
				has_variable = num_division_limit
			}
			reached_division_limit = no
		}
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = build_army
		id = infantry
		value = 10000
	}
	ai_strategy = {
		type = force_build_armies
		value = 10000
	}
	ai_strategy = {
		type = build_army
		id = MBT
		value = 1000
	}
	ai_strategy = {
		type = build_army
		id = mobile
		value = 5000
	}
}

GGR_build_army_major_countries_AI = {
	allowed = {
		always = yes
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		OR = {
			tag = USA
			tag = JAP
			tag = IBR
			tag = SPA
			tag = POR
			tag = ITA
			tag = TUR
			tag = BRG
		}
		GER = { is_ai = yes }
		if = {
			limit = {
				has_variable = num_division_limit
			}
			reached_division_limit = no
		}
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = build_army
		id = infantry
		value = 10000
	}
	ai_strategy = {
		type = force_build_armies
		value = 10000
	}
	ai_strategy = {
		type = build_army
		id = MBT
		value = 5000
	}
	ai_strategy = {
		type = build_army
		id = mobile
		value = 5000
	}
}

GGR_build_army_all_countries_AI = {
	allowed = {
		always = yes
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			is_in_faction_with = GER
		}
		GER = { is_ai = yes }
		check_variable = { num_divisions < num_owned_controlled_states }
		if = {
			limit = {
				has_variable = num_division_limit
			}
			reached_division_limit = no
		}
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = build_army
		id = infantry
		value = 10000
	}
	ai_strategy = {
		type = force_build_armies
		value = 10000
	}
	ai_strategy = {
		type = build_army
		id = MBT
		value = 5000
	}
	ai_strategy = {
		type = build_army
		id = mobile
		value = 5000
	}
}

GGR_front_with_germany_all_countries = {
	allowed = {
		NOT = { original_tag = NOR }
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			is_in_faction_with = GER
		}
		if = {
			limit = {
				has_war = yes
			}
			has_war_with = GER
		}
		if = {
			limit = {
				is_russian_nation = yes
			}
			OR = {
				GER = { has_completed_focus = GGR_fall_rot }
				has_global_flag = RUS_national_unification
			}
		}
		if = {
			limit = {
				OR = {
					is_kazakh_nation = yes
					is_central_asian_nation = yes
				}
			}
			GER = { has_completed_focus = GGR_fall_rot }
		}
		if = {
			limit = {
				OR = {
					tag = FIN
					tag = RFI
				}
				GER = { has_completed_focus = GGR_offer_them_a_choice }
			}
		}
		if = {
			limit = {
				is_french_country = yes
			}
			GER = {
				OR = {
					has_completed_focus = GGR_fall_blau
					has_completed_focus = GGR_fall_blau2
					has_completed_focus = GGR_fall_blau3
				}
			}
		}
	}

	abort_when_not_enabled = yes
	
    ai_strategy = {
		type = prepare_for_war
		id = GER
		value = 1000
	}
	ai_strategy = {
		type = front_unit_request
		tag = GER
		value = 1000
	}	
	ai_strategy = {
		type = front_unit_request
		country_trigger = {
            OR = {
			    tag = GER
                is_in_faction_with = GER 
				is_subject_of = GER
			}
        }
		value = 1000
	}
	ai_strategy = {
		type = front_unit_request
		country_trigger = {
            OR = {
			    tag = GER
                is_in_faction_with = GER 
				is_subject_of = GER
			}
			has_war_with = THIS
        }
		value = 12000
	}
	ai_strategy = {
		type = garrison
		value = 400
	}
}

GGR_front_with_germany_norway = { # stop putting all your shit to Nordstern
	allowed = {
		original_tag = NOR
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			is_in_faction_with = GER
		}
		if = {
			limit = {
				has_war = yes
			}
			has_war_with = GER
		}
	}

	abort_when_not_enabled = yes
	
    ai_strategy = {
		type = prepare_for_war
		id = GER
		value = 100
	}
    ai_strategy = {
		type = prepare_for_war
		id = SSL
		value = 100
	}
	ai_strategy = {
		type = front_unit_request
		tag = GER
		value = 100
	}
	ai_strategy = {
		type = front_unit_request
		tag = SSL
		value = 100
	}
	ai_strategy = {
		type = front_unit_request
		country_trigger = {
            OR = {
			    tag = GER
                is_in_faction_with = GER 
				is_subject_of = GER
			}
        }
		value = 1000
	}
	ai_strategy = {
		type = front_unit_request
		country_trigger = {
            OR = {
			    tag = GER
                is_in_faction_with = GER 
				is_subject_of = GER
			}
			has_war_with = THIS
        }
		value = 12000
	}
	ai_strategy = {
		type = garrison
		value = 400
	}
}

### WAR PLAN 0 ###
GGR_war_plan_0_setup = {
	allowed = {
		tag = GER
	}
	enable = {

		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
		}
		has_country_flag = GER_war_plan_zero
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = prepare_for_war
		id = DEN
		value = 100000
	}
	ai_strategy = {
		type = prepare_for_war
		id = CZE
		value = 100000
	}
	ai_strategy = {
		type = prepare_for_war
		id = HOL
		value = 100000
	}
	ai_strategy = {
		type = prepare_for_war
		id = POL
		value = 100000
	}
	ai_strategy = {
		type = prepare_for_war
		id = SLO
		value = 100000
	}
	ai_strategy = {
		type = prepare_for_war
		id = OST
		value = 100000
	}
	ai_strategy = {
		type = prepare_for_war
		id = DST
		value = 100000
	}
	ai_strategy = {
		type = prepare_for_war
		id = JST
		value = 100000
	}
	ai_strategy = {
		type = prepare_for_war
		id = MST
		value = 100000
	}
	ai_strategy = {
		type = prepare_for_war
		id = BLR
		value = 100000
	}
}

GGR_war_plan_0_netherlands = {
	allowed = {
		tag = GER 
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
		}
		has_completed_focus = GGR_wayward_sons
		NOT = {
			HOL = {
				is_subject_of = GER
			}
		}
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = prepare_for_war
		id = HOL
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		id = HOL
		value = 10000
	}
}

GGR_war_plan_0_denmark = {
	allowed = {
		tag = GER 
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
		}
		has_completed_focus = GGR_invade_denmark
		DEN = {
			OR = {
				exists = no
				is_subject_of = GER
			}
		}
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = prepare_for_war
		id = DEN
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		id = DEN
		value = 10000
	}
}

GGR_war_plan_0_poland = {
	allowed = {
		tag = GER 
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
		}
		has_completed_focus = GGR_fall_augustus
		OR = {
			NOT = {
				is_in_faction_with = GGN
			}
			country_exists = POL
		}
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = prepare_for_war
		id = POL
		value = 10000
	}
}

GGR_war_plan_0_slovakia = {
	allowed = {
		tag = GER 
	}
	enable = {

		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
		}
		has_completed_focus = GGR_operation_fruhling
		NOT = { is_in_faction_with = SLO }
		country_exists = SLO
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = prepare_for_war
		id = SLO
		value = 10000
	}
}


### WAR PLAN A ###
GGR_war_plan_A_setup = {
	allowed = {
		tag = GER 
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
		}
		has_completed_focus = GER_GOR_war_plan_A
		NOT = {
			GGR_ukraine_conquered = yes
			GGR_moskowien_conquered = yes
			GGR_norway_conquered = yes
			GGR_sweden_conquered = yes
			GGR_finland_conquered = yes
			GGR_romania_conquered = yes
			GGR_conquered_hungary = yes
			GGR_serbia_conquered = yes
			GGR_conquered_the_isles = yes
		}
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = antagonize
		id = ENG
		value = 1000000
	}
	ai_strategy = {
		type = antagonize
		id = SWI
		value = 10000
	}
	ai_strategy = {
		type = antagonize
		id = NOR
		value = 10000
	}
	ai_strategy = {
		type = antagonize
		id = SWE
		value = 10000
	}
	ai_strategy = {
		type = antagonize
		id = FIN
		value = 10000
	}
	ai_strategy = {
		type = antagonize
		id = HUN
		value = 10000
	}
	ai_strategy = {
		type = antagonize
		id = ROM
		value = 10000
	}
	ai_strategy = {
		type = antagonize
		id = SER
		value = 10000
	}
	ai_strategy = {
		type = antagonize
		id = UKR
		value = 10000
	}
	ai_strategy = {
		type = antagonize
		id = UKS
		value = 10000
	}
	ai_strategy = {
		type = antagonize
		id = FUK
		value = 10000
	}
	ai_strategy = {
		type = antagonize
		id = BOV
		value = 10000
	}
	ai_strategy = {
		type = antagonize
		id = BUL
		value = 10000
	}

	ai_strategy = {
		type = consider_weak
		id = ENG
		value = 1000000
	}
	ai_strategy = {
		type = consider_weak
		id = SWI
		value = 10000
	}
	ai_strategy = {
		type = consider_weak
		id = NOR
		value = 10000
	}
	ai_strategy = {
		type = consider_weak
		id = SWE
		value = 10000
	}
	ai_strategy = {
		type = consider_weak
		id = FIN
		value = 10000
	}
	ai_strategy = {
		type = consider_weak
		id = HUN
		value = 10000
	}
	ai_strategy = {
		type = consider_weak
		id = ROM
		value = 10000
	}
	ai_strategy = {
		type = consider_weak
		id = SER
		value = 10000
	}
	ai_strategy = {
		type = consider_weak
		id = UKR
		value = 10000
	}
	ai_strategy = {
		type = consider_weak
		id = UKS
		value = 10000
	}
	ai_strategy = {
		type = consider_weak
		id = FUK
		value = 10000
	}
	ai_strategy = {
		type = consider_weak
		id = BOV
		value = 10000
	}
	ai_strategy = {
		type = consider_weak
		id = BUL
		value = 10000
	}
}

GGR_war_plan_A_england = {
	allowed = {
		tag = GER 
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
		}
		OR = {
			has_completed_focus = GGR_operationsealionii
			has_completed_focus = GGR_operationsealion2
			has_completed_focus = GGR_operationsealionii_new
			has_completed_focus = GGR_operationsealion2_new
		}
		ENG = {
			exists = yes
			is_subject = no
		}
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = prepare_for_war
		id = ENG
		value = 10000
	}

	ai_strategy = {
		type = invade
		id = ENG
		value = 100000
	}
	
	ai_strategy = {
		type = invasion_unit_request
		tag = ENG
		value = 100000
	}
	ai_strategy = {
		type = front_unit_request
		tag = ENG
		value = 100000
	}
	ai_strategy = { #English Channel
	    type = strike_force_home_base
	    id = 18
	    value = 200
	}
	ai_strategy = { #North Sea
	    type = strike_force_home_base
	    id = 16
	    value = 200
	}
	ai_strategy = { #Eastern North Sea
	    type = strike_force_home_base
	    id = 173
	    value = 200
	}
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 43
	    value = 200
	}
	ai_strategy = {
		type = front_unit_request
		tag = ENG
    	value = 100000
	}	

	ai_strategy = {
		type = invasion_unit_request
		tag = ENG
		value = 100000
	}

	ai_strategy = {
        type = front_control
		tag = ENG
        priority = 100
        ordertype = front
        execution_type = rush
        execute_order = yes 
        manual_attack = yes 
    }
}

GGR_war_plan_A_secure_britain = {
	allowed = {
		tag = GER
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		has_completed_focus = GGR_operationsealion2_new
		NOT = { has_completed_focus = GGR_order_in_britain_restored has_war_with = IRE }
	}
	abort_when_not_enabled = yes

	ai_strategy = {
		type = put_unit_buffers
		ratio = 100
		states = {
			1300 2010 2002 130 131 121 122
		}
	}
}

GGR_war_plan_A_isles = {
	allowed = {
		tag = GER 
	}
	enable = {
		tag = GER
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
		}
		OR = {
			has_completed_focus = GGR_case_cerdic
			has_completed_focus = GGR_case_cerdic_new
			has_completed_focus = GGR_case_cerdic_collabs
		}
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = prepare_for_war
		id = WAL
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = SCO
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = ULS
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = IRE
		value = 10000
	}
	ai_strategy = {
		type = invade
		id = ULS
		value = 10000
	}
	ai_strategy = {
		type = invade
		id = IRE
		value = 10000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = IRE
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = IRE
		value = 10000
	}

	ai_strategy = { 
	    type = strike_force_home_base
	    id = 43
	    value = 200
	}
}


GGR_war_plan_A_moskowien = {
	allowed = {
		tag = GER 
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
		}
		has_completed_focus = GGR_fall_henry
		GGR_moskowien_conquered = no
	}

	abort_when_not_enabled = yes
	ai_strategy = {
		type = prepare_for_war
		id = TVR
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = TVR
		value = 10000
	}

	ai_strategy = {
		type = prepare_for_war
		id = LUF
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = LUF
		value = 10000
	}

	ai_strategy = {
		type = prepare_for_war
		id = RZH
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = RZH
		value = 10000
	}

	ai_strategy = {
		type = prepare_for_war
		id = NTI
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = NTI
		value = 10000
	}

	ai_strategy = {
		type = prepare_for_war
		id = OZM
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = OZM
		value = 10000
	}

	ai_strategy = {
		type = prepare_for_war
		id = SNP
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = SNP
		value = 10000
	}

	ai_strategy = {
		type = prepare_for_war
		id = OZL
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = OZL
		value = 10000
	}

	ai_strategy = {
		type = prepare_for_war
		id = VVV
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = VVV
		value = 10000
	}

	ai_strategy = {
		type = prepare_for_war
		id = PSK
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = PSK
		value = 10000
	}

	ai_strategy = {
		type = prepare_for_war
		id = PFT
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = PFT
		value = 10000
	}

	ai_strategy = {
		type = prepare_for_war
		id = SHI
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = SHI
		value = 10000
	}

	ai_strategy = {
		type = prepare_for_war
		id = OZT
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = OZT
		value = 10000
	}

	ai_strategy = {
		type = prepare_for_war
		id = NTA
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = NTA
		value = 10000
	}

	ai_strategy = {
		type = prepare_for_war
		id = ORL
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = ORL
		value = 10000
	}

	ai_strategy = {
		type = prepare_for_war
		id = RFS
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = RFS
		value = 10000
	}

	ai_strategy = {
		type = prepare_for_war
		id = OZO
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = OZO
		value = 10000
	}

	ai_strategy = {
		type = prepare_for_war
		id = POV
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = POV
		value = 10000
	}

	ai_strategy = {
		type = prepare_for_war
		id = POP
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = POP
		value = 10000
	}

	ai_strategy = {
		type = prepare_for_war
		id = OZP
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = OZP
		value = 10000
	}

	ai_strategy = {
		type = prepare_for_war
		id = OZA
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = OZA
		value = 10000
	}

	ai_strategy = {
		type = prepare_for_war
		id = PAU
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = PAU
		value = 10000
	}
}

GGR_war_plan_A_switzerland = {
	allowed = {
		tag = GER 
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
		}
		has_completed_focus = GGR_operation_tannenbaum
		GGR_switzerland_conquered = no
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = prepare_for_war
		id = SWI
		value = 1000000
	}

	ai_strategy = {
		type = front_unit_request
		tag = SWI
		value = 1000000
	}

	ai_strategy = {
        type = front_control
		tag = SWI
        priority = 100
        ordertype = front
        execution_type = rush
        execute_order = yes 
        manual_attack = yes 
    }

	ai_strategy = { #I HATE SWITZERLAND
		type = theatre_distribution_demand_increase
		id = 1298
		value = 10000
	}
	ai_strategy = {
		type = front_armor_score
		id = SWI
		value = -500000
	}
	ai_strategy = {
		type = front_armor_score
		id = BRG
		value = 500000
	}
}

GGR_war_plan_A_norway = {
	allowed = {
		tag = GER 
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
		}
		has_completed_focus = GGR_operation_nordlicht
		NOT = {
			GGR_norway_conquered = yes
		}
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = prepare_for_war
		id = NOR
		value = 10000
	}

	ai_strategy = {
		type = invade
		id = NOR
		value = 10000
	}
	
	ai_strategy = {
		type = naval_invasion_focus
		value = 10000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = NOR
		value = 10000
	}
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 219
	    value = 200
	}
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 173
	    value = 200
	}
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 174
	    value = 200
	}
	ai_strategy = {
	    type = strike_force_home_base
	    id = 46
	    value = 200
	}

}

GGR_war_plan_A_sweden = {
	allowed = {
		tag = GER 
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
		}
		has_completed_focus = GGR_operation_hansa
		GGR_sweden_conquered = no
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = prepare_for_war
		id = SWE
		value = 10000
	}

	ai_strategy = {
		type = invade
		id = SWE
		value = 10000
	}
	ai_strategy = {
		type = naval_invasion_focus
		value = 10000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = SWE
		value = 10000
	}
	
	ai_strategy = { #Upper Balctic Sea
	    type = strike_force_home_base
	    id = 9
	    value = 200
	}
	ai_strategy = { #Lower Balctic Sea
	    type = strike_force_home_base
	    id = 220
	    value = 200
	}

	ai_strategy = {
		type = force_defend_ally_borders
		id = SCN
		value = 10000
	}
}

GGR_war_plan_A_finland = {
	allowed = {
		tag = GER 
	}
	enable = {

		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
		}
		has_completed_focus = GGR_operation_lapland
		GGR_finland_conquered = no
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = prepare_for_war
		id = FIN
		value = 10000
	}

	ai_strategy = {
		type = invade
		id = FIN
		value = 10000
	}

	ai_strategy = {
		type = naval_invasion_focus
		value = 10000
	}
	ai_strategy = { #Upper Balctic Sea
	    type = strike_force_home_base
	    id = 9
	    value = 200
	}
}

GGR_war_plan_A_hungary = {
	allowed = {
		tag = GER 
	}
	enable = {

		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
		}
		has_completed_focus = GGR_operation_margarethe
		NOT = {
			GGR_conquered_hungary = yes
		}
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = prepare_for_war
		id = HUN
		value = 10000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = HUN
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = HUN
		value = 10000
	}
}

GGR_war_plan_A_romania = {
	allowed = {
		tag = GER 
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
		}
		has_completed_focus = GGR_operation_tepes
		NOT = {
			GGR_romania_conquered = yes
		}
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = prepare_for_war
		id = ROM
		value = 10000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = ROM
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = ROM
		value = 10000
	}
}

GGR_war_plan_A_bulgaria = {
	allowed = {
		tag = GER 
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
		}
		has_decision = GGR_invade_bulgaria
		GGR_bulgaria_conquered = no
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = prepare_for_war
		id = BUL
		value = 10000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = BUL
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = BUL
		value = 10000
	}

	ai_strategy = {
		type = prepare_for_war
		id = MAC
		value = 10000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = MAC
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = MAC
		value = 10000
	}
}

GGR_war_plan_A_greece = {
	allowed = {
		tag = GER 
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
		}
		has_decision = GGR_invade_greece
		if = {
			limit = {
				has_war = yes
			}
			has_war_with = GRE
		}
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = invade
		id = GRE
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = GRE
		value = 10000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = GRE
		value = 1000
	}
	ai_strategy = {
		type = front_unit_request
		tag = GRE
		value = 10000
	}
}

GGR_war_plan_A_serbia = {
	allowed = {
		tag = GER 
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
		}
		has_completed_focus = GGR_operation_peter
		SER = {
			is_subject = no
			is_in_faction = no
		}
	}

	abort_when_not_enabled = yes


	
	ai_strategy = {
		type = prepare_for_war
		id = SER
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = SER
		value = 10000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = SER
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = GMS
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = GMS
		value = 10000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = GMS
		value = 10000
	}
	ai_strategy = { #I HATE BELGRADE I HATE BELGRADE
		type = theatre_distribution_demand_increase
		id = 1272
		value = 10000
	}
	
}

GGR_war_plan_A_ukraine = {
	allowed = {
		tag = GER 
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
		}
		OR = {
			has_completed_focus = GGR_operation_rurik
			has_completed_focus = GGR_operation_rurik2
		}
		GGR_ukraine_conquered = no
	}

	abort_when_not_enabled = yes
	
	ai_strategy = {
		type = prepare_for_war
		id = BOV
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = UKS
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = FUK
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = UKR
		value = 10000
	}
	
	ai_strategy = {
		type = front_unit_request
		tag = BOV
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = UKS
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = FUK
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = UKR
		value = 10000
	}
}

GGR_war_plan_A_kaukasia = {
	allowed = {
		tag = GER 
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
		}
		OR = {
			has_completed_focus = GGR_the_black_state
			has_completed_focus = GGR_the_treachery_of_the_industrialists
		}
		NOT = {
			CAU = {
				is_subject_of = GER
			}
		}
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = prepare_for_war
		id = CAU
		value = 10000
	}

	ai_strategy = {
		type = front_unit_request
		tag = CAU
		value = 10000
	}
}

GGR_war_plan_A_armenia = {
	allowed = {
		tag = GER 
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
		}
		CAU = { is_subject_of = GER }
		#has_decision = GGR_conquere_armenia
		ARM = { is_subject = no }
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = prepare_for_war
		id = ARM
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = ARM
		value = 10000
	}
}

### WAR PLAN B ###
GGR_war_plan_B_russia = {
	allowed = {
		tag = GER 
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
		}
		has_completed_focus = GGR_fall_rot
		GGR_russia_conquered = no
		if = {
			limit = {
				has_completed_focus = GGR_eyes_to_the_steppes
			}
			country_exists = RKT
		}
	}

	abort_when_not_enabled = yes
	
	ai_strategy = {
		type = prepare_for_war
		id = BKR
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = GAY
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = GOR
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = KOM
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = ONG
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = PRM
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = SAM
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = TAR
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = VOL
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = VYT
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = WRS
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = DRL
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = ORE
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = URL
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = FAV
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = SVR
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = TYM
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = VOR
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = YGR
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = ZLT
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = NTG
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = SGV
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = ALT
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = KAL
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = KEM
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = KRS
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = NOV
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = NRL
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = PRC
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = SBA
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = TOM
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = TAN
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = AMR
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = BRY
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = CHT
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = IRK
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = KMC
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = MAG
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = OMO
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = YAK
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = VIL
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = OMS
		value = 10000
	}

	ai_strategy = {
		type = invasion_unit_request
		country_trigger = {
			OR = {
				is_russian_nation = yes
				is_after_midninght_russian_nation = yes
			}
		}
		value = 1000
	}

	ai_strategy = {
		type = front_unit_request
		country_trigger = {
			OR = {
				is_russian_nation = yes
				is_after_midninght_russian_nation = yes
			}
		}
		value = 10000
	}
}

### WAR PLAN B ###
GGR_war_plan_B_central_asia = {
	allowed = {
		tag = GER 
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
		}
		has_completed_focus = GGR_across_the_east_and_far_away
		any_country = {
			OR = {
				is_kazakh_nation = yes
				is_central_asian_nation = yes
			}
			exists = yes
		}
		has_war = no
	}

	abort_when_not_enabled = yes
	
	ai_strategy = {
		type = prepare_for_war
		id = KAZ
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = KZR
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = KRK
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = KYR
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = TAJ
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = TRK
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = UTL
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = UZB
		value = 10000
	}
}

GGR_war_plan_B_turkey = {
	allowed = {
		tag = GER 
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
		}
		has_completed_focus = GGR_operation_gertrud
		OR = {
			GGR_turkey_conquered = no
			SYR = {
				OR = {
					exists = yes
					is_subject_of = ITA
					is_in_faction_with = ITA
				}
			}
		}
	}
	abort_when_not_enabled = yes


	ai_strategy = {
		type = prepare_for_war
		id = TUR
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = TUR
		value = 1000
	}


	ai_strategy = {
		type = prepare_for_war
		id = SYR
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = SYR
		value = 1000
	}
}

GGR_war_plan_B_algeria = {
	allowed = {
		tag = GER 
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
			OR = {
			    ILG = {
			        is_subject_of = ITA
				}
			    ILG = {
			        is_guaranteed_by = ITA
				}
				SLG = {
			        is_subject_of = IBR 
				}
			}
			SLG = {
			    is_in_faction_with = GER
			}	
		}
		OR = {
			has_completed_focus = GGR_fall_blau
			has_completed_focus = GGR_fall_blau2
			has_completed_focus = GGR_fall_blau3
		}
		OR = {
			country_exists = ALG
			country_exists = ILG
			country_exists = SLG
		}
	}

	abort_when_not_enabled = yes
	
	ai_strategy = {
		type = prepare_for_war
		id = ILG
		value = 1000
	}
	ai_strategy = {
		type = invade
		id = ILG
		value = 1000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = ILG
		value = 100
	}

	ai_strategy = {
		type = prepare_for_war
		id = ALG
		value = 10000
	}
	ai_strategy = {
		type = invade
		id = ALG
		value = 10000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = ALG
		value = 10000
	}

	ai_strategy = {
		type = prepare_for_war
		id = SLG
		value = 10000
	}
	ai_strategy = {
		type = invade
		id = SLG
		value = 10000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = SLG
		value = 10000
	}
}

GGR_war_plan_B_iberia = {
	allowed = {
		tag = GER 
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
			AND = {
				has_war_with = SLG
				SLG = { is_subject = no }
			}
		}
		OR = {
			has_completed_focus = GGR_fall_blau
			has_completed_focus = GGR_fall_blau2
			has_completed_focus = GGR_fall_blau3
		}
		GGR_iberia_conquered = no
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = prepare_for_war
		id = IBR
		value = 1000
	}
	ai_strategy = {
		type = prepare_for_war
		id = SPR
		value = 1000
	}
	ai_strategy = {
		type = prepare_for_war
		id = SPS
		value = 1000
	}
	ai_strategy = {
		type = prepare_for_war
		id = CTL
		value = 1000
	}
	ai_strategy = {
		type = prepare_for_war
		id = CNT
		value = 1000
	}
	ai_strategy = {
		type = prepare_for_war
		id = BSQ
		value = 1000
	}
	ai_strategy = {
		type = prepare_for_war
		id = FSR
		value = 1000
	}
	ai_strategy = {
		type = prepare_for_war
		id = GNS
		value = 1000
	}
	ai_strategy = {
		type = prepare_for_war
		id = TBA
		value = 1000
	}
	ai_strategy = {
		type = prepare_for_war
		id = POR
		value = 1000
	}
	ai_strategy = {
		type = prepare_for_war
		id = PPR
		value = 1000
	}
	ai_strategy = {
		type = prepare_for_war
		id = RPP
		value = 1000
	}
	ai_strategy = {
		type = prepare_for_war
		id = GIB
		value = 1000
	}
	ai_strategy = {
		type = prepare_for_war
		id = RIF
		value = 1000
	}
	ai_strategy = {
		type = prepare_for_war
		id = MOR
		value = 1000
	}
	ai_strategy = {
		type = prepare_for_war
		id = GAL
		value = 1000
	}
	ai_strategy = {
		type = prepare_for_war
		id = TRZ
		value = 1000
	}
	ai_strategy = {
		type = prepare_for_war
		id = FZL
		value = 1000
	}
	ai_strategy = {
		type = prepare_for_war
		id = ADL
		value = 1000
	}
	
	ai_strategy = {
		type = invasion_unit_request
		tag = IBR
		value = 1000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = SPR
		value = 1000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = SPS
		value = 1000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = CTL
		value = 1000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = CNT
		value = 1000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = BSQ
		value = 1000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = FSR
		value = 1000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = GNS
		value = 1000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = TBA
		value = 1000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = POR
		value = 1000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = PPR
		value = 1000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = RPP
		value = 1000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = GIB
		value = 1000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = RIF
		value = 1000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = MOR
		value = 1000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = GAL
		value = 1000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = TRZ
		value = 1000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = FZL
		value = 1000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = ADL
		value = 1000
	}
	
	ai_strategy = {
		type = front_unit_request
		tag = IBR
		value = 1000
	}
	ai_strategy = {
		type = front_unit_request
		tag = SPR
		value = 1000
	}
	ai_strategy = {
		type = front_unit_request
		tag = SPS
		value = 1000
	}
	ai_strategy = {
		type = front_unit_request
		tag = CTL
		value = 1000
	}
	ai_strategy = {
		type = front_unit_request
		tag = CNT
		value = 1000
	}
	ai_strategy = {
		type = front_unit_request
		tag = BSQ
		value = 1000
	}
	ai_strategy = {
		type = front_unit_request
		tag = FSR
		value = 1000
	}
	ai_strategy = {
		type = front_unit_request
		tag = GNS
		value = 1000
	}
	ai_strategy = {
		type = front_unit_request
		tag = TBA
		value = 1000
	}
	ai_strategy = {
		type = front_unit_request
		tag = POR
		value = 1000
	}
	ai_strategy = {
		type = front_unit_request
		tag = PPR
		value = 1000
	}
	ai_strategy = {
		type = front_unit_request
		tag = RPP
		value = 1000
	}
	ai_strategy = {
		type = front_unit_request
		tag = GIB
		value = 1000
	}
	ai_strategy = {
		type = front_unit_request
		tag = RIF
		value = 1000
	}
	ai_strategy = {
		type = front_unit_request
		tag = MOR
		value = 1000
	}
	ai_strategy = {
		type = front_unit_request
		tag = GAL
		value = 1000
	}
	ai_strategy = {
		type = front_unit_request
		tag = TRZ
		value = 1000
	}
	ai_strategy = {
		type = front_unit_request
		tag = FZL
		value = 1000
	}
	ai_strategy = {
		type = front_unit_request
		tag = ADL
		value = 1000
	}
	
	ai_strategy = {
		type = invade
		id = IBR
		value = 1000
	}
	ai_strategy = {
		type = invade
		id = SPR
		value = 1000
	}
	ai_strategy = {
		type = invade
		id = SPS
		value = 1000
	}
	ai_strategy = {
		type = invade
		id = CTL
		value = 1000
	}
	ai_strategy = {
		type = invade
		id = CNT
		value = 1000
	}
	ai_strategy = {
		type = invade
		id = BSQ
		value = 1000
	}
	ai_strategy = {
		type = invade
		id = FSR
		value = 1000
	}
	ai_strategy = {
		type = invade
		id = GNS
		value = 1000
	}
	ai_strategy = {
		type = invade
		id = TBA
		value = 1000
	}
	ai_strategy = {
		type = invade
		id = POR
		value = 1000
	}
	ai_strategy = {
		type = invade
		id = PPR
		value = 1000
	}
	ai_strategy = {
		type = invade
		id = RPP
		value = 1000
	}
	ai_strategy = {
		type = invade
		id = GIB
		value = 1000
	}
	ai_strategy = {
		type = invade
		id = RIF
		value = 1000
	}
	ai_strategy = {
		type = invade
		id = MOR
		value = 1000
	}
	ai_strategy = {
		type = invade
		id = GAL
		value = 1000
	}
	ai_strategy = {
		type = invade
		id = TRZ
		value = 1000
	}
	ai_strategy = {
		type = invade
		id = FZL
		value = 1000
	}
	ai_strategy = {
		type = invade
		id = ADL
		value = 1000
	}
	
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 42
	    value = 200
	}
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 47
	    value = 200
	}
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 48
	    value = 200
	}
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 68
	    value = 200
	}
}

GGR_war_plan_B_italy = {
	allowed = {
		tag = GER 
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
		}
		has_completed_focus = GGR_operation_gaiseric
		NOT = {
			GGR_italy_conquered = yes
		}
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = prepare_for_war
		id = ITA
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = MNT
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = BOS
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = CRO
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = EGY
		value = 100
	}
	ai_strategy = {
		type = prepare_for_war
		id = ILG
		value = 100
	}
	ai_strategy = {
		type = prepare_for_war
		id = IEA
		value = 100
	}
	ai_strategy = {
		type = prepare_for_war
		id = YEM
		value = 100
	}
	ai_strategy = {
		type = prepare_for_war
		id = GUL
		value = 100
	}
	ai_strategy = {
		type = prepare_for_war
		id = IME
		value = 100
	}
	ai_strategy = {
		type = prepare_for_war
		id = PAL
		value = 100
	}

	ai_strategy = {
		type = invade
		id = YEM
		value = 100
	}
	ai_strategy = {
		type = invade
		id = GUL
		value = 100
	}
	
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 68
	    value = 200
	}
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 169
	    value = 200
	}
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 29
	    value = 200
	}
	ai_strategy = {
	    type = strike_force_home_base
	    id = 264
	    value = 200
	}
	ai_strategy = {
	    type = strike_force_home_base
	    id = 69
	    value = 200
	}
	ai_strategy = {
	    type = strike_force_home_base
	    id = 230
	    value = 200
	}
	ai_strategy = { # Rome
	    type = strike_force_home_base
	    id = 2
	    value = 2000
	}
}

GGR_war_plan_B_france = {
	allowed = {
		tag = GER 
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
		}
		OR = {
		    has_completed_focus = GGR_fall_blau
			has_completed_focus = GGR_fall_blau2
			has_completed_focus = GGR_fall_blau3
		}
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = prepare_for_war
		id = FRS
		value = 10000
	}
	ai_strategy = {
		type = invade
		id = FRS
		value = 10000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = FRS
		value = 10000
	}
	ai_strategy = {
		type = invade
		id = FRA
		value = 10000
	}
	ai_strategy = {
		type = invasion_unit_request
		id = FRA
		value = 10000
	}
	ai_strategy = {
		type = invade
		id = FRD
		value = 10000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = FRD
		value = 10000
	}
	ai_strategy = {
		type = invade
		id = FRM
		value = 10000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = FRM
		value = 10000
	}
	ai_strategy = {
		type = invade
		id = FMM
		value = 10000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = FMM
		value = 10000
	}
	ai_strategy = {
		type = invade
		id = FIT
		value = 10000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = FIT
		value = 10000
	}
	ai_strategy = {
		type = invade
		id = FRV
		value = 10000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = FRV
		value = 10000
	}


	ai_strategy = {
	    type = strike_force_home_base
	    id = 18
	    value = 200
	}
	ai_strategy = {
	    type = strike_force_home_base
	    id = 42
	    value = 200
	}
	ai_strategy = {
	    type = strike_force_home_base
	    id = 68
	    value = 200
	}
}

### WAR PLAN C ###
GGR_war_plan_c_burgundy = {
	allowed = {
		tag = GER 
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
			has_global_flag = TNO_my_world_is_on_fire_how_about_yours
		}
		has_completed_focus = GER_GOR_fall_schwarz2
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = prepare_for_war
		id = BRG
		value = 10000
	}
}

GGR_war_plan_c_usa = {
	allowed = {
		tag = GER 
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
			has_global_flag = TNO_my_world_is_on_fire_how_about_yours
		}
		has_completed_focus = GER_GOR_fall_rockwell
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = prepare_for_war
		id = USA
		value = 10000
	}
	ai_strategy = {
		type = invade
		id = USA
		value = 10000
	}

	ai_strategy = {
		type = invasion_unit_request
		state = 366
		state = 365
		state = 364
		state = 952
		state = 358
		state = 362
		state = 363
		state = 464
		state = 465
		state = 331
		value = 10000
	}
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 52
	    value = 200
	}
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 170
	    value = 200
	}
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 54
	    value = 200
	}
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 53
	    value = 200
	}
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 55
	    value = 200
	}
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 57
	    value = 200
	}
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 45
	    value = 200
	}
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 44
	    value = 200
	}
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 50
	    value = 200
	}
}

GGR_war_plan_B_africa = {
	allowed = {
		tag = GER 
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
			has_global_flag = TNO_my_world_is_on_fire_how_about_yours
		}
		GGR_africa_conquered = no
		has_completed_focus = GGR_fall_vorbeck
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = area_priority
		id = africa
		value = 100000
	}
}

GGR_war_plan_B_west_africa = {
	allowed = {
		tag = GER 
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
			has_global_flag = TNO_my_world_is_on_fire_how_about_yours
			has_global_flag = GGR_west_africa_conquered
		}
		OR = {
			has_completed_focus = GGR_west_falls_first
			has_decision = invade_west_africa
			any_country = {
				is_west_african_nation = yes
				has_war_with = GER
			}
		}
		has_war = no
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = prepare_for_war
		id = CAO
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = FFR
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = SUS
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = WOL
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = JOL
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = GNB
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = MLI
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = KAY
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = IVO
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = BKF
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = HAU
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = FTF
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = ZAR
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = NGR
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = SWB
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = EWE
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = CPP
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = GBE
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = MDI
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = LIB
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = AYR
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = AZW
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = YOR
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = BFR
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = NNG
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = NGA
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = KNM
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = CHD
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = CHF
		value = 10000
	}

	ai_strategy = {
		type = front_unit_request
		tag = CAO
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = FFR
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = SUS
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = WOL
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = JOL
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = GNB
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = MLI
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = KAY
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = IVO
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = BKF
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = HAU
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = FTF
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = ZAR
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = NGR
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = SWB
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = EWE
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = CPP
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = GBE
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = MDI
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = LIB
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = AYR
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = AZW
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = YOR
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = BFR
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = NNG
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = NGA
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = KNM
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = CHD
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = CHF
		value = 10000
	}
}

GGR_war_plan_B_central_africa = {
	allowed = {
		tag = GER 
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
			has_global_flag = TNO_my_world_is_on_fire_how_about_yours
			has_global_flag = GGR_central_africa_conquered
		}
		OR = {
			has_completed_focus = GGR_center_falls_first
			has_decision = invade_central_africa
			any_country = {
				is_central_african_nation = yes
				has_war_with = GER
			}
		}
		has_war = no
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = prepare_for_war
		id = COG
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = GAB
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = SAO
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = EQG
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = BZZ
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = CPR
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = CFS
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = CAF
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = AZD
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = KTG
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = KSI
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = BKV
		value = 10000
	}

	ai_strategy = {
		type = front_unit_request
		tag = COG
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = GAB
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = SAO
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = EQG
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = BZZ
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = CPR
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = CFS
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = CAF
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = AZD
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = KTG
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = KSI
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = BKV
		value = 10000
	}
}

GGR_war_plan_B_southwest_africa = {
	allowed = {
		tag = GER 
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
			has_global_flag = TNO_my_world_is_on_fire_how_about_yours
			has_global_flag = GGR_southwest_africa_conquered
		}
		OR = {
			has_completed_focus = GGR_southwest_falls_first
			has_decision = invade_southwest_africa
			any_country = {
				is_southwest_african_nation = yes
				has_war_with = GER
			}
		}
		has_war = no
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = prepare_for_war
		id = ANG
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = RSL
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = ANL
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = NAM
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = OVB
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = HRR
		value = 10000
	}
	

	ai_strategy = {
		type = front_unit_request
		tag = ANG
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = RSL
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = ANL
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = NAM
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = OVB
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = HRR
		value = 10000
	}
}

GGR_war_plan_B_east_africa = {
	allowed = {
		tag = GER 
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
			has_global_flag = TNO_my_world_is_on_fire_how_about_yours
			has_global_flag = GGR_east_africa_conquered
		}
		OR = {
			has_completed_focus = GGR_east_falls_first
			has_decision = invade_southeast_africa
			any_country = {
				is_east_african_nation = yes
				has_war_with = GER
			}
		}
		has_war = no
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = prepare_for_war
		id = RSD
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = RSQ
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = RSZ
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = MZB
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = USC
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = MDG
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = UGD
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = TOO
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = RWA
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = BRD
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = LUO
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = TNZ
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = TND
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = FMF
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = ZZB
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = ZZS
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = ZAM
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = ZBO
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = BRS
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = ZIM
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = ZMO
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = BTS
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = GAZ
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = GZO
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = GZS
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = RMB
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = BMB
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = CMR
		value = 10000
	}

	ai_strategy = {
		type = front_unit_request
		tag = RSD
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = RSQ
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = RSZ
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = MZB
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = USC
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = MDG
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = UGD
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = TOO
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = RWA
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = BRD
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = LUO
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = TNZ
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = TND
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = FMF
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = ZZB
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = ZZS
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = ZAM
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = ZBO
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = BRS
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = ZIM
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = ZMO
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = BTS
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = GAZ
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = GZO
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = GZS
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = RMB
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = BMB
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = CMR
		value = 10000
	}

	ai_strategy = {
		type = invade
		id = GRO
		value = 10000
	}
	ai_strategy = {
		type = invade
		id = RSD
		value = 10000
	}
	ai_strategy = {
		type = invade
		id = RSQ
		value = 10000
	}
	ai_strategy = {
		type = invade
		id = RSZ
		value = 10000
	}
	ai_strategy = {
		type = invade
		id = MZB
		value = 10000
	}
	ai_strategy = {
		type = invade
		id = USC
		value = 10000
	}
	ai_strategy = {
		type = invade
		id = UGD
		value = 10000
	}
	ai_strategy = {
		type = invade
		id = TOO
		value = 10000
	}
	ai_strategy = {
		type = invade
		id = RWA
		value = 10000
	}
	ai_strategy = {
		type = invade
		id = BRD
		value = 10000
	}
	ai_strategy = {
		type = invade
		id = LUO
		value = 10000
	}
	ai_strategy = {
		type = invade
		id = TNZ
		value = 10000
	}
	ai_strategy = {
		type = invade
		id = TND
		value = 10000
	}
	ai_strategy = {
		type = invade
		id = FMF
		value = 10000
	}
	ai_strategy = {
		type = invade
		id = ZZB
		value = 10000
	}
	ai_strategy = {
		type = invade
		id = ZZS
		value = 10000
	}
	ai_strategy = {
		type = invade
		id = ZAM
		value = 10000
	}
	ai_strategy = {
		type = invade
		id = ZBO
		value = 10000
	}
	ai_strategy = {
		type = invade
		id = BRS
		value = 10000
	}
	ai_strategy = {
		type = invade
		id = ZIM
		value = 10000
	}
	ai_strategy = {
		type = invade
		id = ZMO
		value = 10000
	}
	ai_strategy = {
		type = invade
		id = BTS
		value = 10000
	}
	ai_strategy = {
		type = invade
		id = GAZ
		value = 10000
	}
	ai_strategy = {
		type = invade
		id = GZO
		value = 10000
	}
	ai_strategy = {
		type = invade
		id = GZS
		value = 10000
	}
	ai_strategy = {
		type = invade
		id = RMB
		value = 10000
	}
	ai_strategy = {
		type = invade
		id = BMB
		value = 10000
	}
	ai_strategy = {
		type = invade
		id = CMR
		value = 10000
	}
	
	ai_strategy = {
		type = invasion_unit_request
		tag = CMR
		value = 100000
	}
}

GGR_war_plan_B_south_africa = {
	allowed = {
		tag = GER
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_chaos
			has_global_flag = TNO_my_world_is_on_fire_how_about_yours
			has_global_flag = GGR_south_africa_conquered
		}
		OR = {
			has_decision = invade_south_africa
			any_country = {
				is_south_african_nation = yes
				has_war_with = GER
			}
		}
	}
	
	abort_when_not_enabled = yes
	
	ai_strategy = {
		type = prepare_for_war
		id = SAF
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = BOR
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = ANC
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = ZUL
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = SLF
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = LTH
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = SWZ
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = CDL
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = AWB
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = KBA
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = UFK
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = SFG
		value = 10000
	}
	
	ai_strategy = {
		type = front_unit_request
		tag = SAF
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = BOR
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = ANC
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = ZUL
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = SLF
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = LTH
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = SWZ
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = CDL
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = AWB
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = KBA
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = UFK
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = SFG
		value = 10000
	}
}


GGR_war_plan_B_madascar_africa = {
	allowed = {
		tag = GER 
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
			has_global_flag = TNO_my_world_is_on_fire_how_about_yours
			has_global_flag = GGR_central_africa_conquered
		}
		OR = {
			has_decision = invade_madagascar
			has_war_with = MAD
		}
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = prepare_for_war
		id = MAD
		value = 10000
	}

	ai_strategy = {
		type = invade
		id = MAD
		value = 1000000
	}

	ai_strategy = {
		type = front_unit_request
		tag = MAD
		value = 10000
	}

	ai_strategy = { # just fucking invade already
		type = invasion_unit_request
		tag = MAD
		value = 1000000
	}
}

GGR_war_plan_c_japan = {
	allowed = {
		tag = GER 
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
			has_global_flag = TNO_my_world_is_on_fire_how_about_yours
		}
		has_completed_focus = GGR_operation_dammerung
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = front_unit_request
		country_trigger = {
			is_in_faction_with = JAP
			NOT = {
				tag = MAN
				tag = MEN
				tag = JAP
			}
		}
    	value = 100
	}	

	ai_strategy = {
		type = invasion_unit_request
		country_trigger = {
			is_in_faction_with = JAP
			NOT = {
				tag = MAN
				tag = MEN
				tag = JAP
			}
		}
		value = 100
	}

	ai_strategy = {
		type = front_unit_request
		tag = JAP
		value = 1000
	}
	ai_strategy = {
		type = invade
		id = JAP
		value = 10000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = JAP
		value = 1000
	}
	
	ai_strategy = {
		type = front_unit_request
		tag = MAN
		value = 1000
	}	
	ai_strategy = {
		type = front_unit_request
		tag = MEN
		value = 1000
	}
	ai_strategy = {
		type = front_unit_request
		tag = GAN
		value = 500
	}

	ai_strategy = {
		type = prepare_for_war
		id = JAP
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = MEN
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = MAN
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = GAN
		value = 1000
	}

	ai_strategy = { 
	    type = strike_force_home_base
	    id = 75
	    value = 200
	}
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 72
	    value = 200
	}
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 101
	    value = 200
	}
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 76
	    value = 200
	}
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 77
	    value = 200
	}
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 79
	    value = 200
	}
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 90
	    value = 200
	}
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 94
	    value = 200
	}
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 78
	    value = 200
	}
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 80
	    value = 200
	}
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 93
	    value = 200
	}
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 94
	    value = 200
	}
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 84
	    value = 200
	}
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 97
	    value = 200
	}
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 96
	    value = 200
	}
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 88
	    value = 200
	}

	ai_strategy = {
		type = area_priority
		id = asia
		value = 100000
	}
	
}

GGR_war_plan_c_north_atlantic = {
	allowed = {
		tag = GER 
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
			has_global_flag = TNO_my_world_is_on_fire_how_about_yours
		}
		has_completed_focus = GER_GOR_fall_rockwell
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = invasion_unit_request
		state = 100
		state = 337
		value = 10000
	}

	ai_strategy = {
		type = invasion_unit_request
		tag = ICE
		value = 250
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = FAR
		value = 250
	}
	ai_strategy = {
		type = invade
		id = ICE
		value = 250
	}
	ai_strategy = {
		type = invade
		id = FAR
		value = 250
	}
	#ai_strategy = {
	#	type = invasion_unit_request
	#	id = CAN
	#	value = 10000
	#}

	ai_strategy = {
		type = prepare_for_war
		id = ICE
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = FAR
		value = 10000
	}
	#ai_strategy = {
	#	type = prepare_for_war
	#	id = CAN
	#	value = 10000
	#}
}

GGR_war_plan_c_latin_america = {
	allowed = {
		tag = GER 
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
			has_global_flag = TNO_my_world_is_on_fire_how_about_yours
		}
		has_completed_focus = GER_GOR_the_conquistadors_footsteps
	}

	abort_when_not_enabled = yes

	ai_strategy = { type = area_priority id = 61 value = 100000 }
	ai_strategy = { type = area_priority id = 59 value = 100000 }
	ai_strategy = { type = area_priority id = 58 value = 100000 }
	ai_strategy = { type = area_priority id = 51 value = 100000 }
	ai_strategy = { type = area_priority id = 53 value = 100000 }

	ai_strategy = {
		type = front_unit_request
		area = north_america
		value = 250
	}
	ai_strategy = {
		type = invasion_unit_request
		area = north_america
		value = 250
	}
	ai_strategy = {
		type = front_unit_request
		area = south_america
		value = 250
	}
	ai_strategy = {
		type = invasion_unit_request
		area = south_america
		value = 250
	}
	ai_strategy = {
		type = naval_invasion_focus
		id = 61
		value = 250
	}
	ai_strategy = {
		type = prepare_for_war
		id = BRA
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = COL
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = VEN
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = PAN
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = ARG
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = WIN
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = MEX
		value = 10000
	}
	ai_strategy = {
		type = invade
		id = VEN
		value = 250
	}
	ai_strategy = {
		type = invade
		id = COL
		value = 250
	}
	ai_strategy = {
		type = invade
		id = CLL
		value = 250
	}
	ai_strategy = {
		type = invade
		id = CLC
		value = 250
	}
	ai_strategy = {
		type = invade
		id = VEN
		value = 250
	}
	ai_strategy = {
		type = invade
		id = NIC
		value = 250
	}
	ai_strategy = {
		type = invade
		id = ELS
		value = 250
	}
	ai_strategy = {
		type = invade
		id = HON
		value = 250
	}
	ai_strategy = {
		type = invade
		id = COS
		value = 250
	}
	ai_strategy = {
		type = invade
		id = GUA
		value = 250
	}
	ai_strategy = {
		type = invade
		id = SUR
		value = 250
	}
	ai_strategy = {
		type = invade
		id = GUC
		value = 250
	}
	ai_strategy = {
		type = invade
		id = BRA
		value = 250
	}
	ai_strategy = {
		type = invade
		id = GUY
		value = 250
	}
	ai_strategy = {
		type = invade
		id = PAN
		value = 250
	}
	ai_strategy = {
		type = invade
		id = WIN
		value = 250
	}
	ai_strategy = {
		type = front_unit_request
		tag = WIN
		value = 250
	}
	ai_strategy = {
		type = front_unit_request
		tag = VEN
		value = 250
	}
	ai_strategy = {
		type = front_unit_request
		tag = COL
		value = 250
	}
	ai_strategy = {
		type = front_unit_request
		tag = CLL
		value = 250
	}
	ai_strategy = {
		type = front_unit_request
		tag = CLC
		value = 250
	}
	ai_strategy = {
		type = front_unit_request
		tag = VEN
		value = 250
	}
	ai_strategy = {
		type = front_unit_request
		tag = NIC
		value = 250
	}
	ai_strategy = {
		type = front_unit_request
		tag = ELS
		value = 250
	}
	ai_strategy = {
		type = front_unit_request
		tag = HON
		value = 250
	}
	ai_strategy = {
		type = front_unit_request
		tag = COS
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = GUA
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = SUR
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = GUC
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = BRA
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = GUY
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = PAN
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = ARG
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = PAR
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = BOL
		value = 10000
	}
    ai_strategy = {
		type = invasion_unit_request
		tag = VEN
		value = 10000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = COL
		value = 10000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = CLL
		value = 10000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = WIN
		value = 10000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = CLC
		value = 10000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = VEN
		value = 10000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = NIC
		value = 10000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = ELS
		value = 10000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = HON
		value = 10000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = COS
		value = 10000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = GUA
		value = 10000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = SUR
		value = 10000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = GUC
		value = 10000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = BRA
		value = 10000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = GUY
		value = 10000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = PAN
		value = 10000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = ARG
		value = 10000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = PAR
		value = 10000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = BOL
		value = 10000
	}
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 53
	    value = 200
	}
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 59
	    value = 200
	}
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 61
	    value = 200
	}
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 52
	    value = 200
	}
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 66
	    value = 200
	}
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 64
	    value = 200
	}
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 63
	    value = 200
	}
}

GGR_war_plan_c_carribbean = {
	allowed = {
		tag = GER 
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
			has_global_flag = TNO_my_world_is_on_fire_how_about_yours
		}
		has_completed_focus = GER_GOR_goerings_carribbean_vacation
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = prepare_for_war
		id = CUB
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = HAI
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = DOM
		value = 10000
	}
	ai_strategy = {
		type = invade
		id = HAI
		value = 2500
	}
	ai_strategy = {
		type = invade
		id = DOM
		value = 2500
	}
	ai_strategy = {
		type = invade
		id = CUB
		value = 25000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = CUB
		value = 25000
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = DOM
		value = 2500
	}
	ai_strategy = {
		type = invasion_unit_request
		tag = HAI
		value = 2500
	}
}

GGR_war_plan_c_alexander = {
	allowed = {
		tag = GER 
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
			has_global_flag = TNO_my_world_is_on_fire_how_about_yours
		}
		has_completed_focus = GGR_the_southern_route
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = prepare_for_war
		id = PER
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = AFG
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = IND
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = CYL
		value = 10000
	}
	ai_strategy = {
		type = invade
		id = CYL
		value = 100000
	}
	ai_strategy = {
		type = prepare_for_war
		id = NEP
		value = 10000
	}

	ai_strategy = {
		type = front_unit_request
		tag = AFG
		value = 100
	}
	ai_strategy = {
		type = front_unit_request
		tag = PER
		value = 100
	}
	ai_strategy = {
		type = front_unit_request
		tag = IND
		value = 1000
	}
	ai_strategy = {
		type = front_unit_request
		tag = AZH
		value = 1000
	}
	ai_strategy = {
		type = front_unit_request
		tag = CYL
		value = 100
	}
	ai_strategy = {
		type = front_unit_request
		tag = NEP
		value = 100
	}

	
	ai_strategy = {
		type = invasion_unit_request
		tag = CYL
		value = 10000
	}


	ai_strategy = {
		type = prepare_for_war
		id = SAU
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = OMA
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = IRQ
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = ISR
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = LEB
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = JER
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = PAL
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = JOR
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = SLB
		value = 10000
	}

	ai_strategy = {
		type = prepare_for_war
		id = AZH
		value = 10000
	}


	ai_strategy = {
		type = prepare_for_war
		id = PER
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = IRI
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = IRL
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = IRC
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = IRB
		value = 10000
	}
	ai_strategy = {
		type = prepare_for_war
		id = IRA
		value = 10000
	}
	
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 104
	    value = 200
	}
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 60
	    value = 200
	}
	ai_strategy = { 
	    type = strike_force_home_base
	    id = 101
	    value = 200
	}
}

GGR_war_plan_c_xinjiang = {
	allowed = {
		tag = GER 
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
			has_global_flag = TNO_my_world_is_on_fire_how_about_yours
		}
		has_completed_focus = GGR_the_northern_route
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = prepare_for_war
		id = XIN
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = XIN
		value = 1000
	}
}

GGR_war_plan_c_amur = {
	allowed = {
		tag = GER 
	}
	enable = {
		has_global_flag = german_civil_war_goeringvic
		NOT = {
			has_idea = GGR_total_economic_collapse
			has_global_flag = TNO_my_world_is_on_fire_how_about_yours
		}
		has_completed_focus = GGR_the_northern_route
		country_exists = AMR
		AMR = { has_cosmetic_tag = AMR_GER is_in_faction = no }
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = prepare_for_war
		id = AMR
		value = 10000
	}
	ai_strategy = {
		type = front_unit_request
		tag = AMR
		value = 1000
	}
}

### Send Volunteers to South Africa ###
GGR_goering_south_africa_volunteers = {
	allowed = {
		tag = GER 
	}
	enable = {
		GER = {
			NOT = {
				has_idea = GGR_total_economic_collapse
			}
		}
		has_global_flag = south_african_war_happening
		has_global_flag = german_civil_war_goeringvic
		has_completed_focus = GER_GOR_full_scale_intervention
		has_war = no
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = send_volunteers_desire
		id = COG
		value = 10000
	}
	ai_strategy = {
		type = send_volunteers_desire
		id = ANG
		value = 10000
	}
	ai_strategy = {
		type = send_volunteers_desire
		id = GRO
		value = 10000
	}
}

### Send Volunteers to Madagascar ###
GGR_goering_madagascar_volunteers = {
	allowed = {
		tag = GER 
	}
	enable = {
		GER = {
			NOT = {
				has_idea = GGR_total_economic_collapse
			}
		}
		MDG = {
		    has_war_with = MAD 
		}	
		has_war = no
		has_global_flag = german_civil_war_goeringvic
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = send_volunteers_desire
		id = MDG
		value = 10000
	}
}