ger_prepare_to_civwar_category = {

	mission_progress_speer = {
	
		icon = POL_looming_peasants_strike
	
		available = {
			always = no
		}
		
		activation = {
			GER = {
				has_country_flag = ger_preemnik_est
				NOT = {
					has_country_flag = ger_speer
					has_country_flag = wrw_germany_united
				}
			}
		}
	
		priority = 471
		
		is_good = no
		
		days_mission_timeout = 10
		
		days_re_enable = 12
		
		fire_only_once = no
		
		cancel_trigger = {
			
		}
		
		timeout_effect = {
			custom_effect_tooltip = Speer_plus5
			add_to_variable = {Speer_Progress = 5}
			prewar_GER_progressbar_var = yes
		}
	}
	
	mission_progress_goring = {
	
		icon = POL_looming_peasants_strike
	
		available = {
			always = no
		}
		
		activation = {
			GER = {
				has_country_flag = ger_preemnik_est
				NOT = {
					has_country_flag = ger_goring
					has_country_flag = wrw_germany_united
				}
			}
		}
	
		priority = 471
		
		is_good = no
		
		days_mission_timeout = 10
		
		days_re_enable = 13
		
		fire_only_once = no
		
		cancel_trigger = {
		}
		
		timeout_effect = {
			custom_effect_tooltip = Goring_plus5
			add_to_variable = {Goring_Progress = 5}
			prewar_GER_progressbar_var = yes
		}
	}

	mission_progress_heydrich = {
	
		icon = POL_looming_peasants_strike
	
		available = {
			always = no
		}
		
		activation = {
			GER = {
				has_country_flag = ger_preemnik_est
				NOT = {
					has_country_flag = ger_heydrich
					has_country_flag = wrw_germany_united
				}
			}
		}
	
		priority = 471
		
		is_good = no
		
		days_mission_timeout = 10
		
		days_re_enable = 20
		
		fire_only_once = no
		
		cancel_trigger = {
		}
		
		timeout_effect = {
			custom_effect_tooltip = Heydrich_plus5
			add_to_variable = {Heydrich_Progress = 5}
			prewar_GER_progressbar_var = yes
		}
	}

	mission_progress_bormann = {
	
		icon = POL_looming_peasants_strike
	
		available = {
			always = no
		}
		
		activation = {
			GER = {
				has_country_flag = ger_preemnik_est
				NOT = {
					has_country_flag = ger_bormann
					has_country_flag = wrw_germany_united
				}
			}
		}
	
		priority = 471
		
		is_good = no
		
		days_mission_timeout = 10
		
		days_re_enable = 8
		
		fire_only_once = no
		
		cancel_trigger = {
		}
		
		timeout_effect = {
			custom_effect_tooltip = Bormann_plus5
			add_to_variable = {Bormann_Progress = 5}
			prewar_GER_progressbar_var = yes
		}
	}
	

	GER_prewar_reichstag = {
	
		priority = 12

		icon = eng_propaganda_campaigns
		cost = 30
		allowed = {
			original_tag = GER
		}

		available = {
		    is_subject = no		
		}
		
		visible = {
			AND = {
				has_country_flag = GER_prepare_to_civilwar
				original_tag = GER
				has_country_flag = ger_preemnik_est
				NOT = {
					has_country_flag = wrw_germany_united
				}
			}
		}
		fire_only_once = no
		
		ai_will_do = {
			factor = 50
		}

		remove_effect = {
			if = {
				limit = {has_country_flag = ger_heydrich}
				add_to_variable = { Heydrich_Progress = 5 }
				custom_effect_tooltip = Heydrich_plus5
			}
			if = {
				limit = {has_country_flag = ger_bormann}
				add_to_variable = { Bormann_Progress = 5 }
				custom_effect_tooltip = Bormann_plus5
			}
			if = {
				limit = {has_country_flag = ger_speer}
				add_to_variable = { Speer_Progress = 5 }
				custom_effect_tooltip = Speer_plus5
			}
			if = {
				limit = {has_country_flag = ger_goring}
				add_to_variable = { Goring_Progress = 5 }
				custom_effect_tooltip = Goring_plus5
			}
			prewar_GER_progressbar_var = yes
		}
		days_remove = 7

		days_re_enable = 5
			
		}
	
	GER_prewar_nationalisation = {
	
		priority = 13

		icon = eng_propaganda_campaigns
		cost = 20
		allowed = {
			original_tag = GER
		}

		available = {
		    is_subject = no		
			has_completed_focus = ger_pre_civwar_focus_nationalisation
		}
		
		visible = {
			AND = {
				has_country_flag = GER_prepare_to_civilwar
				original_tag = GER
				has_country_flag = ger_preemnik_est
				NOT = {has_country_flag = wrw_germany_united}
			}
		}
		fire_only_once = no
		
		ai_will_do = {
			factor = 50
		}

		remove_effect = {
			if = {
				limit = {has_country_flag = ger_heydrich}
				add_to_variable = { Heydrich_Progress = 10 }
				custom_effect_tooltip = Heydrich_plus10
			}
			if = {
				limit = {has_country_flag = ger_bormann}
				add_to_variable = { Bormann_Progress = 10 }
				custom_effect_tooltip = Bormann_plus10
			}
			if = {
				limit = {has_country_flag = ger_speer}
				add_to_variable = { Speer_Progress = 10 }
				custom_effect_tooltip = Speer_plus10
			}
			if = {
				limit = {has_country_flag = ger_goring}
				add_to_variable = { Goring_Progress = 10 }
				custom_effect_tooltip = Goring_plus10
			}
			random_owned_state = {
				remove_building = {
					type = industrial_complex
					level = 2
				}
			}
			random_owned_state = {
				remove_building = {
					type = industrial_complex
					level = 2
				}
			}
			prewar_GER_progressbar_var = yes
		}
		days_remove = 15
			
		}
	GER_prewar_general_meeting = {
	
		priority = 11

		icon = eng_propaganda_campaigns
		cost = 45
		
		allowed = {
			original_tag = GER
		}

		available = {
		    is_subject = no		
			has_completed_focus = ger_pre_civwar_focus_general_loyalty
		}
		
		visible = {
			AND = {
				has_country_flag = GER_prepare_to_civilwar
				original_tag = GER
				has_country_flag = ger_preemnik_est
				NOT = {has_country_flag = wrw_germany_united}
			}
		}
		fire_only_once = no
		
		ai_will_do = {
			factor = 50
		}

		remove_effect = {
			if = {
				limit = {has_country_flag = ger_heydrich}
				add_to_variable = { Heydrich_Progress = 10 }
				custom_effect_tooltip = Heydrich_plus10
			}
			if = {
				limit = {has_country_flag = ger_bormann}
				add_to_variable = { Bormann_Progress = 10 }
				custom_effect_tooltip = Bormann_plus10
			}
			if = {
				limit = {has_country_flag = ger_speer}
				add_to_variable = { Speer_Progress = 10 }
				custom_effect_tooltip = Speer_plus10
			}
			if = {
				limit = {has_country_flag = ger_goring}
				add_to_variable = { Goring_Progress = 10 }
				custom_effect_tooltip = Goring_plus10
			}
			prewar_GER_progressbar_var = yes
		}
		days_remove = 10

		days_re_enable = 5
			
		}
}