###########
##### SPA
########### 

#Dutch Nobility demands General Estates#
event = {

	id = 3159
	trigger = {
		NOT = {
			religion = protestant
			religion = reformed
		}
		OR = {
owned = { province = 1947 data = -1 }
			owned = { province = 1997 data = -1 }
			owned = { province = 337 data = -1 }
			owned = { province = 338 data = -1 }
			owned = { province = 339 data = -1 }
			owned = { province = 340 data = -1 }
			owned = { province = 1903 data = -1 }
			owned = { province = 378 data = -1 }
			owned = { province = 379 data = -1 }
			owned = { province = 380 data = -1 }
                        owned = { province = 1925 data = -1 }
			owned = { province = 1927 data = -1 }
			owned = { province = 1924 data = -1 }
owned = { province = 979 data = -1 }
			}
		AND = {
			NOT = {
				domestic = {
					type = innovative
					value = 8
					}
				}
			}
		}
	random = no
	country = SPA
	name = "EVENTNAME3159"
	desc = "EVENTHIST3159"
	style = 2

	date = { day = 1 month = january year = 1560 }
	offset = 30
	deathdate = { day = 1 month = january year = 1571 }

	action_a ={			#No Concessions#
		name = "ACTIONNAME3159A"
		command = { type = province_revoltrisk which = 337 value = 10 }
		command = { type = province_revoltrisk which = 338 value = 10 }
		command = { type = province_revoltrisk which = 339 value = 10 }
		command = { type = revolt which = 339 } #Holland
                command = { type = province_revoltrisk which = 1925 value = 10 }
                command = { type = revolt which = 1927 }
		command = { type = province_revoltrisk which = 1927 value = 10 }
                command = { type = revolt which = 1925 }
		command = { type = province_revoltrisk which = 340 value = 10 }
		command = { type = revolt which = 340 } #Zeeland
		command = { type = province_revoltrisk which = 1903 value = 10 }
		command = { type = province_revoltrisk which = 378 value = 10 }
		command = { type = province_revoltrisk which = 379 value = 10 }
		command = { type = province_revoltrisk which = 380 value = 10 }
                command = { type = province_revoltrisk which = 1924 value = 10 }
command = { type = province_revoltrisk which = 1947 value = 10 }
                command = { type = province_revoltrisk which = 1997 value = 10 }
command = { type = province_revoltrisk which = 979 value = 10 }
		command = { type = revolt which = 380 } #Flandern
		command = { type = domestic which = INNOVATIVE value = -1 }
		command = { type = treasury value = 300 }
		command = { type = stability value = 1 }
	}

	action_b ={			#Lower the taxes#
		name = "ACTIONNAME3159B"
command = { type = province_revoltrisk which = 1947 value = 5 }
		command = { type = province_revoltrisk which = 1997 value = 5 }
		command = { type = province_revoltrisk which = 337 value = 5 }
		command = { type = province_revoltrisk which = 338 value = 5 }
		command = { type = province_revoltrisk which = 339 value = 5 }
		command = { type = province_revoltrisk which = 340 value = 5 }
		command = { type = province_revoltrisk which = 1903 value = 5 } command = { type = province_revoltrisk which = 933 value = 5 }
		command = { type = province_revoltrisk which = 378 value = 5 }
		command = { type = province_revoltrisk which = 379 value = 5 }
		command = { type = province_revoltrisk which = 380 value = 5 }
                command = { type = province_revoltrisk which = 1924 value = 5 }
		command = { type = province_revoltrisk which = 1925 value = 5 }
		command = { type = province_revoltrisk which = 1927 value = 5 }
command = { type = province_revoltrisk which = 979 value = 5 }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = treasury value = -500 }
		command = { type = stability value = -2 }
	}
}


#The Duke of Alba and the Edict of Blood#
event = {

	id = 3315
	trigger = {
		event = 3159
		NOT = {
			religion = protestant
			religion = reformed
		}
		OR = {
owned = { province = 1947 data = -1 }
owned = { province = 1997 data = -1 }
			owned = { province = 337 data = -1 }
			owned = { province = 338 data = -1 }
			owned = { province = 339 data = -1 }
			owned = { province = 340 data = -1 }
			owned = { province = 1903 data = -1 }
			owned = { province = 378 data = -1 }
			owned = { province = 379 data = -1 }
			owned = { province = 380 data = -1 }
                        owned = { province = 1925 data = -1 }
			owned = { province = 1927 data = -1 }
			owned = { province = 1924 data = -1 }
owned = { province = 979 data = -1 }
			}
		AND = {
			NOT = {
				domestic = {
					type = innovative
					value = 8
					}
				}
			}
		}
	random = no
	country = SPA
	name = "EVENTNAME3315"
	desc = "EVENTHIST3315"
	style = 2

	date = { day = 1 month = january year = 1565 }
	offset = 30
	deathdate = { day = 1 month = january year = 1576 }

	action_a ={			#No Concessions#
		name = "ACTIONNAME3315A"
		command = { type = province_revoltrisk which = 337 value = 10 }
		command = { type = province_revoltrisk which = 338 value = 10 }
		command = { type = province_revoltrisk which = 339 value = 10 }
		command = { type = revolt which = 339 } #Holland
		command = { type = province_revoltrisk which = 340 value = 10 }
		command = { type = revolt which = 340 } #Zeeland
                 command = { type = province_revoltrisk which = 1925 value = 10 }
                command = { type = revolt which = 1927 }
		command = { type = province_revoltrisk which = 1927 value = 10 }
                command = { type = revolt which = 1925 }
command = { type = province_revoltrisk which = 1997 value = 10 }
		command = { type = province_revoltrisk which = 1947 value = 7 }
		command = { type = province_revoltrisk which = 1903 value = 7 } command = { type = province_revoltrisk which = 933 value = 7 }
		command = { type = province_revoltrisk which = 378 value = 7 }
		command = { type = province_revoltrisk which = 379 value = 7 }
		command = { type = province_revoltrisk which = 380 value = 7 }
                command = { type = province_revoltrisk which = 1924 value = 7 }
command = { type = province_revoltrisk which = 979 value = 7 }
		command = { type = revolt which = 380 } 
                command = { type = revolt which = 380 }
		command = { type = domestic which = INNOVATIVE value = -1 }
		command = { type = treasury value = 300 }
		command = { type = stability value = 1 }
	}

	action_b ={			#Don't introduce that Consumption Tax#
		name = "ACTIONNAME3315B"
		command = { type = province_revoltrisk which = 337 value = 5 }
		command = { type = province_revoltrisk which = 338 value = 5 }
		command = { type = province_revoltrisk which = 339 value = 5 }
		command = { type = province_revoltrisk which = 340 value = 5 }
                command = { type = province_revoltrisk which = 1927 value = 5 }
		command = { type = province_revoltrisk which = 1925 value = 5 }
command = { type = province_revoltrisk which = 979 value = 5 }
command = { type = province_revoltrisk which = 1997 value = 5 }
		command = { type = province_revoltrisk which = 1947 value = 2 }
		command = { type = province_revoltrisk which = 1924 value = 2 }
		command = { type = province_revoltrisk which = 1903 value = 2 } command = { type = province_revoltrisk which = 933 value = 2 }
		command = { type = province_revoltrisk which = 378 value = 2 }
		command = { type = province_revoltrisk which = 379 value = 2 }
		command = { type = province_revoltrisk which = 380 value = 2 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = treasury value = -500 }
		command = { type = stability value = -2 }
	}
}

#Alessandro Farnese and the Union of Arras#
event = {

	id = 3316
	trigger = {
		NOT = {
			religion = protestant
			religion = reformed
		}
		event = 3159
		event = 3315
		OR = {
owned = { province = 1947 data = -1 }
owned = { province = 1997 data = -1 }
			owned = { province = 337 data = -1 }
			owned = { province = 338 data = -1 }
			owned = { province = 339 data = -1 }
			owned = { province = 340 data = -1 }
			owned = { province = 1903 data = -1 }
			owned = { province = 378 data = -1 }
			owned = { province = 379 data = -1 }
			owned = { province = 380 data = -1 }
                        owned = { province = 1925 data = -1 }
			owned = { province = 1927 data = -1 }
			owned = { province = 1924 data = -1 }
owned = { province = 979 data = -1 }
			}
		AND = {
			NOT = {
				domestic = {
					type = innovative
					value = 8
					}
				}
			}
		}
	random = no
	country = SPA
	name = "EVENTNAME3316"
	desc = "EVENTHIST3316"
	style = 2

	date = { day = 1 month = january year = 1575 }
	offset = 30
	deathdate = { day = 1 month = january year = 1586 }

	action_a ={			#Sign the Union of Arras#
		name = "ACTIONNAME3316A"
	command = { type = province_revoltrisk which = 337 value = 10 }
		command = { type = province_revoltrisk which = 338 value = 10 }
		command = { type = province_revoltrisk which = 339 value = 10 }
		command = { type = revolt which = 339 } #Holland
		command = { type = province_revoltrisk which = 340 value = 10 }
		command = { type = revolt which = 340 } #Zeeland
                command = { type = province_revoltrisk which = 1925 value = 10 }
                command = { type = revolt which = 1927 }
		command = { type = province_revoltrisk which = 1927 value = 10 }
                command = { type = revolt which = 1925 }
command = { type = province_revoltrisk which = 1997 value = 10 }
command = { type = province_revoltrisk which = 979 value = 10 }
		command = { type = province_revoltrisk which = 1947 value = -7 }
                command = { type = province_revoltrisk which = 1924 value = -7 }
		command = { type = province_revoltrisk which = 1903 value = -7 } command = { type = province_revoltrisk which = 933 value = -7 }
	command = { type = province_revoltrisk which = 378 value = -7 }
		command = { type = province_revoltrisk which = 379 value = -7 }
		command = { type = province_revoltrisk which = 380 value = -7 }
		command = { type = treasury value = -200 }
		command = { type = stability value = 1 }
	}

	action_b ={			#No Concessions#
		name = "ACTIONNAME3316B"
		command = { type = province_revoltrisk which = 337 value = 10 }
		command = { type = province_revoltrisk which = 338 value = 10 }
		command = { type = province_revoltrisk which = 339 value = 10 }
command = { type = province_revoltrisk which = 979 value = 10 }
		command = { type = revolt which = 339 } #Holland
		command = { type = province_revoltrisk which = 340 value = 10 }
		command = { type = revolt which = 340 } #Zeeland
                command = { type = province_revoltrisk which = 1925 value = 10 }
                command = { type = revolt which = 1927 }
		command = { type = province_revoltrisk which = 1927 value = 10 }
                command = { type = revolt which = 1925 }
command = { type = province_revoltrisk which = 1997 value = 10 }
		command = { type = province_revoltrisk which = 1947 value = 7 }
                command = { type = province_revoltrisk which = 1924 value = 7 }
		command = { type = province_revoltrisk which = 1903 value = 7 } command = { type = province_revoltrisk which = 933 value = 7 }
		command = { type = province_revoltrisk which = 378 value = 7 }
		command = { type = province_revoltrisk which = 379 value = 7 }
		command = { type = province_revoltrisk which = 380 value = 7 }
		command = { type = revolt which = 380 } #Flandern
		command = { type = domestic which = INNOVATIVE value = -1 }
		command = { type = treasury value = 300 }
		command = { type = stability value = 3 }
	}

	action_c ={			#Sign the Union of Arras and lower taxes#
		name = "ACTIONNAME3316C"
		command = { type = province_revoltrisk which = 337 value = 5 }
		command = { type = province_revoltrisk which = 338 value = 5 }
		command = { type = province_revoltrisk which = 339 value = 5 }
		command = { type = province_revoltrisk which = 340 value = 5 }
command = { type = province_revoltrisk which = 979 value = 5 }
                command = { type = province_revoltrisk which = 1927 value = 5 }
		command = { type = province_revoltrisk which = 1925 value = 5 }
command = { type = province_revoltrisk which = 1997 value = 5 }
		command = { type = province_revoltrisk which = 1947 value = -7 }
		command = { type = province_revoltrisk which = 1924 value = -7 }
		command = { type = province_revoltrisk which = 1903 value = -7 } command = { type = province_revoltrisk which = 933 value = -7 }
		command = { type = province_revoltrisk which = 378 value = -7 }
		command = { type = province_revoltrisk which = 379 value = -7 }
		command = { type = province_revoltrisk which = 380 value = -7 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = treasury value = -500 }
		command = { type = stability value = -1 }
	}

}

#The Dutch Revolt is successful!#
event = {

	id = 3814
	trigger = {
		exists = HOL
		NOT = {
			religion = protestant
			religion = reformed
		}
		OR = {

owned = { province = 1997 data = -1 }
			owned = { province = 337 data = -1 }
			owned = { province = 338 data = -1 }
			owned = { province = 339 data = -1 }
			owned = { province = 340 data = -1 }
                        owned = { province = 1925 data = -1 }
			owned = { province = 1927 data = -1 }
owned = { province = 979 data = -1 }
		}
	}
	random = no
	country = SPA
	name = "EVENTNAME3814"
	desc = "EVENTHIST3814"
	style = 2

	date = { day = 1 month = january year = 1555 }
	offset = 30
	deathdate = { day = 1 month = january year = 1821 }

     action_a = { # Curses!
         name = "ACTIONNAME3814A"
            command = { type = secedeprovince which = HOL value = 337 }
         command = { type = secedeprovince which = HOL value = 338 }
         command = { type = secedeprovince which = HOL value = 339 }
         command = { type = secedeprovince which = HOL value = 340 }
         command = { type = secedeprovince which = HOL value = 1925 }
         command = { type = secedeprovince which = HOL value = 1997 }
         command = { type = secedeprovince which = HOL value = 1927 }
command = { type = secedeprovince which = HOL value = 979 }
         command = { type = province_revoltrisk which = 379 value = -27 }
	 command = { type = province_revoltrisk which = 1924 value = -27 }
command = { type = province_revoltrisk which = 1903 value = -27 }
	 command = { type = province_revoltrisk which = 380 value = -27 }
 command = { type = province_revoltrisk which = 378 value = -27 }

         command = { type = removecore   which = 979 }
         command = { type = removecore   which = 339 }
command = { type = removecore   which = 340 }
command = { type = removecore   which = 338 }
command = { type = removecore   which = 337 }
command = { type = removecore   which = 1925 }
command = { type = removecore   which = 1927 }
command = { type = removecore   which = 1997 }
     }
}

#The Repatriation of the Netherlands#
event = {

	id = 3171
	trigger = {
#remove
#		OR = {
#			event = 3159
#			event = 3315
			event = 3316
#		}

		owned = { province = 339 data = -1 }
#added
				
		NOT = {
			exists = HOL
		}
	}
	random = no
	country = SPA
	name = "EVENTNAME3171"
	desc = "EVENTHIST3171"
	style = 3

	date = { day = 1 month = january year = 1648 }
	offset = 10
	deathdate = { day = 1 month = january year = 1661 }

	action_a ={			#The Netherlands is Subjugated#
		name = "ACTIONNAME3171A"
		command = { type = add_countryculture which = dutch }
		command = { type = province_revoltrisk which = 337 value = -30 }
		command = { type = province_revoltrisk which = 338 value = -30 }
		command = { type = province_revoltrisk which = 339 value = -30 }
		command = { type = province_revoltrisk which = 340 value = -30 }
                command = { type = province_revoltrisk which = 1927 value = -30 }
		command = { type = province_revoltrisk which = 1925 value = -30 }
command = { type = province_revoltrisk which = 1997 value = -30 }
command = { type = province_revoltrisk which = 979 value = -30 }
		command = { type = province_revoltrisk which = 1947 value = -27 } command = { type = province_revoltrisk which = 933 value = -27}
		command = { type = province_revoltrisk which = 1924 value = -27 }
		command = { type = province_revoltrisk which = 1903 value = -27 }
		command = { type = province_revoltrisk which = 378 value = -27 }
		command = { type = province_revoltrisk which = 379 value = -27 }
		command = { type = province_revoltrisk which = 380 value = -27 }
		command = { type = domestic which = CENTRALIZATION value = 3 }
		command = { type = treasury value = 300 }
		command = { type = stability value = 3 }
	}
}

#Treaty of Mьnster - removes cores if you failed to defeat the revolt
#Adapted by Isaac Brock from work by RAU   
#Spain
event = {
    id = 285008
    trigger = {     
        event = 3900 #Dutch Independence - HOL existed at some point
        core = { province = 339 data = SPA }
 NOT = {
			 OR = {
				owned = { province = 337 data = -1 } #Friesen#
				owned = { province = 338 data = -1 } #Geldre#
				owned = { province = 339 data = -1 } #Holland#
				owned = { province = 340 data = -1 } #Zeeland#
				owned = { province = 1927 data = -1 }
                                owned = { province = 1925 data = -1 }
 owned = { province = 1997 data = -1 }
owned = { province = 979 data = -1 }
			}
		
		} #If Spain holds no provinces in the Northern Netherlands by 1648, she loses all claims#
		OR = {#if they don't have the cores they don't need the event
			core = { province = 337 data = -1 } #Friesen
			core = { province = 338 data = -1 } #Geldre
			core = { province = 339 data = -1 } #Holland
			core = { province = 340 data = -1 } #Zeeland
			core = { province = 1925 data = -1 }
                        core = { province = 1927 data = -1 }
 core = { province = 1997 data = -1 }
 core = { province = 979 data = -1 }
		}
    }
    random = no
    country = SPA
    name = "Мюнстерский мирный договор"
    desc = "В 1648 году, Бургундия и Нидерланды подписали Мюнстерский мирный договор, положивший конец 80-летней войне. Согласно договору, Бургундия признала Республику Соединенных провинций свободным и независимым государством, а также подтверждает статус-кво, который существовал на протяжении последних 10 лет. Это означает, что Бургундия признает потерю права собственности на севере Нидерландов."
    style = 3

    date = { day = 15 month = may year = 1648 }
    offset = 23
    deathdate = { day = 1 month = march year = 1649 }

    action_a = {
		name = "Мы признаём голландскую республику"
		command = { type = removecore which = 337 }
		command = { type = removecore which = 338 }
		command = { type = removecore which = 339 }
		command = { type = removecore which = 340 }
		command = { type = removecore which = 1925 }
                command = { type = removecore which = 1927 }
command = { type = removecore which = 1997 }
  command = { type = removecore   which = 979 }
		command = { type = relation which = HOL value = 100 }
		}
       action_b ={			
		name = "Хрен им в грызло, еретикам, а не мир!"
                command = { type = stability value = -2 }
                command = { type = relation which = HOL value = -100 }
	}
}

event = {
    id = 285009
    trigger = {
        event = 285008 #Treaty of Mьnster Northern Netherlands
                
       NOT = {
			OR = {
				owned = { province = 1903 data = -1 } 
				owned = { province = 378 data = -1 } #Brabant#
				
				owned = { province = 380 data = -1 } #Flandres#
				owned = { province = 1924 data = -1 }
				
				}
			} #If Spain failed to hold onto the southern Netherlands as well, she should also lose these claims as well#
		OR = {#if they don't have the cores they don't need the event
			core = { province = 1903 data = -1 } 
			core = { province = 378 data = -1 } #Brabant
			
			core = { province = 380 data = -1 } #Flandres
			core = { province = 1924 data = -1 }
			
			}
        }
    random = no
    country = SPA
    name = "Мюнстерский мирный договор"
    desc = "Потеряв контроль над югом Нидерландов, Испания также вынуждена отказаться от своих претензий на эти территории."
    style = 3

    date = { day = 18 month = may year = 1648 }
    offset = 23
    deathdate = { day = 1 month = april year = 1649 }

action_a = {
		name = "Мы отказываемся от своих требований"
		command = { type = removecore which = 1903 }#Luxembourg#	
		command = { type = removecore which = 378 }#Brabant#
		command = { type = removecore which = 377 }
		command = { type = removecore which = 380 }
		command = { type = removecore which = 1924 }
		command = { type = relation which = HOL value = 50 }
		}
        action_b ={			
		name = "Хрен им в грызло, еретикам, а не мир!"
                command = { type = stability value = -2 }
                command = { type = relation which = HOL value = -100 }
	        }
    }

#############################################################################################################
##### FRA
############################################################################################################# 

#Dutch Nobility demands General Estates#
event = {

	id = 3325
	trigger = {
		NOT = {
			religion = protestant
			religion = reformed
		}
		OR = {
owned = { province = 1947 data = -1 }
owned = { province = 1997 data = -1 }
			owned = { province = 337 data = -1 }
			owned = { province = 338 data = -1 }
			owned = { province = 339 data = -1 }
			owned = { province = 340 data = -1 }
			owned = { province = 1903 data = -1 }
			owned = { province = 378 data = -1 }
			owned = { province = 379 data = -1 }
			owned = { province = 380 data = -1 }
                        owned = { province = 1925 data = -1 }
			owned = { province = 1927 data = -1 }
			owned = { province = 1924 data = -1 }
owned = { province = 979 data = -1 }
			}
		AND = {
			NOT = {
				domestic = {
					type = innovative
					value = 8
					}
				}
			}
		}
	random = no
	country = FRA
	name = "EVENTNAME3325"
	desc = "EVENTHIST3325"
	style = 2

	date = { day = 1 month = january year = 1560 }
	offset = 30
	deathdate = { day = 1 month = january year = 1571 }

	action_a = {			#No Concessions#
		name = "ACTIONNAME3325A"
		command = { type = province_revoltrisk which = 337 value = 10 }
		command = { type = province_revoltrisk which = 338 value = 10 }
		command = { type = province_revoltrisk which = 339 value = 10 }
		command = { type = revolt which = 339 } #Holland
                command = { type = province_revoltrisk which = 1925 value = 10 }
                command = { type = revolt which = 1927 }
		command = { type = province_revoltrisk which = 1927 value = 10 }
                command = { type = revolt which = 1925 }
		command = { type = province_revoltrisk which = 340 value = 10 }
		command = { type = revolt which = 340 } #Zeeland
		command = { type = province_revoltrisk which = 1903 value = 10 }
		command = { type = province_revoltrisk which = 378 value = 10 }
		command = { type = province_revoltrisk which = 379 value = 10 }
		command = { type = province_revoltrisk which = 380 value = 10 }
                command = { type = province_revoltrisk which = 1924 value = 10 }
command = { type = province_revoltrisk which = 1947 value = 10 }
command = { type = province_revoltrisk which = 1997 value = 10 }
command = { type = province_revoltrisk which = 979 value = 10 }
		command = { type = revolt which = 380 } #Flandern
		command = { type = domestic which = INNOVATIVE value = -1 }
		command = { type = treasury value = 300 }
		command = { type = stability value = 1 }
	}

	action_b = {			#Lower the taxes#
		name = "ACTIONNAME3325B"
		command = { type = province_revoltrisk which = 337 value = 5 }
		command = { type = province_revoltrisk which = 338 value = 5 }
		command = { type = province_revoltrisk which = 339 value = 5 }
		command = { type = province_revoltrisk which = 340 value = 5 }
		command = { type = province_revoltrisk which = 1903 value = 5 } command = { type = province_revoltrisk which = 933 value = 5 }
		command = { type = province_revoltrisk which = 378 value = 5 }
		command = { type = province_revoltrisk which = 379 value = 5 }
		command = { type = province_revoltrisk which = 380 value = 5 }
command = { type = province_revoltrisk which = 979 value = 5 }
                command = { type = province_revoltrisk which = 1924 value = 5 }
		command = { type = province_revoltrisk which = 1925 value = 5 }
		command = { type = province_revoltrisk which = 1927 value = 5 }
command = { type = province_revoltrisk which = 1947 value = 5 }
command = { type = province_revoltrisk which = 1997 value = 5 }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = treasury value = -500 }
		command = { type = stability value = -2 }
	}
}

#The Duke of Guise and the Edict of Blood#
event = {

	id = 3326
	trigger = {
		event = 3325
		NOT = {
			religion = protestant
			religion = reformed
		}
		OR = {
owned = { province = 1947 data = -1 }
owned = { province = 1997 data = -1 }
			owned = { province = 337 data = -1 }
			owned = { province = 338 data = -1 }
			owned = { province = 339 data = -1 }
			owned = { province = 340 data = -1 }
			owned = { province = 1903 data = -1 }
			owned = { province = 378 data = -1 }
			owned = { province = 379 data = -1 }
			owned = { province = 380 data = -1 }
                        owned = { province = 1925 data = -1 }
			owned = { province = 1927 data = -1 }
			owned = { province = 1924 data = -1 }
owned = { province = 979 data = -1 }


			}
		AND = {
			NOT = {
				domestic = {
					type = innovative
					value = 8
					}
				}
			}
		}
	random = no
	country = FRA
	name = "EVENTNAME3326"
	desc = "EVENTHIST3326"
	style = 2

	date = { day = 1 month = january year = 1565 }
	offset = 30
	deathdate = { day = 1 month = january year = 1576 }

	action_a = {			#No Concessions#
		name = "ACTIONNAME3326A"
		command = { type = province_revoltrisk which = 337 value = 10 }
		command = { type = province_revoltrisk which = 338 value = 10 }
		command = { type = province_revoltrisk which = 339 value = 10 }
		command = { type = revolt which = 339 } #Holland
		command = { type = province_revoltrisk which = 340 value = 10 }
		command = { type = revolt which = 340 } #Zeeland
                command = { type = province_revoltrisk which = 1925 value = 10 }
                command = { type = revolt which = 1927 }
		command = { type = province_revoltrisk which = 1927 value = 10 }
                command = { type = revolt which = 1925 }
command = { type = province_revoltrisk which = 1947 value = 7 }
command = { type = province_revoltrisk which = 1997 value = 10 }
command = { type = province_revoltrisk which = 979 value = 10 }
		command = { type = province_revoltrisk which = 1903 value = 7 } command = { type = province_revoltrisk which = 933 value = 7 }
		command = { type = province_revoltrisk which = 378 value = 7 }
		command = { type = province_revoltrisk which = 379 value = 7 }
		command = { type = province_revoltrisk which = 380 value = 7 }
                command = { type = province_revoltrisk which = 1924 value = 7 }
		command = { type = revolt which = 380 } 
                command = { type = revolt which = 380 }
		command = { type = domestic which = INNOVATIVE value = -1 }
		command = { type = treasury value = 300 }
		command = { type = stability value = 1 }
	}

	action_b = {			#Don't introduce that Consumption Tax#
		name = "ACTIONNAME3326B"
		command = { type = province_revoltrisk which = 337 value = 5 }
		command = { type = province_revoltrisk which = 338 value = 5 }
		command = { type = province_revoltrisk which = 339 value = 5 }
		command = { type = province_revoltrisk which = 340 value = 5 }
                command = { type = province_revoltrisk which = 1927 value = 5 }
		command = { type = province_revoltrisk which = 1925 value = 5 }
command = { type = province_revoltrisk which = 979 value = 5 }
command = { type = province_revoltrisk which = 979 value = 10 }
command = { type = province_revoltrisk which = 1947 value = 2 }
		command = { type = province_revoltrisk which = 1924 value = 2 }
		command = { type = province_revoltrisk which = 1903 value = 2 } command = { type = province_revoltrisk which = 933 value = 2 }
		command = { type = province_revoltrisk which = 378 value = 2 }
		command = { type = province_revoltrisk which = 379 value = 2 }
		command = { type = province_revoltrisk which = 380 value = 2 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = treasury value = -500 }
		command = { type = stability value = -2 }
	}
}

#The Duke of Mayenne and the Union of Arras#
event = {

	id = 3327
	trigger = {
		NOT = {
			religion = protestant
			religion = reformed
		}
		event = 3325
		event = 3326
		OR = {
owned = { province = 1947 data = -1 }
owned = { province = 1997 data = -1 }
			owned = { province = 337 data = -1 }
			owned = { province = 338 data = -1 }
			owned = { province = 339 data = -1 }
			owned = { province = 340 data = -1 }
			owned = { province = 1903 data = -1 }
			owned = { province = 378 data = -1 }
			owned = { province = 379 data = -1 }
			owned = { province = 380 data = -1 }
                        owned = { province = 1925 data = -1 }
			owned = { province = 1927 data = -1 }
			owned = { province = 1924 data = -1 }
owned = { province = 979 data = -1 }
			}
		AND = {
			NOT = {
				domestic = {
					type = innovative
					value = 8
					}
				}
			}
		}
	random = no
	country = FRA
	name = "EVENTNAME3327"
	desc = "EVENTHIST3327"
	style = 2

	date = { day = 1 month = january year = 1575 }
	offset = 30
	deathdate = { day = 1 month = january year = 1586 }

	action_a = {			#Sign the Union of Arras#
		name = "ACTIONNAME3327A"
		command = { type = province_revoltrisk which = 337 value = 10 }
		command = { type = province_revoltrisk which = 338 value = 10 }
		command = { type = province_revoltrisk which = 339 value = 10 }
		command = { type = revolt which = 339 } #Holland
		command = { type = province_revoltrisk which = 340 value = 10 }
		command = { type = revolt which = 340 } #Zeeland
                command = { type = province_revoltrisk which = 1925 value = 10 }
                command = { type = revolt which = 1927 }
		command = { type = province_revoltrisk which = 1927 value = 10 }
                command = { type = revolt which = 1925 }
command = { type = province_revoltrisk which = 1997 value = 10 }
command = { type = province_revoltrisk which = 979 value = 10 }
command = { type = province_revoltrisk which = 1947 value = -7 } 
                command = { type = province_revoltrisk which = 1924 value = -7 }
		command = { type = province_revoltrisk which = 1903 value = -7 } command = { type = province_revoltrisk which = 933 value = -7 }
		command = { type = province_revoltrisk which = 378 value = -7 }
		command = { type = province_revoltrisk which = 379 value = -7 }
		command = { type = province_revoltrisk which = 380 value = -7 }
		command = { type = treasury value = -200 }
		command = { type = stability value = 1 }
	}

	action_b = {			#No Concessions#
		name = "ACTIONNAME3327B"
		command = { type = province_revoltrisk which = 337 value = 10 }
		command = { type = province_revoltrisk which = 338 value = 10 }
		command = { type = province_revoltrisk which = 339 value = 10 }
		command = { type = revolt which = 339 } #Holland
		command = { type = province_revoltrisk which = 340 value = 10 }
		command = { type = revolt which = 340 } #Zeeland
                command = { type = province_revoltrisk which = 1925 value = 10 }
                command = { type = revolt which = 1927 }
		command = { type = province_revoltrisk which = 1927 value = 10 }
command = { type = province_revoltrisk which = 979 value = 10 }
                command = { type = revolt which = 1925 }
command = { type = province_revoltrisk which = 1997 value = 10 }
command = { type = province_revoltrisk which = 1947 value = 7 }
                command = { type = province_revoltrisk which = 1924 value = 7 }
		command = { type = province_revoltrisk which = 1903 value = 7 } command = { type = province_revoltrisk which = 933 value = 7 }
		command = { type = province_revoltrisk which = 378 value = 7 }
		command = { type = province_revoltrisk which = 379 value = 7 }
		command = { type = province_revoltrisk which = 380 value = 7 }
		command = { type = revolt which = 380 } #Flandern
		command = { type = domestic which = INNOVATIVE value = -1 }
		command = { type = treasury value = 300 }
		command = { type = stability value = 3 }
	}

	action_c = {			#Sign the Union of Arras and lower taxes#
		name = "ACTIONNAME3327C"
		command = { type = province_revoltrisk which = 337 value = 5 }
		command = { type = province_revoltrisk which = 338 value = 5 }
		command = { type = province_revoltrisk which = 339 value = 5 }
		command = { type = province_revoltrisk which = 340 value = 5 }
                command = { type = province_revoltrisk which = 1927 value = 5 }
		command = { type = province_revoltrisk which = 1925 value = 5 }
command = { type = province_revoltrisk which = 979 value = 5 }
command = { type = province_revoltrisk which = 1997 value = 5 }
command = { type = province_revoltrisk which = 1947 value = -7 }
		command = { type = province_revoltrisk which = 1924 value = -7 }
		command = { type = province_revoltrisk which = 1903 value = -7 } command = { type = province_revoltrisk which = 933 value = -7 }
		command = { type = province_revoltrisk which = 378 value = -7 }
		command = { type = province_revoltrisk which = 379 value = -7 }
		command = { type = province_revoltrisk which = 380 value = -7 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = treasury value = -500 }
		command = { type = stability value = -1 }
	}

}

#The Repatriation of the Netherlands#
event = {

	id = 3544
	trigger = {
		OR = {
			event = 3325
			event = 3326
			event = 3327
		}

		owned = { province = 339 data = -1 }

		NOT = {
			exists = HOL
		}
	}
	random = no
	country = FRA
	name = "EVENTNAME3544"
	desc = "EVENTHIST3544"
	style = 3

	date = { day = 1 month = january year = 1648 }
	offset = 10
	deathdate = { day = 1 month = january year = 1661 }

	action_a = {			#The Netherlands is Subjugated#
		name = "ACTIONNAME3544A"
		command = { type = conversion which = 380 }
                command = { type = add_countryculture which = dutch }
		command = { type = province_revoltrisk which = 337 value = -30 }
		command = { type = province_revoltrisk which = 338 value = -30 }
		command = { type = province_revoltrisk which = 339 value = -30 }
		command = { type = province_revoltrisk which = 340 value = -30 }
                command = { type = province_revoltrisk which = 1927 value = -30 }
		command = { type = province_revoltrisk which = 1925 value = -30 }
command = { type = province_revoltrisk which = 1997 value = -30 }
command = { type = province_revoltrisk which = 979 value = -30 }
command = { type = province_revoltrisk which = 1947 value = -27 } command = { type = province_revoltrisk which = 933 value = -27}
		command = { type = province_revoltrisk which = 1924 value = -27 }
		command = { type = province_revoltrisk which = 1903 value = -27 }
		command = { type = province_revoltrisk which = 378 value = -27 }
		command = { type = province_revoltrisk which = 379 value = -27 }
		command = { type = province_revoltrisk which = 380 value = -27 }
		command = { type = domestic which = CENTRALIZATION value = 3 }
		command = { type = treasury value = 300 }
		command = { type = stability value = 3 }
	}
}

#The Dutch Revolt is successful!#
event = {

	id = 3816
	trigger = {
		exists = HOL
		NOT = {
			religion = protestant
			religion = reformed
		}
		OR = {
owned = { province = 1947 data = -1 }
owned = { province = 1997 data = -1 }
			owned = { province = 337 data = -1 }
			owned = { province = 338 data = -1 }
			owned = { province = 339 data = -1 }
			owned = { province = 340 data = -1 }
			owned = { province = 1925 data = -1 }
                        owned = { province = 1927 data = -1 }
			owned = { province = 380 data = -1 }
                        owned = { province = 378 data = -1 }
owned = { province = 979 data = -1 }
		}
	}
	random = no
	country = FRA
	name = "EVENTNAME3816"
	desc = "EVENTHIST3816"
	style = 2

	date = { day = 1 month = january year = 1555 }
	offset = 30
	deathdate = { day = 1 month = january year = 1821 }

     action_a = { # Curses!
         name = "ACTIONNAME3816A"
         command = { type = secedeprovince which = HOL value = 337 }
         command = { type = secedeprovince which = HOL value = 338 }
         command = { type = secedeprovince which = HOL value = 339 }
         command = { type = secedeprovince which = HOL value = 340 }
         command = { type = secedeprovince which = HOL value = 1925 }
         command = { type = secedeprovince which = HOL value = 1997 }
         command = { type = secedeprovince which = HOL value = 1927 }
 command = { type = secedeprovince which = HOL value = 979 }
         command = { type = province_revoltrisk which = 379 value = -27 }
	 command = { type = province_revoltrisk which = 1924 value = -27 }
command = { type = province_revoltrisk which = 1903 value = -27 }
	 command = { type = province_revoltrisk which = 380 value = -27 }
 command = { type = province_revoltrisk which = 378 value = -27 }

         command = { type = removecore   which = 979 }
         command = { type = removecore   which = 339 }
command = { type = removecore   which = 340 }
command = { type = removecore   which = 338 }
command = { type = removecore   which = 337 }
command = { type = removecore   which = 1925 }
command = { type = removecore   which = 1927 }
command = { type = removecore   which = 1997 }
     }
}



#Peace Treaty of Mьnster
event = {
	id = 170016
	trigger = {		
		event = 3900 #Dutch Independence - HOL existed at some point
		core = { province = 339 data = FRA }
		NOT = {
			 OR = {
				owned = { province = 337 data = -1 } #Friesen#
				owned = { province = 338 data = -1 } #Geldre#
				owned = { province = 339 data = -1 } #Holland#
				owned = { province = 340 data = -1 } #Zeeland#
				owned = { province = 1927 data = -1 }
                                owned = { province = 1925 data = -1 }
 owned = { province = 1997 data = -1 }
owned = { province = 979 data = -1 }
			}
		
		} #If Spain holds no provinces in the Northern Netherlands by 1648, she loses all claims#
		OR = {#if they don't have the cores they don't need the event
			core = { province = 337 data = -1 } #Friesen
			core = { province = 338 data = -1 } #Geldre
			core = { province = 339 data = -1 } #Holland
			core = { province = 340 data = -1 } #Zeeland
			core = { province = 1925 data = -1 }
                        core = { province = 1927 data = -1 }
core = { province = 1997 data = -1 }
                        core = { province = 979 data = -1 }

		}
	}
	random = no
	country = FRA
	name = "Мирный договор в Мюнстере"
	desc = "В 1648 году в Мюнстере был подписан договор о мире между Бургундией и Нидерландами, заканчивающий 80 летнюю войну. В мирном соглашении, Бургундия признавала республику Объединённых Провинций как свободное и независимое государство и подтверждала статус-кво, существовавший ещё до войны. Таким образом Бургундия признавала потерю Северных Нидерландов."
	style = 3

	date = { day = 15 month = may year = 1648 }
	offset = 23
	deathdate = { day = 1 month = march year = 1649 }

	action_a = {
		name = "Мы признаём голландскую республику"
		command = { type = removecore which = 337 }
		command = { type = removecore which = 338 }
		command = { type = removecore which = 339 }
		command = { type = removecore which = 340 }
		command = { type = removecore which = 1925 }
                command = { type = removecore which = 1927 }
command = { type = removecore which = 1997 }
command = { type = removecore   which = 979 }
		command = { type = relation which = HOL value = 100 }
		}
       action_b ={			
		name = "Хрен им в грызло, еретикам, а не мир!"
                command = { type = stability value = -2 }
                command = { type = relation which = HOL value = -100 }
	}
}

event = {
	id = 170015
	trigger = {
		event = 170016 #Treaty of Mьnster Northern Netherlands
		NOT = {
			OR = {
				owned = { province = 1903 data = -1 } 
				owned = { province = 378 data = -1 } #Brabant#
				
				owned = { province = 380 data = -1 } #Flandres#
				owned = { province = 1924 data = -1 }
				
				}
			} #If Spain failed to hold onto the southern Netherlands as well, she should also lose these claims as well#
		OR = {#if they don't have the cores they don't need the event
			core = { province = 1903 data = -1 } 
			core = { province = 378 data = -1 } #Brabant
			
			core = { province = 380 data = -1 } #Flandres
			core = { province = 1924 data = -1 }
			
			}
		}
	random = no
	country = FRA
	name = "Мюнстерский мирный договор"
	desc = "Потеряв контроль над Южными Нидерландами, Франция была вынуждена отказаться от своих прав на эти земли."
	style = 3

	date = { day = 18 month = may year = 1648 }
	offset = 23
	deathdate = { day = 1 month = april year = 1649 }

	action_a = {
		name = "Мы отказываемся от своих требований"
		command = { type = removecore which = 1903 }#Luxembourg#	
		command = { type = removecore which = 378 }#Brabant#
		command = { type = removecore which = 377 }
		command = { type = removecore which = 380 }
		command = { type = removecore which = 1924 }
		command = { type = relation which = HOL value = 50 }
		}
        action_b ={			
		name = "Хрен им в грызло, еретикам, а не мир!"
                command = { type = stability value = -2 }
                command = { type = relation which = HOL value = -100 }
	        }
	}



#############################################################################################################
##### BUR
############################################################################################################# 

#Dutch Nobility demands General Estates#
event = {
	id = 3864
	trigger = {
		OR = {
owned = { province = 1947 data = -1 }
owned = { province = 1997 data = -1 }
			owned = { province = 337 data = -1 }
			owned = { province = 338 data = -1 }
			owned = { province = 339 data = -1 }
			owned = { province = 340 data = -1 }
			owned = { province = 1903 data = -1 }
			owned = { province = 378 data = -1 }
			owned = { province = 379 data = -1 }
			owned = { province = 380 data = -1 }
                        owned = { province = 1925 data = -1 }
			owned = { province = 1927 data = -1 }
			owned = { province = 1924 data = -1 }
owned = { province = 979 data = -1 }
			}
		AND = {
			NOT = {
				domestic = {
					type = innovative
					value = 8
					}
				}
			}
		}
	random = no
	country = BUR
	name = "EVENTNAME3864"
	desc = "EVENTHIST3864"
	style = 2

	date = { day = 1 month = january year = 1560 }
	offset = 30
	deathdate = { day = 1 month = january year = 1571 }

	action_a ={			#No Concessions#
		name = "ACTIONNAME3864A"
		command = { type = province_revoltrisk which = 337 value = 10 }
		command = { type = province_revoltrisk which = 338 value = 10 }
		command = { type = province_revoltrisk which = 339 value = 10 }
		command = { type = revolt which = 339 } #Holland
                command = { type = province_revoltrisk which = 1925 value = 10 }
                command = { type = revolt which = 1927 }
		command = { type = province_revoltrisk which = 1927 value = 10 }
                command = { type = revolt which = 1925 }
		command = { type = province_revoltrisk which = 340 value = 10 }
		command = { type = revolt which = 340 } #Zeeland
		command = { type = province_revoltrisk which = 1903 value = 10 }
		command = { type = province_revoltrisk which = 378 value = 10 }
		command = { type = province_revoltrisk which = 379 value = 10 }
		command = { type = province_revoltrisk which = 380 value = 10 }
                command = { type = province_revoltrisk which = 1924 value = 10 }
command = { type = province_revoltrisk which = 979 value = 10 }
command = { type = province_revoltrisk which = 1997 value = 10 }
command = { type = province_revoltrisk which = 1947 value = 10 }
		command = { type = revolt which = 380 } #Flandern
		command = { type = domestic which = INNOVATIVE value = -1 }
		command = { type = treasury value = 300 }
		command = { type = stability value = 1 }
	}

	action_b ={			#Lower the taxes#
		name = "ACTIONNAME3864B"
command = { type = province_revoltrisk which = 1997 value = 5 }
command = { type = province_revoltrisk which = 1947 value = 5 }
		command = { type = province_revoltrisk which = 337 value = 5 }
		command = { type = province_revoltrisk which = 338 value = 5 }
		command = { type = province_revoltrisk which = 339 value = 5 }
		command = { type = province_revoltrisk which = 340 value = 5 }
		command = { type = province_revoltrisk which = 1903 value = 5 } command = { type = province_revoltrisk which = 933 value = 5 }
command = { type = province_revoltrisk which = 979 value = 5 }
		command = { type = province_revoltrisk which = 378 value = 5 }
		command = { type = province_revoltrisk which = 379 value = 5 }
		command = { type = province_revoltrisk which = 380 value = 5 }
                command = { type = province_revoltrisk which = 1924 value = 5 }
		command = { type = province_revoltrisk which = 1925 value = 5 }
		command = { type = province_revoltrisk which = 1927 value = 5 }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = treasury value = -500 }
		command = { type = stability value = -2 }
	}
}

#The Count of Charolais and the Edict of Blood#
event = {

	id = 3865
	trigger = {
		event = 3864
		NOT = {
			religion = protestant
			religion = reformed
		}
		OR = {
owned = { province = 1947 data = -1 }
owned = { province = 1997 data = -1 }
			owned = { province = 337 data = -1 }
			owned = { province = 338 data = -1 }
			owned = { province = 339 data = -1 }
			owned = { province = 340 data = -1 }
			owned = { province = 1903 data = -1 }
			owned = { province = 378 data = -1 }
			owned = { province = 379 data = -1 }
			owned = { province = 380 data = -1 }
                        owned = { province = 1925 data = -1 }
			owned = { province = 1927 data = -1 }
			owned = { province = 1924 data = -1 }
owned = { province = 979 data = -1 }
			}
		AND = {
			NOT = {
				domestic = {
					type = innovative
					value = 8
					}
				}
			}
		}
	random = no
	country = BUR
	name = "EVENTNAME3865"
	desc = "EVENTHIST3865"
	style = 2

	date = { day = 1 month = january year = 1565 }
	offset = 30
	deathdate = { day = 1 month = january year = 1576 }

	action_a ={			#No Concessions#
		name = "ACTIONNAME3865A"
		command = { type = province_revoltrisk which = 337 value = 10 }
		command = { type = province_revoltrisk which = 338 value = 10 }
		command = { type = province_revoltrisk which = 339 value = 10 }
		command = { type = revolt which = 339 } #Holland
		command = { type = province_revoltrisk which = 340 value = 10 }
		command = { type = revolt which = 340 } #Zeeland
                 command = { type = province_revoltrisk which = 1925 value = 10 }
                command = { type = revolt which = 1927 }
		command = { type = province_revoltrisk which = 1927 value = 10 }
command = { type = province_revoltrisk which = 979 value = 10 }
                command = { type = revolt which = 1925 }
command = { type = province_revoltrisk which = 1997 value = 10 }
command = { type = province_revoltrisk which = 1947 value = 5 }
		command = { type = province_revoltrisk which = 1903 value = 7 } command = { type = province_revoltrisk which = 933 value = 7 }
		command = { type = province_revoltrisk which = 378 value = 7 }
		command = { type = province_revoltrisk which = 379 value = 7 }
		command = { type = province_revoltrisk which = 380 value = 7 }
                command = { type = province_revoltrisk which = 1924 value = 7 }
		command = { type = revolt which = 380 } 
                command = { type = revolt which = 380 }
		command = { type = domestic which = INNOVATIVE value = -1 }
		command = { type = treasury value = 300 }
		command = { type = stability value = 1 }
	}

	action_b ={			#Don't introduce that Consumption Tax#
		name = "ACTIONNAME3865B"
		command = { type = province_revoltrisk which = 337 value = 5 }
		command = { type = province_revoltrisk which = 338 value = 5 }
		command = { type = province_revoltrisk which = 339 value = 5 }
		command = { type = province_revoltrisk which = 340 value = 5 }
                command = { type = province_revoltrisk which = 1927 value = 5 }
		command = { type = province_revoltrisk which = 1925 value = 5 }
command = { type = province_revoltrisk which = 979 value = 5 }
command = { type = province_revoltrisk which = 1997 value = 5 }
command = { type = province_revoltrisk which = 1947 value = 2 }
		command = { type = province_revoltrisk which = 1924 value = 2 }
		command = { type = province_revoltrisk which = 1903 value = 2 } command = { type = province_revoltrisk which = 933 value = 2 }
		command = { type = province_revoltrisk which = 378 value = 2 }
		command = { type = province_revoltrisk which = 379 value = 2 }
		command = { type = province_revoltrisk which = 380 value = 2 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = treasury value = -500 }
		command = { type = stability value = -2 }
	}
}

#The Count of Maзon and the Union of Arras#
event = {

	id = 3866
	trigger = {
		event = 3864
		event = 3865
		NOT = {
			religion = protestant
			religion = reformed
		}
		OR = {
owned = { province = 1947 data = -1 }
owned = { province = 1997 data = -1 }
			owned = { province = 337 data = -1 }
			owned = { province = 338 data = -1 }
			owned = { province = 339 data = -1 }
			owned = { province = 340 data = -1 }
			owned = { province = 1903 data = -1 }
			owned = { province = 378 data = -1 }
			owned = { province = 379 data = -1 }
			owned = { province = 380 data = -1 }
                        owned = { province = 1925 data = -1 }
			owned = { province = 1927 data = -1 }
			owned = { province = 1924 data = -1 }
owned = { province = 979 data = -1 }
			}
		AND = {
			NOT = {
				domestic = {
					type = innovative
					value = 8
					}
				}
			}
		}
	random = no
	country = BUR
	name = "EVENTNAME3866"
	desc = "EVENTHIST3866"
	style = 2

	date = { day = 1 month = january year = 1575 }
	offset = 30
	deathdate = { day = 1 month = january year = 1586 }

	action_a ={			#Sign the Union of Arras#
		name = "ACTIONNAME3866A"
		command = { type = province_revoltrisk which = 337 value = 10 }
		command = { type = province_revoltrisk which = 338 value = 10 }
		command = { type = province_revoltrisk which = 339 value = 10 }
		command = { type = revolt which = 339 } #Holland
		command = { type = province_revoltrisk which = 340 value = 10 }
		command = { type = revolt which = 340 } #Zeeland
                command = { type = province_revoltrisk which = 1925 value = 10 }
                command = { type = revolt which = 1927 }
		command = { type = province_revoltrisk which = 1927 value = 10 }
command = { type = province_revoltrisk which = 979 value = 10 }
                command = { type = revolt which = 1925 }
command = { type = province_revoltrisk which = 1997 value = 10 }
command = { type = province_revoltrisk which = 1947 value = -7 }
                command = { type = province_revoltrisk which = 1924 value = -7 }
		command = { type = province_revoltrisk which = 1903 value = -7 } command = { type = province_revoltrisk which = 933 value = -7 }
		command = { type = province_revoltrisk which = 378 value = -7 }
		command = { type = province_revoltrisk which = 379 value = -7 }
		command = { type = province_revoltrisk which = 380 value = -7 }
		command = { type = treasury value = -200 }
		command = { type = stability value = 1 }
	}

	action_b ={			#No Concessions#
		name = "ACTIONNAME3866B"
		command = { type = province_revoltrisk which = 337 value = 10 }
		command = { type = province_revoltrisk which = 338 value = 10 }
		command = { type = province_revoltrisk which = 339 value = 10 }
		command = { type = revolt which = 339 } #Holland
		command = { type = province_revoltrisk which = 340 value = 10 }
command = { type = province_revoltrisk which = 979 value = 10 }
		command = { type = revolt which = 340 } #Zeeland
                command = { type = province_revoltrisk which = 1925 value = 10 }
                command = { type = revolt which = 1927 }
		command = { type = province_revoltrisk which = 1927 value = 10 }
                command = { type = revolt which = 1925 }
command = { type = province_revoltrisk which = 1997 value = 10 }
command = { type = province_revoltrisk which = 1947 value = 7 }
                command = { type = province_revoltrisk which = 1924 value = 7 }
		command = { type = province_revoltrisk which = 1903 value = 7 } command = { type = province_revoltrisk which = 933 value = 7 }
		command = { type = province_revoltrisk which = 378 value = 7 }
		command = { type = province_revoltrisk which = 379 value = 7 }
		command = { type = province_revoltrisk which = 380 value = 7 }
		command = { type = revolt which = 380 } #Flandern
		command = { type = domestic which = INNOVATIVE value = -1 }
		command = { type = treasury value = 300 }
		command = { type = stability value = 3 }
	}

	action_c ={			#Sign the Union of Arras and lower taxes#
		name = "ACTIONNAME3866C"
		command = { type = province_revoltrisk which = 337 value = 5 }
		command = { type = province_revoltrisk which = 338 value = 5 }
		command = { type = province_revoltrisk which = 339 value = 5 }
		command = { type = province_revoltrisk which = 340 value = 5 }
                command = { type = province_revoltrisk which = 1927 value = 5 }
		command = { type = province_revoltrisk which = 1925 value = 5 }
command = { type = province_revoltrisk which = 979 value = 5 }
command = { type = province_revoltrisk which = 1997 value = 5 }
command = { type = province_revoltrisk which = 1947 value = -7 }
		command = { type = province_revoltrisk which = 1924 value = -7 }
		command = { type = province_revoltrisk which = 1903 value = -7 } command = { type = province_revoltrisk which = 933 value = -7 }
		command = { type = province_revoltrisk which = 378 value = -7 }
		command = { type = province_revoltrisk which = 379 value = -7 }
		command = { type = province_revoltrisk which = 380 value = -7 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = treasury value = -500 }
		command = { type = stability value = -1 }
	}
}

#The Repatriation of the Netherlands#
event = {

	id = 3867
	trigger = {
		OR = {
			event = 3864
			event = 3865
			event = 3866
		}
		NOT = { event = 3931 }
	}
	random = no
	country = BUR
	name = "EVENTNAME3867"
	desc = "EVENTHIST3867"
	style = 3

	date = { day = 1 month = january year = 1648 }
	offset = 10
	deathdate = { day = 1 month = january year = 1649 }

	action_a ={			#The Netherlands is Subjugated#
		name = "ACTIONNAME3867A"
		command = { type = conversion which = 380 }
		command = { type = province_revoltrisk which = 337 value = -30 }
		command = { type = province_revoltrisk which = 338 value = -30 }
		command = { type = province_revoltrisk which = 339 value = -30 }
		command = { type = province_revoltrisk which = 340 value = -30 }
                command = { type = province_revoltrisk which = 1927 value = -30 }
		command = { type = province_revoltrisk which = 1925 value = -30 }
command = { type = province_revoltrisk which = 979 value = -30 }
command = { type = province_revoltrisk which = 1997 value = -30 }
command = { type = province_revoltrisk which = 1947 value = -27 } command = { type = province_revoltrisk which = 933 value = -27}
		command = { type = province_revoltrisk which = 1924 value = -27 }
		command = { type = province_revoltrisk which = 1903 value = -27 }
		command = { type = province_revoltrisk which = 378 value = -27 }
		command = { type = province_revoltrisk which = 379 value = -27 }
		command = { type = province_revoltrisk which = 380 value = -27 }
		command = { type = domestic which = CENTRALIZATION value = 3 }
		command = { type = treasury value = 300 }
		command = { type = stability value = 3 }
	}
}

#The Dutch Revolt is successful!#
#This event reduces the revoltrisk in the Southern Netherlands after then Northern Netherlands achieves independence.  
event = {
	id = 3931
	trigger = {
		exists = HOL
		event = 3864 #Dutch Nobility Demands General Estates
		event = 3900 #creation of Dutch Republic
		NOT = { event = 3867} # Repatriation of the Netherlands
		OR = {
			owned = { province = 1903 data = -1 } 
			owned = { province = 378 data = -1 } #Brabant
			owned = { province = 379 data = -1 } #Artois
			owned = { province = 380 data = -1 } #Flanders
                        owned = { province = 1924 data = -1 } #Flanders
			}
	}
	random = no
	country = BUR
	name = "EVENTNAME3819"#text from 'Dutch Revolt Sucessful'#
	desc = "EVENTHIST3819"#text from 'Dutch Revolt Sucessful'#
	style = 2

	date = { day = 1 month = january year = 1585 }
	offset = 30
	deathdate = { day = 1 month = january year = 1648 }

     action_a = { # Curses!
         name = "ACTIONNAME4980A" # ="OK"#
	command = { type = province_revoltrisk which = 1903 value = -27 } #Luxemburg
	command = { type = province_revoltrisk which = 378 value = -27 } #Brabant
	command = { type = province_revoltrisk which = 379 value = -27 } #Artois
	command = { type = province_revoltrisk which = 380 value = -27 } #Flanders
        command = { type = province_revoltrisk which = 1924 value = -27 } #Flanders
	command = { type = conversion which = 380 }
         }
}


#The Dutch Revolt is successful!#
event = {
	id = 3819
	trigger = {
		exists = HOL
		NOT = {
			religion = protestant
			religion = reformed
		}
		OR = {
			owned = { province = 337 data = -1 }
			owned = { province = 338 data = -1 }
			owned = { province = 339 data = -1 }
			owned = { province = 340 data = -1 }
                        owned = { province = 1925 data = -1 }
			owned = { province = 1927 data = -1 }
owned = { province = 1997 data = -1 }
owned = { province = 979 data = -1 }
			}
	}
	random = no
	country = BUR
	name = "EVENTNAME3819"
	desc = "EVENTHIST3819"
	style = 2

	date = { day = 1 month = january year = 1555 }
	offset = 30
	deathdate = { day = 1 month = january year = 1648 }

     action_a = { # Curses!
         name = "ACTIONNAME3819A"
               command = { type = secedeprovince which = HOL value = 337 }
         command = { type = secedeprovince which = HOL value = 338 }
         command = { type = secedeprovince which = HOL value = 339 }
         command = { type = secedeprovince which = HOL value = 340 }
         command = { type = secedeprovince which = HOL value = 1925 }
         command = { type = secedeprovince which = HOL value = 1997 }
         command = { type = secedeprovince which = HOL value = 1927 }
command = { type = secedeprovince which = HOL value = 979 }
         command = { type = province_revoltrisk which = 379 value = -27 }
	 command = { type = province_revoltrisk which = 1924 value = -27 }
command = { type = province_revoltrisk which = 1903 value = -27 }
	 command = { type = province_revoltrisk which = 380 value = -27 }
 command = { type = province_revoltrisk which = 378 value = -27 }
         command = { type = removecore   which = 339 }
command = { type = removecore   which = 340 }
command = { type = removecore   which = 338 }
command = { type = removecore   which = 337 }
command = { type = removecore   which = 1925 }
command = { type = removecore   which = 1927 }
command = { type = removecore   which = 1997 }
command = { type = removecore   which = 979 }
         }
}


#Peace Treaty of Mьnster
event = {
	id = 137007
	trigger = {		
		event = 3900 #Dutch Independence - HOL existed at some point
		
		core = { province = 339 data = BUR } # No cores then no event
		
			NOT = {
			 OR = {
				owned = { province = 337 data = -1 } #Friesen#
				owned = { province = 338 data = -1 } #Geldre#
				owned = { province = 339 data = -1 } #Holland#
				owned = { province = 340 data = -1 } #Zeeland#
				owned = { province = 1927 data = -1 }
                                owned = { province = 1925 data = -1 }
owned = { province = 979 data = -1 }
owned = { province = 1997 data = -1 }
			}
		
		} #If Spain holds no provinces in the Northern Netherlands by 1648, she loses all claims#
		OR = {#if they don't have the cores they don't need the event
			core = { province = 337 data = -1 } #Friesen
			core = { province = 338 data = -1 } #Geldre
			core = { province = 339 data = -1 } #Holland
			core = { province = 340 data = -1 } #Zeeland
			core = { province = 1925 data = -1 }
                        core = { province = 1927 data = -1 }
core = { province = 1997 data = -1 }
core = { province = 979 data = -1 }
		}
	}
	random = no
	country = BUR
	name = "Мюнстерский мирный договор"
	desc = "В 1648 году в Мюнстере был подписан мир между Бургундией и Нидерландами, который положил конец 80 летней войне. В договоре Бургундия подтверждала независимость Нидерландов и обещала сохранять статус-кво, который держался уже на протяжении 10 лет. Это означало, что Нидерланды больше не являлись собственностью Бургундии."
	style = 3

	date = { day = 15 month = may year = 1648 }
	offset = 23
	deathdate = { day = 1 month = march year = 1649 }

	action_a = {
		name = "Признать голландскую республику"
		command = { type = removecore which = 337 }
		command = { type = removecore which = 338 }
		command = { type = removecore which = 339 }
		command = { type = removecore which = 340 }
		command = { type = removecore which = 1925 }
                command = { type = removecore which = 1927 }
 command = { type = removecore which = 1997 }
command = { type = removecore   which = 979 }
		command = { type = relation which = HOL value = 100 }
		}
       action_b ={			
		name = "Хрен им в грызло, еретикам, а не мир!"
                command = { type = stability value = -2 }
                command = { type = relation which = HOL value = -100 }
	}
}

#############################################################################################################
##### ENG
#############################################################################################################



#Dutch Nobility demands General Estates#
# Edited by Johnny Canuck              #
event = {

	id = 3868
	trigger = {
		OR = {
owned = { province = 1947 data = -1 }
owned = { province = 1997 data = -1 }
			owned = { province = 337 data = -1 }
			owned = { province = 338 data = -1 }
			owned = { province = 339 data = -1 }
			owned = { province = 340 data = -1 }
			owned = { province = 1903 data = -1 }
			owned = { province = 378 data = -1 }
			owned = { province = 379 data = -1 }
			owned = { province = 380 data = -1 }
                        owned = { province = 1925 data = -1 }
			owned = { province = 1927 data = -1 }
			owned = { province = 1924 data = -1 }
owned = { province = 979 data = -1 }
			}
		AND = {
			NOT = {
				domestic = {
					type = innovative
					value = 8
					}
				}
			}
		}
	random = no
	country = ENG
	name = "EVENTNAME3868"
	desc = "EVENTHIST3868"
	style = 2

	date = { day = 1 month = january year = 1560 }
	offset = 30
	deathdate = { day = 1 month = january year = 1571 }

	action_a = {			#No Concessions#
		name = "ACTIONNAME3868A"
		command = { type = province_revoltrisk which = 337 value = 10 }
		command = { type = province_revoltrisk which = 338 value = 10 }
		command = { type = province_revoltrisk which = 339 value = 10 }
		command = { type = province_revoltrisk which = 340 value = 10 }
		command = { type = province_revoltrisk which = 1903 value = 10 }
		command = { type = province_revoltrisk which = 378 value = 10 }
		command = { type = province_revoltrisk which = 379 value = 10 }
		command = { type = province_revoltrisk which = 380 value = 10 }
                command = { type = province_revoltrisk which = 1925 value = 10 }
		command = { type = province_revoltrisk which = 1927 value = 10 }
		command = { type = province_revoltrisk which = 1924 value = 10 }
command = { type = province_revoltrisk which = 979 value = 10 }
command = { type = province_revoltrisk which = 1997 value = 10 }
command = { type = province_revoltrisk which = 1947 value = 10 }
		command = { type = domestic which = INNOVATIVE value = -1 }
		command = { type = treasury value = 300 }
		command = { type = stability value = 1 }
	}

	action_b = {			#Lower the taxes#
		name = "ACTIONNAME3868B"
		command = { type = province_revoltrisk which = 337 value = 5 }
		command = { type = province_revoltrisk which = 338 value = 5 }
		command = { type = province_revoltrisk which = 339 value = 5 }
		command = { type = province_revoltrisk which = 340 value = 5 }
		command = { type = province_revoltrisk which = 1903 value = 5 } command = { type = province_revoltrisk which = 933 value = 5 }
		command = { type = province_revoltrisk which = 378 value = 5 }
		command = { type = province_revoltrisk which = 379 value = 5 }
		command = { type = province_revoltrisk which = 380 value = 5 }
                command = { type = province_revoltrisk which = 1925 value = 5 }
		command = { type = province_revoltrisk which = 1927 value = 5 }
		command = { type = province_revoltrisk which = 1924 value = 5 }
command = { type = province_revoltrisk which = 979 value = 5 }
command = { type = province_revoltrisk which = 1997 value = 5 }
command = { type = province_revoltrisk which = 1947 value = 5 }
		command = { type = domestic which = INNOVATIVE value = 1 } #Changed from -1
		command = { type = treasury value = -500 }
		command = { type = stability value = -2 }
	}
}

#The Duke of York and the Edict of Blood#
event = {

	id = 3869
	trigger = {
		event = 3868
		NOT = {
		
			religion = reformed
		}
		OR = {
owned = { province = 1947 data = -1 }
owned = { province = 1997 data = -1 }
			owned = { province = 337 data = -1 }
			owned = { province = 338 data = -1 }
			owned = { province = 339 data = -1 }
			owned = { province = 340 data = -1 }
			owned = { province = 1903 data = -1 }
			owned = { province = 378 data = -1 }
			owned = { province = 379 data = -1 }
			owned = { province = 380 data = -1 }
                        owned = { province = 1925 data = -1 }
			owned = { province = 1927 data = -1 }
			owned = { province = 1924 data = -1 }
owned = { province = 979 data = -1 }
			}
		AND = {
			NOT = {
				domestic = {
					type = innovative
					value = 8
					}
				}
			}
		}
	random = no
	country = ENG
	name = "EVENTNAME3869"
	desc = "EVENTHIST3869"
	style = 2

	date = { day = 1 month = january year = 1565 }
	offset = 30
	deathdate = { day = 1 month = january year = 1576 }

	action_a = {			#No Concessions#
		name = "ACTIONNAME3869A"
		command = { type = province_revoltrisk which = 337 value = 10 }
		command = { type = province_revoltrisk which = 338 value = 10 }
		command = { type = province_revoltrisk which = 339 value = 10 }
		command = { type = province_revoltrisk which = 340 value = 10 }
                command = { type = province_revoltrisk which = 1925 value = 10 }
command = { type = province_revoltrisk which = 979 value = 10 }
                command = { type = revolt which = 1927 }
		command = { type = province_revoltrisk which = 1927 value = 10 }
                command = { type = revolt which = 1925 }
command = { type = province_revoltrisk which = 1997 value = 10 }
command = { type = province_revoltrisk which = 1947 value = 7 }
		command = { type = province_revoltrisk which = 1924 value = 7 }
		command = { type = province_revoltrisk which = 1903 value = 7 } command = { type = province_revoltrisk which = 933 value = 7 }
		command = { type = province_revoltrisk which = 378 value = 7 }
		command = { type = province_revoltrisk which = 379 value = 7 }
		command = { type = province_revoltrisk which = 380 value = 7 }
		command = { type = domestic which = INNOVATIVE value = -1 }
		command = { type = treasury value = 300 }
		command = { type = stability value = 1 }
	}

	action_b = {			#Don't introduce that Consumption Tax#
		name = "ACTIONNAME3869B"
		command = { type = province_revoltrisk which = 337 value = 5 }
		command = { type = province_revoltrisk which = 338 value = 5 }
		command = { type = province_revoltrisk which = 339 value = 5 }
		command = { type = province_revoltrisk which = 340 value = 5 }
                command = { type = province_revoltrisk which = 1927 value = 5 }
		command = { type = province_revoltrisk which = 1925 value = 5 }
command = { type = province_revoltrisk which = 979 value = 5 }
command = { type = province_revoltrisk which = 1997 value = 5 }
command = { type = province_revoltrisk which = 1947 value = 5 }
		command = { type = province_revoltrisk which = 1924 value = 2 }
		command = { type = province_revoltrisk which = 1903 value = 2 } command = { type = province_revoltrisk which = 933 value = 2 }
		command = { type = province_revoltrisk which = 378 value = 2 }
		command = { type = province_revoltrisk which = 379 value = 2 }
		command = { type = province_revoltrisk which = 380 value = 2 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = treasury value = -500 }
		command = { type = stability value = -2 }
	}
}

#The Earl of Wessex and the Union of Arras#
event = {

	id = 3870
	trigger = {
		event = 3868
		event = 3869
		NOT = {
			
			religion = reformed
		}
		OR = {
owned = { province = 1947 data = -1 }
owned = { province = 1997 data = -1 }
			owned = { province = 337 data = -1 }
			owned = { province = 338 data = -1 }
			owned = { province = 339 data = -1 }
			owned = { province = 340 data = -1 }
			owned = { province = 1903 data = -1 }
			owned = { province = 378 data = -1 }
			owned = { province = 379 data = -1 }
			owned = { province = 380 data = -1 }
                        owned = { province = 1925 data = -1 }
			owned = { province = 1927 data = -1 }
			owned = { province = 1924 data = -1 }
owned = { province = 979 data = -1 }
			}
		AND = {
			NOT = {
				domestic = {
					type = innovative
					value = 8
					}
				}
			}
		}
	random = no
	country = ENG
	name = "EVENTNAME3870"
	desc = "EVENTHIST3870"
	style = 2

	date = { day = 1 month = january year = 1575 }
	offset = 30
	deathdate = { day = 1 month = january year = 1586 }

	action_a = {			#Sign the Union of Arras#
		name = "ACTIONNAME3870A"
		command = { type = province_revoltrisk which = 337 value = 10 }
		command = { type = province_revoltrisk which = 338 value = 10 }
		command = { type = province_revoltrisk which = 339 value = 10 }
		command = { type = province_revoltrisk which = 340 value = 10 }
                command = { type = province_revoltrisk which = 1925 value = 10 }
                command = { type = revolt which = 1927 }
		command = { type = province_revoltrisk which = 1927 value = 10 }
command = { type = province_revoltrisk which = 979 value = 10 }
                command = { type = revolt which = 1925 }
command = { type = province_revoltrisk which = 1997 value = 10 }
command = { type = province_revoltrisk which = 1947 value = -7 }
                command = { type = province_revoltrisk which = 1924 value = -7 }
		command = { type = province_revoltrisk which = 1903 value = -7 } command = { type = province_revoltrisk which = 933 value = -7 }
		command = { type = province_revoltrisk which = 378 value = -7 }
		command = { type = province_revoltrisk which = 379 value = -7 }
		command = { type = province_revoltrisk which = 380 value = -7 }
		command = { type = treasury value = -200 }
		command = { type = stability value = 1 }
	}

	action_b = {			#No Concessions#
		name = "ACTIONNAME3870B"
		command = { type = province_revoltrisk which = 337 value = 10 }
		command = { type = province_revoltrisk which = 338 value = 10 }
		command = { type = province_revoltrisk which = 339 value = 10 }
		command = { type = province_revoltrisk which = 340 value = 10 }
                command = { type = province_revoltrisk which = 1925 value = 10 }
                command = { type = revolt which = 1927 }
		command = { type = province_revoltrisk which = 1927 value = 10 }
command = { type = province_revoltrisk which = 979 value = 10 }
                command = { type = revolt which = 1925 }
command = { type = province_revoltrisk which = 1997 value = 10 }
command = { type = province_revoltrisk which = 1947 value = 7 }
                command = { type = province_revoltrisk which = 1924 value = 7 }
		command = { type = province_revoltrisk which = 1903 value = 7 } command = { type = province_revoltrisk which = 933 value = 7 }
		command = { type = province_revoltrisk which = 378 value = 7 }
		command = { type = province_revoltrisk which = 379 value = 7 }
		command = { type = province_revoltrisk which = 380 value = 7 }
		command = { type = domestic which = INNOVATIVE value = -1 }
		command = { type = treasury value = 300 }
		command = { type = stability value = 3 }
	}

	action_c = {			#Sign the Union of Arras and lower taxes#
		name = "ACTIONNAME3870C"
		command = { type = province_revoltrisk which = 337 value = 5 }
		command = { type = province_revoltrisk which = 338 value = 5 }
		command = { type = province_revoltrisk which = 339 value = 5 }
		command = { type = province_revoltrisk which = 340 value = 5 }
                command = { type = province_revoltrisk which = 1927 value = 5 }
		command = { type = province_revoltrisk which = 1925 value = 5 }
command = { type = province_revoltrisk which = 979 value = 5 }
command = { type = province_revoltrisk which = 1997 value = 5 }
command = { type = province_revoltrisk which = 1947 value = -7 }
		command = { type = province_revoltrisk which = 1924 value = -7 }
		command = { type = province_revoltrisk which = 1903 value = -7 } command = { type = province_revoltrisk which = 933 value = -7 }
		command = { type = province_revoltrisk which = 378 value = -7 }
		command = { type = province_revoltrisk which = 379 value = -7 }
		command = { type = province_revoltrisk which = 380 value = -7 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = treasury value = -500 }
		command = { type = stability value = -1 }
	}

}

#The Repatriation of the Netherlands#
# Edited by Isaac Brock             #
event = {

	id = 3871
	trigger = { #Removed Events 3325 & 3326 from OR Statement with Event 3327#
		event = 3327
		NOT = { event = 3900 } #New#
		owned = { province = 339 data = -1 } # Holland
		
		NOT = {
			exists = HOL
		}
	}
	random = no
	country = ENG
	name = "EVENTNAME3871"
	desc = "EVENTHIST3871"
	style = 3

	date = { day = 1 month = january year = 1648 }
	offset = 10
	deathdate = { day = 1 month = january year = 1649 }

	action_a = {			#The Netherlands is Subjugated#
		name = "ACTIONNAME3871A"
		command = { type = conversion which = 380 }
                command = { type = add_countryculture which = dutch }
		command = { type = province_revoltrisk which = 337 value = -30 }
		command = { type = province_revoltrisk which = 338 value = -30 }
		command = { type = province_revoltrisk which = 339 value = -30 }
		command = { type = province_revoltrisk which = 340 value = -30 }
                command = { type = province_revoltrisk which = 1927 value = -30 }
		command = { type = province_revoltrisk which = 1925 value = -30 }
command = { type = province_revoltrisk which = 1997 value = -30 }
command = { type = province_revoltrisk which = 979 value = -30 }
command = { type = province_revoltrisk which = 1947 value = -27 } command = { type = province_revoltrisk which = 933 value = -27}
		command = { type = province_revoltrisk which = 1924 value = -27 }
		command = { type = province_revoltrisk which = 1903 value = -27 }
		command = { type = province_revoltrisk which = 378 value = -27 }
		command = { type = province_revoltrisk which = 379 value = -27 }
		command = { type = province_revoltrisk which = 380 value = -27 }
		command = { type = domestic which = CENTRALIZATION value = 3 }
		command = { type = treasury value = 300 }
		command = { type = stability value = 3 }
	}
}


#The Dutch Revolt is successful!#
event = {
	id = 3872
	trigger = {
		exists = HOL
		NOT = {
			religion = reformed
		}
		OR = {
			owned = { province = 337 data = -1 }
			owned = { province = 338 data = -1 }
			owned = { province = 339 data = -1 }
			owned = { province = 340 data = -1 }
                        owned = { province = 1927 data = -1 }
			owned = { province = 1925 data = -1 }
owned = { province = 1997 data = -1 }
owned = { province = 979 data = -1 }
		}
	}
	random = no
	country = ENG
	name = "EVENTNAME3872"
	desc = "EVENTHIST3872"
	style = 2

	date = { day = 1 month = january year = 1555 }
	offset = 30
	deathdate = { day = 1 month = january year = 1821 }

     action_a = { # Curses!
         name = "ACTIONNAME3872A"
         command = { type = secedeprovince which = HOL value = 337 }
         command = { type = secedeprovince which = HOL value = 338 }
         command = { type = secedeprovince which = HOL value = 339 }
         command = { type = secedeprovince which = HOL value = 340 }
         command = { type = secedeprovince which = HOL value = 1927 }
         command = { type = secedeprovince which = HOL value = 1925 }
command = { type = secedeprovince which = HOL value = 1997 }
      command = { type = removecore   which = 979 }
command = { type = secedeprovince which = HOL value = 979 }
         command = { type = removecore   which = 339 }
command = { type = removecore   which = 340 }
command = { type = removecore   which = 338 }
command = { type = removecore   which = 337 }
command = { type = removecore   which = 1925 }
command = { type = removecore   which = 1927 }
command = { type = removecore   which = 1997 }
     }
}

#############################################################################################################
##### HAB
#############################################################################################################

#The Dutch Nobility demands General Estates#
event = {

	id = 3191
	trigger = {
	 		NOT = {
				religion = protestant
				religion = reformed
			}
			OR = {
owned = { province = 1947 data = -1 }
owned = { province = 1997 data = -1 }
				owned = { province = 337 data = -1 }
				owned = { province = 338 data = -1 }
				owned = { province = 339 data = -1 }
				owned = { province = 340 data = -1 }
				owned = { province = 1903 data = -1 }
				owned = { province = 378 data = -1 }
				owned = { province = 379 data = -1 }
				owned = { province = 380 data = -1 }
                                owned = { province = 1925 data = -1 }
			        owned = { province = 1927 data = -1 }
			        owned = { province = 1924 data = -1 }
owned = { province = 979 data = -1 }
				}
			AND = {
				NOT = {
					domestic = {
							type = innovative
							value = 8
							}
					}
				}
			}
	random = no
	country = HAB
	name = "EVENTNAME3191"
	desc = "EVENTHIST3191"
	style = 2

	date = { day = 1 month = january year = 1560 }
	offset = 30
	deathdate = { day = 1 month = january year = 1571 }

	action_a ={			#No Concessions#
		name = "ACTIONNAME3191A"
		command = { type = province_revoltrisk which = 337 value = 10 }
		command = { type = province_revoltrisk which = 338 value = 10 }
		command = { type = province_revoltrisk which = 339 value = 10 }
		command = { type = revolt which = 339 } #Holland
                command = { type = province_revoltrisk which = 1925 value = 10 }
                command = { type = revolt which = 1927 }
		command = { type = province_revoltrisk which = 1927 value = 10 }
                command = { type = revolt which = 1925 }
		command = { type = province_revoltrisk which = 340 value = 10 }
command = { type = province_revoltrisk which = 979 value = 10 }

		command = { type = revolt which = 340 } #Zeeland
		command = { type = province_revoltrisk which = 1903 value = 10 }
		command = { type = province_revoltrisk which = 378 value = 10 }
		command = { type = province_revoltrisk which = 379 value = 10 }
		command = { type = province_revoltrisk which = 380 value = 10 }
                command = { type = province_revoltrisk which = 1924 value = 10 }
command = { type = province_revoltrisk which = 1997 value = 10 }
command = { type = province_revoltrisk which = 1947 value = 10 }
		command = { type = revolt which = 380 } #Flandern
		command = { type = domestic which = INNOVATIVE value = -1 }
		command = { type = treasury value = 300 }
		command = { type = stability value = 1 }
	}

	action_b ={			#Lower the taxes#
		name = "ACTIONNAME3191B"
		command = { type = province_revoltrisk which = 337 value = 5 }
		command = { type = province_revoltrisk which = 338 value = 5 }
		command = { type = province_revoltrisk which = 339 value = 5 }
		command = { type = province_revoltrisk which = 340 value = 5 }
		command = { type = province_revoltrisk which = 1903 value = 5 } command = { type = province_revoltrisk which = 933 value = 5 }
		command = { type = province_revoltrisk which = 378 value = 5 }
		command = { type = province_revoltrisk which = 379 value = 5 }
		command = { type = province_revoltrisk which = 380 value = 5 }
                command = { type = province_revoltrisk which = 1924 value = 5 }
		command = { type = province_revoltrisk which = 1925 value = 5 }
		command = { type = province_revoltrisk which = 1927 value = 5 }
command = { type = province_revoltrisk which = 979 value = 5 }

command = { type = province_revoltrisk which = 1997 value = 5 }
command = { type = province_revoltrisk which = 1947 value = 5 }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = treasury value = -500 }
		command = { type = stability value = -2 }
	}
}

#The Duke of Alba and the Edict of Blood#
event = {

	id = 3334
	trigger = {
			event = 3191
			NOT = {
				religion = protestant
				religion = reformed
			}
			OR = {
owned = { province = 1947 data = -1 }
owned = { province = 1997 data = -1 }
				owned = { province = 337 data = -1 }
				owned = { province = 338 data = -1 }
				owned = { province = 339 data = -1 }
				owned = { province = 340 data = -1 }
				owned = { province = 1903 data = -1 }
				owned = { province = 378 data = -1 }
				owned = { province = 379 data = -1 }
				owned = { province = 380 data = -1 }
                                owned = { province = 1925 data = -1 }
			        owned = { province = 1927 data = -1 }
			        owned = { province = 1924 data = -1 }
owned = { province = 979 data = -1 }
				}
			AND = {
				NOT = {
					domestic = {
							type = innovative
							value = 8
							}
					}
				}
			}
	random = no
	country = HAB
	name = "EVENTNAME3334"
	desc = "EVENTHIST3334"
	style = 2

	date = { day = 1 month = january year = 1565 }
	offset = 30
	deathdate = { day = 1 month = january year = 1576 }

	action_a ={			#No Concessions#
		name = "ACTIONNAME3334A"
		command = { type = province_revoltrisk which = 337 value = 10 }
		command = { type = province_revoltrisk which = 338 value = 10 }
		command = { type = province_revoltrisk which = 339 value = 10 }
		command = { type = revolt which = 339 } #Holland
		command = { type = province_revoltrisk which = 340 value = 10 }
		command = { type = revolt which = 340 } #Zeeland
                command = { type = province_revoltrisk which = 1925 value = 10 }
                command = { type = revolt which = 1927 }
		command = { type = province_revoltrisk which = 1927 value = 10 }
command = { type = province_revoltrisk which = 979 value = 10 }

                command = { type = revolt which = 1925 }
command = { type = province_revoltrisk which = 1997 value = 10 }
command = { type = province_revoltrisk which = 1947 value = 7 }
		command = { type = province_revoltrisk which = 1903 value = 7 } command = { type = province_revoltrisk which = 933 value = 7 }
		command = { type = province_revoltrisk which = 378 value = 7 }
		command = { type = province_revoltrisk which = 379 value = 7 }
		command = { type = province_revoltrisk which = 380 value = 7 }
                command = { type = province_revoltrisk which = 1924 value = 7 }
		command = { type = revolt which = 380 } 
                command = { type = revolt which = 380 }
		command = { type = domestic which = INNOVATIVE value = -1 }
		command = { type = treasury value = 300 }
		command = { type = stability value = 1 }
	}

	action_b ={			#Don't introduce that Consumption Tax#
		name = "ACTIONNAME3334B"
		command = { type = province_revoltrisk which = 337 value = 5 }
		command = { type = province_revoltrisk which = 338 value = 5 }
		command = { type = province_revoltrisk which = 339 value = 5 }
		command = { type = province_revoltrisk which = 340 value = 5 }
                command = { type = province_revoltrisk which = 1927 value = 5 }
		command = { type = province_revoltrisk which = 1925 value = 5 }
command = { type = province_revoltrisk which = 979 value = 5 }

command = { type = province_revoltrisk which = 1997 value = 5 }
command = { type = province_revoltrisk which = 1947 value = 2 }
		command = { type = province_revoltrisk which = 1924 value = 2 }
		command = { type = province_revoltrisk which = 1903 value = 2 } command = { type = province_revoltrisk which = 933 value = 2 }
		command = { type = province_revoltrisk which = 378 value = 2 }
		command = { type = province_revoltrisk which = 379 value = 2 }
		command = { type = province_revoltrisk which = 380 value = 2 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = treasury value = -500 }
		command = { type = stability value = -2 }
	}
}

#Alessandro Farnese and the Union of Arras#
event = {

	id = 3335
	trigger = {
			NOT = {
				religion = protestant
				religion = reformed
			}
			event = 3191
			event = 3334
			OR = {
owned = { province = 1947 data = -1 }
owned = { province = 1997 data = -1 }
			owned = { province = 337 data = -1 }
			owned = { province = 338 data = -1 }
			owned = { province = 339 data = -1 }
			owned = { province = 340 data = -1 }
			owned = { province = 1903 data = -1 }
			owned = { province = 378 data = -1 }
			owned = { province = 379 data = -1 }
			owned = { province = 380 data = -1 }
                        owned = { province = 1925 data = -1 }
			owned = { province = 1927 data = -1 }
			owned = { province = 1924 data = -1 }
owned = { province = 979 data = -1 }
				}
			AND = {
				NOT = {
					domestic = {
							type = innovative
							value = 8
							}
					}
				}
			}
	random = no
	country = HAB
	name = "EVENTNAME3335"
	desc = "EVENTHIST3335"
	style = 2

	date = { day = 1 month = january year = 1575 }
	offset = 30
	deathdate = { day = 1 month = january year = 1586 }

	action_a ={				#Sign the Union of Arras#
		name = "ACTIONNAME3335A"
		command = { type = province_revoltrisk which = 337 value = 10 }
		command = { type = province_revoltrisk which = 338 value = 10 }
		command = { type = province_revoltrisk which = 339 value = 10 }
		command = { type = revolt which = 339 } #Holland
		command = { type = province_revoltrisk which = 340 value = 10 }
		command = { type = revolt which = 340 } #Zeeland
                command = { type = province_revoltrisk which = 1925 value = 10 }
command = { type = province_revoltrisk which = 979 value = 5 }
                command = { type = revolt which = 1927 }
		command = { type = province_revoltrisk which = 1927 value = 10 }
                command = { type = revolt which = 1925 }
command = { type = province_revoltrisk which = 1997 value = 10 }
command = { type = province_revoltrisk which = 1947 value = -7 }
                command = { type = province_revoltrisk which = 1924 value = -7 }
		command = { type = province_revoltrisk which = 1903 value = -7 } command = { type = province_revoltrisk which = 933 value = -7 }
		command = { type = province_revoltrisk which = 378 value = -7 }
		command = { type = province_revoltrisk which = 379 value = -7 }
		command = { type = province_revoltrisk which = 380 value = -7 }
		command = { type = treasury value = -200 }
		command = { type = stability value = 1 }
	}

	action_b ={				#No Concessions#
		name = "ACTIONNAME3335B"
		command = { type = province_revoltrisk which = 337 value = 10 }
		command = { type = province_revoltrisk which = 338 value = 10 }
		command = { type = province_revoltrisk which = 339 value = 10 }
		command = { type = revolt which = 339 } #Holland
		command = { type = province_revoltrisk which = 340 value = 10 }
		command = { type = revolt which = 340 } #Zeeland
                command = { type = province_revoltrisk which = 1925 value = 10 }
                command = { type = revolt which = 1927 }
		command = { type = province_revoltrisk which = 1927 value = 10 }
command = { type = province_revoltrisk which = 979 value = 10 }
                command = { type = revolt which = 1925 }
command = { type = province_revoltrisk which = 1997 value = 10 }
command = { type = province_revoltrisk which = 1947 value = -7 }
                command = { type = province_revoltrisk which = 1924 value = 7 }
		command = { type = province_revoltrisk which = 1903 value = 7 } command = { type = province_revoltrisk which = 933 value = 7 }
		command = { type = province_revoltrisk which = 378 value = 7 }
		command = { type = province_revoltrisk which = 379 value = 7 }
		command = { type = province_revoltrisk which = 380 value = 7 }
		command = { type = revolt which = 380 } #Flandern
		command = { type = domestic which = INNOVATIVE value = -1 }
		command = { type = treasury value = 300 }
		command = { type = stability value = 3 }
	}

	action_c ={				#Sign the Union of Arras and lower taxes#
		name = "ACTIONNAME3335C"
		command = { type = province_revoltrisk which = 337 value = 5 }
		command = { type = province_revoltrisk which = 338 value = 5 }
command = { type = province_revoltrisk which = 979 value = 5 }
		command = { type = province_revoltrisk which = 339 value = 5 }
		command = { type = province_revoltrisk which = 340 value = 5 }
                command = { type = province_revoltrisk which = 1927 value = 5 }
		command = { type = province_revoltrisk which = 1925 value = 5 }
command = { type = province_revoltrisk which = 1997 value = 5 }
command = { type = province_revoltrisk which = 1947 value = -7 }
		command = { type = province_revoltrisk which = 1924 value = -7 }
		command = { type = province_revoltrisk which = 1903 value = -7 } command = { type = province_revoltrisk which = 933 value = -7 }
		command = { type = province_revoltrisk which = 378 value = -7 }
		command = { type = province_revoltrisk which = 379 value = -7 }
		command = { type = province_revoltrisk which = 380 value = -7 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = treasury value = -500 }
		command = { type = stability value = -1 }
	}

}

#The Dutch Revolt is successful!#
event = {

	id = 3815
	trigger = {
		exists = HOL
		NOT = {
			religion = protestant
			religion = reformed
		}
		OR = {
			owned = { province = 337 data = -1 }
			owned = { province = 338 data = -1 }
			owned = { province = 339 data = -1 }
			owned = { province = 340 data = -1 }
			owned = { province = 380 data = -1 }
                        owned = { province = 1925 data = -1 }
			owned = { province = 1927 data = -1 }
owned = { province = 979 data = -1 }
		}
	}
	random = no
	country = HAB
	name = "EVENTNAME3815"
	desc = "EVENTHIST3815"
	style = 2

	date = { day = 1 month = january year = 1555 }
	offset = 300
	deathdate = { day = 1 month = january year = 1821 }

     action_a = { # Curses!
         name = "ACTIONNAME3815A"
         command = { type = secedeprovince which = HOL value = 337 }
         command = { type = secedeprovince which = HOL value = 338 }
         command = { type = secedeprovince which = HOL value = 339 }
         command = { type = secedeprovince which = HOL value = 340 }
         command = { type = secedeprovince which = HOL value = 1927 }
         command = { type = secedeprovince which = HOL value = 1925 }
command = { type = secedeprovince which = HOL value = 1997 }
    command = { type = removecore   which = 979 }
command = { type = secedeprovince which = HOL value = 979 }
         command = { type = removecore   which = 197 }
         command = { type = removecore   which = 339 }
command = { type = removecore   which = 340 }
command = { type = removecore   which = 338 }
command = { type = removecore   which = 337 }
command = { type = removecore   which = 1925 }
command = { type = removecore   which = 1927 }
     }
}

#The Repatriation of the Netherlands#
event = {

	id = 3197
trigger = {
#remove
#		OR = {
#			event = 3191
#			event = 3334
			event = 3335
#		}

		owned = { province = 339 data = -1 }
#added
				
		NOT = {
			exists = HOL
		}
	}
	random = no
	country = HAB
	name = "EVENTNAME3197"
	desc = "EVENTHIST3197"
	style = 3

	date = { day = 1 month = january year = 1648 }
	offset = 10
	deathdate = { day = 1 month = january year = 1661 }

	action_a ={				#The Netherlands is Subjugated#
		name = "ACTIONNAME3197A"
		command = { type = add_countryculture which = dutch }
                command = { type = provincereligion which = 380 value = catholic }
		command = { type = province_revoltrisk which = 337 value = -30 }
		command = { type = province_revoltrisk which = 338 value = -30 }
		command = { type = province_revoltrisk which = 339 value = -30 }
		command = { type = province_revoltrisk which = 340 value = -30 }
		command = { type = province_revoltrisk which = 1924 value = -27 }
                command = { type = province_revoltrisk which = 1925 value = -30 }
		command = { type = province_revoltrisk which = 1927 value = -30 }
command = { type = province_revoltrisk which = 979 value = -30 }
		command = { type = province_revoltrisk which = 1903 value = -27 }
command = { type = province_revoltrisk which = 1997 value = -30 }
		command = { type = province_revoltrisk which = 1947 value = -27 } command = { type = province_revoltrisk which = 933 value = -27}
		command = { type = province_revoltrisk which = 378 value = -27 }
		command = { type = province_revoltrisk which = 379 value = -27 }
		command = { type = province_revoltrisk which = 380 value = -27 }
		command = { type = domestic which = CENTRALIZATION value = 3 }
		command = { type = treasury value = 300 }
		command = { type = stability value = 3 }
	}
}


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

#
# HEI - Holy Roman Empaer of German Nation
#
#

#The Duke of Alba and the Edict of Blood#
event = {

	id = 45373
	trigger = {
			NOT = {
				religion = protestant
				religion = reformed
			}
			OR = {
owned = { province = 1947 data = -1 }
owned = { province = 1997 data = -1 }
				owned = { province = 337 data = -1 }
				owned = { province = 338 data = -1 }
				owned = { province = 339 data = -1 }
				owned = { province = 340 data = -1 }
				owned = { province = 1903 data = -1 }
				owned = { province = 378 data = -1 }
				owned = { province = 379 data = -1 }
				owned = { province = 380 data = -1 }

				owned = { province = 1924 data = -1 }
				owned = { province = 1925 data = -1 }
				owned = { province = 1927 data = -1 }
owned = { province = 979 data = -1 }
				}
			AND = {
				NOT = {
					domestic = {
							type = innovative
							value = 8
							}
					}
				}
			}
	random = no
	country = HEI
	name = "EVENTNAME3334"
	desc = "EVENTHIST3334"
	style = 2

	date = { day = 1 month = january year = 1565 }
	offset = 30
	deathdate = { day = 1 month = january year = 1576 }

	action_a = {			#No Concessions#
		name = "ACTIONNAME3334A"
		command = { type = province_revoltrisk which = 337 value = 10 }
		command = { type = province_revoltrisk which = 338 value = 10 }
		command = { type = province_revoltrisk which = 339 value = 10 }
		command = { type = province_revoltrisk which = 340 value = 10 }
command = { type = province_revoltrisk which = 1925 value = 10 }
		command = { type = province_revoltrisk which = 1997 value = 10 }
command = { type = province_revoltrisk which = 979 value = 10 }
command = { type = province_revoltrisk which = 1947 value = 7 }

		command = { type = province_revoltrisk which = 1924 value = 7 }
		command = { type = province_revoltrisk which = 1927 value = 10 }
		command = { type = province_revoltrisk which = 1903 value = 7 } command = { type = province_revoltrisk which = 933 value = 7 }
		command = { type = province_revoltrisk which = 378 value = 7 }
		command = { type = province_revoltrisk which = 379 value = 7 }
		command = { type = province_revoltrisk which = 380 value = 7 }
		command = { type = domestic which = INNOVATIVE value = -1 }
		command = { type = treasury value = 300 }
		command = { type = stability value = 1 }
	}

	action_b = {			#Don't introduce that Consumption Tax#
		name = "ACTIONNAME3334B"
		command = { type = province_revoltrisk which = 337 value = 5 }
		command = { type = province_revoltrisk which = 338 value = 5 }
		command = { type = province_revoltrisk which = 339 value = 5 }
		command = { type = province_revoltrisk which = 340 value = 5 }
command = { type = province_revoltrisk which = 1925 value = 5 }
command = { type = province_revoltrisk which = 1997 value = 5 }
command = { type = province_revoltrisk which = 979 value = 5 }
command = { type = province_revoltrisk which = 1947 value = 2 }
		command = { type = province_revoltrisk which = 1924 value = 2 }
		command = { type = province_revoltrisk which = 1927 value = 5 }
		command = { type = province_revoltrisk which = 1903 value = 2 } command = { type = province_revoltrisk which = 933 value = 2 }
		command = { type = province_revoltrisk which = 378 value = 2 }
		command = { type = province_revoltrisk which = 379 value = 2 }
		command = { type = province_revoltrisk which = 380 value = 2 }
		command = { type = domestic which = MERCANTILISM value = -1 }
		command = { type = treasury value = -500 }
		command = { type = stability value = -2 }
	}
}

#Alessandro Farnese and the Union of Arras#
event = {

	id = 45374
	trigger = {
			NOT = {
				religion = protestant
				religion = reformed
			}
			event = 3334
			OR = {
owned = { province = 1947 data = -1 }
owned = { province = 1997 data = -1 }
				owned = { province = 337 data = -1 }
				owned = { province = 338 data = -1 }
				owned = { province = 339 data = -1 }
				owned = { province = 340 data = -1 }
				owned = { province = 1903 data = -1 }
				owned = { province = 378 data = -1 }
				owned = { province = 379 data = -1 }
				owned = { province = 380 data = -1 }
owned = { province = 382 data = -1 }
				owned = { province = 1924 data = -1 }
				owned = { province = 1925 data = -1 }
				owned = { province = 1927 data = -1 }
owned = { province = 979 data = -1 }
				}
			AND = {
				NOT = {
					domestic = {
							type = innovative
							value = 8
							}
					}
				}
			}
	random = no
	country = HEI
	name = "EVENTNAME3335"
	desc = "EVENTHIST3335"
	style = 2

	date = { day = 1 month = january year = 1575 }
	offset = 30
	deathdate = { day = 1 month = january year = 1586 }

	action_a = {				#Sign the Union of Arras#
		name = "ACTIONNAME3335A"
		command = { type = province_revoltrisk which = 337 value = 10 }
		command = { type = province_revoltrisk which = 338 value = 10 }
		command = { type = province_revoltrisk which = 339 value = 10 }
		command = { type = province_revoltrisk which = 340 value = 10 }
command = { type = province_revoltrisk which = 1925 value = 10 }
		command = { type = province_revoltrisk which = 1997 value = 10 }
command = { type = province_revoltrisk which = 979 value = 10 }
command = { type = province_revoltrisk which = 1947 value = -7 }
		command = { type = province_revoltrisk which = 1924 value = -7 }
		command = { type = province_revoltrisk which = 1927 value = 10 }
		command = { type = province_revoltrisk which = 1903 value = -7 } command = { type = province_revoltrisk which = 933 value = -7 }
		command = { type = province_revoltrisk which = 378 value = -7 }
		command = { type = province_revoltrisk which = 379 value = -7 }
		command = { type = province_revoltrisk which = 380 value = -7 }
		command = { type = treasury value = -200 }
		command = { type = stability value = 1 }
	}

	action_b = {				#No Concessions#
		name = "ACTIONNAME3335B"
		command = { type = province_revoltrisk which = 337 value = 10 }
		command = { type = province_revoltrisk which = 338 value = 10 }
		command = { type = province_revoltrisk which = 339 value = 10 }
		command = { type = province_revoltrisk which = 340 value = 10 }
command = { type = province_revoltrisk which = 979 value = 10 }
command = { type = province_revoltrisk which = 1925 value = 10 }
		command = { type = province_revoltrisk which = 1924 value = 7 }
command = { type = province_revoltrisk which = 1997 value = 10 }
command = { type = province_revoltrisk which = 1947 value = 7 }
		command = { type = province_revoltrisk which = 1927 value = 10 }
		command = { type = province_revoltrisk which = 1903 value = 7 } command = { type = province_revoltrisk which = 933 value = 7 }
		command = { type = province_revoltrisk which = 378 value = 7 }
		command = { type = province_revoltrisk which = 379 value = 7 }
		command = { type = province_revoltrisk which = 380 value = 7 }
		command = { type = domestic which = INNOVATIVE value = -1 }
		command = { type = treasury value = 300 }
		command = { type = stability value = 3 }
	}

	action_c = {				#Sign the Union of Arras and lower taxes#
		name = "ACTIONNAME3335C"
		command = { type = province_revoltrisk which = 337 value = 5 }
		command = { type = province_revoltrisk which = 338 value = 5 }
		command = { type = province_revoltrisk which = 339 value = 5 }
		command = { type = province_revoltrisk which = 340 value = 5 }
command = { type = province_revoltrisk which = 1925 value = 5 }
command = { type = province_revoltrisk which = 1997 value = 5 }
command = { type = province_revoltrisk which = 979 value = 5 }
command = { type = province_revoltrisk which = 1947 value = -7 }
		command = { type = province_revoltrisk which = 1924 value = -7 }
		command = { type = province_revoltrisk which = 1927 value = 5 }
		command = { type = province_revoltrisk which = 1903 value = -7 } command = { type = province_revoltrisk which = 933 value = -7 }
		command = { type = province_revoltrisk which = 378 value = -7 }
		command = { type = province_revoltrisk which = 379 value = -7 }
		command = { type = province_revoltrisk which = 380 value = -7 }
		command = { type = domestic which = MERCANTILISM value = -1 }
		command = { type = treasury value = -500 }
		command = { type = stability value = -1 }
	}
}

#The Repatriation of the Netherlands#
event = {

	id = 45375
	trigger = {
		OR = {
			event = 3191
			event = 3334
			event = 3335
		}
		owned = { province = 339 data = -1 }
		NOT = {
			exists = HOL
		}
	}
	random = no
	country = HEI
	name = "EVENTNAME3197"
	desc = "EVENTHIST3197"
	style = 3

	date = { day = 1 month = january year = 1648 }
	offset = 10
	deathdate = { day = 1 month = january year = 1661 }

	action_a = {				#The Netherlands is Subjugated#
		name = "ACTIONNAME3197A"
		command = { type = add_countryculture which = dutch }
		command = { type = province_revoltrisk which = 337 value = -30 }
		command = { type = province_revoltrisk which = 338 value = -30 }
		command = { type = province_revoltrisk which = 339 value = -30 }
		command = { type = province_revoltrisk which = 340 value = -30 }
		command = { type = province_revoltrisk which = 1925 value = -30 }
		command = { type = province_revoltrisk which = 1927 value = -30 }
command = { type = province_revoltrisk which = 979 value = -30 }
command = { type = province_revoltrisk which = 1997 value = -30 }
command = { type = province_revoltrisk which = 1947 value = -27 } command = { type = province_revoltrisk which = 933 value = -27}
		command = { type = province_revoltrisk which = 1903 value = -27 }
		command = { type = province_revoltrisk which = 378 value = -27 }
		command = { type = province_revoltrisk which = 379 value = -27 }
		command = { type = province_revoltrisk which = 380 value = -27 }
		command = { type = province_revoltrisk which = 1924 value = -27 }
		command = { type = domestic which = CENTRALIZATION value = 3 }
		command = { type = treasury value = 300 }
		command = { type = stability value = 3 }
	}
}

#The Dutch Revolt is successful!#
event = {

	id = 45376
	trigger = {
		exists = HOL
		NOT = {
			religion = protestant
			religion = reformed
		}
		OR = {
			owned = { province = 337 data = -1 }
			owned = { province = 338 data = -1 }
			owned = { province = 339 data = -1 }
			owned = { province = 340 data = -1 }
			owned = { province = 1997 data = -1 }
                        owned = { province = 1925 data = -1 }
			owned = { province = 1927 data = -1 }
owned = { province = 979 data = -1 }
		}
	}
	random = no
	country = HEI
	name = "EVENTNAME3815"
	desc = "EVENTHIST3815"
	style = 2

	date = { day = 1 month = january year = 1555 }
	offset = 300
	deathdate = { day = 1 month = january year = 1821 }

     action_a = { # Curses!
         name = "ACTIONNAME3815A"
         command = { type = secedeprovince which = HOL value = 337 }
         command = { type = secedeprovince which = HOL value = 338 }
         command = { type = secedeprovince which = HOL value = 339 }
         command = { type = secedeprovince which = HOL value = 340 }
         command = { type = secedeprovince which = HOL value = 1997 }
command = { type = secedeprovince which = HOL value = 1925 }
         command = { type = secedeprovince which = HOL value = 1927 }
command = { type = secedeprovince which = HOL value = 979 }
     }
}


#############################################################################################################
##### events by Alexsandr RAU
##### Holland provinces revolts for another countres 
##### Now it will be difficult to stop the Holland revolution! ;-)
#############################################################################################################

event = {
	id = 200600
	trigger = {  
                    exists = HOL
                   NOT = {
	        	
                       		owned = { province = 337 data = HOL }
owned = { province = 337 data = HEI }
				owned = { province = 337 data = SPA }
				owned = { province = 337 data = ENG }
				owned = { province = 337 data = HAB }
                                owned = { province = 337 data = BUR }
                                owned = { province = 337 data = FRA }
				owned = { province = 337 data = U10 }
				owned = { province = 337 data = GEL }
				owned = { province = 337 data = FRI }
                                owned = { province = 337 data = HLL }
                                owned = { province = 337 data = HAU }
				
			}
                       
	}

	random = no
	province = 337
	
name = "голландские восстания - Фрисландия"
desc = "Фрисландия отпадает к Голландии"
        style = 1
	date = { day = 1 month = january year = 1560 }
	offset = 30
	deathdate = { day = 1 month = january year = 1820 }

	action_a ={			
		name = "Чёрт!Проклятые гёзы!"
                command = { type = secedeprovince which = HOL value = 337 }
                
	}
}

event = {
	id = 200601
	trigger = {  
                    exists = HOL
                   NOT = {
	        	
                       		owned = { province = 338 data = HOL }
owned = { province = 338 data = HEI }
				owned = { province = 338 data = SPA }
				owned = { province = 338 data = ENG }
				owned = { province = 338 data = HAB }
                                owned = { province = 338 data = BUR }
                                owned = { province = 338 data = FRA }
				owned = { province = 338 data = U10 }
				owned = { province = 338 data = GEL }
				owned = { province = 338 data = FRI }
                                owned = { province = 338 data = HLL }
                                owned = { province = 338 data = HAU }
				
			}
                       
	}

	random = no
	province = 338
	
name = "голландские восстания - Гельдерн"
desc = "Гельдерн отпадает к Голландии"
        style = 1
	date = { day = 1 month = january year = 1560 }
	offset = 30
	deathdate = { day = 1 month = january year = 1650 }

	action_a ={			
		name = "Чёрт!Проклятые гёзы!"
                command = { type = secedeprovince which = HOL value = 338 }
                
	}
}

event = {
	id = 200602
	trigger = {  
                    exists = HOL
                   NOT = {
	        	        owned = { province = 339 data = HOL }
owned = { province = 339 data = HEI }
				owned = { province = 339 data = SPA }
				owned = { province = 339 data = ENG }
				owned = { province = 339 data = HAB }
                                owned = { province = 339 data = BUR }
                                owned = { province = 339 data = FRA }
				owned = { province = 339 data = U10 }
				owned = { province = 339 data = GEL }
				owned = { province = 339 data = FRI }
                                owned = { province = 339 data = HLL }
                                owned = { province = 339 data = HAU }
                       		
				
			}
                       
	}

	random = no
	province = 339
	
name = "голландские восстания - Голландия"
desc = "Голландия отпадает к Нидерландам"
        style = 1
	date = { day = 1 month = january year = 1560 }
	offset = 30
	deathdate = { day = 1 month = january year = 1650 }

	action_a ={			
		name = "Чёрт!Проклятые гёзы!"
                command = { type = secedeprovince which = HOL value = 339 }
                
	}
}

event = {
	id = 200603
	trigger = {  
                    exists = HOL
                   NOT = {
	        	
                       		owned = { province = 340 data = HOL }
owned = { province = 340 data = HEI }
				owned = { province = 340 data = SPA }
				owned = { province = 340 data = ENG }
				owned = { province = 340 data = HAB }
                                owned = { province = 340 data = BUR }
                                owned = { province = 340 data = FRA }
				owned = { province = 340 data = U10 }
				owned = { province = 340 data = GEL }
				owned = { province = 340 data = FRI }
                                owned = { province = 340 data = HLL }
                                owned = { province = 340 data = HAU }
				
			}
                       
	}

	random = no
	province = 340
	
name = "голландские восстания - Зеландия"
desc = "Зеландия отпадает к Голландии"
        style = 1
	date = { day = 1 month = january year = 1560 }
	offset = 30
	deathdate = { day = 1 month = january year = 1650 }

	action_a ={			
		name = "Чёрт!Проклятые гёзы!"
                command = { type = secedeprovince which = HOL value = 340 }
                
	}
}

event = {
	id = 200604
	trigger = {  
                    exists = HOL
                   NOT = {
	        	owned = { province = 1927 data = HEI }
                       		owned = { province = 1927 data = HOL }
				owned = { province = 1927 data = SPA }
				owned = { province = 1927 data = ENG }
				owned = { province = 1927 data = HAB }
                                owned = { province = 1927 data = BUR }
                                owned = { province = 1927 data = FRA }
				owned = { province = 1927 data = U10 }
				owned = { province = 1927 data = GEL }
				owned = { province = 1927 data = FRI }
                                owned = { province = 1927 data = HLL }
                                owned = { province = 1927 data = HAU }
				
			}
                       
	}

	random = no
	province = 1927
	
name = "голландские восстания - Гронинген"
desc = "Гронинген отпадает к Голландии"
        style = 1
	date = { day = 1 month = january year = 1560 }
	offset = 30
	deathdate = { day = 1 month = january year = 1650 }

	action_a ={			
		name = "Чёрт!Проклятые гёзы!"
                command = { type = secedeprovince which = HOL value = 1927 }
                
	}
}

event = {
	id = 200605
	trigger = {  
                    exists = HOL
                   NOT = {
	        	owned = { province = 1925 data = HEI }
                       		owned = { province = 1925 data = HOL }
				owned = { province = 1925 data = SPA }
				owned = { province = 1925 data = ENG }
				owned = { province = 1925 data = HAB }
                                owned = { province = 1925 data = BUR }
                                owned = { province = 1925 data = FRA }
				owned = { province = 1925 data = U10 }
				owned = { province = 1925 data = GEL }
				owned = { province = 1925 data = FRI }
                                owned = { province = 1925 data = HLL }
                                owned = { province = 1925 data = HAU }
				
			}
                       
	}

	random = no
	province = 1925
	
name = "голландские восстания - Бреда"
desc = "Бреда отпадает к Голландии"
        style = 1
	date = { day = 1 month = january year = 1560 }
	offset = 30
	deathdate = { day = 1 month = january year = 1650 }

	action_a ={			
		name = "Чёрт!Проклятые гёзы!"
                command = { type = secedeprovince which = HOL value = 1925 }
                
	}
}

event = {
	id = 200606
	trigger = {  
                    exists = HOL
                   NOT = {
	        	owned = { province = 380 data = HEI }
                       		owned = { province = 380 data = HOL }
				owned = { province = 380 data = SPA }
				owned = { province = 380 data = ENG }
				owned = { province = 380 data = HAB }
                                owned = { province = 380 data = BUR }
                                owned = { province = 380 data = FRA }
				owned = { province = 380 data = U10 }
				owned = { province = 380 data = GEL }
				owned = { province = 380 data = FRI }
                                owned = { province = 380 data = HLL }
                                owned = { province = 380 data = HAU }
				
			}
                       
	}

	random = no
	province = 380
	
name = "голландские восстания - Фландрия"
desc = "Фландрия отпадает к Голландии"
        style = 1
	date = { day = 1 month = january year = 1560 }
	offset = 30
	deathdate = { day = 1 month = january year = 1650 }

	action_a ={			
		name = "Чёрт!Проклятые гёзы!"
                command = { type = secedeprovince which = HOL value = 380 }
                
	}
}

event = {
	id = 200607
	trigger = {  
                    exists = HOL
                   NOT = {
	        	owned = { province = 378 data = HEI }
                       		owned = { province = 378 data = HOL }
				owned = { province = 378 data = SPA }
				owned = { province = 378 data = ENG }
				owned = { province = 378 data = HAB }
                                owned = { province = 378 data = BUR }
                                owned = { province = 378 data = FRA }
				owned = { province = 378 data = U10 }
				owned = { province = 378 data = GEL }
				owned = { province = 378 data = FRI }
                                owned = { province = 378 data = HLL }
                                owned = { province = 378 data = HAU }
				
			}
                       
	}

	random = no
	province = 378
	
name = "голландские восстания - Брабант"
desc = " Брабант отпадает к Голландии"
        style = 1
	date = { day = 1 month = january year = 1560 }
	offset = 30
	deathdate = { day = 1 month = january year = 1650 }

	action_a ={			
		name = "Чёрт!Проклятые гёзы!"
                command = { type = secedeprovince which = HOL value = 378 }
                
	}
}

event = {
	id = 200608
	trigger = {  
                    exists = HOL
                   NOT = {
	        	owned = { province = 1903 data = HEI }
                       		owned = { province = 1903 data = HOL }
				owned = { province = 1903 data = SPA }
				owned = { province = 1903 data = ENG }
				owned = { province = 1903 data = HAB }
                                owned = { province = 1903 data = BUR }
                                owned = { province = 1903 data = FRA }
				owned = { province = 1903 data = U10 }
				owned = { province = 1903 data = GEL }
				owned = { province = 1903 data = FRI }
                                owned = { province = 1903 data = HLL }
                                owned = { province = 1903 data = HAU }
				
			}
                       
	}

	random = no
	province = 1903
	name = "голландские восстания-Льеж"
	desc = "Льеж отпадает к Голландии"
        style = 1
	date = { day = 1 month = january year = 1560 }
	offset = 30
	deathdate = { day = 1 month = january year = 1650 }

	action_a ={			
		name = "Чёрт!Проклятые гёзы!"
                command = { type = secedeprovince which = HOL value = 1903 }
                
	}
}

event = {
	id = 200609
	trigger = {  
                    exists = HOL
                   NOT = {
	        	
                       		owned = { province = 1997 data = HOL }
				owned = { province = 1997 data = SPA }
				owned = { province = 1997 data = ENG }
				owned = { province = 1997 data = HAB }
                                owned = { province = 1997 data = BUR }
                                owned = { province = 1997 data = FRA }
				owned = { province = 1997 data = U10 }
				owned = { province = 1997 data = GEL }
				owned = { province = 1997 data = FRI }
                                owned = { province = 1997 data = HLL }
                                owned = { province = 1997 data = HAU }
				
			}
                       
	}

	random = no
	province = 1997
	name = "голландские восстания - Утрехт"
	desc = "Утрехт отпадает к Голландии"
        style = 1
	date = { day = 1 month = january year = 1560 }
	offset = 30
	deathdate = { day = 1 month = january year = 1650 }

	action_a ={			
		name = "Чёрт!Проклятые гёзы!"
                command = { type = secedeprovince which = HOL value = 1997 }
                
	}

}

event = {
	id = 200610
	trigger = {  
                    exists = HOL
                   NOT = {
	        	
                       		owned = { province = 1947 data = HOL }
				owned = { province = 1947 data = SPA }
				owned = { province = 1947 data = ENG }
				owned = { province = 1947 data = HAB }
                                owned = { province = 1947 data = BUR }
                                owned = { province = 1947 data = FRA }
                                    owned = { province = 1947 data = HEI }
				owned = { province = 1947 data = U10 }
				owned = { province = 1947 data = GEL }
				owned = { province = 1947 data = FRI }
                                owned = { province = 1947 data = HLL }
                                owned = { province = 1947 data = HAU }
				
			}
                       
	}

	random = no
	province = 1947
	name = "голландские восстания - Антверпен"
	desc = "Антверпен отпадает к Голландии"
        style = 1
	date = { day = 1 month = january year = 1560 }
	offset = 30
	deathdate = { day = 1 month = january year = 1650 }

	action_a ={			
		name = "Чёрт!Проклятые гёзы!"
                command = { type = secedeprovince which = HOL value = 1947 }
                
	}

}

event = {
	id = 200611  
	trigger = {  
                    exists = HOL
                   NOT = {
	        	
                       		owned = { province = 1924 data = HOL }
				owned = { province = 1924 data = SPA }
				owned = { province = 1924 data = ENG }
				owned = { province = 1924 data = HAB }
                                owned = { province = 1924 data = BUR }
                                owned = { province = 1924 data = FRA }
                                    owned = { province = 1924 data = HEI }
				owned = { province = 1924 data = U10 }
				owned = { province = 1924 data = GEL }
				owned = { province = 1924 data = FRI }
                                owned = { province = 1924 data = HLL }
                                owned = { province = 1924 data = HAU }
				
			}
                       
	}

	random = no
	province = 1924
	name = "голландские восстания - Хаинаут"
	desc = "Хаинаут отпадает к Голландии"
        style = 1
	date = { day = 1 month = january year = 1560 }
	offset = 30
	deathdate = { day = 1 month = january year = 1650 }

	action_a ={			
		name = "Чёрт!Проклятые гёзы!"
                command = { type = secedeprovince which = HOL value = 1924 }
                
	}

}

event = {
	id = 299673
	trigger = {  
                    exists = HOL
                   NOT = {
	        	
                       		owned = { province = 979 data = HOL }
				owned = { province = 979 data = SPA }
				owned = { province = 979 data = ENG }
				owned = { province = 979 data = HAB }
                                owned = { province = 979 data = BUR }
                                owned = { province = 979 data = FRA }
                                    owned = { province = 979 data = HEI }
				owned = { province = 979 data = U10 }
				owned = { province = 979 data = GEL }
				owned = { province = 979 data = FRI }
                                owned = { province = 979 data = HLL }
                                owned = { province = 979 data = HAU }
				
			}
                       
	}

	random = no
	province = 979
	name = "голландские восстания - Зволле"
	desc = "Хаинаут отпадает к Голландии"
        style = 1
	date = { day = 1 month = january year = 1560 }
	offset = 30
	deathdate = { day = 1 month = january year = 1650 }

	action_a ={			
		name = "Чёрт!Проклятые гёзы!"
                command = { type = secedeprovince which = HOL value = 979 }
                
	}

}

event = {
	id = 299692
	trigger = {  
                    exists = HOL
                   NOT = {
	        	
                       		owned = { province = 933 data = HOL }
				owned = { province = 933 data = SPA }
				owned = { province = 933 data = ENG }
				owned = { province = 933 data = HAB }
                                owned = { province = 933 data = BUR }
                                owned = { province = 933 data = FRA }
                                    owned = { province = 933 data = HEI }
				owned = { province = 933 data = U10 }
				owned = { province = 933 data = GEL }
				owned = { province = 933 data = FRI }
                                owned = { province = 933 data = HLL }
                                owned = { province = 933 data = HAU }
				
			}
                       
	}

	random = no
	province = 933
	name = "голландские восстания - Гент"
	desc = "Хаинаут отпадает к Голландии"
        style = 1
	date = { day = 1 month = january year = 1560 }
	offset = 30
	deathdate = { day = 1 month = january year = 1650 }

	action_a ={			
		name = "Чёрт!Проклятые гёзы!"
                command = { type = secedeprovince which = HOL value = 933 }
                
	}

}

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

event = {

	id = 94000
	trigger = {
		exists = HOL
		NOT = { religion = protestant
			religion = reformed }
	}
	random = no
	province = 380
	name = "Ослабления влияния реформации в Фландрии"
	desc = "После того, как восставшие провинции на севере нидерландов провозгласили независимость, большинство кальвинистов из южных нидерландов бежало на север к братьям по вере, спасаясь от религиозных преследований."
	style = 3

	date = { day = 1 month = january year = 1580 }
	offset = 900
	deathdate = { day = 1 month = january year = 1649 }

	action_a ={			
		name = "Да здравствует контр-реформация!"
		command = { type = conversion which = 380 }

	}
}

event = {

	id = 94001
	trigger = {
		exists = HOL
		NOT = { religion = protestant
			religion = reformed }
	}
	random = no
	province = 1947
	name = "Ослабления влияния реформации в Антверпене"
	desc = "После того, как восставшие провинции на севере нидерландов провозгласили независимость, большинство кальвинистов из южных нидерландов бежало на север к братьям по вере, спасаясь от религиозных преследований."
	style = 3

	date = { day = 1 month = january year = 1580 }
	offset = 900
	deathdate = { day = 1 month = january year = 1649 }

	action_a ={			
		name = "Да здравствует контр-реформация!"
		command = { type = conversion which = 1947 }

	}
}

event = {

	id = 299693
	trigger = {
		exists = HOL
		NOT = { religion = protestant
			religion = reformed }
	}
	random = no
	province = 933
	name = "Ослабления влияния реформации в Генте"
	desc = "После того, как восставшие провинции на севере нидерландов провозгласили независимость, большинство кальвинистов из южных нидерландов бежало на север к братьям по вере, спасаясь от религиозных преследований."
	style = 3

	date = { day = 1 month = january year = 1580 }
	offset = 900
	deathdate = { day = 1 month = january year = 1649 }

	action_a ={			
		name = "Да здравствует контр-реформация!"
		command = { type = conversion which = 933 }

	}
}
