add_namespace = germany_2

#Italian Annexations

country_event = {
    id = germany_2.1
	title = germany_2.1.t
	desc = germany_2.1.d
	picture = GFX_report_event_german_speech

	is_triggered_only = yes
	
	option = {
	    name = germany_2.1.a
		transfer_state = 39
		transfer_state = 850
		transfer_state = 736
		transfer_state = 852
		39 = { add_core_of = GER}
		850 = { add_core_of = GER}
		if = {
		    limit = {
			    OR = {
				    ITA = { controls_state = 735 } #The Italians lost their occupation zone in Savoy
				}
			}
			transfer_state = 735
		}
		if = {
		    limit = {
			    OR = {
				    ITA = { controls_state = 32 } #The Italians lost their occupation zone in Avignon
				}
			}
			transfer_state = 32
		}
		if = {
		    limit = {
			    OR = {
				    ITA = { controls_state = 851 } #The Italians lost their occupation zone in Toulon
				}
			}
			transfer_state = 851
		}
		if = {
		    limit = {
			    OR = {
				    ITA = { controls_state = 1 } #The Italians lost their occupation zone in Corcisa
				}
			}
			transfer_state = 1
		}
		ITA = { country_event = { id = italy_1.1 hours = 1 } }
    }
}

country_event = {
    id = germany_2.2
	title = germany_2.2.t
	desc = germany_2.2.d
	picture = GFX_report_event_german_speech

	is_triggered_only = yes
	
	option = {
	    name = germany_2.2.a
		transfer_state = 805
		transfer_state = 44
		if = {
		    limit = {
				    ITA = { controls_state = 909 } #The Italians lost their occupation zone in Devar
			}
			transfer_state = 909
		}
		if = {
		    limit = {
				    ITA = { controls_state = 105 } #The Italians lost their occupation zone in Montenegro
			}
			transfer_state = 105
		}
		if = {
		    limit = {
				    ITA = { controls_state = 802 } #The Italians lost their occupation zone in Kosovo
			}
			transfer_state = 802
		}
		if = {
		    limit = {
				    ITA = { controls_state = 185 } #The Italians lost their occupation zone in Epirus
			}
			transfer_state = 185
		}
		if = {
		    limit = {
				    ITA = { controls_state = 47 } #The Italians lost their occupation zone in Attica
			}
			transfer_state = 47
		}
		if = {
		    limit = {
				    ITA = { controls_state = 186 } #The Italians lost their occupation zone in the Peloponnese
			}
			transfer_state = 186
		}
		if = {
		    limit = {
				    ITA = { controls_state = 182 } #The Italians lost their occupation zone in Crete
			}
			transfer_state = 182
		}
		ITA = { country_event = { id = italy_1.2 hours = 1 } }
    }
}

country_event = {
    id = germany_2.3
	title = germany_2.3.t
	desc = germany_2.3.d
	picture = GFX_report_event_german_speech

	is_triggered_only = yes
	
	option = {
	    name = germany_2.3.a
		puppet = { target = ITA end_wars = no }
		add_manpower = -10 #amount of casualties the Germans took in the operation
		ITA = { set_cosmetic_tag = the_RSI }
		ITA = { country_event = { id = italy_1.3 hours = 1 } }
    }
}

country_event = {
    id = germany_2.4
	title = germany_2.4.t
	desc = germany_2.4.d
	picture = GFX_report_event_german_speech
	
	is_triggered_only = yes

	fire_only_once = yes
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = germany_2.4.a

		add_stability = -0.1
		add_war_support = -0.1
	
	}

	option = {
		name = germany_2.4.b
			
	    retire_character = GER_erwin_rommel
	    retire_character = GER_ludwig_beck
	    retire_character = GER_erwin_von_witzleben
	    retire_character = GER_gunther_von_kluge
		add_stability = 0.05
		add_political_power = 100
		add_to_variable = {
            var = ss_anger
            value = -10
            }

		ai_chance = {
			base = 100
		}
	}
}

country_event = {
    id = germany_2.5
	title = germany_2.5.t
	desc = germany_2.5.d
	picture = GFX_report_event_german_speech
	
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = germany_2.5.a
	}
}

country_event = {
    id = germany_2.6
	title = germany_2.6.t
	desc = germany_2.6.d
	picture = GFX_report_event_german_speech
	
	is_triggered_only = yes
	fire_only_once = yes
	
	option = {
	    name = germany_2.6.a
		retire_character = GER_walter_model
	}
}

country_event = {
    id = germany_2.7
	title = germany_2.7.t
	desc = germany_2.7.d
	picture = GFX_report_event_german_speech
	
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = germany_2.7.a
	}
}

country_event = {
    id = germany_2.8
	title = germany_2.8.t
	desc = germany_2.8.d
	picture = GFX_report_event_german_speech
	
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = germany_2.8.a
	}
}