#####Brandenburg Major Events#####
###By Joakim 'Greven' Bergqwist ##
###   Stefan Huszics            ##
###   Håvard Moe                ##
###   Tom 'Demetrios' Rinschler ##
##################################

#The League of Schmalkalden#
event = {

	id = 3633
	trigger = {
		 exists = HAB
		 	AND = {
				OR = {
					religion = protestant
					religion = reformed
						}
			}
	}
	random = no
	country = BRA
	name = "EVENTNAME3633"
	desc = "EVENTHIST3633"
	style = 2

	date = { day = 1 month = january year = 1527 }
	offset = 30
	deathdate = { day = 1 month = january year = 1529 }

	action_a ={					#Give it your support#
		name = "ACTIONNAME3633A"
		command = { type = relation which = FRA value = 100 }
		command = { type = relation which = ENG value = 100 }
		command = { type = relation which = BAD value = 150 }
		command = { type = relation which = HAN value = 150 }
		command = { type = relation which = HES value = 150 }
		command = { type = relation which = PFA value = 150 }
		command = { type = relation which = SAC value = 150 }
		command = { type = relation which = THU value = 150 }
		command = { type = relation which = KLE value = 100 }
		command = { type = relation which = KOL value = 50 }
		command = { type = relation which = BAY value = 50 }
		command = { type = relation which = PAP value = -100 }
		command = { type = relation which = SPA value = -100 }
		command = { type = relation which = HAB value = -150 }
	}

	action_b ={					#Ignore it#
		name = "ACTIONNAME3633B"
		command = { type = relation which = BAD value = -100 }
		command = { type = relation which = HAN value = -100 }
		command = { type = relation which = HES value = -100 }
		command = { type = relation which = PFA value = -100 }
		command = { type = relation which = SAC value = -100 }
		command = { type = relation which = THU value = -100 }
		command = { type = relation which = HAB value = 50 }
	}
}

#The Evangelic Union#
event = {

	id = 3634
	trigger = {
		 OR = {
			religion = protestant
			religion = reformed
				}
			}
	random = no
	country = BRA
	name = "EVENTNAME3634"
	desc = "EVENTHIST3634"
	style = 3

	date = { day = 1 month = january year = 1605 }
	offset = 30
	deathdate = { day = 1 month = january year = 1609 }

	action_a ={					#Prepare to Join#
		name = "ACTIONNAME3634A"
		command = { type = relation which = FRA value = 100 }
		command = { type = relation which = BAD value = 150 }
		command = { type = relation which = HAN value = 150 }
		command = { type = relation which = HES value = 150 }
		command = { type = relation which = PFA value = 150 }
		command = { type = relation which = SAC value = 150 }
		command = { type = relation which = THU value = 150 }
		command = { type = relation which = SHL value = 150 }
		command = { type = relation which = KLE value = 100 }
		command = { type = relation which = KOL value = 50 }
		command = { type = relation which = BAY value = 50 }
		command = { type = relation which = PAP value = -100 }
		command = { type = relation which = SPA value = -100 }
		command = { type = relation which = HAB value = -150 }
	}

	action_b ={					#Stay Neutral#
		name = "ACTIONNAME3634B"
		command = { type = relation which = BAD value = -100 }
		command = { type = relation which = HAN value = -100 }
		command = { type = relation which = HES value = -100 }
		command = { type = relation which = PFA value = -100 }
		command = { type = relation which = SAC value = -100 }
		command = { type = relation which = THU value = -100 }
		command = { type = relation which = HAB value = 50 }
	}
}

#The Catholic League#
event = {

	id = 3635
	trigger = {
		 OR = {
			religion = catholic
			religion = counterreform
				}
			}
	random = no
	country = BRA
	name = "EVENTNAME3635"
	desc = "EVENTHIST3635"
	style = 3

	date = { day = 1 month = january year = 1607 }
	offset = 30
	deathdate = { day = 1 month = january year = 1609 }


	action_a ={					#Prepare to Join#
		name = "ACTIONNAME3635A"
		command = { type = relation which = FRA value = -100 }
		command = { type = relation which = BAD value = -150 }
		command = { type = relation which = HAN value = -150 }
		command = { type = relation which = HES value = -150 }
		command = { type = relation which = PFA value = -150 }
		command = { type = relation which = SAC value = -150 }
		command = { type = relation which = THU value = -150 }
		command = { type = relation which = SHL value = -150 }
		command = { type = relation which = KLE value = 50 }
		command = { type = relation which = KOL value = 100 }
		command = { type = relation which = BAY value = 100 }
		command = { type = relation which = PAP value = 100 }
		command = { type = relation which = SPA value = 100 }
		command = { type = relation which = HAB value = 150 }
	}

	action_b ={					#Stay Neutral#
		name = "ACTIONNAME3635B"
		command = { type = relation which = BAD value = 50 }
		command = { type = relation which = HAN value = 50 }
		command = { type = relation which = HES value = 50 }
		command = { type = relation which = PFA value = 50 }
		command = { type = relation which = SAC value = 50 }
		command = { type = relation which = THU value = 50 }
		command = { type = relation which = BAY value = -50 }
		command = { type = relation which = KLE value = -50 }
		command = { type = relation which = KOL value = -50 }
		command = { type = relation which = HAB value = -100 }
	}
}

#The incorporation of Prussia into Brandenburg#
event = {
	id = 3636				#Triggerd by PRU 3517#
	random = no
	country = BRA
	name = "EVENTNAME3636"
	desc = "EVENTHIST3636"
	style = 3

	action_a ={				#Keep Polish sovereignty#
		name = "ACTIONNAME3636A"
		command = { type = inherit which = PRU }
		command = { type = addcore which = 290 }
		command = { type = addcore which = 1944 }
		command = { type = relation which = POL value = -25 }
		command = { type = provinceculture   which = 1944 value = german }
		command = { type = provinceculture   which = 290 value = german }
		command = { type = provinceculture which = 301 value = german }
	}

	action_b ={				#Defy Polish sovereignty#
		name = "ACTIONNAME3636B"
		command = { type = inherit which = PRU }
		command = { type = addcore which = 290 }
		command = { type = addcore which = 1944 }
		command = { type = relation which = POL value = -100 }
		command = { type = treasury value = 200 }
		command = { type = provinceculture   which = 1944 value = german }
		command = { type = provinceculture   which = 290 value = german }
		command = { type = provinceculture which = 301 value = german }
	}
}
# Remember make triggered event for POL command = { type = casusbelli which = BRA value = 12}


#Reform of the Brandenburg Army#
event = {

	id = 3518
	random = no
	country = BRA
	name = "EVENTNAME3518"
	desc = "EVENTHIST3518"
	style = 3

	date = { day = 1 month = january year = 1640 }
	offset = 30
	deathdate = { day = 1 month = january year = 1660 }

	action_a ={				#Offensive Army Reform#
		name = "ACTIONNAME3518A"
		command = { type = domestic which = LAND value = 2 }
		command = { type = domestic which = OFFENSIVE value = 2 }
		command = { type = domestic which = QUALITY value = 3 }
		command = { type = land value = 800 }
		command = { type = INF which = -1 value = 8000 }
		command = { type = CAV which = -3 value = 6000 }
		command = { type = ART which = -3 value = 20 }
	}

	action_b ={				#Defensive Army Reform#
		name = "ACTIONNAME3518B"
		command = { type = domestic which = LAND value = 2 }
		command = { type = domestic which = OFFENSIVE value = -2 }
		command = { type = domestic which = QUALITY value = 3 }
		command = { type = land value = 800 }
		command = { type = fortress which = 312 value = 1 }
		command = { type = fortress which = -1 value = 1 }

	}

	action_c ={				#Navy Reform#
		name = "ACTIONNAME3518C"
		command = { type = domestic which = LAND value = -2 }
		command = { type = domestic which = QUALITY value = 3 }
		command = { type = naval value = 800 }
		command = { type = warships which = -1 value = 10 }
		command = { type = transports which = -3 value = 3 }
	}

}


#The Constitutional Struggle#
#event = {
#
#	id = 3519
#	random = no
#	country = BRA
#	name = "EVENTNAME3519"
#	desc = "EVENTHIST3519"
#	style = 3
#
#	date = { day = 1 month = january year = 1640 }
#	offset = 30
#	deathdate = { day = 1 month = january year = 1670 }
#
#	action_a ={			#Support Junkers#
#		name = "ACTIONNAME3519A"
#		command = { type = domestic which = SERFDOM value = 3 }
#		command = { type = domestic which = ARISTOCRACY value = 2 }
#		command = { type = domestic which = QUALITY value = 1 }
#		command = { type = treasury value = 150 }
#	}
#
#	action_b ={			#Support Burghers#
#		name = "ACTIONNAME3519B"
#		command = { type = domestic which = ARISTOCRACY value = -2 }
#		command = { type = stability value = 1 }
#	}
#
#	action_c ={			#Move towards Autocracy#
#		name = "ACTIONNAME3519C"
#		command = { type = domestic which = CENTRALIZATION value = 2 }
#		command = { type = trade value = 200 }
#		command = { type = infra value = 200 }
#		command = { type = stability value = -1 }
#	}
#
#}
#
##The Taxation Reform#
#event = {
#
#	id = 3520
#	random = no
#	country = BRA
#	name = "EVENTNAME3520"
#	desc = "EVENTHIST3520"
#	style = 3
#
#	date = { day = 1 month = january year = 1650 }
#	offset = 30
#	deathdate = { day = 1 month = january year = 1670 }
#
#	action_a ={			#Increase taxes#
#		name = "ACTIONNAME3520A"
#		command = { type = domestic which = MERCANTILISM value = 2 }
#		command = { type = trade value = 400 }
#	}
#
#	action_b ={			#Support free trade#
#		name = "ACTIONNAME3520B"
#		command = { type = domestic which = MERCANTILISM value = -2 }
#		command = { type = trade value = 600 }
#	}
#
#}

#Protestants expelled from France#
event = {

	id = 3521				#Triggered by FRA3128#
	random = no
	country = BRA
	name = "EVENTNAME3521"
	desc = "EVENTHIST3521"
	style = 3

	action_a ={				#Welcome with open arms#
		name = "ACTIONNAME3521A"
		command = { type = population which = -1 value = 5000 }
		command = { type = provincetax which = -3 value = 1 }
		command = { type = population which = -1 value = 5000 }
		command = { type = provincetax which = -3 value = 1 }
		command = { type = population which = -1 value = 5000 }
		command = { type = provincetax which = -3 value = 1 }
		command = { type = population which = -1 value = 5000 }
		command = { type = provincetax which = -3 value = 1 }
		command = { type = stability value = 1 }
	}
}

#The League of Augsburg#
event = {

	id = 3522				#triggered by FRA3127#
	random = no
	country = BRA
	name = "EVENTNAME3522"
	desc = "EVENTHIST3522"
	style = 3

	action_a ={				#Defy French claims#
		name = "ACTIONNAME3522A"
		command = { type = casusbelli which = FRA value = 72 }
		command = { type = relation which = FRA value = -150 }
		command = { type = relation which = ENG value = 150 }
		command = { type = relation which = HAB value = 150 }
		command = { type = relation which = SPA value = 150 }
		command = { type = relation which = HOL value = 150 }
		command = { type = relation which = HAN value = 100 }
		command = { type = relation which = BAD value = 100 }
		command = { type = relation which = HES value = 100 }
		command = { type = relation which = KLE value = 100 }
		command = { type = relation which = KOL value = 100 }
		command = { type = relation which = PFA value = 100 }
		command = { type = relation which = THU value = 100 }
	}

	action_b ={				#Ignore it#
		name = "ACTIONNAME3522B"
		command = { type = relation which = FRA value = 50 }
		command = { type = relation which = ENG value = -100 }
		command = { type = relation which = HAB value = -100 }
		command = { type = relation which = SPA value = -100 }
		command = { type = relation which = HOL value = -100 }
		command = { type = relation which = HAN value = -50 }
		command = { type = relation which = BAD value = -50 }
		command = { type = relation which = HES value = -50 }
		command = { type = relation which = KLE value = -50 }
		command = { type = relation which = KOL value = -50 }
		command = { type = relation which = PFA value = -50 }
		command = { type = relation which = THU value = -50 }
	}
}

#The Brandenburg African Trade Company#

event = {

	id = 3523
	random = no
	country = BRA
	name = "EVENTNAME3523"
	desc = "EVENTHIST3523"
	style = 3

	date = { day = 1 month = january year = 1682 }
	offset = 30
	deathdate = { day = 1 month = january year = 1683 }

	action_a ={				#We will exploit this!#
		name = "ACTIONNAME3523A"
		command = { type = gainmanufactory which = -1 value = goods }
		command = { type = merchants value = 5 }
		command = { type = explorer which = -1 }
		command = { type = trade value = 400 }
	}
}


#The Kingdom of Prussia#

event = {
	id = 3524
	trigger = {
		OR = {
			event = 3636 #The incorporation of Prussia into Brandenburg#
			owned = { province = 290 data = -1 }
		}

	}
	random = no
	country = BRA
	name = "EVENTNAME3524"
	desc = "EVENTHIST3524"
	style = 4

	date = { day = 1 month = january year = 1701 }
	offset = 30
	deathdate = { day = 1 month = january year = 1760 }

	action_a ={				#The Kingdom of Prussia is born!#
		name = "ACTIONNAME3524A"
		command = { type = treasury value = 150 }
		command = { type = relation which = HAB value = -40 }
		command = { type = diplomats value = 3 }
		command = { type = country which = PRU }
		command = { type = addcore which = 290 }
		command = { type = addcore which = 301 }
		command = { type = addcore which = 1944 }
		command = { type = provinceculture which = 1944 value = german }
		command = { type = provinceculture which = 290 value = german }
		command = { type = provinceculture which = 301 value = german }
		command = { type = add_countryculture which = baltic }
		command = { type = flagname which = "_Kingdom" }
		command = { type = vp value = 50 }

	}

	action_b ={				#Stay Elector-Prince!#
		name = "ACTIONNAME3524B"
		command = { type = stability value = 2 }
		command = { type = relation which = HAB value = 40 }
		command = { type = provinceculture   which = 290 value = german }
		command = { type = provinceculture   which = 1944 value = german }
		command = { type = provinceculture which = 301 value = german }
		command = { type = add_countryculture which = baltic }
	}
}

## The Kleve Inheritance ##
event = {
    id = 3855

    # Triggered by KLE 3854

    random = no
    country = BRA
    name = "EVENTNAME3855"
    desc = "EVENTHIST3855"
    style = 3

    action_a ={        #Inherit Kleves#
        name = "ACTIONNAME3855A"
        command = { type = inherit which = KLE }
        command = { type = addcore which = 343 }
        command = { type = addcore which = 334 }
        command = { type = trigger which = 3859 }
    }
}

event = {
	id = 3856

	# Triggered by PFA 3858

	random = no
	country = BRA
	name = "EVENTNAME3856"
	desc = "EVENTHIST3856"
	style = 3

	action_a ={		#No inheritance of Kleves#
		name = "ACTIONNAME3856A"
		command = { type = casusbelli which = PFA value = 60 }
		command = { type = relation which = PFA value = -100 }
	}
}

event = {
	id = 3857

	# Triggered by KLE 3854

	random = no
	country = BRA
	name = "EVENTNAME3856" # Re-use text.
	desc = "EVENTHIST3856"
	style = 3

	action_a ={		#No inheritance of Kleves#
		name = "ACTIONNAME3856A"
		command = { type = casusbelli which = KLE value = 60 }
		command = { type = relation which = KLE value = -50 }
	}
}

## The Pommern Inheritence ##
event = {
    id = 3896

    # Triggered by POM 3895

    random = no
    country = BRA
    name = "EVENTNAME3896"
    desc = "EVENTHIST3896"
    style = 3

    action_a ={        #Inherit Pommern#
        name = "ACTIONNAME3896A"
        command = { type = inherit which = POM }
        command = { type = addcore which = 302 }
        command = { type = addcore which = 304 }
	command = { type = addcore which = 301 }	
        command = { type = relation which = SWE value = -100 }

    }
}

#Events by Hive

#The North German Confederation#
event = {
	id = 15360
	country = BRA
	random = no
	name = "The North German Confederation"
	desc = "Prussian premier Otto von Bismarck acquired Schleswig-Holstein after defeating Denmark with the help of Austria in a short war fought during 1864. In 1866 he attacked and defeated Austria, leading to the formation of the North German Confederation which excluded Austria. After Bismarck provoked France, the Franco-Prussian War broke out in 1870 and the southern German states, viewing France as the aggressor, joined the North German Confederation."
	
	action_a = {
		name = "Join"
		command = { type = trigger which = 15376 }
	}

	action_b = {
		name = "Stay out"
		command = { type = relation which = PRU value = -100 }
		command = { type = relation which = HAB value = 100 }
		command = { type = stability value = -2 }
	}
}

##########################
#------Random Events-----#
##########################

event = {
	id = 787923400
	random = yes
	country = BRA
	name = "EVENTNAME13"
	desc = "EVENTHIST13"
	style = 0
	trigger = {
		NOT = { countrysize = 3 }
		ai = yes
	}
	action_a = {
		name = "OK"
		command = { type = cash value = 200 }
	}
}

event = {
	id = 787923401
	random = yes
	country = BRA
	name = "EVENTNAME13"
	desc = "EVENTHIST13"
	style = 0
	trigger = {
		NOT = { countrysize = 3 }
		ai = yes
	}
	action_a = {
		name = "OK"
		command = { type = cash value = 200 }
	}
}

event = {
	id = 787923402
	random = yes
	country = BRA
	name = "EVENTNAME13"
	desc = "EVENTHIST13"
	style = 0
	trigger = {
		NOT = { countrysize = 3 }
		ai = yes
	}
	action_a = {
		name = "OK"
		command = { type = cash value = 200 }
	}
}

event = {
	id = 787923403
	random = yes
	country = BRA
	name = "EVENTNAME13"
	desc = "EVENTHIST13"
	style = 0
	trigger = {
		NOT = { countrysize = 3 }
		ai = yes
	}
	action_a = {
		name = "OK"
		command = { type = cash value = 200 }
	}
}

event = {
	id = 787923404
	random = yes
	country = BRA
	name = "EVENTNAME13"
	desc = "EVENTHIST13"
	style = 0
	trigger = {
		NOT = { countrysize = 15 }
		ai = yes
	}
	action_a = {
		name = "OK"
		command = { type = cash value = 300 }
	}
}

event = {
	id = 787923405
	random = yes
	country = BRA
	name = "EVENTNAME13"
	desc = "EVENTHIST13"
	style = 0
	trigger = {
		NOT = { countrysize = 15 }
		ai = yes
	}
	action_a = {
		name = "OK"
		command = { type = cash value = 400 }
	}
}

event = {
	id = 787923406
	random = yes
	country = BRA
	name = "EVENTNAME13"
	desc = "EVENTHIST13"
	style = 0
	trigger = {
		ai = yes
	}
	action_a = {
		name = "OK"
		command = { type = inflation value = -2 }
		command = { type = stability value = 1 }
	}
}

event = {
	id = 787923407
	random = yes
	country = BRA
	name = "EVENTNAME13"
	desc = "EVENTHIST13"
	style = 0
	trigger = {
		ai = yes
	}
	action_a = {
		name = "OK"
		command = { type = stability value = 1 }
	}
}

event = {
	id = 787923408
	random = yes
	country = BRA
	name = "EVENTNAME13"
	desc = "EVENTHIST13"
	style = 0
	trigger = {
		ai = yes
	}
	action_a = {
		name = "OK"
		command = { type = stability value = 1 }
	}
}

#The Kurmark of Brandenburg#
event = {
	id = 787923409
	trigger = {
        monarch = 06143
        countrysize = 4
        }
	random = no
	country = BRA
	name = "The Kurmark of Brandenburg"
	desc = "Frederick was officially recognized as Margrave and Prince-elector Frederick I of Brandenburg at the Council of Constance in 1415. Frederick's formal investiture with the Kurmark, or electoral march, and his appointment as Archchamberlain of the Holy Roman Empire occurred on 18 April 1417, also during the Council of Constance. The blue escutcheon with the golden sceptre as symbol of the office of archchamberlain (Erzkämmerer) of the Empire was added under Frederick II (1440-70)."
	style = 5
	date = { day = 1 month = january year = 1440 }
	offset = 30
	deathdate = { day = 1 month = january year = 1470 }
	action_a ={
		name = "Take the title"
                command = { type = flagname which = _Duchy }
		command = { type = vp value = 25 }
                command = { type = stability value = 1 }        
	}
	action_b ={
		name = "It has no interest"
		command = { }
	}

}