add_namespace = scenario
add_namespace = offensives
add_namespace = intro
add_namespace = scenarionukes
add_namespace = scenarionews
add_namespace = maintenance
add_namespace = volkssturm

#GFX_report_event_generic_destroyed_vehicles

# Scenario Intro for Germany
country_event = {
	id = intro.1
	title = intro.1.t
	desc = intro.1.d	
	picture = GFX_report_event_mod_gerintro


	fire_only_once = no

	is_triggered_only = yes

	immediate = {
		hidden_effect = {
			add_manpower = -2000000
			add_manpower = -2000000
			add_manpower = -2000000
			add_manpower = -2000000
			add_manpower = -1800000	
			SOV = {
				remove_ideas = SOV_desperate_measures_ns
				remove_ideas = SOV_the_road_of_life_ns
			}	
			if = {
				limit = { NOT = { has_start_date > 1945.4.26 } }
					country_event = { id = scenario.12 days = 8 }	
				}	
			}	
		}

	option = {	# 
		name = intro.1.a
		custom_effect_tooltip = GER_scenariointro_tt
		hidden_effect = {
			68 = {
			add_building_construction = {
				type = supply_node
				level = 1
				instant_build = yes
				province = 537
				}
			add_building_construction = {
				type = supply_node
				level = 1
				instant_build = yes
				province = 3473
				}
			add_building_construction = {
				type = supply_node
				level = 1
				instant_build = yes
				province = 3572
				}			
			}
			4 = {
			add_building_construction = {
				type = supply_node
				level = 1
				instant_build = yes
				province = 3700
				}			
			}
			190 = {
			add_building_construction = {
				type = supply_node
				level = 1
				instant_build = yes
				province = 3296
				}			
			}
			763 = {
			add_building_construction = {
				type = supply_node
				level = 1
				instant_build = yes
				province = 11265
				}			
			}
			162 = {
			add_building_construction = {
				type = supply_node
				level = 1
				instant_build = yes
				province = 11889
				}
			add_building_construction = {
				type = supply_node
				level = 1
				instant_build = yes
				province = 1616
				}
			add_building_construction = {
				type = supply_node
				level = 1
				instant_build = yes
				province = 6946
				}			
			}
		}
	}
}

# Scenario Intro for Japan
country_event = {
	id = intro.2
	title = intro.2.t
	desc = intro.2.d	
	picture = GFX_report_event_japanese_reply


	fire_only_once = no

	is_triggered_only = yes

	immediate = {
		hidden_effect = {
			add_manpower = -2000000
			add_manpower = -2000000
			add_manpower = -2000000
			add_manpower = -2000000
			add_manpower = -2000000
			add_manpower = -2000000
			add_manpower = -2000000
			add_manpower = -2000000
			add_manpower = -2000000
			add_manpower = -2000000
		}
	}

	option = {	# 
		name = intro.2.a
	}
}

# Scenario Intro for Germany 27 April 1945
country_event = {
	id = intro.3
	title = intro.3.t
	desc = intro.3.d	
	picture = GFX_report_event_mod_gerintro


	fire_only_once = no

	is_triggered_only = yes

	immediate = {
		hidden_effect = {
			add_manpower = -2000000
			add_manpower = -1000000
			SOV = {
				remove_ideas = SOV_desperate_measures_ns
				remove_ideas = SOV_the_road_of_life_ns
			}	
		}
	}

	option = {	# 
		name = intro.3.a
	}
}

# Scenario Intro for Germany March 6 1945
country_event = {
	id = intro.4
	title = intro.4.t
	desc = intro.4.d	
	picture = GFX_report_event_mod_gerintro


	fire_only_once = no

	is_triggered_only = yes

	immediate = {
		hidden_effect = {
			GER = {
				add_timed_idea = {
					days = 42 
					idea = GER_not_all_is_yet_lost
				}
				add_manpower = -2000000
				add_manpower = -2000000
				add_manpower = -2000000
				add_manpower = -2000000
				add_manpower = -2000000
				add_manpower = -2000000
				add_manpower = -2000000
			}
			SOV = {
				remove_ideas = SOV_desperate_measures_ns
				remove_ideas = SOV_the_road_of_life_ns
				if = {
					limit = {
						NOT = {
							has_dlc = "By Blood Alone"
						}
					}
					load_oob = "SOV_1945_3_6"
				}
			}	
			ENG = {
				add_timed_idea = {
					days = 15
					idea = ENG_slow_europe
				}
			}
			USA = {
				add_timed_idea = {
					days = 15
					idea = ENG_slow_europe
				}
			}
			FRA = {
				add_timed_idea = {
					days = 15
					idea = ENG_slow_europe
				}
			}
		}
	}

	option = {	# 
		name = intro.4.a
		custom_effect_tooltip = GER_scenariointro_tt
	}
}

# Scenario Intro for Germany January 12 1945
country_event = {
	id = intro.5
	title = intro.5.t
	desc = intro.5.d	
	picture = GFX_report_event_mod_vistulaoder

	fire_only_once = no

	is_triggered_only = yes

	immediate = {
		hidden_effect = {
			add_manpower = -2000000
			add_manpower = -2000000
			add_manpower = -2000000
			add_manpower = -2000000
			add_manpower = -2000000
			add_manpower = -2000000
			add_manpower = -2000000
			add_manpower = -2000000
			SOV = {
				add_timed_idea = {
					idea = SOV_vistula_oder_offensive
					days = 15
				}
				remove_ideas = SOV_desperate_measures_ns
				remove_ideas = SOV_the_road_of_life_ns
				if = {
					limit = {
						NOT = {
							has_dlc = "By Blood Alone"
						}
					}
					load_oob = "SOV_1945_12_1"
				}
			}	
			ENG = {
				add_timed_idea = {
					days = 30
					idea = ENG_slow_europe
				}
				if = {
					limit = {
						NOT = {
							has_dlc = "By Blood Alone"
						}
					}
					load_oob = "ENG_1945_1_12"
				}
			}
			USA = {
				add_timed_idea = {
					days = 30
					idea = ENG_slow_europe
				}
				if = {
					limit = {
						NOT = {
							has_dlc = "By Blood Alone"
						}
					}
					load_oob = "USA_1945_12_1"
				}
			}
			FRA = {
				add_timed_idea = {
					days = 30
					idea = ENG_slow_europe
				}
			}
		}
	}

	option = {	# Okay
		name = intro.5.a
	}

	option = { # Tell me more
		name = intro.5.b
		hidden_effect = {
			country_event = intro.7
		}
	}
}

# Tell me more
country_event = {
	id = intro.7
	title = intro.7.t
	desc = intro.7.d	
	picture = GFX_report_event_soviet_tanks

	is_triggered_only = yes

	fire_only_once = no

	option = {	# Budapest Relief Attempts
		name = intro.7.a
			hidden_effect = {
				country_event = intro.8
			}		
	}
	option = {	# Vistula-Oder Offensive
		name = intro.7.b
			hidden_effect = {
				country_event = intro.9
			}	
	}
	option = {	# Operation Frühlingserwachen
		name = intro.7.c
			hidden_effect = {
				country_event = intro.10
			}	
	}
	option = {	# I'm Done
		name = intro.8.b
	}
}

# 'Konrad' Offensives
country_event = {
	id = intro.8
	title = intro.8.t
	desc = intro.8.d	

	is_triggered_only = yes

	fire_only_once = no

	option = {	# Go Back
		name = intro.8.a
			hidden_effect = {
				country_event = intro.7
			}		
	}
	option = {	# I'm Done
		name = intro.8.b
	}
}

# Vistula-Oder Offensive
country_event = {
	id = intro.9
	title = intro.9.t
	desc = intro.9.d	

	is_triggered_only = yes

	fire_only_once = no

	option = {	# Go Back
		name = intro.8.a
			hidden_effect = {
				country_event = intro.7
			}		
	}
	option = {	# I'm Done
		name = intro.8.b
	}
}

# Operation 'Frühlingserwachen'
country_event = {
	id = intro.10
	title = intro.10.t
	desc = intro.10.d	

	is_triggered_only = yes

	fire_only_once = no

	option = {	# Go Back
		name = intro.8.a
			hidden_effect = {
				country_event = intro.7
			}		
	}
	option = {	# I'm Done
		name = intro.8.b
	}
}

# Surrender of Walter Model's & Army Group B
country_event = {
	id = scenario.1
	title = scenario.1.t
	desc = scenario.1.d	
	picture = GFX_report_event_gre_city_siege

	fire_only_once = yes

	is_triggered_only = yes

	option = {	
		name = scenario.1.a
		retire_character = GER_walter_model
		retire_character = GER_josef_harpe
		retire_character = GER_gustavadolf_von_zangen
		hidden_effect = {
			news_event = { id = scenarionews.4 days = 1 }
		}
	}
}

# Himmler's Betrayal - April 28 1945
country_event = {
	id = scenario.2
	title = scenario.2.t
	desc = scenario.2.d	
	picture = GFX_report_event_mod_himmler_betrayal

	fire_only_once = yes

	trigger = {
		TAG = GER
		surrender_progress > 0.51
	}

	option = {	# 
		name = scenario.2.a
		retire_character = GER_heinrich_himmler
	}
}

# Fegeleins's Execution April 28 1945
country_event = {
	id = scenario.3
	title = scenario.3.t
	desc = scenario.3.d	
	picture = GFX_report_event_soviet_purge_trial


	fire_only_once = yes

	trigger = {
		TAG = GER
		GER = {
			controls_state = 64
		}
		SOV = {
			OR = {
				controls_province = 11505
				controls_province = 11444
				controls_province = 9428
			}
		}
	}

	option = {	# 
		name = scenario.3.a
		retire_character = GER_hermann_fegelein
	}
}

# Birth of the Flensburg Government 2 May 1945
country_event = {
	id = scenario.4
	title = scenario.4.t
	desc = scenario.4.d	
	picture = GFX_report_event_mod_flensburg_government


	fire_only_once = yes

	is_triggered_only = yes

	option = {	# 
		name = scenario.4.a
	#	custom_effect_tooltip = flensburg_tt
		set_capital = { state = 909 }
	}
}

# Adolf Hitler Commits Suicide April 30 1945
country_event = {
	id = scenario.5
	title = scenario.5.t
	desc = scenario.5.d	
	picture = GFX_report_event_generic_soldiers_surrendering

	fire_only_once = yes

	is_triggered_only = yes

	immediate = {
		hidden_effect = {
			GER = { country_event = { id = scenario.8 days = 1 } }
		}
	}

	option = {	# 
		name = scenario.5.a
		swap_ideas = {
			remove_idea = GER_endsiegmod
			add_idea = GER_endsiegmod_donitz
		}
		set_global_flag = scenario_hitler_suicide

		retire_character = GER_adolf_hitler
		create_country_leader = {
			name = "Karl Dönitz"
			desc = "POLITICS_KARL_DONITZ_DESC"
			picture = GFX_portrait_GER_karl_donitz
			expire = "1965.1.1"
			ideology = nazism
			traits = {
				dictator
			}
		} 
	}
}

# Battle of Castle Itter May 5 1945
country_event = {
	id = scenario.6
	title = scenario.6.t
	desc = scenario.6.d	
	picture = GFX_report_event_mod_castle_itter


	fire_only_once = yes

	#is_triggered_only = yes

	trigger = {
		tag = GER
		has_start_date < 1945.4.26
		has_war = yes
		USA = {
			OR = {
				controls_province = 11620
				controls_state = 52
			}
		}
		GER = {
			controls_state = 153
		}
	}

	option = {	# 
		name = scenario.6.a
	}
}

# Prague Uprising May 5 1945
country_event = {
	id = scenario.7
	title = scenario.7.t
	desc = scenario.7.d	
	picture = GFX_report_event_mod_prague_uprising


	fire_only_once = yes

#	is_triggered_only = yes

	trigger = {
		has_start_date < 1945.4.26
		tag = GER
			9 = {
				is_controlled_by = ROOT
				OR = {
					any_neighbor_state = {
						CONTROLLER = {
							has_war_with = ROOT
						}
						OWNER = { tag = ROOT }
					}
					NOT = { is_fully_controlled_by = ROOT }
				}
			}
		date > 1945.4.30
	}

	option = {	# 
		name = scenario.7.a
		SOV = {
			load_oob = "prague_uprising"
		}
	}
}

# Goebbels' Suicide May 1
country_event = {
	id = scenario.8
	title = scenario.8.t
	desc = scenario.8.d	
	picture = GFX_report_event_generic_soldiers_surrendering


	fire_only_once = yes

	is_triggered_only = yes


#	immediate = {
#		GER = {
#			country_event = { id = scenario.4 days = 1 }		
#		}
#	}

	option = {	# 
		name = scenario.8.a
		retire_character = GER_joseph_goebbels		
	}
}

# Berlin Strategic Offensive Operation
country_event = {
	id = scenario.9
	title = scenario.9.t
	desc = scenario.9.d	
	picture = GFX_report_event_soviet_tanks


	fire_only_once = yes

	hidden = yes

	is_triggered_only = yes

	option = {	# 
		name = scenario.9.a
		SOV = {
			add_timed_idea = { idea = SOV_berlin_strategic_offensive_operation  days = 16 }
		}
	}
}

country_event = {
	id = scenario.10
	fire_only_once = yes
	is_triggered_only = yes
	hidden = yes

    option = {
    ai_chance = {
    base = 100
    	}
		hidden_effect = {
			set_global_flag = ALLIES_unplanned_offensives
			every_state = {
				limit = {
					OR = {
						state = 50
						state = 51
						state = 54
						state = 56
						state = 57
					}
				}
				set_state_flag = ALLIES_unplanned_offensive_flag
				add_dynamic_modifier = {
					modifier = unplanned_offensive
				}
			}
		}
    }
}

# Wili Herold 1945
country_event = {
	id = scenario.11
	title = scenario.11.t
	desc = scenario.11.d	
	picture = GFX_report_event_yugoslavia_partisans


	fire_only_once = yes

	is_triggered_only = yes

	option = {	# 
		name = scenario.11.a
	}
}

# Hitler's Birthday
country_event = {
	id = scenario.12
	title = scenario.12.t
	desc = scenario.12.d	
	picture = GFX_report_event_hitler_handshake


	fire_only_once = yes

	is_triggered_only = yes

	trigger = {
		TAG = GER
		date > 1945.4.1
		NOT = { has_start_date > 1945.4.26 }
	}

	option = {	# 
		name = scenario.12.a
	}
}
# Scenario.13 is used

# Hitler's Final Visit
country_event = {
	id = scenario.14
	title = scenario.14.t
	desc = scenario.14.d	
	picture = GFX_report_event_hitler_handshake


	fire_only_once = yes

	is_triggered_only = yes

	option = {	# 
		name = scenario.14.a
	}
}

# Directive No. 72
country_event = {
	id = scenario.15
	title = scenario.15.t
	desc = scenario.15.d	
	picture = GFX_report_event_hitler_handshake


	fire_only_once = yes

	is_triggered_only = yes

	option = {	# 
		name = scenario.15.a
		add_timed_idea = {
			idea = GER_directive_72
			days = 15
		}
	}
}

# Operation 'Frühlingserwachen' Commences
# Handled through Focus Tree
country_event = {
	id = scenario.16
	title = scenario.16.t
	desc = scenario.16.d	
	picture = GFX_report_event_hungary_southern_slovakia

	is_triggered_only = yes

	fire_only_once = yes

	option = {
		name = scenario.16.a
			GER = {
				add_timed_idea = {
					idea = GER_operation_fruhl
					days = 10
			}
		}	
	}
}

# Destruction of the Wolf's Lair
country_event = {
	id = scenario.17
	title = scenario.17.t
	desc = scenario.17.d	
	picture = GFX_report_event_soviet_tanks

	trigger = {
		TAG = GER
		SOV = { controls_province = 11245 }
		GER = {	has_war_with = SOV }
		has_start_date < 1945.1.15
	}

	fire_only_once = yes

	option = {
		name = scenario.17.a
	}
}

# Courland is evacuated or lost!
country_event = {
	id = scenario.18
	title = scenario.18.t
	desc = scenario.18.d	
	picture = GFX_report_event_mod_courland_pocket

	trigger = {
		TAG = GER
		has_country_leader = {
			character = GER_adolf_hitler
			ruling_only = yes
		}
		num_divisions_in_states = {
		    count < 22
		    states = { 190 }
		}
		NOT = {
			GER = {
				controls_state = 189		
			}
		}
	}

	fire_only_once = yes

	option = {
		name = scenario.18.a
		custom_effect_tooltip = GER_ag_courland_surrender_tt
		retire_character = GER_ehrenfriedoskar_boege
		retire_character = GER_carl_hilpert

	}
}


### Some Japanese events ###

# Victory or Death
country_event = {
	id = scenario.19
	title = scenario.19.t
	desc = scenario.19.d	
	#picture = GFX_report_event_mod_courland_pocket

	is_triggered_only = yes

#	trigger = {
#		TAG = JAP
#		526 = {
#			is_controlled_by = JAP
#			NOT = { is_fully_controlled_by = JAP }
#		}
#	}
#	mean_time_to_happen = { days = 5 }

	fire_only_once = yes

	option = { # The Americans cannot be allowed to win!
		name = scenario.19.a
		add_timed_idea = {
			idea = JAP_okinawa_victory_or_death
			days = 45
		}
	}
	option = { #Unleash the Kamikaze
		name = scenario.19.b
		JAP = {
			country_event = { id = scenario.22 days = 3 } 
		}	
	}
}

# Operation Ten-Go Unsuccessful
country_event = {
	id = scenario.20
	title = scenario.20.t
	desc = scenario.20.d	
	picture = GFX_report_event_mod_operation_tengo

	is_triggered_only = yes

	fire_only_once = yes

	immediate = {
		hidden_effect = {
			transfer_ship = {
			    prefer_name = "Yamato"
			    type = battleship
			    target = PAN
			    exclude_refitting = no
			}		
		}
	}

	option = {
		name = scenario.20.a
		custom_effect_tooltip = JAP_operation_ten_go_tt
	}
}

# Operation Ten-Go Successful
country_event = {
	id = scenario.21
	title = scenario.21.t
	desc = scenario.21.d	
	picture = GFX_report_event_mod_operation_tengo

	is_triggered_only = yes

	fire_only_once = yes

	immediate = {
		hidden_effect = {
			transfer_ship = {
			    prefer_name = "Yamato"
			    type = battleship
			    target = PAN
			    exclude_refitting = no
			}		
		}
	}


	option = {
		name = scenario.20.a
		custom_effect_tooltip = JAP_operation_ten_go_tt
	}
}


# Typhoon of Steel
country_event = {
	id = scenario.22
	title = scenario.22.t
	desc = scenario.22.d	
	#picture = GFX_report_event_mod_courland_pocket

	is_triggered_only = yes

	fire_only_once = yes

	option = {
		name = scenario.22.a
		USA = {
			add_war_support = -0.1
			add_timed_idea = {
				idea = USA_battle_of_okinawa_idea
				days = 30
			}
		}
	}
}

# Japanese coup d'état in French Indochina
country_event = {
	id = scenario.23
	title = scenario.23.t
	desc = scenario.23.d	
	#picture = GFX_report_event_mod_courland_pocket

	is_triggered_only = yes

	fire_only_once = yes

	option = { # Yes
		name = scenario.23.a
		CAM = {
			transfer_state = 741
		}
		VIN = {
			transfer_state = 671
			transfer_state = 286
		}
		LAO = {
			transfer_state = 670
		}
	}

	option = { # No
		name = scenario.23.a
	}
}

# Allies land at Borneo
country_event = {
	id = scenario.24
	title = scenario.24.t
	desc = scenario.24.d	
	picture = GFX_report_event_mod_borneo_ast

	immediate = {
		set_global_flag = scenario_borneo

		hidden_effect = {
			AST = {
				if = {
					limit = { NOT = { has_global_flag = JAP_scenario_settings_scripted_invasions } }
					load_oob = AST_borneo
					add_timed_idea = {
						days = 4
						idea = USA_anti_cheese_measures
					}
				}	
			}	
		}
	}
	
	fire_only_once = yes
	
	trigger = {
		TAG = JAP
		date > 1945.4.29
		date < 1945.5.15 #To not fire after the Jan 12 scenario
		NOT = { 
			INS = {
				controls_state = 334
				is_ai = no
			}
		}
		NOT = { has_global_flag = scenario_borneo }
	}

	option = {
		name = scenario.24.a
	}
}

# Nukes/Home Islands happened - Surrender?
country_event = {
	id = scenario.25
	title = scenario.25.t
	desc = scenario.25.d	
	picture = GFX_report_event_japanese_reply

	immediate = {

	}
	
	fire_only_once = yes
	#is_triggered_only = yes
	
	trigger = {
		TAG = JAP
		OR = {
			has_global_flag = JAP_nuke_1
			has_global_flag = JAP_nuke_2					
			surrender_progress > 0.1
		}
	}

	option = {
		name = scenario.25.a
		JAP = {
			custom_effect_tooltip = JAP_scenario_surrender_japan_tt		
			hidden_effect = {
				activate_decision = JAP_scenario_surrender_japan
			}
		}
	}
	option = {
		name = scenario.25.b
		custom_effect_tooltip = JAP_kyujo_incident_coup_tt
		hidden_effect = {
			JAP = {
				country_event = { id = scenario.26 }		
			}			
		}
	}
}

# Kyujo Incident
country_event = {
	id = scenario.26
	title = scenario.26.t
	desc = scenario.26.d	
	picture = GFX_report_event_japanese_soldiers_02

	immediate = {
		hidden_effect = {
			news_event = { id = scenarionews.16 days = 3 }
		}
	}
	
	fire_only_once = yes
	
	is_triggered_only = yes

	option = {
		name = scenario.26.a
		custom_effect_tooltip = JAP_emperor_hirohito_kyujo_incident
		add_stability = -0.05
		add_war_support = 0.15
		add_ideas = JAP_militarist_government
	}
}

# Japanese event, Operation Downfall
country_event = {
	id = scenario.27
	title = scenario.27.t
	desc = scenario.27.d	
	picture = GFX_report_event_japanese_transport_soldiers

	immediate = {
		hidden_effect = {
			set_global_flag = JAP_operation_downfall_underway
		}
	}
	
	fire_only_once = yes
	
	is_triggered_only = yes

	option = {
		name = scenario.27.a
		add_equipment_to_stockpile = {
    		type = infantry_equipment_3
    		amount = 25000
    		producer = JAP
    	} 
		hidden_effect = {
			282 = {
				create_unit = {
					division = "division_template = \"Chuton-chi Shidan\" start_experience_factor = 0.1 start_equipment_factor = 1.0"
					owner = ROOT
					count = 10
				}
			}
		}		
	}
}

# Fall of Vienna
news_event = {
	id = scenarionews.1
	title = scenarionews.1.t
	desc = scenarionews.1.d
	picture = GFX_news_event_fallofvienna

	immediate = {
		set_global_flag = scenario_vienna
	}
	
	major = yes
	
	trigger = {
		4 = { is_controlled_by = SOV }
		4 = { is_owned_by = GER }
		GER = { has_war_with = SOV }
		NOT = { 
			OR = {
				has_start_date > 1945.4.26
				has_global_flag = scenario_vienna
			} 
		}
	}
	
	option = {
		name = scenarionews.1.a
		trigger = {
			NOT = {
				TAG = GER
			}
		}
	}
	option = {
		name = scenarionews.1.b
		trigger = { TAG = GER }
	}
}

# Battle of Berlin
news_event = {
	id = scenarionews.2
	title = scenarionews.2.t
	desc = scenarionews.2.d
	picture = GFX_news_event_battleofberlin

	immediate = {
		set_global_flag = scenario_berlin
	}
	
	major = yes
	
	trigger = {
		date > 1945.4.15
		NOT = {
			OR = {
				has_start_date > 1945.4.26
				has_global_flag = scenario_berlin
			} 
		}
	}
	
	option = {
		name = scenarionews.2.a
		trigger = {
			NOT = {
				TAG = GER
			}
		}
	}
	option = {
		name = scenarionews.2.b
		trigger = { 
			TAG = GER 
		}
	}
}

# Mussolini Captured and Executed April 28 1945
news_event = {
	id = scenarionews.3
	title = scenarionews.3.t
	desc = scenarionews.3.d	
	picture = GFX_news_event_ITA_mussolini_execution

	immediate = {
		set_global_flag = scenario_mussolini
		hidden_effect = {
		ITA = {
			retire_character = ITA_benito_mussolini
			}		
		}
	}
	
	major = yes
	
	trigger = {
		date > 1945.4.26
		NOT = { has_global_flag = scenario_mussolini }
	}

	option = {	# 
		name = scenarionews.3.a

	}
}

# Surrender of Walter Model's & Army Group B
news_event = {
	id = scenarionews.4
	title = scenarionews.4.t
	desc = scenarionews.4.d	
	picture = GFX_news_event_mod_walter_model_surrender

	fire_only_once = yes

	is_triggered_only = yes

	option = {
		name = scenarionews.4.a
		trigger = {
			NOT = {
				TAG = GER
			}
		}
	}
	option = {
		name = scenarionews.4.b
		trigger = { 
			TAG = GER 
		}
	}
}

# Capture of Magdeburg
news_event = {
	id = scenarionews.5
	title = scenarionews.5.t
	desc = scenarionews.5.d	
	picture = GFX_news_event_magdeburgliberated

	immediate = {
		set_global_flag = scenario_magdeburg
	}
	
	major = yes
	
	trigger = {
		GER = {
			NOT = {
				controls_province = 3522
			}
		}
		NOT = { 
			OR = {
				has_start_date > 1945.4.26
				has_global_flag = scenario_magdeburg 
			}
		}
	}

	option = {
		name = scenarionews.5.a
		trigger = {
			NOT = {
				TAG = GER
			}
		}
	}
	option = {
		name = scenarionews.5.b
		trigger = { 
			TAG = GER 
		}
	}
}



# Surrender of the National Republican Army (Italy)
news_event = {
	id = scenarionews.6
	title = scenarionews.6.t
	desc = scenarionews.6.d
	picture = GFX_news_event_ITA_civil_war

	immediate = {
		set_global_flag = scenario_italy
		hidden_effect = {
			ITA = {
				remove_ideas = surrender_limit
				delete_unit = {
			    	state = 159
			    	disband = no
				}	
				delete_unit = {
			    	state = 160
			    	disband = no
				}	
				delete_unit = {
			    	state = 161
			    	disband = no
				}	
				delete_unit = {
			    	state = 158
			    	disband = no
				}	
				delete_unit = {
			    	state = 735
			    	disband = no
				}
			}
			GER = {
				delete_unit = {
			    	state = 159
			    	disband = no
				}	
				delete_unit = {
			    	state = 160
			    	disband = no
				}	
				delete_unit = {
			    	state = 161
			    	disband = no
				}	
				delete_unit = {
			    	state = 158
			    	disband = no
				}	
				delete_unit = {
			    	state = 735
			    	disband = no
				}				
			}			
		}
	}
	
	major = yes
	
	trigger = {
		GER = {
			has_war = yes
		}
		OR = {
			USA = {
				controls_state = 159
			}
			ENG = {
				controls_state = 159
			}
			FRA = {
				controls_state = 159
			}
		}
		NOT = { 
			has_global_flag = scenario_italy 
			ITA = {
				has_war = no
			}			
		}
	}
	
	option = {
		name = scenarionews.6.a
		trigger = {
			NOT = {
				TAG = GER

			}
		}
	}
	option = {
		name = scenarionews.6.b
		trigger = { 
				TAG = GER 
		}
		custom_effect_tooltip = GER_ag_c_surrender_tt
	}
}

 # The Fall of Budapest
#news_event = {
#	id = scenarionews.7
#	title = scenarionews.7.t
#	desc = scenarionews.7.d
#	picture = GFX_news_event_fallofbudapest
#	
#	major = yes
#
#	fire_only_once = yes
#	
#	trigger = {
#		tag = GER
#		SOV = { 
#			has_war_with = HUN 
#			controls_province = 9660
#		}
#		HUN = {
#			is_in_faction_with = GER
#		}
#		NOT = { has_global_flag = fall_of_budapest }
#	}
#	
#	immediate = {
#		set_global_flag = fall_of_budapest
#	}
#	
#	mean_time_to_happen = {
#		days = 1
#	}
#	
#	option = {
#		name = scenarionews.7.a
#	}
#}

 # The Fall of Königsberg
news_event = {
	id = scenarionews.8
	title = scenarionews.8.t
	desc = scenarionews.8.d
	picture = GFX_news_event_fallofkonigsberg
	
	major = yes

	fire_only_once = yes
	
	trigger = {
		763 = { is_controlled_by = SOV }
		GER = { has_war_with = SOV }
		NOT = { has_global_flag = fall_of_konigsberg }
	}
	
	immediate = {
		set_global_flag = fall_of_konigsberg
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = scenarionews.7.a
	}
}

# Death of FDR
news_event = {
	id = scenarionews.9
	title = scenarionews.9.t
	desc = scenarionews.9.d	
	picture = GFX_news_event_fdrdeath

	immediate = {
		set_global_flag = scenario_fdr_dead
		hidden_effect = {
			USA = {
				retire_character = USA_franklin_delano_roosevelt
				create_country_leader = {
					name = "Harry S. Truman"
					desc = "POLITICS_HARRY_TRUMAN_DESC"
					picture = GFX_mod_portrait_harry_s_truman
					expire = "1965.1.1"
					ideology = liberalism
					traits = {
					}
				}		
			}		
		}
	}
	
	major = yes
	
	is_triggered_only = yes

	option = {
		name = scenarionews.9.a
		trigger = {
			NOT = {
				TAG = GER
				TAG = JAP
			}
		}
	}
	option = {
		name = scenarionews.9.b
		trigger = { 
			TAG = GER 
		}
	}
	option = {
		name = scenarionews.9.c
		trigger = { 
			TAG = JAP 
		}
	}
}

# Allied troops connect with the Soviets at the Elbe!
news_event = {
	id = scenarionews.10
	title = scenarionews.10.t
	desc = scenarionews.10.d	
	picture = GFX_news_event_elbeday

	immediate = {
		set_global_flag = scenario_elbe_meetup
	}
	
	major = yes
	
	trigger = {
		USA = {
			controls_state = 64
		}
		SOV = {
			controls_state = 64
		}
		NOT = { has_global_flag = scenario_elbe_meetup }
	}

	option = {
		name = scenarionews.10.a
		trigger = {
			NOT = {
				TAG = GER
				TAG = SOV
				TAG = USA
			}
		}
	}
	option = {
		name = scenarionews.10.b
		trigger = { 
			TAG = GER 
		}
	}
	option = {
		name = scenarionews.10.c
		trigger = { 
			TAG = SOV 
		}
	}
	option = {
		name = scenarionews.10.e
		trigger = { 
			TAG = USA 
		}
	}
}

# War in the Pacific Extends to Northeast China!
news_event = {
	id = scenarionews.11
	title = scenarionews.11.t
	desc = scenarionews.11.d	
	picture = GFX_news_event_sovietinvasion

	immediate = {
		set_global_flag = scenario_sov_man_war
	}
	
	major = yes
	
	trigger = {
		USA = {
			has_war_with = JAP
		}
		SOV = {
			has_war_with = MAN
			has_war_with = JAP
		}
		NOT = { has_global_flag = scenario_sov_man_war }
	}

	option = {
		name = scenarionews.11.a
		trigger = {
			NOT = {
				TAG = JAP
				TAG = USA
			}
		}
	}
	option = {
		name = scenarionews.11.b
		trigger = { 
			TAG = JAP 
		}
	}
	option = {
		name = scenarionews.11.c
		trigger = { 
			TAG = USA 
		}
	}
}

# Fourth Inauguration of President Roosevelt
news_event = {
	id = scenarionews.12
	title = scenarionews.12.t
	desc = scenarionews.12.d	
	picture = GFX_news_event_fdrinauguration
	
	major = yes
	
	is_triggered_only = yes

	immediate = {
		hidden_effect = {
			USA = {
				set_country_leader_portrait = {
					ideology = democratic
					portrait = GFX_mod_portrait_usa_fdr_postreinauguration
				}			
			}
		}
	}

	option = {
		name = scenarionews.12.a
		trigger = {
			NOT = {
				TAG = GER
				TAG = JAP
			}
		}
	}
	option = {
		name = scenarionews.12.b
		trigger = { 
			TAG = GER
		}
	}
	option = {
		name = scenarionews.12.b
		trigger = { 
			TAG = JAP
		}
	}
}

# Battle of Iwo Jima
news_event = {
	id = scenarionews.13
	title = scenarionews.13.t
	desc = scenarionews.13.d	
	picture = GFX_news_event_mod_iwojima

	immediate = {
		set_global_flag = scenario_iwo_jima
		hidden_effect = {
			USA = {
				if = {
					limit = { NOT = { has_global_flag = scenario_scripted_invasions_disabled } }
					load_oob = USA_iwo_jima
					add_timed_idea = {
						days = 2
						idea = USA_anti_cheese_measures
					}
				}	
			}		
		}
	}
	
	major = yes

	trigger = {
		JAP = {
			has_war_with = USA
		}
		if = {
			limit = { NOT = { has_global_flag = scenario_scripted_invasions_disabled } }
			date > 1945.2.15
			date < 1945.3.1 #To not fire after the Jan 12 scenario
		else_if = {
			USA = {
				controls_state = 645
			}
		}
		}

		NOT = { has_global_flag = scenario_iwo_jima }
	}	

	option = {
		name = scenarionews.13.a
	}
}

 # Battle of the Bulge Ends
news_event = {
	id = scenarionews.14
	title = scenarionews.14.t
	desc = scenarionews.14.d
	picture = GFX_news_event_battleofbulge
	
	major = yes

	fire_only_once = yes
	
	is_triggered_only = yes
	
	option = {
		name = scenarionews.14.a
		trigger = {
			NOT = { tag = GER }
		}
	}
	option = {
		name = scenarionews.14.b
		trigger = {
			tag = GER
		}
	}
}

# Battle of Okinawa
news_event = {
	id = scenarionews.15
	title = scenarionews.15.t
	desc = scenarionews.15.d	
	picture = GFX_news_event_battleofokinawa

	immediate = {
		set_global_flag = scenario_okinawa

		hidden_effect = {
			JAP = {
				country_event = { id = scenario.19 days = 1 } 	
				JAP_set_military_offensive_effect = yes
			}	
			USA = {
				if = {
					limit = { NOT = { has_global_flag = scenario_scripted_invasions_disabled } }
					load_oob = USA_okinawa
					add_timed_idea = {
						days = 2
						idea = USA_anti_cheese_measures
					}
				}	
			}	
		}
	}
	
	major = yes
	
	trigger = {
		JAP = {
			has_war_with = USA
		}
		if = {
			limit = { NOT = { has_global_flag = scenario_scripted_invasions_disabled } }
			date > 1945.3.30
			date < 1945.4.5 #To not fire after the Jan 12 scenario
		else_if = {
			USA = {
				OR = {
					controls_province = 11932
					controls_province = 10124
					controls_province = 1123
					controls_province = 7115
				}
			}
		}
		}

		NOT = { has_global_flag = scenario_okinawa }
	}

	option = {
		name = scenarionews.15.a
	}
}

# Kyujo Incident
news_event = {
	id = scenarionews.16
	title = scenarionews.16.t
	desc = scenarionews.16.d	
	picture = GFX_news_event_japanese_army_parade
	
	major = yes
	
	is_triggered_only = yes

	option = {
		name = scenarionews.16.a
		trigger = { 
			TAG = JAP 
		}	
	}
	option = {
		name = scenarionews.16.b
		trigger = { 
			NOT = {
				TAG = JAP 
			}
		}		
	}
}

# Operation Downfall: Massive Allied Invasion of Japan
news_event = {
	id = scenarionews.17
	title = scenarionews.17.t
	desc = scenarionews.17.d	
	picture = GFX_news_event_usa_japan_at_war

	immediate = {
		hidden_effect = {
		set_global_flag = scenario_operation_downfall
			JAP = {
				country_event = { id = scenario.27 days = 3 }
			}
			USA = {
				if = {
					limit = { NOT = { has_global_flag = scenario_scripted_invasions_disabled } }
					load_oob = USA_operation_downfall
					add_timed_idea = {
						days = 7
						idea = USA_anti_cheese_measures
					}
				}	
			}		
		}
	}
	
	major = yes
	
	trigger = {
		JAP = {
			has_war_with = USA
		}
		if = {
			limit = { NOT = { has_global_flag = scenario_scripted_invasions_disabled } }
			date > 1945.10.1
		else_if = {
			JAP = {
				OR = {
					528 = {
						is_controlled_by = USA
					}
					530 = {
						is_controlled_by = USA
					}
					529 = {
						is_controlled_by = USA
					}
					531 = {
						is_controlled_by = USA
					}
					532 = {
						is_controlled_by = USA
					}
					535 = {
						is_controlled_by = USA
					}
					282 = {
						is_controlled_by = USA
					}
					534 = {
						is_controlled_by = USA
					}
					533 = {
						is_controlled_by = USA
					}
				}
			}
		}
		}

		NOT = { has_global_flag = scenario_operation_downfall }
	}

	option = {
		name = scenarionews.17.a
		trigger = { 
			TAG = JAP 
		}
	}
	option = {
		name = scenarionews.17.b
		trigger = { 
			NOT = {
				TAG = JAP 
			}
		}
	}
}

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


# Add Unplanned Offensives
country_event = {
	id = offensives.1

	fire_only_once = yes

	is_triggered_only = yes

	hidden = yes


    option = {
    ai_chance = {
    base = 100
    	}
		hidden_effect = {
			every_state = { #CROATIA
				limit = { 
					OR = {
						state = 103
						state = 104
						state = 109

					}
				}
				set_state_flag = CRO_partisans
				add_dynamic_modifier = {
					modifier = scenario_heavy_resistance_CRO
				}
			}
			##########################
			## UNPLANNED OFFENSIVES ##
			##########################
			set_global_flag = ALLIES_unplanned_offensives
			7 = {
				add_province_modifier = {
					static_modifiers = { MOD_unplanned_offensive }
					province = {
						id = 9498
						id = 391
						}
					}
				}
			9 = {
				add_province_modifier = {
					static_modifiers = { MOD_unplanned_offensive }
					province = {
						id = 494
						id = 445
						}
					}
				}
			69 = {
				add_province_modifier = {
					static_modifiers = { MOD_unplanned_offensive }
					province = {
						id = 11414
						id = 11401
						id = 469
						id = 11432
						id = 3418
						id = 3585
						id = 6470
						id = 424
						id = 9555
						id = 7857
						id = 5283
						id = 543
						id = 11525
						id = 557
						}
					}
				}
			74 = {
				add_province_modifier = {
					static_modifiers = { MOD_unplanned_offensive }
					province = {
						id = 6485
						id = 421
						id = 3414
						id = 3583
						}
					}
				}

			75 = {
				add_province_modifier = {
					static_modifiers = { MOD_unplanned_offensive }
					province = {
						id = 6590
						id = 6576
						id = 11511
						}
					}
				}
			###########################
			#### FESTUNG POSITIONS ####
			###########################
			29 = {
			add_province_modifier = {
				static_modifiers = { festung_positions }
				province = 575
				}
			}
			14 = {
			add_province_modifier = {
				static_modifiers = { festung_positions }
				province = 6536
				}
			}
		 	30 = {
			add_province_modifier = {
				static_modifiers = { festung_positions }
				province = 11465
				}
			}
			23 = {
			add_province_modifier = {
				static_modifiers = { festung_positions }
				province = 6657
				}
			}
			763 = {
			add_province_modifier = {
				static_modifiers = { festung_positions }
				province = 11265
				}
			}
			66 = {
			add_province_modifier = {
				static_modifiers = { festung_positions }
				province = 9570
				}
			}
			if = {
				limit = { has_start_date > 1945.4.26 }
					64 = {
					add_province_modifier = {
						static_modifiers = { 9th_army_pocket }
						province = 478
						}
					add_province_modifier = {
						static_modifiers = { 12th_army_breakout }
						province = 9560
						}
					}
				}
		}
    }
}

# Remove Unplanned Offensives - Czechia
country_event = {
	id = offensives.2

	fire_only_once = yes

	trigger = {
		date > 1945.5.8
		OR = {
			GER = {
				NOT = { controls_province = 6521 }
			}	
			GER = {
				surrender_progress < 0.15
			}	
		}
	}

	hidden = yes

    option = {
    ai_chance = {
    base = 100
    	}
		hidden_effect = {
			9 = {
				remove_province_modifier = {
					static_modifiers = { MOD_unplanned_offensive }
					province = {
						id = 494
						id = 445
						}
					}
				}
			69 = {
				remove_province_modifier = {
					static_modifiers = { MOD_unplanned_offensive }
					province = {
						id = 11414
						id = 11401
						id = 469
						id = 11432
						id = 3418
						id = 3585
						id = 6470
						id = 424
						id = 9555
						id = 7857
						id = 5283
						id = 543
						id = 11525
						id = 557
						}
					}
				}
			74 = {
				remove_province_modifier = {
					static_modifiers = { MOD_unplanned_offensive }
					province = {
						id = 6485
						id = 421
						id = 3414
						id = 3583
						}
					}
				}

			75 = {
				remove_province_modifier = {
					static_modifiers = { MOD_unplanned_offensive }
					province = {
						id = 6590
						id = 6576
						id = 11511
					}
				}
			}
		}
    }
}

# Remove Unplanned Offensives - Rest
country_event = {
	id = offensives.3

	fire_only_once = yes

	trigger = {
		date > 1945.5.5
		OR = {
			GER = {
				NOT = { controls_province = 6521 }
			}	
			GER = {
				surrender_progress < 0.01
			}	
		}

	}

	hidden = yes


    option = {
    ai_chance = {
    base = 100
    	}
		hidden_effect = {
			7 = {
				add_province_modifier = {
					static_modifiers = { MOD_unplanned_offensive }
					province = {
						id = 9498
						id = 391
						}
					}
				}
			29 = {
			remove_province_modifier = {
				static_modifiers = { festung_positions }
				province = 575
				}
			}
			14 = {
			remove_province_modifier = {
				static_modifiers = { festung_positions }
				province = 6536
				}
			}
		 	30 = {
			remove_province_modifier = {
				static_modifiers = { festung_positions }
				province = 11465
				}
			}
			23 = {
			remove_province_modifier = {
				static_modifiers = { festung_positions }
				province = 6657
				}
			}
			763 = {
			remove_province_modifier = {
				static_modifiers = { festung_positions }
				province = 11265
				}
			}
			66 = {
			remove_province_modifier = {
				static_modifiers = { festung_positions }
				province = 9570
				}
			}
		}
    }
}

# Battle of Berlin enable modifiers
country_event = {
	id = offensives.4

	fire_only_once = yes

	is_triggered_only = yes

	hidden = yes


    option = {
    ai_chance = {
    base = 100
    	}
		hidden_effect = {
			if = {
				limit = { NOT = { has_global_flag = scenario_debuffs_off } }
			set_global_flag = SOV_battleofberlin
			68 = {
				set_state_flag = SOV_battleofberlin
				add_province_modifier = {
					static_modifiers = { MOD_berlin_strategic_offensive_operation }
					province = {
						id = 537
						id = 6236
						id = 9387
						id = 3473
						id = 11478
						id = 444
						id = 3572
						}
					}
				}			
			}
		}
    }
}

# Battle of Berlin remove modifiers
country_event = {
	id = offensives.5

	fire_only_once = yes

	trigger = {
		GER = {
			NOT = { controls_province = 6521 }
		}
		has_global_flag = scenario_hitler_suicide
	}

	hidden = yes

    option = {
    ai_chance = {
    base = 100
    	}
		hidden_effect = {
			set_global_flag = SOV_battleofberlin
			68 = {
				set_state_flag = SOV_battleofberlin_end
				remove_province_modifier = {
					static_modifiers = { MOD_berlin_strategic_offensive_operation }
					province = {
						id = 537
						id = 6236
						id = 9387
						id = 3473
						id = 11478
						id = 444
						id = 3572
					}
				}
			}
		}
    }
}

# Battle of Berlin remove modifiers
country_event = {
	id = offensives.6

	fire_only_once = yes

	trigger = {
		has_global_flag = scenario_debuffs_off
	}

	hidden = yes

	immediate = {
		hidden_effect = {
			set_global_flag = SOV_battleofberlin
			68 = {
				set_state_flag = SOV_battleofberlin_end
				remove_province_modifier = {
					static_modifiers = { MOD_berlin_strategic_offensive_operation }
					province = {
						id = 537
						id = 6236
						id = 9387
						id = 3473
						id = 11478
						id = 444
						id = 3572
					}
				}
			}
		}	
	}

    option = {
    ai_chance = {
    base = 100
    	}
    }
}

# Add Unplanned Offensives MARCH 1
country_event = {
	id = offensives.7

	fire_only_once = yes

	is_triggered_only = yes

	hidden = yes


    option = {
    ai_chance = {
    base = 100
    	}
		hidden_effect = {
			set_global_flag = SOV_2_unplanned_offensives
			##########################
			## UNPLANNED OFFENSIVES ##
			##########################
			7 = {
				add_province_modifier = {
					static_modifiers = { MOD_unplanned_offensive }
					province = {
						id = 9498
						id = 391
						}
					}
				}
			9 = {
				add_province_modifier = {
					static_modifiers = { MOD_unplanned_offensive }
					province = {
						id = 494
						id = 445
						}
					}
				}
			69 = {
				add_province_modifier = {
					static_modifiers = { MOD_unplanned_offensive }
					province = {
						id = 11414
						id = 11401
						id = 469
						id = 11432
						id = 3418
						id = 3585
						id = 6470
						id = 424
						id = 9555
						id = 7857
						id = 5283
						id = 543
						id = 11525
						id = 557
						}
					}
				}
			74 = {
				add_province_modifier = {
					static_modifiers = { MOD_unplanned_offensive }
					province = {
						id = 6485
						id = 421
						id = 3414
						id = 3583
						}
					}
				}

			75 = {
				add_province_modifier = {
					static_modifiers = { MOD_unplanned_offensive }
					province = {
						id = 6590
						id = 6576
						id = 11511
						}
					}
				}
			every_state = { #CROATIA
				limit = { 
					OR = {
						state = 103
						state = 104
						state = 109

					}
				}
				set_state_flag = CRO_partisans
				add_dynamic_modifier = {
					modifier = scenario_heavy_resistance_CRO
				}
			}
			###########################
			#### FESTUNG POSITIONS ####
			###########################
			29 = {
			add_province_modifier = {
				static_modifiers = { festung_positions }
				province = 575
				}
			}
			14 = {
			add_province_modifier = {
				static_modifiers = { festung_positions }
				province = 6536
				}
			}
		 	30 = {
			add_province_modifier = {
				static_modifiers = { festung_positions }
				province = 11465
				}
			}
			23 = {
			add_province_modifier = {
				static_modifiers = { festung_positions }
				province = 6657
				}
			}
			763 = {
			add_province_modifier = {
				static_modifiers = { festung_positions }
				province = 11265
				}
			}
			66 = {
			add_province_modifier = {
				static_modifiers = { festung_positions }
				province = 9570
				}
			}
			if = {
				limit = { has_start_date > 1945.4.26 }
					64 = {
					add_province_modifier = {
						static_modifiers = { 9th_army_pocket }
						province = 478
						}
					add_province_modifier = {
						static_modifiers = { 12th_army_breakout }
						province = 9560
						}
					}
				}
		}
    }
}

# Remove Unplanned Offensives - MARCH 1
country_event = {
	id = offensives.8

	fire_only_once = yes

	trigger = {
		date > 1945.4.15
		OR = {
			GER = {
				NOT = { controls_province = 6521 }
			}	
			#GER = {
			#	surrender_progress < 0.15
			#}	
		}
	}

	hidden = yes

    option = {
    ai_chance = {
    base = 100
    	}
		hidden_effect = {
			set_global_flag = SOV_1_unplanned_offensives
			##########################
			## UNPLANNED OFFENSIVES ##
			##########################
			7 = {
				remove_province_modifier = {
					static_modifiers = { MOD_unplanned_offensive }
					province = {
						id = 9498
						id = 391
						}
					}
				}
			9 = {
				remove_province_modifier = {
					static_modifiers = { MOD_unplanned_offensive }
					province = {
						id = 494
						id = 445
						}
					}
				}
			69 = {
				remove_province_modifier = {
					static_modifiers = { MOD_unplanned_offensive }
					province = {
						id = 11414
						id = 11401
						id = 469
						id = 11432
						id = 3418
						id = 3585
						id = 6470
						id = 424
						id = 9555
						id = 7857
						id = 5283
						id = 543
						id = 11525
						id = 557
						}
					}
				}
			74 = {
				remove_province_modifier = {
					static_modifiers = { MOD_unplanned_offensive }
					province = {
						id = 6485
						id = 421
						id = 3414
						id = 3583
						}
					}
				}

			75 = {
				remove_province_modifier = {
					static_modifiers = { MOD_unplanned_offensive }
					province = {
						id = 6590
						id = 6576
						id = 11511
					}
				}
			}
		}
    }
}

# Battle of Vienna enable modifiers
country_event = {
	id = offensives.10

	fire_only_once = yes

	is_triggered_only = yes

	hidden = yes


    option = {
    ai_chance = {
    base = 100
    	}
		hidden_effect = {
			every_state = {
				limit = {
					OR = {
						state = 4
					}
				}
				add_dynamic_modifier = {
					modifier = GER_battle_of_vienna_dyn
				}
			}		
			GER = {
				country_event = { id = maintenance.2 days = 15 }		
			}			
		}
    }
}


# Armee Ostpreussen enable modifiers
country_event = {
	id = offensives.11

	fire_only_once = yes

	is_triggered_only = yes

	hidden = yes


    option = {
    ai_chance = {
    base = 100
    	}
		hidden_effect = {
			every_state = {
				limit = {
					OR = {
						state = 763
						state = 85
					}
				}
				add_dynamic_modifier = {
					modifier = GER_armee_ostpreussen_dyn
				}
			}		
			GER = {
				country_event = { id = maintenance.3 days = 50 }		
			}			
		}
    }
}

# Festung Ruhr enable modifiers
country_event = {
	id = offensives.12

	fire_only_once = yes

	is_triggered_only = yes

	hidden = yes


    option = {
    ai_chance = {
    base = 100
    	}
		hidden_effect = {
			every_state = {
				limit = {
					OR = {
						state = 42
						state = 51
					}
				}
				add_dynamic_modifier = {
					modifier = GER_festung_ruhr_dyn
				}
			}		
			GER = {
				country_event = { id = maintenance.4 days = 50 }		
			}			
		}
    }
}

# Battle of Remagen enable modifiers
country_event = {
	id = offensives.13

	fire_only_once = yes

	is_triggered_only = yes

	hidden = yes


    option = {
    ai_chance = {
    base = 100
    	}
		hidden_effect = {
			every_state = {
				limit = {
					OR = {
						state = 42
					}
				}
				add_dynamic_modifier = {
					modifier = GER_battle_of_remagen_dyn
				}
			}		
			GER = {
				country_event = { id = maintenance.6 days = 18 }		
			}			
		}
    }
}

# Add Unplanned Offensives JANUARY 12
country_event = {
	id = offensives.14

	fire_only_once = yes

	is_triggered_only = yes

	hidden = yes


    option = {
    ai_chance = {
    base = 100
    	}
		hidden_effect = {
			set_global_flag = SOV_3_unplanned_offensives
			##########################
			## UNPLANNED OFFENSIVES ##
			##########################
			7 = {
				add_province_modifier = {
					static_modifiers = { MOD_unplanned_offensive }
					province = {
						id = 9498
						id = 391
						}
					}
				}
			9 = {
				add_province_modifier = {
					static_modifiers = { MOD_unplanned_offensive }
					province = {
						id = 494
						id = 445
						}
					}
				}
			69 = {
				add_province_modifier = {
					static_modifiers = { MOD_unplanned_offensive }
					province = {
						id = 11414
						id = 11401
						id = 469
						id = 11432
						id = 3418
						id = 3585
						id = 6470
						id = 424
						id = 9555
						id = 7857
						id = 5283
						id = 543
						id = 11525
						id = 557
						}
					}
				}
			74 = {
				add_province_modifier = {
					static_modifiers = { MOD_unplanned_offensive }
					province = {
						id = 6485
						id = 421
						id = 3414
						id = 3583
						}
					}
				}

			75 = {
				add_province_modifier = {
					static_modifiers = { MOD_unplanned_offensive }
					province = {
						id = 6590
						id = 6576
						id = 11511
					}
				}
			}
			every_state = { #CROATIA
				limit = { 
					OR = {
						state = 103
						state = 104
						state = 109

					}
				}
				set_state_flag = CRO_partisans
				add_dynamic_modifier = {
					modifier = scenario_heavy_resistance_CRO
				}
			}
			##############################
			### VISTULA ODER OFFENSIVE ###
			##############################
			5 = {
				add_province_modifier = {
					static_modifiers = { MOD_vistula_oder_offensive }
					province = {
						id = 9327
						id = 11386
					}
				}
			}
			98 = {
				add_province_modifier = {
					static_modifiers = { MOD_vistula_oder_offensive }
					province = {
						id = 9316
						id = 6567
					}
				}
			}
			10 = {
				add_province_modifier = {
					static_modifiers = { MOD_vistula_oder_offensive }
					province = {
						id = 6511
					}
				}
			}
			90 = {
				add_province_modifier = {
					static_modifiers = { MOD_vistula_oder_offensive }
					province = {
						id = 3458
						id = 562
						id = 3497
						id = 11430
					}
				}
			}
			# Festungs Positions or long-lasting pockets
			29 = {
			add_province_modifier = {
				static_modifiers = { festung_positions }
				province = 575
				}
			}
			14 = {
			add_province_modifier = {
				static_modifiers = { festung_positions }
				province = 6536
				}
			}
		 	30 = {
			add_province_modifier = {
				static_modifiers = { festung_positions }
				province = 11465
				}
			}
			23 = {
			add_province_modifier = {
				static_modifiers = { festung_positions }
				province = 6657
				}
			}
			763 = {
			add_province_modifier = {
				static_modifiers = { festung_positions }
				province = 11265
				}
			}
			66 = {
			add_province_modifier = {
				static_modifiers = { festung_positions }
				province = 9570
				}
			}
		}
    }
}

# Remove Vistula-Oder Offensive - JANUARY 12
country_event = {
	id = offensives.15

	fire_only_once = yes

	trigger = {
		date > 1945.2.1
	}

	hidden = yes

    option = {
    	ai_chance = {
    	base = 100
    	}
		hidden_effect = {
			5 = {
				remove_province_modifier = {
					static_modifiers = { MOD_vistula_oder_offensive }
					province = {
						id = 9327
						id = 11386
					}
				}
			}
			98 = {
				remove_province_modifier = {
					static_modifiers = { MOD_vistula_oder_offensive }
					province = {
						id = 9316
						id = 6567
					}
				}
			}
			10 = {
				remove_province_modifier = {
					static_modifiers = { MOD_vistula_oder_offensive }
					province = {
						id = 6511
					}
				}
			}
			90 = {
				remove_province_modifier = {
					static_modifiers = { MOD_vistula_oder_offensive }
					province = {
						id = 3458
						id = 562
						id = 3497
						id = 11430
					}
				}
			}
		}
    }
}

# Remove Unplanned Offensives - JANUARY 12
country_event = {
	id = offensives.16

	fire_only_once = yes

	trigger = {
		date > 1945.4.15
		OR = {
			GER = {
				NOT = { controls_province = 6521 }
			}	
			#GER = {
			#	surrender_progress < 0.15
			#}	
		}
	}

	hidden = yes

    option = {
    ai_chance = {
    base = 100
    	}
		hidden_effect = {
			set_global_flag = SOV_4_unplanned_offensives
			##########################
			## UNPLANNED OFFENSIVES ##
			##########################
			7 = {
				remove_province_modifier = {
					static_modifiers = { MOD_unplanned_offensive }
					province = {
						id = 9498
						id = 391
						}
					}
				}
			9 = {
				remove_province_modifier = {
					static_modifiers = { MOD_unplanned_offensive }
					province = {
						id = 494
						id = 445
						}
					}
				}
			69 = {
				remove_province_modifier = {
					static_modifiers = { MOD_unplanned_offensive }
					province = {
						id = 11414
						id = 11401
						id = 469
						id = 11432
						id = 3418
						id = 3585
						id = 6470
						id = 424
						id = 9555
						id = 7857
						id = 5283
						id = 543
						id = 11525
						id = 557
						}
					}
				}
			74 = {
				remove_province_modifier = {
					static_modifiers = { MOD_unplanned_offensive }
					province = {
						id = 6485
						id = 421
						id = 3414
						id = 3583
						}
					}
				}

			75 = {
				remove_province_modifier = {
					static_modifiers = { MOD_unplanned_offensive }
					province = {
						id = 6590
						id = 6576
						id = 11511
					}
				}
			}
		}
    }
}

# Operation Solstice enable modifiers
country_event = {
	id = offensives.17

	fire_only_once = yes

	is_triggered_only = yes

	hidden = yes


    option = {
    ai_chance = {
    base = 100
    	}
		hidden_effect = {
			every_state = {
				limit = {
					OR = {
						state = 63
					}
				}
				add_dynamic_modifier = {
					modifier = GER_operation_solstice_dyn
				}
			}		
			GER = {
				country_event = { id = maintenance.7 days = 9 }		
			}			
		}
    }
}


country_event = {
	id = maintenance.2

	fire_only_once = yes

	is_triggered_only = yes

	hidden = yes


    option = {
    ai_chance = {
    base = 100
    	}
		remove_dynamic_modifier = {
			modifier = GER_battle_of_vienna_dyn
		}    	
    }
}

country_event = {
	id = maintenance.3

	fire_only_once = yes

	is_triggered_only = yes

	hidden = yes


    option = {
    ai_chance = {
    base = 100
    	}
		remove_dynamic_modifier = {
			modifier = GER_armee_ostpreussen_dyn
		}    	
    }
}

country_event = {
	id = maintenance.4

	fire_only_once = yes

	is_triggered_only = yes

	hidden = yes


    option = {
    ai_chance = {
    base = 100
    	}
		remove_dynamic_modifier = {
			modifier = GER_festung_ruhr_dyn
		}    	
    }
}

#Remove allied bombing raids
country_event = {
	id = maintenance.5

	fire_only_once = yes

	trigger = {
		GER = {
			controls_state = 64
			controls_state = 16
			controls_state = 10
		}
	}

	hidden = yes


    option = {
    	GER = {
    		remove_ideas = GER_economic_collapse
    	}
    }
}

country_event = {
	id = maintenance.6

	fire_only_once = yes

	is_triggered_only = yes

	hidden = yes


    option = {
    ai_chance = {
    base = 100
    	}
		remove_dynamic_modifier = {
			modifier = GER_battle_of_remagen_dyn
		}    	
    }
}

country_event = {
	id = maintenance.7

	fire_only_once = yes

	trigger = {
		has_start_date < 1945.1.15
		date < 1945.4.15
		OR = {
			SOV = { controls_state = 63 }
			SOV = { controls_province = 11478 }
		}
	}

	hidden = yes

	immediate  = {
		set_global_flag = SOV_vistula_oder_offensive_success
		SOV = {
			add_ideas = SOV_preparing_offensive
			}
		}		

    option = {   	
    }
}

country_event = {
	id = maintenance.8

	fire_only_once = yes

	trigger = {
		has_global_flag = SOV_vistula_oder_offensive_success
		has_start_date < 1945.1.15
		date > 1945.4.15
	}

	hidden = yes

	immediate = {
		SOV = {
			remove_ideas = SOV_preparing_offensive
			}
	}

    option = { 	
    }
}

country_event = {
	id = maintenance.9

	fire_only_once = yes

	is_triggered_only = yes

	hidden = yes


    option = {
    ai_chance = {
    base = 100
    	}
		remove_dynamic_modifier = {
			modifier = GER_operation_solstice_dyn
		}    	
    }
}

# Change FDR Portrait April 1
country_event = {
	id = maintenance.10

	fire_only_once = yes

	trigger = {
		date < 1945.4.10
		date > 1945.3.30
	}

	hidden = yes

	immediate = {
		hidden_effect = {
			USA = {
				set_country_leader_portrait = {
					ideology = democratic
					portrait = GFX_mod_portrait_usa_fdr_april_1_onward
				}			
			}
		}
	}
}

# Give Transylvania to Romania
country_event = {
	id = maintenance.11

	fire_only_once = yes

	is_triggered_only = yes

	hidden = yes

	immediate = {
		hidden_effect = {

			ROM = {
				transfer_state = 76
			}
		}
	}
}

# Fix elbe cheese
country_event = {
	id = maintenance.12

	fire_only_once = yes

	trigger = {
		date > 1946.1.1 
		GER = {
			has_war_with = SOV
			NOT = {
				controls_state = 64
			}
		}
	}

	hidden = yes

	immediate = {
		hidden_effect = {
			SOV = {
				give_military_access = ENG
				give_military_access = FRA
				give_military_access = USA
			}
			ENG = {
				give_military_access = SOV
			}
			USA = {
				give_military_access = SOV
			}
			FRA = {
				give_military_access = SOV
			}
		}
	}
}

# Burma Road Opened
country_event = {
	id = maintenance.13

	fire_only_once = no

	trigger = {
		JAP = {
			NOT = {
				controls_state = 640
			}
		}
		CHI = {
			NOT = {
				has_idea = CHI_burma_open
			}
		}
	}

	hidden = yes

	immediate = {
		hidden_effect = {
			CHI = {
				swap_ideas = {
					remove_idea = CHI_burma_closed
					add_idea = CHI_burma_open
				}
			}
		}
	}
}

# Burma Road Closed
country_event = {
	id = maintenance.14

	fire_only_once = no

	trigger = {
		JAP = {
			controls_state = 640
			controls_state = 288
		}
		CHI = {
			NOT = {
				has_idea = CHI_burma_closed
			}
		}
	}

	hidden = yes

	immediate = {
		hidden_effect = {
			CHI = {
				swap_ideas = {
					remove_idea = CHI_burma_open
					add_idea = CHI_burma_closed
				}
			}
		}
	}
}

# Stilwell Road Opened
country_event = {
	id = maintenance.15

	fire_only_once = no

	trigger = {
		JAP = {
			OR = {
				NOT = {
					has_full_control_of_state = 640
					has_full_control_of_state = 747					
				}
			}
		}
		CHI = {
			NOT = {
				has_idea = CHI_stilwell_road
			}
		}
	}

	hidden = yes

	immediate = {
		hidden_effect = {
			CHI = {
				swap_ideas = {
					remove_idea = CHI_stilwell_road_closed
					add_idea = CHI_stilwell_road
				}
			}
		}
	}
}

# Stilwell Road Closed
country_event = {
	id = maintenance.16

	fire_only_once = no

	trigger = {
		JAP = {
			OR = {
				has_full_control_of_state = 640
				has_full_control_of_state = 747
			}
		}
		CHI = {
			NOT = {
				has_idea = CHI_stilwell_road_closed
			}
		}
	}

	hidden = yes

	immediate = {
		hidden_effect = {
			CHI = {
				swap_ideas = {
					remove_idea = CHI_stilwell_road
					add_idea = CHI_stilwell_road_closed
				}
			}
		}
	}
}

#Remove allied terrorbombing
country_event = {
	id = maintenance.17

	fire_only_once = yes

	trigger = {
		JAP = {
			controls_state = 526
			controls_state = 645
			controls_state = 524
			controls_state = 623
			controls_state = 648
			controls_state = 605
		}
	}

	hidden = yes


    option = {
    	JAP = {
    		remove_ideas = JAP_economic_collapse
    	}
    }
}

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


# Hiroshima
country_event = {
	id = scenarionukes.1

	fire_only_once = yes

	trigger = {
		JAP = {
			has_capitulated = no 
		}
		USA = {
			is_ai = yes
		}
		date > 1945.8.6
	}

	hidden = yes

	immediate = {
		news_event = { id = nuke_dropped.2 }
		set_global_flag = JAP_nuke_1	
	}

    option = {
    ai_chance = {
    base = 100
    	}
		hidden_effect = {
		USA = {
			launch_nuke = {
   	 			province = 1092
    			controller = JAP
    			use_nuke = no
				}		
		    }
		}
    }
}

# Nagasaki
country_event = {
	id = scenarionukes.2

	fire_only_once = yes

	trigger = {
		JAP = {
			has_capitulated = no 
		}
		USA = {
			is_ai = yes
		}
		date > 1945.8.9
	}

	hidden = yes

	immediate = {
		set_global_flag = JAP_nuke_2
		news_event = { id = nuke_dropped.3 }
	}

    option = {
    ai_chance = {
    base = 100
    	}
		hidden_effect = {
		USA = {
			launch_nuke = {
   	 			province = 9950
    			controller = JAP
    			use_nuke = no
				}		
		    }
		}
    }
}

# ON_surrender_immediate
country_event = {
	id = scenario.13
	title = scenario.13.t
	fire_only_once = yes
	is_triggered_only = yes
	hidden = yes

    immediate = {
 		hidden_effect = {
			GER = {
				dismantle_faction = yes
				release_puppet = BLR
				release_puppet = NOR
				set_autonomy = {
   					target = NOR
    				autonomy_state = autonomy_free
					}
				set_autonomy = {
   					target = BLR
    				autonomy_state = autonomy_free
					}
			}
			BEL = {
				transfer_state = 6
				transfer_state = 34
			}
			HOL = {
				set_cosmetic_tag = HOL_mod_free
				transfer_state = 35
				transfer_state = 7
				transfer_state = 36
			}
			LUX = {
				transfer_state = 8
			}
			WGR = {
				add_state_core = 50
				add_state_core = 42
				add_state_core = 58
				add_state_core = 59
				add_state_core = 56
				add_state_core = 57
				add_state_core = 51
				add_state_core = 55
				add_state_core = 54
				add_state_core = 53
				add_state_core = 52
				add_state_core = 909
				transfer_state = 50
				transfer_state = 42		
				transfer_state = 58
				transfer_state = 59
				transfer_state = 56
				transfer_state = 57
				transfer_state = 51	
				transfer_state = 55
				transfer_state = 54
				transfer_state = 53
				transfer_state = 52
				transfer_state = 909
			}
			DDR = {
				add_state_core = 62
				add_state_core = 61
				add_state_core = 64
				add_state_core = 65
				add_state_core = 60
				transfer_state = 62
				transfer_state = 61
				transfer_state = 64
				transfer_state = 65
				transfer_state = 60
			}
			AUS = {
				transfer_state = 4 #austria
				transfer_state = 848 #austria
				transfer_state = 153
				transfer_state = 152 #austria
				set_politics = {
					ruling_party = neutrality
    				elections_allowed = yes
    				last_election = "1945.4.11"
    				election_frequency = 48
				}
			}
			FRA = {
			transfer_state = 735 #savoy
			set_cosmetic_tag = FRA_mod_free
			}
			ENG = {
				set_autonomy = {
   					target = ITA
    				autonomy_state = autonomy_puppet
					}
				set_autonomy = {
   					target = HOL
    				autonomy_state = autonomy_puppet
					}
				set_autonomy = {
   					target = NOR
    				autonomy_state = autonomy_puppet
					}
				add_to_faction = HOL
				add_to_faction = BEL
				add_to_faction = LUX
				add_to_faction = ITA
				add_to_faction = WGR
				add_to_faction = NOR

			}
			SOV = {
				add_to_faction = DDR
				transfer_state = 73 #ruthenia
				transfer_state = 80 #bucovina
				transfer_state = 78 #moldovia
				transfer_state = 766
				transfer_state = 763
				transfer_state = 190
				transfer_state = 809
				puppet = HUN
				puppet = ROM
				puppet = POL
				puppet = DDR
			}
			CZE = {
				transfer_state = 69
				transfer_state = 9
				transfer_state = 74
				transfer_state = 75
				transfer_state = 72
				transfer_state = 71
				transfer_state = 70
				transfer_state = 664
			}
			DEN = {
				transfer_state = 912
				transfer_state = 99
				transfer_state = 911
				transfer_state = 910
				transfer_state = 37
			}
			ICE = {
				transfer_state = 100
			}
			NOR = {
			 set_cosmetic_tag = NOR_mod_free
			 transfer_state = 922
			 transfer_state = 142
			 transfer_state = 921
			 transfer_state = 110 
			 transfer_state = 920
			 transfer_state = 143
			 transfer_state = 923
			 transfer_state = 144
			 transfer_state = 924
			 transfer_state = 925
			}
			ITA = {
				set_cosmetic_tag = ITA_mod_free
				transfer_state = 39
				transfer_state = 850
				transfer_state = 160
				transfer_state = 159
				transfer_state = 158
				transfer_state = 161
				transfer_state = 162
				transfer_state = 157
				transfer_state = 2
				transfer_state = 117
				transfer_state = 849
				transfer_state = 156
				transfer_state = 115
				transfer_state = 114
			}
			HUN = {
				transfer_state = 155
				transfer_state = 154
				transfer_state = 43
				set_cosmetic_tag = HUN_soviet_puppet
			}
			ROM = {
				#drop_cosmetic_tag = ROM_scenario
			}
			YUG = {
				set_cosmetic_tag = YUG_mod_free
				transfer_state = 104
				transfer_state = 103
				transfer_state = 109
				transfer_state = 102
				transfer_state = 853
				transfer_state = 736
				transfer_state = 852
			}
			GRE = {
			transfer_state = 182
			transfer_state = 164
			}
			POL = {
				transfer_state = 63
				transfer_state = 68
				transfer_state = 66
				transfer_state = 85
				transfer_state = 807
				transfer_state = 86
				transfer_state = 67
				transfer_state = 762
				transfer_state = 87
				transfer_state = 98
				transfer_state = 10
				transfer_state = 90
				transfer_state = 88
				transfer_state = 5
				transfer_state = 97
				transfer_state = 92
			}
		}   
    }

    option = {
    ai_chance = {
    base = 100
    	}
    }
}

# Volkssturm formed in Vienna
country_event = {
	id = volkssturm.1
	title = volkssturm.1.t
	desc = volkssturm.1.d	
	picture = GFX_report_event_german_volunteers


	fire_only_once = yes

	trigger = {
		TAG = GER
		has_start_date < 1945.3.7
			4 = {
				is_controlled_by = ROOT
				OR = {
					any_neighbor_state = {
						CONTROLLER = {
							has_war_with = ROOT
						}
						OWNER = { tag = ROOT }
					}
					NOT = { is_fully_controlled_by = ROOT }
				}
			}
	}

	immediate = {
		hidden_effect = {
			4 = {
				create_unit = {
					division = "division_template = \"Volkssturm-Division\" start_experience_factor = 0.1 start_equipment_factor = 1.0"
					owner = ROOT
					count = 3
				}
			}
		}
	}

	option = {	# 
		name = volkssturm.1.a
		custom_effect_tooltip = GER_volkssturm_raised_tt
	}
}

# Volkssturm formed in Munich
country_event = {
	id = volkssturm.2
	title = volkssturm.2.t
	desc = volkssturm.1.d	
	picture = GFX_report_event_german_volunteers


	fire_only_once = yes

	trigger = {
		TAG = GER
		has_start_date < 1945.3.7
			52 = {
				is_controlled_by = ROOT
				OR = {
					any_neighbor_state = {
						CONTROLLER = {
							has_war_with = ROOT
						}
						OWNER = { tag = ROOT }
					}
					NOT = { is_fully_controlled_by = ROOT }
				}
			}
	}

	immediate = {
		hidden_effect = {
			52 = {
				create_unit = {
					division = "division_template = \"Volkssturm-Division\" start_experience_factor = 0.1 start_equipment_factor = 1.0"
					owner = ROOT
					count = 3
				}
			}
		}
	}

	option = {	# 
		name = volkssturm.1.a
		custom_effect_tooltip = GER_volkssturm_raised_tt
	}
}

# Volkssturm formed in Frankfurt
country_event = {
	id = volkssturm.3
	title = volkssturm.3.t
	desc = volkssturm.1.d	
	picture = GFX_report_event_german_volunteers


	fire_only_once = yes

	trigger = {
		TAG = GER
		has_start_date < 1945.3.7
			55 = {
				is_controlled_by = ROOT
				OR = {
					any_neighbor_state = {
						CONTROLLER = {
							has_war_with = ROOT
						}
						OWNER = { tag = ROOT }
					}
					NOT = { is_fully_controlled_by = ROOT }
				}
			}
	}

	immediate = {
		hidden_effect = {
			55 = {
				create_unit = {
					division = "division_template = \"Volkssturm-Division\" start_experience_factor = 0.1 start_equipment_factor = 1.0"
					owner = ROOT
					count = 3
				}
			}
		}
	}

	option = {	# 
		name = volkssturm.1.a
		custom_effect_tooltip = GER_volkssturm_raised_tt
	}
}

# Volkssturm formed in Hamburg
country_event = {
	id = volkssturm.4
	title = volkssturm.4.t
	desc = volkssturm.1.d	
	picture = GFX_report_event_german_volunteers


	fire_only_once = yes

	trigger = {
		TAG = GER
			58 = {
				is_controlled_by = ROOT
				OR = {
					any_neighbor_state = {
						CONTROLLER = {
							has_war_with = ROOT
						}
						OWNER = { tag = ROOT }
					}
					NOT = { is_fully_controlled_by = ROOT }
				}
			}
	}

	immediate = {
		hidden_effect = {
			58 = {
				create_unit = {
					division = "division_template = \"Volkssturm-Division\" start_experience_factor = 0.1 start_equipment_factor = 1.0"
					owner = ROOT
					count = 3
				}
			}
		}
	}

	option = {	# 
		name = volkssturm.1.a
		custom_effect_tooltip = GER_volkssturm_raised_tt
	}
}

# Volkssturm formed in Berlin
country_event = {
	id = volkssturm.6
	title = volkssturm.6.t
	desc = volkssturm.1.d	
	picture = GFX_report_event_german_volunteers


	fire_only_once = yes

	trigger = {
		TAG = GER
		has_start_date < 1945.3.7
			64 = {
				is_controlled_by = ROOT
				OR = {
					any_neighbor_state = {
						CONTROLLER = {
							has_war_with = ROOT
						}
						OWNER = { tag = ROOT }
					}
					NOT = { is_fully_controlled_by = ROOT }
				}
			}
	}

	immediate = {
		hidden_effect = {
			64 = {
				create_unit = {
					division = "division_template = \"Volkssturm-Division\" start_experience_factor = 0.1 start_equipment_factor = 1.0"
					owner = ROOT
					count = 3
				}
			}
		}
	}

	option = {	# 
		name = volkssturm.1.a
		custom_effect_tooltip = GER_volkssturm_raised_tt
	}
}
