# Games of the XI Olympiad 2.0 - just cosmetic stuff

add_namespace = worldcup

news_event = {
	id = worldcup.38
	title = worldcup.38.t
	desc = worldcup.38.d
	picture = GFX_news_event_world_cup_1938
	
	major = yes
	
	trigger = {
		date > 1938.6.19
		date < 1938.7.19 #shouldn't fire in 1939 scenario
		NOT = { has_global_flag = world_cup_1938 }
		country_exists = ITA
		country_exists = FRA
		NOT = { FRA = { has_war_with_major = yes } }
		NOT = { ITA = { has_war_with_major = yes } }
		NOT = { FRA = { has_civil_war = yes } }
		NOT = { ITA = { has_civil_war = yes } }
	}
	
	mean_time_to_happen = {
		days = 2
	}
	
	immediate = {
		set_global_flag = world_cup_1938 
	}
	
	option = {
		name = worldcup.38.a
	}
}

#in case if France is at war the World Cup will be cancelled
news_event = {
	id = worldcup.39
	title = worldcup.39.t
	desc = worldcup.39.d
	picture = GFX_news_event_world_cup_1939
	
	major = yes
	
	trigger = {
		date > 1938.6.19
		date < 1938.7.19 #shouldn't fire in 1939 scenario
		NOT = { has_global_flag = world_cup_1938 }
		OR = {
			NOT = { country_exists = FRA }
			FRA = { has_war_with_major = yes }
			FRA = { has_civil_war = yes }
		}
	}
	
	mean_time_to_happen = {
		days = 2
	}
	
	immediate = {
		set_global_flag = world_cup_1938 
	}
	
	option = {
		name = worldcup.39.a
	}
}


#in case if Italy is at war the Hungarians will win the World Cup
news_event = {
	id = worldcup.40
	title = worldcup.40.t
	desc = worldcup.40.d
	picture = GFX_news_event_world_cup_1938
	
	major = yes
	
	trigger = {
		date > 1938.7.20
		date < 1938.8.19 #shouldn't fire in 1939 scenario
		NOT = { has_global_flag = world_cup_1938 }
		OR = {
			NOT = { country_exists = ITA }
			ITA = { has_war_with_major = yes }
			ITA = { has_civil_war = yes }
		}
	}
	
	mean_time_to_happen = {
		days = 2
	}
	
	immediate = {
		set_global_flag = world_cup_1938 
	}
	
	option = {
		name = worldcup.40.a
	}
}