country_event = {

	id = 36600
	news = yes
	news_desc_long = "EVTDESC36600_NEWS_LONG"
	news_desc_medium = "EVTDESC36600_NEWS_MEDIUM"
	news_desc_short = "EVTDESC36600_NEWS_SHORT"


	trigger = {
		tag = SWE
		year = 1838
		NOT = {
			year = 1841
			}
		
	}
	
	fire_only_once = yes
 
	mean_time_to_happen =  {
		months = 5

		modifier = {
			factor = 0.75 #increase likelihood to happen
			year = 1839
		}

		modifier = {
			factor = 0.95 #increase likelihood to happen
			year = 1840
		}
	}

	title = "EVTNAME36600"
	desc = "EVTDESC36600"
	picture = "Lind"

	option = {
		name = "EVTOPTA36600" 
		prestige = 2
	}
}

country_event = {

	id = 36601

	trigger = {
		tag = SWE
		year = 1842
		NOT = {
			year = 1845
		}
	}
	
	fire_only_once = yes
 
	mean_time_to_happen =  {
		months = 5

		modifier = {
			factor = 0.75 #increase likelihood to happen
			year = 1843
		}
		
		modifier = {
			factor = 0.95 #increase likelihood to happen
			year = 1844
		}
	}

	title = "EVTNAME36601"
	desc = "EVTDESC36601"
	picture = "School"

	option = {
		name = "EVTOPTA36601" 
		prestige = 1
		years_of_research = 0.1
	}
}

country_event = {

	id = 36602

	trigger = {
		tag = SWE
		year = 1836
		NOT = {
			year = 1839
		}
	
	}
	
	fire_only_once = yes
 
	mean_time_to_happen =  {
		months = 5

		modifier = {
			factor = 0.75 #increase likelihood to happen
			year = 1837
		}

		modifier = {
			factor = 0.95 #increase likelihood to happen
			year = 1838
		}
	}

	title = "EVTNAME36602"
	desc = "EVTDESC36602"
	picture = "Aftonbladet"

	option = {
		name = "EVTOPTA36602" 
		any_pop = {
			scaled_consciousness = {
                   factor = 1
			       ideology = liberal
			}
		}		     
	}
}

province_event = {

	id = 36603

	trigger = {
		province_id = 322 #stockholm
		owned_by = SWE
		owner = { government = absolute_monarchy }
		year = 1848
		NOT = {
			year = 1852
			poor_strata_everyday_needs = 0.75 #will not fire if poor are getting 75%+ everyday needs
		}
		
	}
	
	fire_only_once = yes
 
	mean_time_to_happen =  {
		months = 5

		modifier = {
			factor = 0.75 #increase likelihood to happen
			year = 1849
		}
		
		modifier = {
			factor = 0.95 #increase likelihood to happen
			year = 1850
		}
	}

	title = "EVTNAME36603"
	desc = "EVTDESC36603"
	picture = "Riot"

	option = {
		name = "EVTOPTA36603" 
		any_pop = {
			militancy = 1
		}		     
	}
}

country_event = {

	id = 36604

	trigger = {
		tag = SWE
		invention = bessemer_steel
		year = 1856
		NOT = {
			year = 1862
		}
	}
	
	fire_only_once = yes
 
	mean_time_to_happen =  {
		months = 5

		modifier = {
			factor = 0.75 #increase likelihood to happen
			year = 1858
		}
		
		modifier = {
			factor = 0.95 #increase likelihood to happen
			year = 1859
		}
	}

	title = "EVTNAME36604"
	desc = "EVTDESC36604"
	picture = "iron"
	
	option = {
		name = "EVTOPTA36604"
		prestige = 1 	     
	}
}

country_event = {

	id = 36608

	trigger = {
		tag = SWE
		exists = NOR
		year = 1865
		NOT = {
			year = 1875
			}
		329 = {
			has_building = railroad
		}
		316 = {
			has_building = railroad
		}
	}
	
	fire_only_once = yes
 
	mean_time_to_happen =  {
		months = 5

		modifier = {
			factor = 0.75 #increase likelihood to happen
			year = 1867
		}


		modifier = {
			factor = 0.95 #increase likelihood to happen
			year = 1870
		}
	}

	title = "EVTNAME36608"
	desc = "EVTDESC36608"
	picture = "railroad"

	option = {
		name = "EVTOPTA36607"
		relation = { who = NOR value = 20 }
	}

}

country_event = {

	id = 36610

	trigger = {
		tag = SWE
		year = 1879
		NOT = {
			year = 1882
			poor_strata_everyday_needs = 0.75 #will not fire if poor are getting 75%+ everyday needs
		}
	
	}
	
	fire_only_once = yes
 
	mean_time_to_happen =  {
		months = 5

		modifier = {
			factor = 0.75 #increase likelihood to happen
			year = 1879
		}
		
		modifier = {
			factor = 0.95 #increase likelihood to happen
			year = 1880
		}
	}

	title = "EVTNAME36610"
	desc = "EVTDESC36610"
	picture = "Strike"

	option = {
		name = "EVTOPTA36610"
		craftsmen = {
				militancy = 1
		}
		artisans = {
				militancy = 1
		}
		labourers = {
				militancy = 1
		}
	}

}

country_event = {

	id = 36611
	news = yes
	news_desc_long = "EVTDESC36611_NEWS_LONG"
	news_desc_medium = "EVTDESC36611_NEWS_MEDIUM"
	news_desc_short = "EVTDESC36611_NEWS_SHORT"


	trigger = {
		tag = SWE
		year = 1879
		realism = 1
		NOT = {
			year = 1882
		}
	}
	
	fire_only_once = yes
 
	mean_time_to_happen =  {
		months = 5

		modifier = {
			factor = 0.75 #increase likelihood to happen
			year = 1880
		}
		
		modifier = {
			factor = 0.95 #increase likelihood to happen
			year = 1881
		}
	}

	title = "EVTNAME36611"
	desc = "EVTDESC36611"
	picture = "Strindberg"

	option = {
		name = "EVTOPTA36611" 
		prestige = 2
	}
}

#Boden Fortress
country_event = {

	id = 36612

	trigger = {
		tag = SWE
		owns = 321
		year = 1900	
	}
 
 	fire_only_once = yes
 
	mean_time_to_happen =  {
		months = 5
	}

	title = "EVTNAME36612"
	desc = "EVTDESC36612"
	picture = "Boden"

	option = {
		name = "EVTOPTA36611" 
		321 = { fort = 1 }
		treasury = -500
	}
}

country_event = {

	id = 36614

	trigger = {
		tag = SWE
		year = 1839
		romanticism = 1
		NOT = {
			year = 1842
		}
	}
	
	fire_only_once = yes
 
	mean_time_to_happen =  {
		months = 5

		modifier = {
			factor = 0.75 #increase likelihood to happen
			year = 1840
		}

		modifier = {
			factor = 0.95 #increase likelihood to happen
			year = 1841
		}
	}

	title = "EVTNAME36614"
	desc = "EVTDESC36614"
	picture = "Almqvist"

	option = {
		name = "EVTOPTA36614" 
		prestige = 2
		any_pop = {
			scaled_consciousness = {
				factor = 1
				ideology = liberal
			}
		}
	}
}

country_event = {

	id = 36615

	trigger = {
		tag = SWE
		year = 1882
		NOT = {
			year = 1889
			poor_strata_life_needs = 0.95 #will not fire if poor are getting 95%+ life needs
			middle_strata_everyday_needs = 0.75 #will not fire if poor are getting 75%+ everyday needs
		}
	}
	
	fire_only_once = yes
 
	mean_time_to_happen =  {
		months = 5

		modifier = {
			factor = 0.75 #increase likelihood to happen
			year = 1884
		}

		modifier = {
			factor = 0.95 #increase likelihood to happen
			year = 1887
		}
	}

	title = "EVTNAME36615"
	desc = "EVTDESC36615"
	picture = "emigration"

	option = {
		name = "EVTOPTA36615" 
		prestige = 2
		farmers = {
			consciousness = 1
		}
		labourers = {
			consciousness = 1
		}
		craftsmen = {
			consciousness = 1
		}
		artisans = {
			consciousness = 1
		}
		clerks = {
			consciousness = 1
		}
	}
}

country_event = {

	id = 36617

	trigger = {
		tag = SWE
		year = 1838
		NOT = {
			year = 1842
			exists = NOR
		}
	
	}
	
	fire_only_once = yes
 
	mean_time_to_happen =  {
		months = 5

		modifier = {
			factor = 0.75 #increase likelihood to happen
			year = 1839
		}

		modifier = {
			factor = 0.95 #increase likelihood to happen
			year = 1840
		}
	}

	title = "EVTNAME36617"
	desc = "EVTDESC36617"
	picture = "norwayflag"

	option = {
		name = "EVTOPTA36617" 
		prestige = -5
		any_pop = {
			limit = { 
				has_pop_culture = swedish
			}
			consciousness = 1
		}
	}

	option = {
		name = "EVTOPTB36617" 
		prestige = 5
		any_pop = {
			limit = { 
				has_pop_culture = norwegian
			}
			consciousness = 2
		}
	}
}

country_event = {

	id = 36618 #parallel to NOR36400

	trigger = {
		tag = SWE
		year = 1895
		impressionism = 1
		NOT = {
			year = 1904
			exists = NOR
			has_global_flag = Munch
		}
	
	}
	
	fire_only_once = yes
 
	mean_time_to_happen =  {
		months = 5

		modifier = {
			factor = 0.75 #increase likelihood to happen
			year = 1898
		}

		modifier = {
			factor = 0.95 #increase likelihood to happen
			year = 1902
		}
	}

	title = "EVTNAME36400"
	desc = "EVTDESC36400"
	picture = "munch"

	option = {
		name = "EVTOPTA36400" 
		prestige = 3
		any_pop = {
			limit = { 
				has_pop_culture = norwegian
			}
			consciousness = 1
		}
		aristocrats = {
			consciousness = 1 #additional con due to "shock" to refined tastes
		}	
		set_global_flag = Munch
	}
}

country_event = {

	id = 36619 #parallel to NOR36401

	trigger = {
		tag = SWE
		year = 1890
		NOT = {
			year = 1894
			exists = NOR
			has_global_flag = Aasen
		}
	
	}
	
	fire_only_once = yes
 
	mean_time_to_happen =  {
		months = 5

		modifier = {
			factor = 0.75 #increase likelihood to happen
			year = 1891
		}
		
		modifier = {
			factor = 0.95 #increase likelihood to happen
			year = 1893
		}
	}

	title = "EVTNAME36401"
	desc = "EVTDESC36401"
	picture = "Aasen"

	option = {
		name = "EVTOPTA36401" 
		any_pop = {
			limit = { 
				has_pop_culture = norwegian
			}
			consciousness = 1
		}
		set_global_flag = Aasen
	}
}

country_event = {

	id = 36620 #parallel to NOR36402

	trigger = {
		tag = SWE
		year = 1880
		NOT = {
			year = 1885
			exists = NOR
			has_global_flag = Ibsen
		}
	
	}
 
 	fire_only_once = yes
 
	mean_time_to_happen =  {
		months = 5

		modifier = {
			factor = 0.75 #increase likelihood to happen
			year = 1881
		}

		modifier = {
			factor = 0.95 #increase likelihood to happen
			year = 1883
		}
	}

	title = "EVTNAME36402"
	desc = "EVTDESC36402"
	picture = "Greatfour"

	option = {
		name = "EVTOPTA36402" 
		prestige = 5
		any_pop = {
			limit = { 
				has_pop_culture = norwegian
			}
			consciousness = 1
		}
		set_global_flag = Ibsen
	}
}

country_event = {

	id = 36621 #parallel to NOR36405

	trigger = {
		tag = SWE
		year = 1850
		NOT = {
			year = 1853
			exists = NOR
			has_global_flag = Thrane
		}
	
	}

	fire_only_once = yes
	
	mean_time_to_happen =  {
		months = 5

		modifier = {
			factor = 0.75 #increase likelihood to happen
			year = 1851
		}
		
		modifier = {
			factor = 0.95 #increase likelihood to happen
			year = 1852
		}
	}

	title = "EVTNAME36405"
	desc = "EVTDESC36405"
	picture = "Thrane"

	option = {
		name = "EVTOPTA36405" 
		prestige = 5
		labourers = {
			limit = { 
				has_pop_culture = norwegian
			}
			consciousness = 1
		}
		farmers = {
			limit = { 
				has_pop_culture = norwegian
			}
			consciousness = 1
		}
		artisans = {
			limit = { 
				has_pop_culture = norwegian
			}
			consciousness = 1
		}
		craftsmen = {
			limit = { 
				has_pop_culture = norwegian
			}
			consciousness = 1
		}
		set_global_flag = Thrane
	}
}

country_event = {

	id = 36622 #see DAN36223 for parallel event

	trigger = {
		tag = SWE
		year = 1856
		war = no
		NOT = {
			year = 1859
			has_global_flag = SCAStudent
		}
	}
	
	fire_only_once = yes
 
	mean_time_to_happen =  {
		months = 5

		modifier = {
			factor = 0.75 #increase likelihood to happen
			year = 1857
		}

		modifier = {
			factor = 0.95 #increase likelihood to happen
			year = 1858
		}
	}

	title = "EVTNAME36622"
	desc = "EVTDESC36622"
	picture = "Scandinavia"

	option = {
		name = "EVTOPTA36622" 
		set_global_flag = SCAStudent
		prestige = 1
		relation = { who = PRU value = -50 }
		relation = { who = RUS value = -50 }
		relation = { who = GER value = -50 }
		relation = { who = DEN value = 75 }
		any_pop = {
			scaled_consciousness = {
				factor = 2
				ideology = liberal
			}	
		}
	}
}
#Independence of Norway
country_event = {

	id = 110009 

	trigger = {
		tag = NOR
		year = 1905
		NOR = { exists = yes }
		war = no
		NOT = {
			has_global_flag = norway_wants_independence
		}
	}
	
	fire_only_once = yes
 
	mean_time_to_happen =  {
		months = 1
	}

	title = "EVTNAME110009"
	desc = "EVTDESC110009"
	picture = "Scandinavia"

	option = {
		name = "EVTOPTA110009" 
		set_global_flag = norway_wants_independence
		prestige = 1
		SWE = {
			country_event = { id=110010 days=0 }
			}	
		}
	}
#Independence of Norway
country_event = {

	id = 110010

	is_triggered_only = yes
 
	mean_time_to_happen =  {
		months = 1
	}

	title = "EVTNAME110009"
	desc = "EVTDESC110010"
	picture = "Scandinavia"

	option = {
		name = "EVTOPTA100010"
		release_vassal = NOR

		ai_chance = {
			factor = 100
		}
	}
	option = {
		name = "EVTOPTB100010"
		war = {
			target = NOR
			attacker_goal = {
				casus_belli = make_puppet
			}
			
			defender_goal = {
				casus_belli = status_quo
			}
		}
	}
}
# greenland Purchase 1/3
country_event = {
	id = 782509
	title = "The Greenland Purcharse"
	desc = "The USA has come to us requesting to buy Greenland from us. Should we accept?"
	picture = "alaska"
	
	is_triggered_only = yes
	
	option = {
		name = "Yeah, of course!"
		USA = {
			country_event = { id=782510 days=0 }
		}
		GRN = {
			all_core = { secede_province = USA 
			add_core = USA
			remove_core = THIS
			remove_core = SCA}
		}
		any_owned = {
			limit = {
				continent = north_america
			}
			secede_province = USA
		}
		ai_chance = {
			factor = 20
		}
	}
	
	option = {
		name = "No!"
		USA = {
			set_country_flag = you_did_try
			country_event = { id=782511 days=0 }
		}
		ai_chance = {
			factor = 80
		}
	}
}

# greenland Purchase 2/3 Denmark Accepts 
country_event = {
	id = 782510
	title = "They accepted!"
	desc = "Now that the Danish government has accepted our request to buy Greenland, we have more land to project our power over the seas."
	picture = "alaska"
	major = yes
	
	is_triggered_only = yes
	
	option = {
		name = "They accepted"
		money = -1000000
		any_pop = {
				consciousness = -1
		}
		DEN = {
			money = 1000000
		}
	}
}

# greenland Purchase 3/3 Denmark Denies
country_event = {
	id = 782511
	title = "They said no"
	desc = "Those Danish refused to sell their land to us."
	picture = "alaska"
	
	is_triggered_only = yes
	
	option = {
		name = "Shit!"
		relation = {
			who = FROM
			value = -100
		}
	}
}