# Hansa events

# Hansa provinces

# Holstein (306) contains Luebeck
# Bremen (336) contains Bremen
# Mecklemburg (305) contains Hamburg, Lueneburg, Wismar and Rostock
# Koeln (344) contains Cologne
# Kleves (343) contains Dortmund
# Hannover (310) contains Brunswick
# Magdeburg (311) contains Magdeburg
# Danzig (301) contains Danzig
# Livland (282) contains Riga
# Estland (276) contains Dorpat
# Vorpommern (304) contains Stralsund
# Hinterpommern (302) contains Stettin and Greifswald

# Provinces of interest
# Oldenburg (335)
# Jylland (309)
# Sjaelland (307)
# Skaone (251)

# Kontors
# Bergenshus (256) contains Bergen
# Flandern (380) contains Bruges
# Anglia (247) contains London
# Novgorod (274) contains Novgorod

# Ground rules:

# A Hanseatic kontor is worth 5 tax value to its province and 5 tax value to the province of Mecklenburg.  A moved kontor does not damage Mecklenburg tax value.  A closed kontor does damage Mecklenburg tax value.  A move costs -25 trade and a close costs -50 trade.  Reopening after a close gains back 25 trade.

# Murder of merchants is worth -25 trade value and a loss of 1 merchant.

# Successful imposition or increase of tariffs is Mercantilism +1.  Opening the Sund or lowering tariffs is Mercantilism -1.  Tariff events depend on Mercantilism >= 5.

# Loss of kontor control is worth -2 tax value and -50 trade.

# Loss of a Hansa member or is worth -5 tax value to Mecklenburg and the Hansa member and -100 trade.  Readmission of the member is worth +5 tax value to both and +50 trade.

# The Hansa events are 187xxx.  The Hansa leaders and monarchs are 187xx.

# --The general arc of history--

# 1418-1427: Bremen's conflict with Luebeck re:1418 Hansa diet
event = {
	id = 187001 # bremen conflict reminder
	trigger = {
		exists = HSA
		exists = BRE
		dynastic = {country = BRE  country = HSA}
		}
	random = no
	country = HSA
	#name = "EVENTNAME3605"
	#name = "EVENTNAME3704"
	name = "The 1418 Hansa Statutes"
	#desc = "EVENTHIST3704"
	
	desc = "The 1418 Hansa diet drew up a charter of thirty-two articles that reaffirmed earlier decrees dealing with numerous trade and legal matters.  It provided for the arrest of any agitator against the Hansa in any member town and prohibited the removal of any powers from the  town council.  This amounted to a considerable centralization of Hanseatic power in Luebeck.  Bremen refused to accept the charter's provisions.  Its citizens murdered a pro-Luebeck burgomaster and installed an anti-Luebeck town council.  If a reconciliation (relations +50 or greater) is not reached, Bremen may be expelled from the Hansa."
	date = { day = 1 month = january year = 1419 }
	offset = 0
	style = 1
	action_a ={ #OK#
		#name = "ACTIONNAME3605A"
		name = "Better get cracking on that."
	}
}

event = { 
	id = 187002 # bremen_dispute reconciliation failure
	trigger = {
		exists = HSA
		exists = BRE
		event = 187001
		dynastic = {country = BRE  country = HSA}
		NOT = { relation = { country = BRE value = 50 } }
	}
	random = no
	country = HSA
	#name = "EVENTNAME3605"
	name = "Reconciliation Efforts Fail"
	#desc = "EVENTHIST3704"
	
	desc = "It has proven impossible to reconcile the differences between Bremen and Luebeck.  The Hansa diet is meeting to decide upon a course of action.  Expelling Bremen will harm relations and business interests, but our leadership of the Hansa will appear weak if we do not take a firm line."
	date = { day = 1 month = january year = 1424 }
	offset = 1500
	deathdate = { day = 1 month = january year = 1434 }
	style = 1
	action_a ={ #OK#
		#name = "ACTIONNAME3605A"
		name = "Expel Bremen"
		command = { type = stability value = -1 }
		command = { type = breakdynastic which = BRE }
		command = { type = relation which = BRE value = -50 }
		command = { type = trade value = -100 }
		command = { type = provincetax which = 305 value = -5 } # drop tax value in Meck
		command = { type = provincetax which = 336 value = -5 } # drop tax value in Bremen
		command = { type = setflag which = bremen_dispute }
		command = { type = sleepevent which = 187003 } # reconciliation success event
	}
	action_b ={ #OK#
		#name = "ACTIONNAME3605A"
		name = "Let the matter drop"
		command = { type = stability value = -2 }
		command = { type = domestic which = centralization value = -1 }
		command = { type = DIP which = -1 value = 24 }
		command = { type = relation which = BRE value = 50 } 
		command = { type = sleepevent which = 187003 } # reconciliation success event
	}
	# perhaps add a casus belli third choice?
}

event = { 
	id = 187003 # bremen_dispute reconciliation success
	trigger = {
		exists = HSA
		exists = BRE
		event = 187001
		dynastic = {country = BRE  country = HSA}
		relation = { country = BRE value = 50 }
	}
	random = no
	country = HSA
	#name = "EVENTNAME3605"
	name = "Reconciliation Efforts Succeed"
	#desc = "EVENTHIST3704"
	
	desc = "The differences between Bremen and Luebeck have been successfully reconciled.  The integrity of the Hansa has been preserved, although Luebeck's effort at centralizing Hanseatic power has been damaged and the Hansa is likely to be more fractious in the immediate future.
	
	This is an ahistorical result.  Historically, the differences between the two towns could not be reconciled and Bremen was expelled from the Hansa from 1427 to 1433.  You have been awarded 10 victory points for averting Bremen's expulsion."
	date = { day = 1 month = january year = 1424 }
	offset = 1500
	deathdate = { day = 1 month = january year = 1434 }
	style = 1
	action_a ={ #OK#
		#name = "ACTIONNAME3605A"
		name = "Great"
		command = { type = vp value = 10 } 
		command = { type = stability value = 1 }
		command = { type = domestic which = centralization value = -1 }
		command = { type = DIP which = -1 value = 24 }
		command = { type = sleepevent which = 187002 } # reconciliation failure event
	}
}

event = { 
	id = 187004 # bremen_dispute bremen gives up
	trigger = {
		exists = HSA
		exists = BRE
		flag = bremen_dispute # Hansa chose to expel Bremen
		event = 187002 # reconciliation failure event
		dynastic = {country = BRE  country = HSA}
		relation = { country = BRE value = 0 }
	}
	random = no
	country = HSA
	#name = "EVENTNAME3605"
	name = "Bremen Relents"
	#desc = "EVENTHIST3704"
	
	desc = "Bremen has relented in the face of Hanseatic economic pressure.  The integrity of the Hansa has been preserved.  Luebeck's effort at centralizing Hanseatic power has been successful.  Other Hanseatic towns may remember and resent Luebeck's strongarm tactics in the future."
	date = { day = 1 month = january year = 1430 }
	offset = 1500
	deathdate = { day = 1 month = january year = 1440 }
	style = 1
	action_a ={ #OK#
		#name = "ACTIONNAME3605A"
		name = "Great"
		command = { type = stability value = 1 }
		command = { type = domestic which = centralization value = 1 }
		command = { type = DIP which = -1 value = 24 }
		command = { type = relation which = BRE value = 20 }
		command = { type = trade value = 50 }
		command = { type = provincetax which = 305 value = 5 } # raise tax value in Meck
		command = { type = provincetax which = 336 value = 5 } # raise tax value in Bremen
		command = { type = clrflag which = bremen_dispute }
	}
}

# DEVEVENT
# 1420: English factory in Danzig closed by Grand Master.
event = { 
	id = 187005
	trigger = {
		event = 209001 # Teutonic Order event
		# At this point in the game, the Hansa will be thoroughly mercantilist.  Later events should be triggered so that the choices in this event would be reversed in probability for a free-trading Hansa.
	}
	random = no
	country = HSA
	#name = "EVENTNAME3605"
	name = "English Factory Closed In Danzig"
	#desc = "EVENTHIST3704"
	
	desc = "Perceived inequities between Hanseatic trading rights in England and English trading rights in the Baltic were a perennial source of friction between the Hansa and England.  In 1420 a rapid expansion of English trade in Danzig caused the Grand Master of the Teutonic Order to close down the English factory there (the term refers to a trading house) and throw the head of the factory into prison.
	
	Support for the Teutons will anger the rich and powerful English, but support for the English merchants will damage relations with the Baltic Hansa towns and possibly loosen your grip on the Luebeck trade."
	date = { day = 1 month = january year = 1420 }
	offset = 364
	deathdate = { day = 1 month = january year = 1425 }
	style = 1
	action_a ={
		#name = "ACTIONNAME3605A"
		name = "Support the Teutonic Order"
		command = { type = relation which = LAT value = 25 }
		command = { type = relation which = ENG value = -25 }
		command = { type = domestic which = mercantilism value = 1 }
	}
	action_b ={
		#name = "ACTIONNAME3605A"
		name = "Support the English"
		command = { type = relation which = ENG value = 25 }
		command = { type = relation which = LAT value = -40 } # The Teutonic Order
		command = { type = relation which = POM value = -20 }
		command = { type = relation which = U18 value = -20 } # The Livonian Order
		command = { type = relation which = BRA value = -20 } # Brandenburg
		command = { type = domestic which = mercantilism value = -1 }
		command = { type = sleepevent which = 187007 } # Parliament imposes duties
		command = { type = stability value = -2 }
	}	
}


# 1422: Control of Novgorod kontor passes to Dorpat.  Luebeck and Westphalian merchants play minor part in Novgorod thereafter.
event = { 
	id = 187006
	trigger = {
		exists = HSA
		exists = U18
	}
	random = no
	country = HSA
	#name = "EVENTNAME3605"
	name = "Luebeck Loses Control Of Novgorod Contor"
	#desc = "EVENTHIST3704"
	
	desc = "For many years the Livonian towns had been attempting to gain control of the Hanseatic kontor in Novgorod.  They had effectively succeeded by the beginning of Europa Universalis II.  In 1422 Luebeck was finally forced to concede control of the Novgorod kontor to the Livonian town of Dorpat and to allow the Livonian Hansa to decide Novgorod trade issues."
	date = { day = 1 month = january year = 1422 }
	offset = 364
	style = 1
	action_a ={
		#name = "ACTIONNAME3605A"
		name = "Those punks!"
		command = { type = relation which = U18 value = -25 }
		command = { type = relation which = NVG value = -25 }
		command = { type = trade value = -50 }
		command = { type = provincetax which = 305 value = -2 } # raise tax value in Holland

	}	
}

# 1423: German merchants refuse to pay subsidy levied by Parliament.  They are arrested and the Steelyard is closed.

event = { id = 187007
	trigger = {
		exists = HSA
		exists = ENG
		NOT = {relation = { country = ENG value = 75 }} # relations are not great
	}
	random = no
	country = HSA
	#name = "EVENTNAME3605"
	name = "English Parliament Demands Additional Duties"
	#desc = "EVENTHIST3704"
	
	desc = "In 1423, the English Parliament voted to impose additional duties on Hanseatic imports of wine, salt, herring and timber - all crucial Hanseatic trade goods.
	
	Historically, the Hanseatic merchants in London refused to pay.  In response, England arrested the merchants and briefly closed the Steelyard."
	date = { day = 1 month = january year = 1423 }
	offset = 30
	deathdate = { day = 1 month = january year = 1424 }
	style = 1
	action_a ={
		#name = "ACTIONNAME3605A"
		name = "Refuse to pay"
		command = { type = relation which = ENG value = -20 }
		command = { type = merchants value = -1 }
		command = { type = trade value = -25 }
	}
	action_b ={
		#name = "ACTIONNAME3605A"
		name = "Pay the additional duties"
		command = { type = relation which = ENG value = 20 }
		command = { type = cash value = -10 }
		command = { type = trade value = -20 }
		# command = { type = trigger which = ENGNUM001} # give England 20 ducats
	}	
}

# 1424: 150 Germans arrested in Novgorod.  36 die in captivity.

event = { 
	id = 187008 # novg arrest novgorod
	trigger = {
		exists = HSA
		exists = NVG
		war = { country = HSA country = NVG }
		owned = { province = 274 data = NVG }
	}
	random = no
	country = HSA
	#name = "EVENTNAME3605"
	name = "German Merchants Arrested In Novgorod - Part I"
	#desc = "EVENTHIST3704"
	
	desc = "In 1424, 150 German merchants were arrested in Novgorod following several sea battles between Hanseatic and Russian ships.  36 of the merchants died in captivity."
	date = { day = 1 month = january year = 1419 }
	offset = 364
	deathdate = { day = 1 month = january year = 1440 }
	style = 1
	action_a ={
		#name = "ACTIONNAME3605A"
		name = "Those infidel curs!"
		command = { type = relation which = NVG value = -50 }
		command = { type = merchants value = -1 }
		command = { type = trade value = -25 }
		command = { type = sleepevent which = 187009 } # Russian version thereof
	}
}

event = { 
	id = 187009 # novg arrest russia
	trigger = {
		exists = HSA
		exists = RUS
		war = { country = HSA country = RUS }
	       	owned = { province = 274 data = RUS }
	}
	random = no
	country = HSA
	#name = "EVENTNAME3605"
	name = "German Merchants Arrested In Novgorod"
	#desc = "EVENTHIST3704"
	
	desc = "In 1424, 150 German merchants were arrested in Novgorod following several sea battles between Hanseatic and Russian ships.  36 of the merchants died in captivity."
	date = { day = 1 month = january year = 1419 }
	offset = 364
	deathdate = { day = 1 month = january year = 1440 }
	style = 1
	action_a ={
		#name = "ACTIONNAME3605A"
		name = "Those infidel curs!"
		command = { type = relation which = RUS value = -50 }
		command = { type = merchants value = -1 }
		command = { type = trade value = -15 }
		command = { type = sleepevent which = 187008 } # Novgorod version thereof
	}
}


# 1425: Jordan Pleskow dies.

# 1426: Danish King Eric of Pomerania institutes Sound Due.  Wendish towns declare war on Denmark and blockade the Sound.  The Zuiderzee, Prussian, and Livonian towns are angered by the blockade and refuse to participate in it.  Wendish, Pomeranian, and Saxon towns conduct the war.  Luebeck profits from closure of Sund.  Dutch run the blockade.

event = { 
	id = 187010
	trigger = {
		exists = HSA
		exists = DAN
		event = 3284
	}
	random = no
	country = HSA
	#name = "EVENTNAME3605"
	name = "Denmark Institutes The Sound Due"
	#desc = "EVENTHIST3704"
	
	desc = "The duchy of Schleswig is nominally held by the Danish crown, but the counts of Holstein have ruled Schleswig for decades.  Recently the Danes have been attempting to reassert their sovereignty over the duchy, and the Hanseatic towns have helped the counts in thwarting the Danish attempts.  King Eric of the Danes has been attempting to retaliate against us for some time by aiding the Poles against the Teutonic Order, promoting the Dutch and English trade, and harassing our merchants.  His latest attack against the Hansa is the institution of a toll on all ships passing through the Sund."
	date = { day = 1 month = january year = 1426 }
	offset = 30
	deathdate = { day = 1 month = january year = 1436 }
	style = 1
	action_a ={
		#name = "ACTIONNAME3605A"
		name = "This is intolerable"
		command = { type = casusbelli which = DAN value = 60}
		command = { type = warships which = 305 value = 1 }
		command = { type = setflag which = vordingborg }
		}
	action_b ={
		name = "Accept the Sound Due"
		command = { type = stability value = -3 } # highly unpopular among the merchants!
		command = { type = relation which = DAN value = 100 }
		command = { type = provincetax which = 305 value = -5 }
		command = { type = revoltrisk which = 60 value = 3 } 
		command = { type = clrflag which = vordingborg }
	}
}

# 1428: English factory in Danzig reopens.

# 1431: English duties on pound and tun cause Germans to flee to Bruges.  English king reconciles owing to Burgundian worries.  Grand Master refuses to accept agreement.

event = { 
	id = 187011 
	trigger = {
		exists = HSA
		exists = ENG
		exists = BUR
		NOT = {relation = { country = ENG value = -50 }} # relations are not abysmal
		# Treaty of Arras event must have occurred
		war = { country = ENG country = BUR } # Burgundy and England are at war
		NOT = { war = { country = ENG country = HSA } } # Hansa and England are not at war
	}
	random = no
	country = HSA
	#name = "EVENTNAME3605"
	name = "England Reconciles With Hansa"
	#desc = "EVENTHIST3704"
	
	desc = "After Parliament levied fresh import duties in 1431, Hansa merchants were convinced that war was about to break out.  Many fled the London Steelyard for Bruges.  It turned out to be a false alarm.  Worried about the Burgundian threat and wishing to mollify potential adversaries, the English confirmed Hanseatic privileges in London and exempted them from additional duties."
	date = { day = 1 month = january year = 1431 }
	offset = 364
	deathdate = { day = 1 month = january year = 1436 }
	style = 1
	action_a ={
		#name = "ACTIONNAME3605A"
		name = "Spiffy!"
		command = { type = relation which = ENG value = 50 }
		command = { type = sleepevent which = 187012 }
	}
}

event = { 
	id = 187012 # ahistorical
	trigger = {
		exists = HSA
		exists = ENG
		exists = BUR
		NOT = {relation = { country = ENG value = -50 }} # relations are bad
		event = 3894
		NOT = {war = { country = ENG country = BUR }}
	}
	random = no
	country = HSA
	#name = "EVENTNAME3605"
	name = "England Levies New Duties"
	#desc = "EVENTHIST3704"
	
	desc = "After Parliament levied fresh import duties in 1431, Hansa merchants were convinced that war was about to break out.  Many fled the London Steelyard for Bruges.
	
	This is an ahistorical event.  Historically, the duties turned out to be a false alarm.  The English were worried about the Burgundian threat after the Treaty of Arras.  They needed to mollify potential adversaries.  The English assuaged the Hansa's fears by confirming the Hanseatic privileges in London and exempting its merchants from additional duties.  You have lost 5 victory points for failing to maintain good trade relations."
	date = { day = 1 month = january year = 1431 }
	offset = 364
	deathdate = { day = 1 month = january year = 1436 }
	style = 1
	action_a ={
		#name = "ACTIONNAME3605A"
		name = "That is the last straw!"
		command = { type = casusbelli which = ENG value = 24 }
		command = { type = trade value = -50 } # closure of Steelyard
		command = { type = provincetax which = 305 value = -5 } # decrease tax value in Meck
		command = { type = provincetax which = 247 value = -5 } # decrease tax value in Anglia
		command = { type = sleepevent which = 187011 }
		command = { type = vp   value = -5 } 
		command = { type = setflag  which = akclosed }
	}
	action_b ={
		#name = "ACTIONNAME3605A"
		name = "Accept the duties"
		command = { type = cash value = -10 } # additional duties
		command = { type = trade value = -20 }
		command = { type = sleepevent which = 187011 }
		command = { type = vp   value = -5 } 
	}
}

event = { 
	id = 187040 # England reopens kontor following closure
	trigger = {
		event = 187012
		exists = HSA
		exists = ENG
		NOT = { war = {country = HSA country = ENG} } # England is not at war with the Hansa
		relation = { country = ENG value = 0 } # relations are okay
		flag = akclosed
		}
	random = no
	country = HSA
	#name = "EVENTNAME3605"
	name = "England Reopens The Steelyard"
	#desc = "EVENTHIST3704"
	
	desc = "Negotiations between England and the Hansa have allowed the reopening of the London Steelyard.
	
	This is an ahistorical event."
	date = { day = 1 month = january year = 1431 }
	offset = 364
	deathdate = { day = 1 month = january year = 1531 }
	style = 1
	action_a ={
		#name = "ACTIONNAME3605A"
		name = "Great!"
		command = { type = provincetax which = 305 value = 5 } # increase tax value in Meck
		command = { type = provincetax which = 247 value = 5 } # increase tax value in Anglia
		command = { type = trade value = 25 }
		command = { type = clrflag which = akclosed }
		}
}

# 1435: Weakened by the defection of the Swedish, Eric signs the Peace of Vordingborg.  Count Adolf maintains Schleswig and is not vassalized by Denmark.  Wends exempted from Sound Due.

event = { 
	id = 187013
	trigger = {
		flag = vordingborg
		event = 187010
		exists = HSA
		exists = DAN
		NOT = { war = {country = HSA country = DAN} } # Denmark is not at war with the Hansa
		}
	random = no
	country = HSA
	#name = "EVENTNAME3605"
	name = "The Peace of Vordingborg"
	#desc = "EVENTHIST3704"
	
	desc = "The war with Denmark has finally ended with the Peace of Vordingborg.  Wendish ships have been exempted from the Sound Due."
	date = { day = 1 month = january year = 1426 }
	offset = 30
	deathdate = { day = 1 month = january year = 1446 }
	style = 1
	action_a ={
		#name = "ACTIONNAME3605A"
		name = "Great!"
		command = { type = trade value = 100 }
		command = { type = clrflag which = vordingborg }
	}
}

# June 1436: 80 Germans massacred in Sluys.  Kontor transferred from Bruges to Antwerp.  Low Countries trade suspended.

event = { 
	id = 187014
	trigger = {
		exists = HSA
		event = 3894
		war = { country = BUR country = ENG }
		NOT = {relation = { country = BUR value = 0 }} # Hansa gets along well with Burgundy
		}
	random = no
	country = HSA
	#name = "EVENTNAME3605"
	name = "The Low Countries Kontor - Part I"
	#desc = "EVENTHIST3704"
	
	desc = "The Flemings suffer greatly from Burgundy's war with England, and suspect us of sympathising with the English and even colluding with them.  Now they have massacred nearly eighty of our merchants at Sluys!"
	date = { day = 1 month = june year = 1436 }
	offset = 30
	deathdate = { day = 1 month = january year = 1438 }
	style = 1
	action_a ={
		#name = "ACTIONNAME3605A"
		name = "Good Lord!  Move the kontor and suspend all trade!"
		command = { type = provincetax which = 380 value = 5 } # decrease tax value in Flandern
		command = { type = provincetax which = 380 value = -5 } # decrease tax value in Flandern
		command = { type = merchants value = -1 }
		command = { type = trade value = -50 }
		# I can't adjust relations or give a CB because there is no independent FLA
	}
}

# 1438: Price of corn quadruples in Flanders thanks to famine.  Trade reopened to profiteer off famine.  Kontor returns to Bruges.

event = { 
	id = 187015
	trigger = {
		exists = HSA
		event = 187014
		}
	random = no
	country = HSA
	#name = "EVENTNAME3605"
	name = "Famine In Flanders"
	#desc = "EVENTHIST3704"
	
	desc = "A terrible famine struck Flanders in 1438 and the price of corn quadrupled.  The Hansa lifted the trade embargo in order to profiteer off grain shipments."
	date = { day = 1 month = january year = 1438 }
	offset = 364
	deathdate = { day = 1 month = january year = 1439 }
	style = 1
	action_a ={
		#name = "ACTIONNAME3605A"
		name = "More money for us."
		command = { type = merchants value = 1 }
		command = { type = trade value = 50 }
		command = { type = cash value = 25 }
		# I can't adjust relations because there is no independent FLA
	}
}

# May 1438: Dutch seize Hansa salt vessels in Brest roads in retaliation for Hansa interference with Livonian trade.  Trade dispute flares.  Sound closed to Dutch.  Christopher of Denmark supports Dutch.

event = { 
	id = 187016
	trigger = {
		exists = HSA
		domestic = { type = mercantilism value = 7 }
		}
	random = no
	country = HSA
	#name = "EVENTNAME3605"
	name = "Trade Dispute With The Dutch"
	#desc = "EVENTHIST3704"
	
	desc = "The Hollanders have seized a dozen Hansa salt vessels in Brest roads in retaliation for Hansa interference with Livonian trade.  In retaliation, the Hansa has closed the Sund to the Hollanders."
	date = { day = 1 month = january year = 1438 }
	offset = 364
	deathdate = { day = 1 month = january year = 1439 }
	style = 1
	action_a ={
		#name = "ACTIONNAME3605A"
		name = "There are two things I hate: intolerance and the Dutch"
		command = { type = provincetax which = 339 value = -3 } # cut tax value in Holland
		command = { type = trade value = -15 }
		# I can't adjust relations because there is no independent FLA
	}
}

# 1438: Discredited Eric deposed by Danish state council.  Hansa chooses Christopher of Bavaria as new king of Denmark in exchange for control of fortress of Haelsingborg.  Luebeck forces all traders to use Luebeck-Hamburg overland route, annoying eastern towns.  Christopher and Christian I attempt to break Hanseatic monopoly with native traders and Dutch merchants.

# DEVEVENT
event = { 
	id = 187017
	trigger = {
		exists = HSA
		exists = DAN
		event = 187013 # The Peace of Vordingborg
		# Danish succession event, Eric -> Christopher of Bavaria
		}
	random = no
	country = HSA
	#name = "EVENTNAME3605"
	name = "The Danish Succession"
	#desc = "EVENTHIST3704"
	
	desc = "The Danish state council has deposed Eric of Pomerania.  We will be able to have a say in the selection of a new king for Denmark.  No matter our choice, we will be able to exact significant concessions from the Danish."
	date = { day = 1 month = january year = 1438 }
	offset = 364
	deathdate = { day = 1 month = january year = 1439 }
	style = 1
	action_a ={
		#name = "ACTIONNAME3605A"
		name = "Great!"
		# one choice should allow Christopher I
		# the other choice should allow whoever
	}
}

# 1440: Prussian noblemen and towns form a league in defense of their rights against the depredations of the Teutonic Order.
# 1441: Hansa signs Treaty of Copenhagen with Dutch.  Treaty results in reopening of Sound to Dutch vessels.

event = { 
	id = 187018
	trigger = {
		exists = HSA
		domestic = { type = mercantilism value = 7 }
		}
	random = no
	country = HSA
	#name = "EVENTNAME3605"
	name = "The Treaty of Copenhagen"
	#desc = "EVENTHIST3704"
	
	desc = "Danish support for the Dutch forced the Hansa to sign the Treaty of Copenhagen in 1441.  It guaranteed the right of the Hansa and the Dutch to trade freely  and suspended all obstacles to navigation.  The kontor has returned to Bruges."
	date = { day = 1 month = january year = 1438 }
	offset = 364
	deathdate = { day = 1 month = january year = 1439 }
	style = 1
	action_a ={
		#name = "ACTIONNAME3605A"
		name = "Okay."
		command = { type = provincetax which = 339 value = 3 } # raise tax value in Holland
		command = { type = domestic which = mercantilism value = -1 }
	}
}

# 1447: Bruges kontor strengthened and consolidated on Hansa advice.  More trade complaints.  Bruges kontor import/export tariff extended to Brabant and the northern Low Countries.  Cologne refuses to pay it because of her trade interests in the Low Countries and her lack of prominence in the Bruges kontor.  Hansa lets matter drop for time being.

event = { 
	id = 187019
	trigger = {
		exists = HSA
		cot = 380 # COT in Flanders
		domestic = { type = mercantilism value = 5 }
		}
	random = no
	country = HSA
	#name = "EVENTNAME3605"
	name = "Tariffs In The Low Countries - Part I"
	#desc = "EVENTHIST3704"
	
	desc = "In 1447 Luebeck called a general meeting of the Hansa diet to discuss Hanseatic trade policy in Flanders.  Thirty-nine towns sent delegations, a record figure.  Harassment of the Bruges kontor and monopolistic trade practices on the part of the Flemish were the issues immediately at hand.  The diet deliberated on several courses of action.  Thanks to her lucrative trading interests in the Low Countries, Cologne was strongly opposed to a proposed strengthening of the kontor regulations.  The strengthening, which involved levying additional taxes on certain goods and new duties on others, was passed regardless."
	date = { day = 1 month = january year = 1447 }
	offset = 364
	deathdate = { day = 1 month = january year = 1448 }
	style = 1
	action_a ={
		#name = "ACTIONNAME3605A"
		name = "Strengthen the Bruges kontor over Cologne's objections"
		command = { type = provincetax which = 305 value = 1 } # raise tax value in Meck
		command = { type = provincetax which = 344 value = -1 } # drop tax value in Koeln
		command = { type = domestic which = mercantilism value = 1 }
		command = { type = relation which = KOL value = -50 }
	}
	action_b ={
		name = "Do nothing"
		command = { type = sleepevent which = 187021 }
	}
	action_c ={
		name = "Relax kontor regulations"
		command = { type = provincetax which = 305 value = -1 } # lower tax value in Meck
		command = { type = domestic which = mercantilism value = -1 }
		command = { type = relation which = KOL value = 50 }
		command = { type = relation which = BUR value = 50 } # Burgundy is happy too
		command = { type = sleepevent which = 187021 }
	}
}

# 1449: England seizes 100 vessels in the Channel, half of them Hanseatic.  Hansa towns seize all English property in reprisal.  War averted by intercession of English nobles, Bremen, and Cologne.  Luebeck continues war against England alone.

event = { 
	id = 187020
	trigger = {
		exists = HSA
		exists = ENG
		NOT = {relation = { country = ENG value = 0 }} # Hansa does not get along well with England
		}
	random = no
	country = HSA
	#name = "EVENTNAME3605"
	name = "England Seizes Hanseatic Vessels"
	#desc = "EVENTHIST3704"
	
	desc = "England has just seized fifty Hanseatic merchant vessels in the Channel.  The Hansa towns have seized the property of all English merchants in retaliation, and relations with England have reached a new low.  Many of the Wendish town councils demand war."
	date = { day = 1 month = january year = 1449 }
	offset = 364
	deathdate = { day = 1 month = january year = 1450 }
	style = 1
	action_a ={
		#name = "ACTIONNAME3605A"
		name = "The English dogs will pay!"
		command = { type = trade value = -50 }
		command = { type = relation which = ENG value = -50 }
		command = { type = casusbelli which = ENG value = 24 }
		command = { type = cash value = 50 }
	}
	action_b ={
		name = "Sod the councils - hostilities are too dangerous"
		command = { type = trade value = -50 }
		command = { type = relation which = ENG value = -30 }
		command = { type = stability value = -2}
		}
}


# 1451: German merchants in Flanders instructed to move to Deventer by Luebeck out of bitterness over trade disputes.  Teutonic Order and Cologne raise issues with move.  Luebeck conciliates by ordering a blockade and embargo against Flanders and Flemish cloth only.  Kontor moved to Utrecht.  Philip the Good occupies Utrecht to stop Hansa from defying his authority.  Hansa resorts to negotiation.  Duke gets Bruges to pay indemnities from trade disputes.

event = { 
	id = 187021
	trigger = {
		exists = HSA
		cot = 380 # COT in Flanders
		NOT = {relation = { country = BUR value = 50 }} # Hansa does not get along well with Burgundy
		domestic = { type = mercantilism value = 5 }
		}
	random = no
	country = HSA
	#name = "EVENTNAME3605"
	name = "The Low Countries Kontor - Part II"
	#desc = "EVENTHIST3704"
	
	desc = "The Flemish have not reconciled themselves to Hanseatic domination of trade in Flanders.  Trade disputes have continued, with each side accusing the other of monopolist practices and unfair competition.  The German merchants have been instructed to move from Bruges to Deventer in Holland, but Cologne and the Teutonic Order have raised issues with the move.  Deventer is too far off the trade routes for the Teutons and Cologne is as usual interested in maintaining trade links with Flanders."
	date = { day = 1 month = january year = 1451 }
	offset = 364
	deathdate = { day = 1 month = january year = 1452 }
	style = 1
	action_a ={
		#name = "ACTIONNAME3605A"
		name = "Move the kontor to Utrecht instead"
		command = { type = relation which = BUR value = -50 }
		command = { type = provincetax which = 380 value = -5 } # decrease tax value in Flanders
		command = { type = provincetax which = 340 value = 5 } # increase tax value in Zeeland
		command = { type = setflag which = utrecht_kontor }
	}
	action_b ={
		name = "Insist on moving to Deventer"
		command = { type = relation which = BUR value = -50 }
		command = { type = relation which = LAT value = -25 }
		command = { type = relation which = KOL value = -25 }
		command = { type = domestic which = centralization value = 1 }
		command = { type = provincetax which = 380 value = -5 } # decrease tax value in Flanders
		command = { type = provincetax which = 338 value = 5 } # increase tax value in Geldre
		command = { type = clrflag which = utrecht_kontor }
	}
	action_c ={
		name = "Negotiate a settlement with the Flemish"
		command = { type = relation which = BUR value = 25 }
		command = { type = domestic which = mercantilism value = -1 }
		command = { type = stability value = -2 }
		command = { type = provincetax which = 305 value = -2 } # decrease tax value in Meck
		command = { type = sleepevent which = 187024 } # Bruges kontor return event
	}
}


# 1452: French king (Charles VII) offers Hansa protection on condition that they break all ties with England.  Hansa rejects.  Emperor Frederick III attempts unsuccessfully to intervene on Hansa's behalf.

event = { 
	id = 187022
	trigger = {
		exists = HSA
		exists = FRA
		exists = ENG
		NOT = {war = { country = FRA country = HSA}} # Hansa is not at war with France
		relation = { country = FRA value = -50} # Hansa is not really angry with France
		# Charles VII is monarch of France
		}
	random = no
	country = HSA
	#name = "EVENTNAME3605"
	name = "France Offers Protection To The Hansa"
	#desc = "EVENTHIST3704"
	
	desc = "Charles VII, the King of France, has offered us protection from privateering attacks in the Channel on the condition that we break all trade ties with England."
	date = { day = 1 month = january year = 1452 }
	offset = 364
	deathdate = { day = 1 month = january year = 1453 }
	style = 1
	action_a ={
		#name = "ACTIONNAME3605A"
		name = "Reject the French offer"
		command = { type = relation which = FRA value = -25 }
		command = { type = relation which = ENG value = 25 }
	}
	action_b ={
		name = "Accept the French offer"
		command = { type = relation which = FRA value = 100 }
		command = { type = relation which = ENG value = -150 }
		command = { type = breakdynastic which = ENG }
		command = { type = dynastic which = FRA }
		command = { type = stability value = -2 }
		command = { type = trade value = 25 }
	}
}

# 1455: Bergen royal bailiff Olaf Nielsson and bishop of Bergen murdered by Hansa merchants angered by Nielsson's anti-Hansa program.

event = { 
	id = 187023
	trigger = {
		exists = HSA
		exists = NOR
		exists = PAP
		NOT = {relation = { country = NOR value = 25}} # Hansa is not getting along with Norway
		}
	random = no
	country = HSA
	#name = "EVENTNAME3605"
	name = "The Murder of Olaf Nielsson"
	#desc = "EVENTHIST3704"
	
	desc = "Olaf Nielsson, the Norwegian royal bailiff of Bergen, has worked against the Hansa for years.  Tensions have finally hit a breaking point.  A mob of angry German merchants has broken into a monastery in which Nielsson had been hiding.  They have murdered both Nielsson and the bishop of Bergen in their rage!"
	date = { day = 1 month = january year = 1455 }
	offset = 364
	deathdate = { day = 1 month = january year = 1456 }
	style = 1
	action_a ={
		#name = "ACTIONNAME3605A"
		name = "Zounds!"
		command = { type = losebuilding which = 256 value = bailiff }  # lose bailiff in Bergenshus
		command = { type = relation which = NOR value = -100 }
		command = { type = relation which = PAP value = -50 }
	}
}

# August 1457: Kontor returns to Bruges.

event = { 
	id = 187024 # Bruges kontor returns from Utrecht
	trigger = {
		exists = HSA
		cot = 380
		flag = utrecht_kontor
		}
	random = no
	country = HSA
	#name = "EVENTNAME3605"
	name = "Kontor Returns To Bruges"
	#desc = "EVENTHIST3704"
	
	desc = "Following negotiations with the Duke of Burgundy, we are considering the return of the Hansa's merchants to Bruges."
	date = { day = 11 month = august year = 1457 }
	offset = 0
	style = 1
	action_a ={
		#name = "ACTIONNAME3605A"
		name = "Let them return."
		command = { type = provincetax which = 380 value = 5 } # increase tax value in Flanders
		command = { type = provincetax which = 340 value = -5 } # decrease tax value in Zeeland
		command = { type = cash value = 25 } # indemnities
	}
	action_b ={
		name = "The kontor is fine in Utrecht."
		command = {}
	}

}

event = { 
	id = 187025 # Bruges kontor returns from Deventer
	trigger = {
		exists = HSA
		cot = 380
		NOT = {flag = utrecht_kontor}
		}
	random = no
	country = HSA
	#name = "EVENTNAME3605"
	name = "Kontor Returns To Bruges"
	#desc = "EVENTHIST3704"
	
	desc = "Following negotiations with the Duke of Burgundy, we are considering the return of the Hansa's merchants to Bruges."
	date = { day = 11 month = august year = 1457 }
	offset = 0
	style = 1
	action_a ={
		#name = "ACTIONNAME3605A"
		name = "Let them return"
		command = { type = provincetax which = 380 value = 5 } # increase tax value in Flanders
		command = { type = provincetax which = 338 value = -5 } # decrease tax value in Geldre
		command = { type = cash value = 25 } # indemnities
	}
	action_b ={
		name = "The kontor is fine in Deventer"
		command = {}
	}
}

# 1459: Riga blocks all foreigners (inc. other Hansa) from trading directly with other foreigners on her territory.  Luebeck appeals to Land Master of Teutonic Order for support.  Riga closes down Luebeck depots in retaliation.  Ban maintained.

# DEVEVENT
# event = { id = 187036

# 1459: Count Adolf of Holstein dies in 1459 without an heir.  King Christian of Denmark inherits Schleswig and Holstein.  Luebeck remains independent but is surrounded by Denmark.

event = { 
	id = 187026
	trigger = {
		exists = HSA
		exists = DAN
		owned = { province = 306 data = DAN }
		OR = {	relation = {country = DAN value = -100 }
			war = {country = DAN country = HSA } } # we are in danger from Denmark
		}
	random = no
	country = HSA
	#name = "EVENTNAME3605"
	name = "The Danish Threat"
	#desc = "EVENTHIST3704"
	
	desc = "The inheritance of Holstein by the Danish crown means that the gates of Luebeck and Hamburg now open onto Danish land.  The Hansa is now gravely threatened by the Danish and we cannot help but sympathize with the good peasantry of Holstein who are terribly oppressed under the savage rule of these latter-day Vikings."
	date = { day = 1 month = january year = 1459 }
	offset = 364
	date = { day = 1 month = august year = 1600 } # until Holstein regains independence
	style = 1
	action_a ={
		#name = "ACTIONNAME3605A"
		name = "Luebeck and Hamburg must remain safe!"
		command = { type = addcore which = 306 }
	}
}

# 1464: Hansa granted comprehensive charter in France as long as they do not trade with English or charter English ships.
# 1465: Hansa diet at Hamburg renews the obligation to pay the Low Countries tariffs throughout the Low Countries and reaffirms the necessity to respect the Bruges kontor.  Cologne merchants refuse to pay the tariff at the fairs of Bergen-op-Zoom and Antwerp and are arrested at the request of the Hansa but soon released.  The Hansa appeals to the Duke of Burgundy, who supports Cologne.

event = { 
	id = 187027
	trigger = {
		exists = HSA
		exists = KOL
		cot = 380 # COT in Flanders
		NOT = {relation = { country = KOL value = 100 }} # Hansa does not get along great with Cologne
		domestic = { type = mercantilism value = 5 }
		}
	random = no
	country = HSA
	#name = "EVENTNAME3605"
	name = "Tariffs In The Low Countries - Part II"
	#desc = "EVENTHIST3704"
	
	desc = "The Hansa diet is meeting at Hamburg, and the main subjects of discussion are once again the Bruges kontor and the tariff on goods in the Low Countries.  Currently, import and export tariffs are only levied in Flanders.  The Wendish towns wish to expand the tariff throughout the Low Countries.  Cologne has little influence in the Bruges kontor but extensive trade links with Brabant and Holland.  They stand to lose a great deal of revenue and have refused to pay the tariff for some time."
	date = { day = 1 month = january year = 1465 }
	offset = 364
	deathdate = { day = 1 month = january year = 1466 }
	style = 1
	action_a ={
		#name = "ACTIONNAME3605A"
		name = "Support the Wendish towns"
		command = { type = relation which = KOL value = -50 }
		command = { type = provincetax which = 305 value = 1 } # increase tax value in Meck
		command = { type = provincetax which = 344 value = -1 } # decrease tax value in Koeln
		command = { type = domestic which = mercantilism value = 1 }
	}
	action_b ={
		name = "Support Cologne"
		command = { type = relation which = KOL value = 50 }
		command = { type = stability value = -2 }
	}
}


# 1466: Second Treaty of Thorn provides Danzig with greater autonomy.
# 1467: Hansa asks for new charter from Antwerp.

event = { 
	id = 187028
	trigger = {
		exists = HSA
		}
	random = no
	country = HSA
	#name = "EVENTNAME3605"
	name = "A Charter In Antwerp"
	#desc = "EVENTHIST3704"
	
	desc = "During the 1460s Antwerp began to replace Bruges as the center of Hanseatic power in the Low Countries.  In 1467 Hanseatic merchants were granted a new business charter from Antwerp."
	date = { day = 1 month = january year = 1467 }
	offset = 364
	deathdate = { day = 1 month = january year = 1468 }
	style = 1
	action_a ={
		#name = "ACTIONNAME3605A"
		name = "Okay"
		command = { type = merchants value = 1 }
		}
}

# 1467: Cologne refuses to submit to Low Countries tariff.
# 1468: German merchants again arrested.  Novgorod kontor transferred to Narva; does not return to Novgorod for four years.

event = { 
	id = 187029
	trigger = {
		exists = HSA
		exists = RUS
		cot = 274 # COT in Novgorod
		owned = { province = 274 data = RUS }
		NOT = {relation = { country = RUS value = 25 }} # Hansa does not get along well with Russia
		}
	random = no
	country = HSA
	#name = "EVENTNAME3605"
	name = "German Merchants Arrested In Novgorod - Part II"
	#desc = "EVENTHIST3704"
	
	desc = "In 1468 German merchants were again arrested in Novgorod.  The Novgorod kontor was transferred to Narva."
	date = { day = 1 month = january year = 1451 }
	offset = 364
	deathdate = { day = 1 month = january year = 1452 }
	style = 1
	action_a ={
		#name = "ACTIONNAME3605A"
		name = "Move the kontor to Narva"
		command = { type = relation which = RUS value = -50 }
		command = { type = provincetax which = 274 value = -5 } # decrease tax value in Novgorod
		command = { type = provincetax which = 340 value = 5 } # increase tax value wherever
	}
}

# 28 July 1468: English Privy Council orders arrest of all Hanseatic merchants and the seizure of their goods in retaliation for supposed Hanseatic encouragement of Danish seizure of English ships in the Sound in retaliation for increasing English trade with Iceland.  (Phew!)  Mob attacks Steelyard in London, partially damaging it.  Cologne dissociates self from Hansa cause and gains special privileges from Edward IV.  De facto state of war with England.

event = { 
	id = 187030 # historical
	trigger = {
		exists = HSA
		exists = ENG
		exists = KOL
		NOT = {relation = { country = ENG value = 0 }} # Hansa does not get along well with England
		NOT = {relation = { country = KOL value = 50 }} # Hansa does not get along well with Koeln
		NOT = {war = {country = KOL country = ENG}} # Koeln and England are not at war
		}
	random = no
	country = HSA
	#name = "EVENTNAME3605"
	name = "The Anglo-Hanseatic War - Part I"
	#desc = "EVENTHIST3704"
	
	desc = "The English and Danish had been contesting trade with Iceland for some time.  In retaliation for an expansion of English trade with the Icelanders, the Danish seized seven English ships in the Sund.  The English encouraged the Hanseatics of having encouraged the Danish.  On 28 July 1468 the English Privy Council ordered the arrest of all Hanseatic merchants in England and the seizure of their goods.  A mob has attacked and damaged the London Steelyard.  Worse still, Cologne has dissociated herself from our cause out of bitterness over the tariff disputes."
	date = { day = 28 month = july year = 1468 }
	offset = 0
	style = 1
	action_a ={
		#name = "ACTIONNAME3605A"
		name = "The curs!"
		command = { type = relation which = ENG value = -50 }
		command = { type = relation which = KOL value = -50 }
		command = { type = casusbelli which = ENG value = 48 }
		command = { type = casusbelli which = KOL value = 48 }
		command = { type = breakdynastic which = KOL }
		command = { type = provincetax which = 305 value = -10 } # decrease tax value in Meck
		command = { type = provincetax which = 247 value = -5 } # decrease tax value in Anglia
		command = { type = provincetax which = 344 value = -5 } # decrease tax value in Koeln
		command = { type = trade value = -150 }
		command = { type = sleepevent which = 187031 }
		}
}

event = { 
	id = 187031 # ahistorical
	trigger = {
		exists = HSA
		exists = ENG
		NOT = {relation = { country = ENG value = 0 }} # Hansa does not get along well with England
		}
	random = no
	country = HSA
	#name = "EVENTNAME3605"
	name = "The Anglo-Hanseatic War - Part I"
	#desc = "EVENTHIST3704"
	
	desc = "The English and Danish had been contesting trade with Iceland for some time.  In retaliation for an expansion of English trade with the Icelanders, the Danish seized seven English ships in the Sund.  The English encouraged the Hanseatics of having encouraged the Danish.  On 28 July 1468 the English Privy Council ordered the arrest of all Hanseatic merchants in England and the seizure of their goods.  A mob has attacked and damaged the London Steelyard.
	
	This is an ahistorical event.  Historically, Cologne seceded from the Hansa and joined the English cause thanks to its unhappiness over the Wendish towns' high-handed treatment of its trade interests in the Low Countries.  You have been awarded 10 victory points for maintaining Cologne's friendship."
	date = { day = 28 month = july year = 1468 }
	offset = 0
	style = 1
	action_a ={
		#name = "ACTIONNAME3605A"
		name = "The curs!"
		command = { type = relation which = ENG value = -50 }
		command = { type = casusbelli which = ENG value = 48 }
		command = { type = provincetax which = 305 value = -5 } # decrease tax value in Meck
		command = { type = provincetax which = 247 value = -5 } # decrease tax value in Anglia
		command = { type = trade value = -50 }
		command = { type = sleepevent which = 187030 }
		}
}

# 1469: Court of Duke of Burgundy declares against Bruges kontor in case between Bruges kontor and Cologne and orders payment of court fees.  Ideally this should be triggered by a Burgundian event

# DEVEVENT
# event = { id = 187032 # historical decision in favor of Cologne

# DEVEVENT
# event = { id = 187033 # ahistorical decision in favor of the Hansa

# April 1469: Duke of Burgundy and English trade groups affected negatively by sanctions intercede on Hansa's behalf; arrested Hanseatic merchants released.

event = { 
	id = 187034
	trigger = {
		exists = HSA
		exists = ENG
		OR = {	event = 187030
			event = 187031 }
		}
	random = no
	country = HSA
	#name = "EVENTNAME3605"
	name = "The Anglo-Hanseatic War - Part II"
	#desc = "EVENTHIST3704"
	
	desc = "The Duke of Burgundy joined English business groups in petitioning for the release of Hanseatic merchants imprisoned by the English Privy Council.  The merchants were finally released in April 1469."
	date = { day = 1 month = april year = 1469 }
	offset = 30
	deathdate = { day = 1 month = may year = 1469 }
	style = 1
	action_a ={
		#name = "ACTIONNAME3605A"
		name = "Very well"
		command = { type = merchants  value = 2 }
		command = { type = trade value = 25 }
		}
}

# 1470: Cool reception given by Hansa to French overtures leads to France declaring war on Hansa.



# September 1470: Hansetag acknowledges state of war with England.  Hansa has support of Denmark and Poland, military access into the Low Countries, support from English Lancastrians, friendly overtures from Louis XI.  French negotiations abortive.  Cologne ordered to submit to Low Countries tariff under penalty of expulsion.  Tariff upheld and Bruges kontor strengthened.  War lasts four years.  Hansa attempts to blockade shipments of English cloth into Hansa towns, but cannot stop imports into the Low Countries and double-dealing by Cologne.

# DEVEVENT let the war take its course.

# 1 April 1471: Cologne formally excluded from Hansa.
# During war: When Edward IV is driven out of England by Warwick and takes refuge in the Low Countries, Hansa switches sides to support the Yorkists out of regard for Charles the Bold.  As soon as Edward IV regains his throne he forgets his promises to support the Hansa and favors Cologne.  Damaged French caravel armed at Danzig and sets out as pirate vessel.  Does little damage.  Privateer Paul Beneke gains more success, capturing the lord mayor of London and a rich Florentine galley.



event = { 
	id = 187035
	trigger = {
		exists = HSA
		exists = ENG
		exists = LAT
		relation = { country = LAT value = 50 } # relations with the Teutonic Order are good
		OR = {	event = 187030
			event = 187031 }
		}
	random = no
	country = HSA
	#name = "EVENTNAME3605"
	name = "The Anglo-Hanseatic War - Part III"
	#desc = "EVENTHIST3704"
	
	desc = "The French caravel Saint-Pierre de La Rochelle had been lying damaged and unclaimed in Danzig harbor for some time.  Hostilities with England spurred the town to repair her and launch her and another vessel into action against the English.  The privateer Paul Beneke used the caravel, now renamed Der Grote Kraweel, to rack up an impressive record of captured English riches and noblemen."
	date = { day = 28 month = july year = 1468 }
	offset = 364
	deathdate = { day = 29 month = july year = 1469 }
	style = 1
	action_a ={
		#name = "ACTIONNAME3605A"
		name = "Excellent!"
		command = { type = warships which = 305 value = 1 } # add a warships in Danzig harbor
		command = { type = wakeleader which = 18701 } # Paul Beneke 3/3/2
		command = { type = relation which = LAT value = 100 }
		}
}

# 187036 is up above

# DEVEVENT
# event = { id = 187037 # response to an English event (?)

# Summer 1472: French ships inflict losses on Hanseatic Channel fleet and drive it back into the Flemish ports.  English destroy the greater part of a Luebeck fleet off Flushing.  Hansa manages to protect trade.  Peace talks begin at instigation of Duke of Burgundy.  These make rapid progress.
# 1473: Hansa makes peace with France.
# February 1474: Peace of Utrecht.   London kontor restored.  Indemnities paid to Hansa.  England pledges to deal legitimately with Hansa claims.  England demands resumption of privileges in Baltic.  Danzig almost chokes on this last clause but at last signs off.  Agreement between Duke of Burgundy, Hollanders and Hansa wherein Hollanders are released from Bruges kontor and are once more allowed access to the Baltic.  Cologne isolated.  Considerable victory for Hansa.

event = { 
	id = 187038 # Peace of Utrecht
	trigger = {
		OR = {	event = 187030
			event = 187031 }
		exists = HSA
		exists = ENG
		NOT = { war = {country = HSA country = ENG} } # England is not at war with the Hansa
		}
	random = no
	country = HSA
	#name = "EVENTNAME3605"
	name = "The Peace of Utrecht"
	#desc = "EVENTHIST3704"
	
	desc = "The Peace of Utrecht has ended the Anglo-Hanseatic War.  The London kontor has reopened."
	date = { day = 28 month = july year = 1468 }
	offset = 30
	deathdate = { day = 1 month = january year = 1488 }

	style = 1
	action_a ={
		#name = "ACTIONNAME3605A"
		name = "Great!"
		command = { type = provincetax which = 305 value = 5 } # increase tax value in Meck
		command = { type = provincetax which = 247 value = 5 } # increase tax value in Anglia
		command = { type = trade value = 25 }
		}
}

# 1476: Cologne accepts all penalties laid by Hansa diet at Bremen and pays for six years a sum of 100 guilders.  Cologne accepts Hansa's right to levy taxes to support the Bruges kontor.  Cologne merchants forced to pay indemnities at London kontor and given a cold shoulder for two years.

event = { 
	id = 187039 # Cologne accepted again
	trigger = {
		event = 187030
		dynastic = { country = KOL country = HSA }
		exists = HSA
		exists = KOL
		NOT = { war = {country = HSA country = KOL} } # Cologne is not at war with the Hansa
		}
	random = no
	country = HSA
	#name = "EVENTNAME3605"
	name = "Cologne Rejoins The Hansa"
	#desc = "EVENTHIST3704"
	
	desc = "Following the conclusion of mutual hostilities and rapprochement from both sides, Cologne has rejoined the Hansa."
	date = { day = 28 month = july year = 1468 }
	offset = 30
	deathdate = { day = 1 month = january year = 1488 }
	style = 1
	action_a ={
		#name = "ACTIONNAME3605A"
		name = "Great!"
		command = { type = provincetax which = 305 value = 5 } # increase tax value in Meck
		command = { type = provincetax which = 344 value = 5 } # decrease tax value in Koeln
		command = { type = trade value = 50 }
	}
}

# 1478: Ivan III seizes Novgorod and shows great animosity towards foreign merchants.
# 1478: Hansa warehouse opens in Antwerp.
# 1483: Hansa concludes perpetual peace with France, all Hanseatic privileges extended.  The collapse of Burgundy and the reconciliation of Louis XI and Edward IV have removed all cause for conflict.
