#custom news imperial germany overhaul

add_namespace = overhaulig

news_event = {
	id = overhaulig.1
	title = overhaulig.1.t
	desc = overhaulig.1.d
	fire_only_once = yes
	picture = GFX_news_event_parade_in_paris
	
	major = yes
	
	is_triggered_only = yes
	
	option = {
		trigger = {
			NOT = {
				tag = GER
			}
		}
		name = overhaulig.1.generic
	}
	option = {
		trigger = {
			tag = GER
		}
		name = overhaulig.1.siegen
	}
}

news_event = {
	id = overhaulig.2
	title = overhaulig.2.t
	desc = overhaulig.2.d
	fire_only_once = yes
	picture = GFX_news_event_germans_land_on_british_soil
	
	major = yes
	
	is_triggered_only = yes
	
	option = {
		trigger = {
			NOT = {
				tag = GER
			}
		}
		name = overhaulig.2.generic
	}
	option = {
		trigger = {
			tag = GER
		}
		name = overhaulig.2.siegen
	}
}
#fall of kiev overhaul
news_event = {
	id = overhaulig.3
	title = overhaulig.3.t
	desc = overhaulig.3.d
	picture = GFX_news_event_custom_fall_of_kiev
	
	major = yes
	
	trigger = {
		202 = { is_controlled_by = GER }
		202 = { is_owned_by = SOV }
		GER = { has_war_with = SOV }
		NOT = { has_global_flag = fall_of_kiev }
	}
	
	immediate = {
		set_global_flag = fall_of_kiev
	}
	
	mean_time_to_happen = {
		days = 2
	}
	
	option = {
		trigger = {
			NOT = {
				tag = GER
			}
		}
		name = overhaulig.3.generic
	}
	option = {
		trigger = {
			tag = GER
		}
		name = overhaulig.3.siegen
	}
}
#fall of minsk
news_event = {
	id = overhaulig.4
	title = overhaulig.4.t
	desc = overhaulig.4.d
	picture = GFX_news_event_custom_fall_of_minsk
	
	major = yes
	
	trigger = {
		206 = { is_controlled_by = GER }
		206 = { is_owned_by = SOV }
		GER = { has_war_with = SOV }
		NOT = { has_global_flag = fall_of_minsk }
	}
	
	immediate = {
		set_global_flag = fall_of_minsk
	}
	
	mean_time_to_happen = {
		days = 2
	}
	
	option = {
		trigger = {
			NOT = {
				tag = GER
			}
		}
		name = overhaulig.4.generic
	}
	option = {
		trigger = {
			tag = GER
		}
		name = overhaulig.4.siegen
	}
}
#fall of amsterdam
news_event = {
	id = overhaulig.5
	title = overhaulig.5.title
	desc = overhaulig.5.desc
	picture = GFX_news_event_custom_fall_of_amsterdam
	
	major = yes
	
	trigger = {
		7 = { is_controlled_by = GER }
		7 = { is_owned_by = HOL }
		GER = { has_war_with = HOL }
		NOT = { has_global_flag = fall_of_amsterdam }
	}
	
	immediate = {
		set_global_flag = fall_of_amsterdam
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		trigger = {
			tag = GER
		}
		name = overhaulig.5.siegen
	}
	option = {
		trigger = {
			NOT = {
				tag = GER
			}
		}
		name = overhaulig.5.generic
	}
}
#fall of brussels
news_event = {
	id = overhaulig.6
	title = overhaulig.6.title
	desc = overhaulig.6.desc
	picture = GFX_news_event_custom_fall_of_brussels
	
	major = yes
	
	trigger = {
		6 = { is_controlled_by = GER }
		6 = { is_owned_by = BEL }
		GER = { has_war_with = BEL }
		NOT = { has_global_flag = fall_of_brussels }
	}
	
	immediate = {
		set_global_flag = fall_of_brussels
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		trigger = { tag = GER } 
		name = overhaulig.6.siegen
	}
	option = {
		trigger = {
			NOT = {
				tag = GER
			}
		}
		name = overhaulig.6.generic
	}
}

#willy ii dies of old age
news_event = {
	id = overhaulig.10
	title = overhaulig.10.title
	desc = overhaulig.10.desc
	picture = GFX_news_event_willy_ii_dies_dtk
	is_triggered_only = yes

	major = yes
	
	option = {
		trigger = { tag = GER } 
		name = overhaulig.10.siegen
	}
	option = {
		trigger = {
			NOT = {
				tag = GER
			}
		}
		name = overhaulig.10.generic
	}
}
#fall of riga rework - suspenso

add_namespace = treatyoffrankfurt
news_event = {
	id = treatyoffrankfurt.3
	title = treatyoffrankfurt.3.t
	desc = treatyoffrankfurt.3.d
	fire_only_once = yes
	picture = GFX_news_event_treaty_of_frankfurt
	
	major = yes
	
	is_triggered_only = yes
	
	mean_time_to_happen = {
		days = 7
	}
	option = {
		trigger = {
			NOT = {
				tag = GER
			}
		}
		name = treatyoffrankfurt.3.generic
	}
	option = {
		trigger = {
			tag = GER
		}
		name = treatyoffrankfurt.3.siegen
	}
}

add_namespace = itacollapse
news_event = {
	id = itacollapse.1
	title = itacollapse.1.title
	desc = itacollapse.1.desc
	picture = GFX_news_event_italian_collapse_dtk

	major = yes
	
	trigger = {
		2 = { is_controlled_by = GER }
		2 = { is_owned_by = ITA }
		GER = { has_war_with = ITA }
		NOT = { has_global_flag = italian_collapse_dtk_gb_flag }
		NOT = { has_global_flag = dtk_italian_collapse_focus_completed }
	}
	
	immediate = {
		set_global_flag = italian_collapse_dtk_gb_flag
		hidden_effect = {
			italian_collapse_wars_dtk = yes
		}
	}
	
	option = {
		trigger = {
			NOT = {
				tag = GER
			}
		}
		name = itacollapse.1.generic
	}
	option = {
		trigger = {
			tag = GER
		}
		name = itacollapse.1.siegen
	}
}
news_event = {
	id = overhaulig.7
	title = overhaulig.7.title
	desc = overhaulig.7.desc
	picture = GFX_news_event_kaiserliche_marine_ny_dtk
	
	major = yes
	
	trigger = {
		358 = { is_controlled_by = GER }
		358 = { is_owned_by = USA }
		GER = { has_war_with = USA }
		NOT = { has_global_flag = fall_of_new_york }
	}
	
	immediate = {
		set_global_flag = fall_of_new_york
	}
	
	mean_time_to_happen = {
		days = 2
	}
	
	option = {
		name = overhaulig.7.generic
		trigger = {
			NOT = {
				TAG = GER
			}
		}
	}
	option = {
		name = overhaulig.7.siegen
		trigger = { TAG = GER }
	}
}

#return of wilhelm II
news_event = {
	id = overhaulig.8
	title = overhaulig.8.title
	desc = overhaulig.8.desc
	picture = GFX_willy_kaiser_returns_dtk
	is_triggered_only = yes

	major = yes
	
	immediate = {
		set_global_flag = wilhelm_ii_returned_dtk
	}
	
	mean_time_to_happen = {
		days = 2
	}
	
	option = {
		name = overhaulig.8.generic
		trigger = {
			NOT = {
				TAG = GER
			}
		}
	}
	option = {
		name = overhaulig.8.siegen
		trigger = { TAG = GER }
	}
}
#chrownation of wilhelm III
news_event = {
	id = overhaulig.9
	title = overhaulig.9.title
	desc = overhaulig.9.desc
	picture = GFX_willy_kaiser_returns_dtk
	is_triggered_only = yes

	major = yes
	
	immediate = {
		set_global_flag = wilhelm_iii_crowned_dtk
	}
	
	mean_time_to_happen = {
		days = 2
	}
	
	option = {
		name = overhaulig.9.generic
		trigger = {
			NOT = {
				TAG = GER
			}
		}
	}
	option = {
		name = overhaulig.9.siegen
		trigger = { TAG = GER }
	}
}

#american overhaul update 0 7 7
#land in canada
add_namespace = americanfallsevents
news_event = {
	id = americanfallsevents.1
	title = americanfallsevents.1.title
	desc = americanfallsevents.1.desc
	picture = GFX_news_event_german_landing_america
	
	major = yes
	
	trigger = {
		GER = { has_war_with = USA }
		NOT = { has_global_flag = germany_lands_in_america_dtk }
		OR = {
			683 = { is_controlled_by = GER }
			867 = { is_controlled_by = GER }
			866 = { is_controlled_by = GER }
			682 = { is_controlled_by = GER }
			862 = { is_controlled_by = GER }
			466 = { is_controlled_by = GER }
			332 = { is_controlled_by = GER }
			860 = { is_controlled_by = GER }
			331 = { is_controlled_by = GER }
			863 = { is_controlled_by = GER }
			468 = { is_controlled_by = GER }
			465 = { is_controlled_by = GER }
			464 = { is_controlled_by = GER }
			#below is usa
			357 = { is_controlled_by = GER }
			358 = { is_controlled_by = GER }
			360 = { is_controlled_by = GER }
			359 = { is_controlled_by = GER }
			361 = { is_controlled_by = GER }
			362 = { is_controlled_by = GER }
			363 = { is_controlled_by = GER }
			364 = { is_controlled_by = GER }
			365 = { is_controlled_by = GER }
			366 = { is_controlled_by = GER }
			367 = { is_controlled_by = GER }
			370 = { is_controlled_by = GER }
			371 = { is_controlled_by = GER }
			375 = { is_controlled_by = GER }
		}
	}
	
	immediate = {
		set_global_flag = germany_lands_in_america_dtk
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = americanfallsevents.1.generic
		trigger = {
			NOT = {
				TAG = GER
			}
		}
	}
	option = {
		name = americanfallsevents.1.siegen
		trigger = { TAG = GER }
	}
}

news_event = {
	id = americanfallsevents.2
	title = americanfallsevents.2.title
	desc = americanfallsevents.2.desc
	picture = GFX_news_event_canadian_incopetency
	
	major = yes
	
	trigger = {
		GER = { has_war_with = USA }
		GER = { has_war_with = CAN }
		NOT = { has_global_flag = canadian_inconpetency_dtk }
		276 = { is_controlled_by = GER }
	}
	
	immediate = {
		set_global_flag = canadian_inconpetency_dtk
		hidden_effect = {
			canadians_punished_dtk = yes
		}
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = americanfallsevents.2.generic
		trigger = {
			NOT = {
				TAG = GER
			}
		}
	}
	option = {
		name = americanfallsevents.2.siegen
		trigger = { TAG = GER }
	}
}

#START UPDATE 2.0
add_namespace = russianfalldtk
news_event = {
	id = russianfalldtk.1
	title = russianfalldtk.1.title
	desc = russianfalldtk.1.desc
	#picture = GFX_
	major = yes
	is_triggered_only = yes
	fire_only_once = yes
	mean_time_to_happen = {
		days = 2
	}

	immediate = {
		#set_global_flag = soviet_union_collapse_dtk
	}
	
	option = {
		name = russianfalldtk.1.generic
		trigger = {
			NOT = {
				TAG = GER
			}
		}
		custom_effect_tooltip = soviet_fall_dtk_generic # WIP
	}
	option = {
		name = russianfalldtk.2.siegen
		trigger = { TAG = GER }
		hidden_effect = {
			SOV = { 
				create_country_leader = {
					name = SOV_LEADER_ZHUKOV_DTK
					desc = SOV_LEADER_ZHUKOV_DTK_DESC
					picture = "GFX_portrait_SOV_LEADER_ZHUKOV_DTK.dds" #WIP
					expire = "1965.1.1"
					ideology = communism
					traits = { 
						#iron_marshal_dtk WIP
					}
				}
			}

			#white liberation army
			KHA = {
				set_cosmetic_tag = WHITE_LIBERATION_ARMY_DTK
				create_country_leader = {
					name = KHA_LEADER_vladimir_dtk 
					desc = KHA_LEADER_vladimir_dtk_DESC 
					picture = "GFX_portrait_VLADIMIR_DTK.dds" 
					expire = "1965.1.1"
					ideology = neutrality
					traits = { 
						#russian_monarchist_dtk WIP
					}
				}
				transfer_state = 568
				transfer_state = 576
				transfer_state = 578
				transfer_state = 570
				transfer_state = 40
				transfer_state = 654
				transfer_state = 569
				transfer_state = 571
				transfer_state = 882
				transfer_state = 590
				transfer_state = 583
				transfer_state = 582
				#cores
				add_state_core = 568
				add_state_core = 576
				add_state_core = 578
				add_state_core = 570
				add_state_core = 40
				add_state_core = 654
				add_state_core = 569
				add_state_core = 571
				add_state_core = 882
				add_state_core = 590
				add_state_core = 583
				add_state_core = 582
			}
			FER = {
				set_cosmetic_tag = FER_REPUBLICAN_DTK
				create_country_leader = {
					name = FER_LEADER_ #WIP
					desc = FER_LEAER__DESC #WIP
					picture = "GFX_portrait_.dds" #WIP
					expire = "1965.1.1"
					ideology = democratic
					traits = { 
						#bastion_democracy_dtk WIP
					}
				}
				transfer_state = 563
				transfer_state = 561
				transfer_state = 657
				transfer_state = 560
				transfer_state = 562
				transfer_state = 874
				transfer_state = 822
				transfer_state = 637
				#above already cored
				transfer_state = 644
				transfer_state = 877
				transfer_state = 574
				transfer_state = 565
				transfer_state = 564
				transfer_state = 566
				transfer_state = 567
				transfer_state = 575
				transfer_state = 876
				#cores
				add_state_core = 644
				add_state_core = 877
				add_state_core = 574
				add_state_core = 565
				add_state_core = 564
				add_state_core = 566
				add_state_core = 567
				add_state_core = 575
				add_state_core = 876
			}
			
			#vladvostok
			IF = {
				NOT = {
					408 = { is_owned_by = JAP }
				}
				VLA = {
					transfer_state = 408
					transfer_state = 409
				}
			}

			#southern warlords
			KAZ = {
				transfer_state = 586
				transfer_state = 589
				transfer_state = 588
				transfer_state = 881
				transfer_state = 404
				transfer_state = 402
				transfer_state = 587
			}
			KYR = {
				transfer_state = 732
			}
			TAJ = {
				transfer_state = 742
			}
			UZB = {
				transfer_state = 405
				transfer_state = 830
				transfer_state = 585
				transfer_state = 823
				transfer_state = 831
			}
			TMS = {
				transfer_state = 584 
				transfer_state = 832
			}
		}
	}
}

add_namespace = dtk2024
news_event = { #Creation of the Reichspakt
	id = dtk2024.1
	title = dtk2024.1.title
	desc = dtk2024.1.desc
	picture = GFX_the_reichspakt_dtk
	
	major = yes
	
	is_triggered_only = yes
	fire_only_once = yes
	
	option = {
		name = dtk2024.1.generic
		trigger = {
			NOT = {
				TAG = GER
			}
		}
	}
	option = {
		name = dtk2024.1.siegen
		trigger = { TAG = GER }
	}
}
