#
# EUE2 - Random Events
#
#		written by Johan Andersson
#


#########################################################################
#  Pirate offers his services to the english monarch.
#########################################################################
event = { 

	id = 1000
	random = yes
	country = ENG
	trigger = { year = 1550 exists = SPA }
	name = "EVENT_PIRATE_TITLE"
	desc = "EVENT_PIRATE_DESC"
	style = 1
	action_a = {
			name = "EVENT_PIRATE_A"
			command = { type = warships which = 1389 value = 2 }
			command = { type = relation which = SPA value = -25 }
			command = { type = cash value = -10 }
		}

	action_b = {
			name = "EVENT_PIRATE_B"
			command = { type = relation which = SPA value = 25 }
			command = { type = vp value = 5 }
			command = { type = cash value = -5 }
		}

	action_c = {
			name = "EVENT_PIRATE_C"
			command = { type = relation which = SPA value = -5 }
		}
	}


#########################################################################
#  Random Revolt
#########################################################################
event = { 

	id = 1001
	random = yes
	name = "EVENTNAME1"
	desc = "EVENTHIST1"
	style = 0

	action_a = {
			name = "OK"
			command = { type = revolt which = -1 }
		}

	}

#########################################################################
# Religious Turmoil (Europe)
#########################################################################
event = { 

	id = 1002
	trigger = {
		year = 1530
		continent = europe
	           }
	random = yes
	name = "EVENTNAME3"
	desc = "EVENTHIST3"
	style = 0

	action_a = {
			name = "OK"
			command = { type = religiousrevolt which = -1 }
		}

	}


#########################################################################
# Conversion of Heretics
#########################################################################
event = { 
	id = 1003
	random = yes
	name = "EVENTNAME7"
	desc = "EVENTHIST7"
	style = 0

	action_a = {
		name = "OK"
		command = { type = conversion which = -1 }
	}
}

#########################################################################
# More Conversion of Heretics (a bonus for the Narrowminded)
#########################################################################
event = { 
	id = 6501
	trigger = {
		NOT = {
			domestic = { type = INNOVATIVE value = 3 }
		}
	}
	random = yes
	name = "EVENTNAME7"
	desc = "EVENTHIST7"
	style = 0

	action_a = {
		name = "OK"
		command = { type = conversion which = -1 }
	}
}


#########################################################################
# Gift To the State
#########################################################################
# Note: More added 1077-80 - use same text.
event = { 

	id = 1004
	random = yes
	name = "EVENTNAME13"
	desc = "EVENTHIST13"
	style = 0

	action_a = {
			name = "OK"
			command = { type = cash value = 200 }
		}
	}


#########################################################################
# Temporal Insanity
#########################################################################
event = { 

	id = 1005
	random = yes
	name = "EVENTNAME11"
	desc = "EVENTHIST11"
	style = 0

	action_a = {
			name = "OK"
			command = { type = ADM which = -3 value = 12 }
			command = { type = DIP which = -3 value = 12 }
			command = { type = MIL which = -3 value = 12 }
		}

	}

#########################################################################
# Excellent Minister
#########################################################################
event = { 

	id = 1006
	random = yes
	name = "EVENTNAME10"
	desc = "EVENTHIST10"
	style = 0

	action_a = {
			name = "OK"
			command = { type = ADM which = 3 value = 12 }
			command = { type = DIP which = 3 value = 12 }
			command = { type = MIL which = 3 value = 12 }
		}

	}

#########################################################################
# Scandal at the Court
#########################################################################
# Note: More added 1081-82 - use same text.
event = { 

	id = 1007
	random = yes
	name = "EVENTNAME12"
	desc = "EVENTHIST12"
	style = 0

	action_a = {
			name = "OK"
			command = { type = DIP which = -3 value = 4 }
			command = { type = relation which = -1 value = -50 }
		}
	}





#########################################################################
# Wave of Obscurantism
#########################################################################
event = { 

	id = 1008
	random = yes
	name = "EVENTNAME15"
	desc = "EVENTHIST15"
	style = 0

	action_a = {
			name = "OK"
			command = { type = revoltrisk value = 3 }
		}

	}




#########################################################################
# Exceptional Year
#########################################################################
event = { 

	id = 1009
	random = yes
	name = "EVENTNAME16"
	desc = "EVENTHIST16"
	style = 0

	action_a = {
			name = "OK"
			command = { type = cash value = 100 }
			command = { type = inflation value = -5 }
		}

	}





#########################################################################
# Rush of Colonists
#########################################################################
event = { 

	id = 1010
	trigger = { year = 1550 }
	random = yes
	name = "EVENTNAME17"
	desc = "EVENTHIST17"
	style = 0

	action_a = {
			name = "OK"
			command = { type = colonists value = 3 }
		}

	}



#########################################################################
# Diplomatic Move
#########################################################################
event = { 

	id = 1011
	random = yes
	name = "EVENTNAME24"
	desc = "EVENTHIST24"
	style = 0

	action_a = {
			name = "OK"
			command = { type = relation which = -1 value = 50 }
			command = { type = diplomats value = 1 }
		}

	}






#########################################################################
# Diplomatic Fame
#########################################################################
event = { 

	id = 1012
	random = yes
	name = "EVENTNAME25"
	desc = "EVENTHIST25"
	style = 0

	action_a = {
			name = "OK"
			command = { type = relation which = -1 value = 10 }
			command = { type = relation which = -1 value = 10 }
			command = { type = relation which = -1 value = 10 }
			command = { type = relation which = -1 value = 10 }
			command = { type = relation which = -1 value = 10 }
			command = { type = relation which = -1 value = 10 }
			command = { type = relation which = -1 value = 10 }
		}

	}




#########################################################################
# Colonial Dynamism
#########################################################################
event = { 

	id = 1013
	random = yes
	name = "EVENTNAME26"
	desc = "EVENTHIST26"
	style = 0
	trigger = { year = 1550 }

	action_a = {
			name = "OK"
			command = { type = conquistador which = -1  }
			command = { type = colonists value = 3  }
		}

	}




#########################################################################
# Unexpected Invention
#########################################################################
event = { 

	id = 1014
	random = yes
	name = "EVENTNAME27"
	desc = "EVENTHIST27"
	style = 0

	action_a = {
			name = "OK"
			command = { type = gainmanufactory which = -1 value = -1 }
		}

	}


#########################################################################
# Rush of Merchants
#########################################################################
event = { 

	id = 1015
	random = yes
	name = "EVENTNAME28"
	desc = "EVENTHIST28"
	style = 0

	action_a = {
			name = "OK"
			command = { type = merchants value = 5 }
		}

	}



#########################################################################
# Plague
#########################################################################
event = { 

	id = 1016
	random = yes
	name = "EVENTNAME30"
	desc = "EVENTHIST30"
	style = 0

	action_a = {
			name = "OK"
			command = { type = population which = -1 value = -2000 }
		}

	}



#########################################################################
# Reformation of the army
#########################################################################
event = { 

	id = 1017
	random = yes
	name = "EVENTNAME33"
	desc = "EVENTHIST33"
	style = 0

	action_a = {
			name = "OK"
			command = { type = land value = 250 }
		}

	}



#########################################################################
# Reformation of the navy
#########################################################################
event = { 

	id = 1018
	random = yes
	name = "EVENTNAME34"
	desc = "EVENTHIST34"
	style = 0

	action_a = {
			name = "OK"
			command = { type = naval value = 250 }
		}

	}



#########################################################################
# Enthusiasm for the army
#########################################################################
event = { 

	id = 1019
	random = yes
	name = "EVENTNAME35"
	desc = "EVENTHIST35"
	style = 0

	action_a = {
		name = "OK"
		command = { type = ART which = -1 value = 20 }
		command = { type = infantry which = -1 value = 5000 }
	}
}

#########################################################################
# More Enthusiasm for the army (Defensive)
#########################################################################
event = { 

	id = 6502
	trigger = {	
		NOT = { domestic = { type = offensive value = 4 } }
		domestic = { type = land value = 3 }
		continent = europe
		year = 1500
	}
	random = yes
	name = "EVENTNAME35"
	desc = "EVENTHIST35"
	style = 0

	action_a = {
		name = "OK"
		command = { type = ART which = -1 value = 20 }
		command = { type = infantry which = -1 value = 5000 }
	}
}

#########################################################################
# More Enthusiasm for the army (Aristocratic)
#########################################################################
event = { 

	id = 1110
	trigger = { 
		domestic = { type = aristocracy value = 7 } 
		OR = {
			continent = europe
			continent = Asia
		}
	}
	random = yes
	name = "EVENTNAME35"
	desc = "EVENTHIST35"
	style = 0

	action_a = {
		name = "OK"
		command = { type = CAV which = -1 value = 5000 }
	}
}

#########################################################################
# Enthusiasm for the Navy (warships)
#########################################################################
event = { 

	id = 1020
	trigger = {
		OR = { 
			continent = europe
			continent = america
			year = 1750
		}
		NOT = {
			religion = pagan
		}
	}
	
	random = yes
	name = "EVENTNAME36"
	desc = "EVENTHIST36"
	style = 0

	action_a = {
		name = "OK"
		command = { type = warships which = -1 value = 5 }
	}
}
#########################################################################
# More Enthusiasm for the Navy (transports)
#########################################################################
event = { 

	id = 1111
	random = yes
	name = "EVENTNAME36"
	desc = "EVENTHIST36"
	style = 0
	trigger = { 
		NOT = { domestic = { type = aristocracy value = 5 } } 
		OR =  {
			continent = europe
			continent = america
			continent = asia
			year = 1750
		}
	}

	action_a = {
		name = "OK"
		command = { type = transports which = -1 value = 5 }
	}
}
#########################################################################
# More Enthusiasm for the Navy (galleys)
#########################################################################
event = { 
	id = 6503
	random = yes
	name = "EVENTNAME36"
	desc = "EVENTHIST36"
	style = 0
	trigger = { 
		NOT = { 
			domestic = { type = land value = 4 }
			religion = pagan
		}
		OR =  {
			continent = europe
			continent = america
			continent = asia
		}
	}

	action_a = {
		name = "OK"
		command = { type = galleys which = -1 value = 5 }
	}
}
#########################################################################
# More Enthusiasm for the Navy (Naval policy)
#########################################################################
event = { 
	id = 6504
	random = yes
	name = "EVENTNAME36"
	desc = "EVENTHIST36"
	style = 0
	trigger = { 
		NOT = { 
			domestic = { type = land value = 2 }
		}
		continent = europe
	}

	action_a = {
		name = "OK"
		command = { type = warships which = -1 value = 5 }
	}
}

#########################################################################
# Agricultural Revolution
#########################################################################
event = { 

	id = 1021
	random = yes
	name = "EVENTNAME38"
	desc = "EVENTHIST38"
	style = 0

	action_a = {
			name = "OK"
			command = { type = manpower which = -1 value = 1 }
		}

	}




#########################################################################
# Devastating Fire
#########################################################################
#event = { 
#
#	id = 1022
#	random = yes
#	name = "EVENTNAME39"
#	desc = "EVENTHIST39"
#	style = 0
#
#	action_a = {
#			name = "OK"
#			command = { type = losemanufactory which = -1 }
#		}
#
#	}




#########################################################################
# Good Government Policies
#########################################################################
event = { 

	id = 1023
	random = yes
	name = "EVENTNAME40"
	desc = "EVENTHIST40"
	style = 0

	action_a = {
			name = "OK"
			command = { type = stability value = 1 }
			command = { type = infra value = 250 }
			command = { type = trade value = 250 }
		}

	}

#########################################################################
# Bad Government Policies
#########################################################################
event = { 

	id = 1024
	random = yes
	name = "EVENTNAME41"
	desc = "EVENTHIST41"
	style = 0

	action_a = {
			name = "OK"
			command = { type = stability value = -1 }
			command = { type = infra value = -250 }
			command = { type = trade value = -250 }
		}

	}


#########################################################################
# Unhappiness with the Clergy
#########################################################################
event = { 
	id = 1025
	trigger = {
		domestic = { type = innovative value = 3 }
	}
	random = yes
	name = "EVENTNAME42"
	desc = "EVENTHIST42"
	style = 0

	action_a = {
			name = "EVENT42_A"
			command = { type = stability value = -1 }
		}
	action_b = {
			name = "EVENT42_B"
			command = { type = domestic which = innovative value = -1 }
		}
	}

#########################################################################
# Unhappiness among Artisans
#########################################################################
event = { 
	id = 1026
	trigger = {
		domestic = { type = serfdom value = 3 }
	}
	random = yes
	name = "EVENTNAME43"
	desc = "EVENTHIST43"
	style = 0

	action_a = {
			name = "EVENT43_A"
			command = { type = infra value = -200 }
		}
	action_b = {
			name = "EVENT43_B"
			command = { type = domestic which = serfdom value = -1 }
			command = { type = treasury value = -100 }
		}
	}

#########################################################################
# Unhappiness among peasantry
#########################################################################
event = { 
	id = 1027
	random = yes
	name = "EVENTNAME44"
	desc = "EVENTHIST44"
	style = 0

	action_a = {
			name = "OK"
			command = { type = stability value = -2 }
			command = { type = revolt which = -1 }
		}
	}

#########################################################################
# Unhappiness among merchants
#########################################################################
event = { 
	id = 1028
	random = yes
	name = "EVENTNAME45"
	desc = "EVENTHIST45"
	style = 0

	action_a = {
			name = "OK"
			command = { type = trade value = -200 }
		}
	}



#########################################################################
# New Mineral in Mine
#########################################################################
event = { 
	id = 1029
	random = yes
	name = "EVENTNAME46"
	desc = "EVENTHIST46"
	style = 0

	action_a = {
			name = "OK"
			command = { type = mine which = -1 value = 5 }
		}
	}


#########################################################################
# Political Crisis
#########################################################################
event = { 
	id = 1030
	random = yes
	name = "EVENTNAME47"
	desc = "EVENTHIST47"
	style = 0

	action_a = {
			name = "OK"
			command = { type = stability value = -3 }
			command = { type = ADM which = -2 value = 12 }
		}
	}


#########################################################################
# Corruption
#########################################################################
event = { 
	id = 1031
	random = yes
	name = "EVENTNAME48"
	desc = "EVENTHIST48"
	style = 0

	action_a = {
			name = "EVENT48_A"
			command = { type = treasury value = -100 }
			command = { type = stability value = -1 }
		}
	action_b = {
			name = "EVENT48_B"
			command = { type = inflation value = 10 }
		}
	}


#########################################################################
# Deflation
#########################################################################
event = { 
	id = 1032
	random = yes
	name = "EVENTNAME49"
	desc = "EVENTHIST49"
	style = 0

	trigger = { year = 1600 }
	action_a = {
			name = "OK"
			command = { type = inflation value = -10 }
		}
	}



#########################################################################
# Diplomatic Insult
#########################################################################
event = { 
	id = 1033
	random = yes
	name = "EVENTNAME50"
	desc = "EVENTHIST50"
	style = 0

	action_a = {
			name = "OK"
			command = { type = casusbelli which = -1 value = 12 }
		}
	}



#########################################################################
# Fortification Efforts
#########################################################################
event = { 
	id = 1034
	random = yes
	name = "EVENTNAME57"
	desc = "EVENTHIST57"
	style = 0

	action_a = {
			name = "OK"
			command = { type = fortress which = -1 value = 1 }
		}
	}




#########################################################################
# Bank
#########################################################################
event = { 
	id = 1035
	random = yes
	name = "EVENTNAME20"
	desc = "EVENTHIST20"
	style = 0

	trigger = { year = 1650 }
	action_a = {
			name = "OK"
			command = { type = inflation value = -5 }
			command = { type = cash value = 200 }
		}
	}



#########################################################################
# Stock Exchange
#########################################################################
event = { 
	id = 1036
	random = yes
	name = "EVENTNAME21"
	desc = "EVENTHIST21"
	style = 0

	trigger = { year = 1750 }
	action_a = {
			name = "OK"
			command = { type = inflation value = -2 }
			command = { type = cash value = 100 }
			command = { type = infra value = 500 }
		}
	}


#########################################################################
# Company of Trade
#########################################################################
event = { 
	id = 1037
	random = yes
	name = "EVENTNAME22"
	desc = "EVENTHIST22"
	style = 0

	trigger = { year = 1650 }
	action_a = {
			name = "OK"
			command = { type = merchants value = 2 }
			command = { type = trade value = 500 }
		}
	}





#########################################################################
# Colonial Uprising
#########################################################################
event = { 
	id = 1038
	random = yes
	name = "EVENTNAME2"
	desc = "EVENTHIST2"
	style = 0

	trigger = { year = 1600 }
	action_a = {
			name = "OK"
			command = { type = colonialrevolt which = -1 }
		}
	}


#########################################################################
# Heretic Uprising
#########################################################################
event = { 
	id = 1039
	random = yes
	name = "EVENTNAME8"
	desc = "EVENTHIST8"
	style = 0

	action_a = {
			name = "OK"
			command = { type = religiousrevolt which = -1 }
		}
	}



#########################################################################
# Explorer
#########################################################################
event = { 
	id = 1040
	random = yes
	name = "EVENTNAME58"
	desc = "EVENTHIST58"
	style = 0

	trigger = { year = 1500 }
	action_a = {
			name = "OK"
			command = { type = explorer which = -1 }
			command = { type = colonists value = 3 }
		}
	}


#########################################################################
# Conquistador
#########################################################################
event = { 
	id = 1041
	random = yes
	name = "EVENTNAME59"
	desc = "EVENTHIST59"
	style = 0

	trigger = { year = 1500 }
	action_a = {
			name = "OK"
			command = { type = conquistador which = -1 }
			command = { type = colonists value = 3 }
		}
	}




#########################################################################
# Nobles
#########################################################################
event = { 
	id = 1042
	trigger = {
		domestic = { type = aristocracy value = 1 }
		NOT = { domestic = { type = aristocracy value = 10 } }
	}
	random = yes
	name = "EVENTNAME_A0"
	desc = "EVENTHIST_A0"
	style = 0

	action_a = {
			name = "EVENT_A0_A"
			command = { type = domestic which = aristocracy value = 1 }
		}
	action_b = {
			name = "EVENT_A0_B"
			command = { type = revoltrisk which = 24 value = 2 }
		}
	action_c = {
			name = "EVENT_A0_C"
			command = { type = stability value = -2 }
			command = { type = domestic which = aristocracy value = -1 }
		}
	}





#########################################################################
# Trading Company Disaster
#########################################################################
event = { 
	id = 1043
	random = yes
	name = "EVENTNAME_A1"
	desc = "EVENTHIST_A1"
	style = 0
	trigger = { year = 1700 }

	action_a = {
			name = "OK"
			command = { type = trade value = -400 }
		}
	}




#########################################################################
# Internal Trade
#########################################################################
event = { 
	id = 1044
	random = yes
	name = "EVENTNAME_A2"
	desc = "EVENTHIST_A2"
	style = 0

	action_a = {
			name = "OK"
			command = { type = provincetax which = -1 value = 1 }
		}
	}






#########################################################################
# Meteor Sighted
#########################################################################
event = { 
	id = 1045
	random = yes
	name = "EVENTNAME_A3"
	desc = "EVENTHIST_A3"
	style = 0

	action_a = {
			name = "OK"
			command = { type = stability value = -1 }
			command = { type = revoltrisk value = 1 }
		}
	}


#########################################################################
# Fire Ordinance
#########################################################################
event = { 
	id = 1046
	random = yes
	name = "EVENTNAME_A2"
	desc = "EVENTHIST_A2"
	style = 0

	action_a = {
			name = "OK"
			command = { type = provincetax which = -1 value = 1 }
		}
	}





#########################################################################
# Saint Performs Miracle
#########################################################################
event = { 
	id = 1047
	random = yes
	name = "EVENTNAME_A5"
	desc = "EVENTHIST_A5"
	style = 0
	trigger ={
		religion = catholic
		}

	action_a = {
			name = "OK"
			command = { type = stability value = 1 }
			command = { type = revoltrisk value = -3 }
		}
	}



#########################################################################
# Medical
#########################################################################
event = { 
	id = 1048
	random = yes
	name = "EVENTNAME_A6"
	desc = "EVENTHIST_A6"
	style = 0
	trigger = { year = 1650 }
	action_a = {
			name = "OK"
			command = { type = population which = -1 value = 1500 }
		}
	}






#########################################################################
# Noble Feud
#########################################################################
event = { 
	id = 1049
	random = yes
	name = "EVENTNAME_A7"
	desc = "EVENTHIST_A7"
	style = 0
	action_a = {
			name = "EVENT_A7_A"
			command = { type = revolt which = -1 }
		}
	action_b = {
			name = "EVENT_A7_B"
			command = { type = stability value = -2 }
		}
	action_c = {
			name = "EVENT_A7_C"
			command = { type = treasury value = -100 }
		}
	}

#########################################################################
# Nobles ally with Foreign Power
#########################################################################
event = { 
	id = 1050
	random = yes
	name = "EVENTNAME_A8"
	desc = "EVENTHIST_A8"
	style = 0
	action_a = {
			name = "OK"
			command = { type = stability value = -2 }
			command = { type = casusbelli which = -1 value = 24 }
		}
	}



#########################################################################
# Assassination 
#########################################################################
event = { 
	id = 1051
	random = yes
	name = "EVENTNAME_A9"
	desc = "EVENTHIST_A9"
	style = 0
	action_a = {
			name = "OK"
			command = { type = stability value = -1 }
		}
	}



#########################################################################
# Cessation of Church Functions to Nobility
#########################################################################
event = { 
	id = 1052
	random = yes
	trigger = { 
		OR = { 
			religion = catholic 
			religion = orthodox
			}
		 }
	name = "EVENTNAME_A10"
	desc = "EVENTHIST_A10"
	style = 0
	action_a = {
			name = "EVENT_A10_A"
			command = { type = provincetax which = -1 value = -1 }
			command = { type = cash value = 100 }
		}
	action_b = {
			name = "EVENT_A10_B"
			command = { type = vp value = -5 }
		}
	}


#########################################################################
# Sale of Offices
#########################################################################
event = { 
	id = 1053
	random = yes
	name = "EVENTNAME_A11"
	desc = "EVENTHIST_A11"
	style = 0
	action_a = {
			name = "EVENT_A11_A"
			command = { type = provincetax which = -1 value = -1 }
			command = { type = cash value = 100 }
		}
	action_b = {
			name = "EVENT_A11_B"
			command = { type = vp value = -5 }
		}
	}


#########################################################################
# Monopoly Company Formed
#########################################################################
event = { 
	id = 1054
	random = yes
	name = "EVENTNAME_A12"
	desc = "EVENTHIST_A12"
	style = 0
	action_a = {
			name = "OK"
			command = { type = cash value = 100 }
		}
	}


#########################################################################
# Nobles Demand Increased Pensions
#########################################################################
event = { 
	id = 1055
	random = yes
	name = "EVENTNAME_A13"
	desc = "EVENTHIST_A13"
	style = 0
	action_a = {
			name = "EVENT_A13_A"
			command = { type = cash value = -200 }
		}
	action_b = {
			name = "EVENT_A13_B"
			command = { type = stability value = -2 }
		}
	}


#########################################################################
# Grant Export Licences
#########################################################################
event = { 
	id = 1056
	random = yes
	name = "EVENTNAME_A14"
	desc = "EVENTHIST_A14"
	style = 0
	action_a = {
			name = "EVENT_A14_A"
			command = { type = cash value = -50 }
		}
	action_b = {
			name = "EVENT_A14_B"
			command = { type = stability value = -1 }
		}
	}



#########################################################################
# New Land Claimed
#########################################################################
event = { 
	id = 1057
	random = yes
	name = "EVENTNAME_A15"
	desc = "EVENTHIST_A15"
	style = 0
	action_a = {
			name = "OK"
			command = { type = population which = -1 value = 2000 }
			command = { type = provincemanpower which = -3 value = 1 }
			command = { type = provincetax which = -3 value = 1 }
		}
	}



#########################################################################
# Establish Cantonments
#########################################################################
event = { 
	id = 1058
	random = yes
	name = "EVENTNAME_A16"
	desc = "EVENTHIST_A16"
	style = 0
	action_a = {
			name = "OK"
			command = { type = provincemanpower which = -1 value = 1 }
		}
	}

#########################################################################
# Nobles Demand Old Rights
#########################################################################
event = { 
	id = 1059
	trigger = {
		domestic = { type = centralization value = 3 }
	}
	random = yes
	name = "EVENTNAME_A17"
	desc = "EVENTHIST_A17"
	style = 0
	action_a = {
			name = "EVENT_A17_A"
			command = { type = stability value = -3 }
		}
	action_b = {
			name = "EVENT_A17_B"
			command = { type = domestic which = centralization value = -1 }
		}
	}

#########################################################################
# Cities Demand Old Rights
#########################################################################
event = { 
	id = 1060
	random = yes
	name = "EVENTNAME_A18"
	desc = "EVENTHIST_A18"
	style = 0
	action_a = {
			name = "EVENT_A18_A"
			command = { type = stability value = -3 }
		}
	action_b = {
			name = "EVENT_A18_B"
			command = { type = domestic which = centralization value = -1 }
		}
	}

#########################################################################
# Non-enforcement of Ordinances
#########################################################################
event = { 
	id = 1061
	trigger = {
		domestic = { type = centralization value = 3 }
	}
	random = yes
	name = "EVENTNAME_A19"
	desc = "EVENTHIST_A19"
	style = 0
	action_a = {
			name = "OK"
			command = { type = domestic which = centralization value = -1 }
		}
	}


#########################################################################
# Bourgeoisie Request Privileges
#########################################################################
event = { 
	id = 1062
	trigger = {
		domestic = { type = aristocracy value = 1 }
		NOT = { domestic = { type = aristocracy value = 10 } }
	}
	random = yes
	trigger = { year = 1600 }
	name = "EVENTNAME_A20"
	desc = "EVENTHIST_A20"
	style = 0
	action_a = {
			name = "EVENT_A20_A"
			command = { type = domestic which = aristocracy value = -1 }
		}
	action_b = {
			name = "EVENT_A20_B"
			command = { type = domestic which = aristocracy value = 1 }
		}
	}




#########################################################################
# Italian Engineer Available
#########################################################################
event = { 
	id = 1063
	random = yes
	trigger = { 
		year = 1450 
        NOT = { year = 1600 }
    	continent = europe
		domestic = { type = offensive value = 3 } 
 	}
	name = "EVENTNAME_A21"
	desc = "EVENTHIST_A21"
	style = 0
	action_a = {
			name = "EVENT_A21_A"
			command = { type = cash value = -50 }
			command = { type = domestic which = offensive value = -1 }
		}
	action_b = {
			name = "EVENT_A21_B"
			command = { type = vp value = -1 }
		}
	}


#########################################################################
# Foreign Drill Instructor Available
#########################################################################
event = { 
	id = 1064
	random = yes
	trigger = { 
		continent = europe 
		NOT = { 
			domestic = { type = offensive value = 10 } 
			domestic = { type = quality value = 10 } 
		}
	}
	name = "EVENTNAME_A22"
	desc = "EVENTHIST_A22"
	style = 0
	action_a = {
			name = "EVENT_A22_A"
			command = { type = cash value = -250 }
			command = { type = domestic which = offensive value = 1 }
			command = { type = domestic which = quality value = 1 }
		}
	action_b = {
			name = "EVENT_A22_B"
			command = { type = vp value = -1 }
		}
	}


#########################################################################
# Build a Great Palace
#########################################################################
event = { 
	id = 1065
	trigger = { 
		year = 1650 
		NOT = {
			domestic = { type = aristocracy value = 10 }
			domestic = { type = centralization value = 10 }
		}
	}
	random = yes
	name = "EVENTNAME_A23"
	desc = "EVENTHIST_A23"
	style = 0
	action_a = {
			name = "EVENT_A23_A"
			command = { type = cash value = -500 }
			command = { type = domestic which = aristocracy value = 1 }
			command = { type = domestic which = centralization value = 1 }
			command = { type = vp value = 25 }
		}
	action_b = {
			name = "EVENT_A23_B"
			command = { type = vp value = -50 }
		}
	}


#########################################################################
# Indulgence Peddler
#########################################################################
event = { 
	id = 1066
	trigger = { NOT = { year = 1514 } religion = catholic }
	random = yes
	name = "EVENTNAME_A24"
	desc = "EVENTHIST_A24"
	style = 0
	action_a = {
			name = "OK"
			command = { type = provincetax which = -1 value = -1 }
		}
	}



#########################################################################
# Uncooperative Philosopher
#########################################################################
event = { 
	id = 1067
	trigger = { 
		NOT = { 
			year = 1650 
			domestic = { type = innovative value = 10 }
		}
		domestic = { type = innovative value = 1 }
	}
	random = yes
	name = "EVENTNAME_A25"
	desc = "EVENTHIST_A25"
	style = 0
	action_a = {
			name = "EVENT_A25_A"
			command = { type = stability value = 1 }
			command = { type = domestic which = innovative value = -1 }
		}
	action_b = {
			name = "EVENT_A25_B"
			command = { type = stability value = -2 }
			command = { type = domestic which = innovative value = 1 }
		}
	}



#########################################################################
# Regional Heresy
#########################################################################
event = { 
	id = 1068
	random = yes
	name = "EVENTNAME_A26"
	desc = "EVENTHIST_A26"
	style = 0
	action_a = {
			name = "EVENT_A26_A"
			command = { type = cash value = -50 }
		}
	action_b = {
			name = "EVENT_A26_B"
			command = { type = stability value = -1 }
		}
	}

#########################################################################
# Boundary Dispute 
#########################################################################
event = { 
	id = 1069
	random = yes
	name = "EVENTNAME_A27"
	desc = "EVENTHIST_A27"
	style = 0
	action_a = {
			name = "EVENT_A27_A"
			command = { type = casusbelli which = -1 value = 60 }
			command = { type = relation which = -3 value = -50 }
			command = { type = stability value = -1 }
		}
	action_b = {
			name = "EVENT_A27_B"
			command = { type = relation which = -3 value = 25 }
			command = { type = stability value = 1 }
		}
	}

#########################################################################
# Merchants Harassed
#########################################################################
event = { 
	id = 1070
	random = yes
	name = "EVENTNAME_A28"
	desc = "EVENTHIST_A28"
	style = 0
	action_a = {
			name = "EVENT_A28_A"
			command = { type = casusbelli which = -1 value = 60 }
			command = { type = relation which = -3 value = -50 }
		}
	action_b = {
			name = "EVENT_A28_B"
			command = { type = relation which = -3 value = 25 }
		}
	}

#########################################################################
# Regional Population Boom
#########################################################################
event = { 
	id = 1071
	trigger = { year = 1550  }
	random = yes
	name = "EVENTNAME_A29"
	desc = "EVENTHIST_A29"
	style = 0
	action_a = {
			name = "EVENT_A29_A"
			command = { type = colonists value = 2 }
		}
	action_b = {
			name = "EVENT_A29_B"
			command = { type = population which = -2 value = 2000 }
		}
	}

#########################################################################
# Petition for Redress
#########################################################################
event = { 
	id = 1072
	trigger = { 
		NOT = { 
			domestic = { type = centralization value = 10 }
		}
	}
	random = yes
	name = "EVENTNAME_A30"
	desc = "EVENTHIST_A30"
	style = 0
	action_a = {
			name = "EVENT_A30_B"
			command = { type = stability value = -1 }
			command = { type = provincetax which = -1 value = -1 }
			command = { type = revolt which = -3  }
		}
	action_b = {
			name = "EVENT_A30_A"
			command = { type = stability value = -4 }
			command = { type = domestic which = centralization value = 1 }
		}
	}


#########################################################################
# Grant Nobles Aid
#########################################################################
event = { 
	id = 1073
	random = yes
	name = "EVENTNAME_A31"
	desc = "EVENTHIST_A31"
	style = 0
	action_a = {
			name = "EVENT_A31_A"
			command = { type = cash value = -75 }
		}
	action_b = {
			name = "EVENT_A31_B"
			command = { type = stability value = -1 }
		}
	}
#########################################################################
# Support for Dissidents Abroad
#########################################################################
event = { 
	id = 1074
	random = yes
	name = "EVENTNAME_A32"
	desc = "EVENTHIST_A32"
	style = 0
	action_a = {
			name = "EVENT_A32_A"
			command = { type = cash value = -25 }
			command = { type = relation which = -1 value = -25 }
		}
	action_b = {
			name = "EVENT_A32_B"
			command = { type = stability value = -1 }
		}
	}

#########################################################################
# Foreign Trade Competition Rises
#########################################################################
event = { 
	id = 1075
	trigger = { 
		NOT = { 
			domestic = { type = mercantilism value = 10 }
		}
		domestic = { type = mercantilism value = 1 }
	}
	random = yes
	name = "EVENTNAME_A33"
	desc = "EVENTHIST_A33"
	style = 0
	action_a = {
			name = "EVENT_A33_A"
			command = { type = domestic which = mercantilism value = 1 }
		}
	action_b = {
			name = "EVENT_A33_B"
			command = { type = domestic which = mercantilism value = -1 }
		}
	}

#########################################################################
# Exceptional Court Painter Available
#########################################################################
event = { 
	id = 1076
	trigger = { 
		NOT = { 
			year = 1575 
			domestic = { type = innovative value = 10 }
		} 
	    OR = { 
	    	continent = europe
	    	continent = asia 
	    }
	}
	random = yes
	name = "EVENTNAME_A34"
	desc = "EVENTHIST_A34"
	style = 0
	action_a = {
			name = "EVENT_A34_A"
			command = { type = cash value = -50 }
			command = { type = domestic which = innovative value = 1 }
			command = { type = vp value = 5 }
		}
	action_b = {
			name = "EVENT_A34_B"
			command = { type = vp value = -5 }
		}
	}

####################
# Some new/altered random events:

#########################################################################
# More Gifts To the State
#########################################################################
event = { 
	id = 1077
	trigger = { NOT = { year = 1500 } }
	random = yes
	name = "EVENTNAME13"
	desc = "EVENTHIST13"
	style = 0
	
	action_a = { name = "OK"
		command = { type = cash value = 100 }
	}
}

event = { 
	id = 1078
	trigger = { 
		year = 1500
		NOT = { year = 1600 } 
	}
	random = yes
	name = "EVENTNAME13"
	desc = "EVENTHIST13"
	style = 0
	
	action_a = { name = "OK"
		command = { type = cash value = 200 }
	}
}

event = { 
	  id = 1079
	  trigger = { year = 1600
	              NOT = { year = 1700 } 
	              }
	  random = yes
	  name = "EVENTNAME13"
	  desc = "EVENTHIST13"
	  style = 0

	  action_a = { name = "OK"
		     command = { type = cash value = 300 }
		     }
	  }
event = { 
	  id = 1080
	  trigger = { year = 1700
	              }
	  random = yes
	  name = "EVENTNAME13"
	  desc = "EVENTHIST13"
	  style = 0

	  action_a = { name = "OK"
		     command = { type = cash value = 400 }
		     }
	  }

#########################################################################
# More Scandal at the Court
#########################################################################
# Note: More added 1081-82 - use same text.
event = { 
	  id = 1081
	  random = yes
	  name = "EVENTNAME12"
	  desc = "EVENTHIST12"
	  style = 0

	  action_a = {
		       name = "OK"
		       command = { type = DIP which = -4 value = 4 }
		       command = { type = relation which = -1 value = -100 }
		       }
	  }

event = { 
	  id = 1082
	  random = yes
	  name = "EVENTNAME12"
	  desc = "EVENTHIST12"
	  style = 0

	  action_a = {
		       name = "OK"
		       command = { type = DIP which = -1 value = 4 }
		       command = { type = relation which = -1 value = -25 }
		       }
	  }

#########################################################################
# More Exceptional Years
#########################################################################
event = { 
	  id = 1083
	  trigger = { year = 1400
	              NOT = { year = 1550 } 
	              }
	  random = yes
	  name = "EVENTNAME16"
	  desc = "EVENTHIST16"
	  style = 0

	  action_a = {
		       name = "OK"
		       command = { type = cash value = 100 }
		       command = { type = inflation value = -5 }
		       }
	  }

event = { 
	  id = 1084
	  trigger = { year = 1550
	              NOT = { year = 1650 } 
	              }
	  random = yes
	  name = "EVENTNAME16"
	  desc = "EVENTHIST16"
	  style = 2

	  action_a = {
		       name = "OK"
		       command = { type = cash value = 200 }
		       command = { type = inflation value = -10 }
		       }
	  }


event = { 
	  id = 1085
	  trigger = { year = 1650
	              NOT = { year = 1800 } 
	              }
	  random = yes
	  name = "EVENTNAME16"
	  desc = "EVENTHIST16"
	  style = 3

	  action_a = {
		       name = "OK"
		       command = { type = cash value = 300 }
		       command = { type = inflation value = -15 }
		       }
	  }

#########################################################################
# More Diplomatic Moves
#########################################################################
event = { 

	id = 1086
	random = yes
	name = "EVENTNAME24"
	desc = "EVENTHIST24"
	style = 0

	action_a = {
			name = "OK"
			command = { type = relation which = -1 value = 75 }
			command = { type = diplomats value = 1 }
		}
	}

event = { 

	id = 1087
	random = yes
	name = "EVENTNAME24"
	desc = "EVENTHIST24"
	style = 0

	action_a = {
			name = "OK"
			command = { type = relation which = -1 value = 25 }
			command = { type = diplomats value = 1 }
		}
	}

#########################################################################
# More unhappiness with the clergy
#########################################################################
event = { 
	id = 1088
	trigger = { domestic = { type = innovative value = 6 } }
	random = yes
	name = "EVENTNAME42"
	desc = "EVENTHIST42"
	style = 0

	action_a = {
			name = "EVENT42_A"
			command = { type = stability value = -1 }
			}
	action_b = {
			name = "EVENT42_B"
			command = { type = domestic which = innovative value = -1 }
			}
	}

event = { 
	id = 1089
	trigger =  { domestic = { type = innovative value = 8 } }
	random = yes
	name = "EVENTNAME42"
	desc = "EVENTHIST42"
	style = 0

	action_a = {
			name = "EVENT42_A"
			command = { type = stability value = -2 }
			}
	action_b = {
			name = "EVENT42_B"
			command = { type = domestic which = innovative value = -2 }
			}
	}


#########################################################################
# More unhappiness among the peasantry
#########################################################################
event = { 
	id = 1090
	trigger = { domestic = { type = serfdom value = 6 } }
	random = yes
	name = "EVENTNAME44"
	desc = "EVENTHIST44"
	style = 0

	action_a = {
			name = "OK"
			command = { type = stability value = -2 }
			command = { type = revolt which = -1 }
		}
	}

event = { 
	id = 1091
	trigger = { domestic = { type = serfdom value = 8 } }
	random = yes
	name = "EVENTNAME44"
	desc = "EVENTHIST44"
	style = 0

	action_a = {
			name = "OK"
			command = { type = stability value = -3 }
			command = { type = revolt which = -1 }
			command = { type = revolt which = -1 }
		}
	}


#########################################################################
# More unhappiness among merchants
#########################################################################
event = { 
	id = 1092
	trigger = { domestic = { type = mercantilism value = 6 } }
	random = yes
	name = "EVENTNAME45"
	desc = "EVENTHIST45"
	style = 0

	action_a = {
			name = "OK"
			command = { type = trade value = -200 }
		}
	}

event = { 
	id = 1093
	trigger = { domestic = { type = mercantilism value = 8 } }
	random = yes
	name = "EVENTNAME45"
	desc = "EVENTHIST45"
	style = 0

	action_a = {
			name = "OK"
			command = { type = trade value = -400 }
		}
	}

#########################################################################
# More corruption
#########################################################################
event = { 
	id = 1094
	random = yes
	name = "EVENTNAME48"
	desc = "EVENTHIST48"
	style = 0

	action_a = {
			name = "EVENT48_A"
			command = { type = treasury value = -100 }
			command = { type = stability value = -1 }
		}
	action_b = {
			name = "EVENT48_B"
			command = { type = inflation value = 10 }
		}
	}




#########################################################################
# More deflation
#########################################################################
event = { 
	id = 1095
	random = yes
	name = "EVENTNAME49"
	desc = "EVENTHIST49"
	style = 0

	trigger = { year = 1700 }
	action_a = {
			name = "OK"
			command = { type = inflation value = -10 }
		}
	}



#########################################################################
# More diplomatic insult
#########################################################################
event = { 
	id = 1096
	random = yes
	name = "EVENTNAME50"
	desc = "EVENTHIST50"
	style = 0

	action_a = {
			name = "OK"
			command = { type = casusbelli which = -1 value = 12 }
		}
	}

#########################################################################
# More colonial uprisings
#########################################################################
event = { 
	id = 1097
	trigger = { domestic = { type = centralization value = 6 }
	            year = 1600 }
	random = yes
	name = "EVENTNAME2"
	desc = "EVENTHIST2"
	style = 0

	action_a = {
			name = "OK"
			command = { type = colonialrevolt which = -1 }
		}
	}

event = { 
	id = 1098
	trigger = { domestic = { type = centralization value = 8 }
	            year = 1600 }
	random = yes
	name = "EVENTNAME2"
	desc = "EVENTHIST2"
	style = 0

	action_a = {
			name = "OK"
			command = { type = colonialrevolt which = -1 }
			command = { type = colonialrevolt which = -1 }
		}
	}

#########################################################################
# More heretic uprisings
#########################################################################
event = { 
	id = 1099
	trigger = { NOT = { domestic = { type = innovative value = 5 } } }
	random = yes
	name = "EVENTNAME8"
	desc = "EVENTHIST8"
	style = 0

	action_a = {
			name = "OK"
			command = { type = religiousrevolt which = -1 }
		}
	}

event = { 
	id = 1100
	trigger = { NOT = { domestic = { type = innovative value = 3 } } }
	random = yes
	name = "EVENTNAME8"
	desc = "EVENTHIST8"
	style = 0

	action_a = {
			name = "OK"
			command = { type = religiousrevolt which = -1 }
			command = { type = religiousrevolt which = -1 }
		}
	}

#########################################################################
# Even more events, suggestions from EEP (pierreluc)
#########################################################################

# Chartering of a university
event = { 
	id = 1101
	trigger = { 
		year = 1550 
		NOT = { domestic = { type = innovative value = 10 } }
	}
	random = yes
	name = "EVENTNAME1101"
	desc = "EVENTHIST1101"
	style = 0

	action_a = {
			name = "EVENT1101A"
			command = { type = infra which = 250 }
			command = { type = domestic which = innovative value = 1 }
			command = { type = treasury which = -200 }
		}
	action_b = {
			name = "EVENT1101B"
			command = { type = vp value = -50 }
		}
	}

# Commission of a cathedral
event = { 
	id = 1102
	trigger = { OR = { religion = catholic
	                   religion = counterreform
	                   religion = protestant
	                   religion = reformed
	                   religion = orthodox
	                   }
	            }
	random = yes
	name = "EVENTNAME1102"
	desc = "EVENTHIST1102"
	style = 0

	action_a = {
			name = "EVENT1102A"
			command = { type = stability value = 2 }
			command = { type = treasury which = -200 }
		}
	action_b = {
			name = "EVENT1102B"
			command = { type = vp value = -20 }
		}
	}


# Great royal hunt
event = { 
	id = 1103
	trigger = { atwar = no } # would look silly to arrange a great hunt during a war :)
	random = yes
	name = "EVENTNAME1103"
	desc = "EVENTHIST1103"
	style = 0

	action_a = {
			name = "OK"
			command = { type = relation which = -1 value = 50 }
			command = { type = relation which = -1 value = 50 }
			command = { type = relation which = -1 value = 50 }
			command = { type = relation which = -1 value = -50 }
			command = { type = relation which = -1 value = -50 }
			command = { type = relation which = -1 value = -50 }
		}
	}

#########################################################################
# Fortification Efforts
#########################################################################
event = { 
	id = 1104
	trigger = { NOT = { domestic = { type = offensive value = 6 } } }
	random = yes
	name = "EVENTNAME57"
	desc = "EVENTHIST57"
	style = 0

	action_a = {
			name = "OK"
			command = { type = fortress which = -1 value = 1 }
		}
	}

event = { 
	id = 1105
	trigger = { NOT = { domestic = { type = offensive value = 3 } } }
	random = yes
	name = "EVENTNAME57"
	desc = "EVENTHIST57"
	style = 0

	action_a = {
			name = "OK"
			command = { type = fortress which = -1 value = 1 }
		}
	}

#########################################################################
# More Italian Engineers Available
#########################################################################
event = { 
	id = 1106
	random = yes
	trigger = { 
		year = 1450 
        NOT = { year = 1600 }
        domestic = { type = offensive value = 3 } 
    	continent = europe
 	}
	name = "EVENTNAME_A21"
	desc = "EVENTHIST_A21"
	style = 0
	action_a = {
			name = "EVENT_A21_A"
			command = { type = cash value = -50 }
			command = { type = domestic which = offensive value = -1 }
		}
	action_b = {
			name = "EVENT_A21_B"
			command = { type = vp value = -1 }
		}
	}


#########################################################################
# More Foreign Drill Instructor Available
#########################################################################
event = { 
	id = 1107
	random = yes
	trigger = { 
		continent = europe 
	    NOT = { 
			domestic = { type = offensive value = 10 } 
			domestic = { type = quality value = 10 } 
		}
	}
	name = "EVENTNAME_A22"
	desc = "EVENTHIST_A22"
	style = 0
	action_a = {
			name = "EVENT_A22_A"
			command = { type = cash value = -250 }
			command = { type = domestic which = offensive value = 1 }
			command = { type = domestic which = quality value = 1 }
		}
	action_b = {
			name = "EVENT_A22_B"
			command = { type = vp value = -1 }
		}
	}

#########################################################################
# More Colonial Dynamism
#########################################################################
event = { 

	id = 1108
	random = yes
	name = "EVENTNAME26"
	desc = "EVENTHIST26"
	style = 0
	trigger = { year = 1600 
	            NOT = { domestic = { type = innovative value = 4 } }
	            }

	action_a = {
			name = "OK"
			command = { type = conquistador which = -1  }
			command = { type = colonists value = 3  }
		}

	}


#########################################################################
# More Inventions
#########################################################################
event = { 

	id = 1109
	random = yes
	name = "EVENTNAME27"
	desc = "EVENTHIST27"
	style = 0
	trigger = { domestic = { type = innovative value = 6 } }

	action_a = {
			name = "OK"
			command = { type = gainmanufactory which = -1 value = -1 }
		}

	}

#########################################################################
# New Monopoly Company Formed
#########################################################################
event = { 
	id = 1112
	random = yes
	name = "EVENTNAME_A12"
	desc = "EVENTHIST_A12"
	style = 0
	trigger = { domestic = { type = mercantilism value = 7 } }

	action_a = {
			name = "OK"
			command = { type = cash value = 100 }
		}
	}





#########################################################################
# Establish Cantonments
#########################################################################
event = { 
	id = 1113
	random = yes
	name = "EVENTNAME_A16"
	desc = "EVENTHIST_A16"
	trigger = { domestic = { type = land value = 6 } }
	style = 0
	action_a = {
			name = "OK"
			command = { type = provincemanpower which = -1 value = 1 }
		}
	}


#########################################################################
# Nobles Demand Old Rights
#########################################################################
event = { 
	id = 1114
	random = yes
	name = "EVENTNAME_A17"
	desc = "EVENTHIST_A17"
	style = 0
	trigger = { 
		domestic = { type = centralization value = 6 } 
		NOT = { domestic = { type = aristocracy value = 5 } }
	}
	action_a = {
			name = "EVENT_A17_A"
			command = { type = stability value = -2 }
		}
	action_b = {
			name = "EVENT_A17_B"
			command = { type = domestic which = centralization value = -1 }
			command = { type = domestic which = aristocracy value = 1 }
		}
	}


#########################################################################
# Cities Demand Old Rights
#########################################################################
event = { 
	id = 1115
	random = yes
	name = "EVENTNAME_A18"
	desc = "EVENTHIST_A18"
	style = 0
	trigger = { 
		domestic = { type = centralization value = 6 } 
		domestic = { type = aristocracy value = 6 }
	}
	action_a = {
			name = "EVENT_A18_A"
			command = { type = stability value = -2 }
		}
	action_b = {
			name = "EVENT_A18_B"
			command = { type = domestic which = centralization value = -1 }
			command = { type = domestic which = aristocracy value = -1 }
		}
	}




#########################################################################
# Bourgeoisie Request Privileges
#########################################################################
event = { 
	id = 1116
	random = yes
	trigger = { year = 1600 }
	name = "EVENTNAME_A20"
	desc = "EVENTHIST_A20"
	style = 0
	trigger = { domestic = { type = aristocracy value = 6 } }
	action_a = {
			name = "EVENT_A20_A"
			command = { type = domestic which = aristocracy value = -1 }
		}
	action_b = {
			name = "EVENT_A20_B"
			command = { type = domestic which = aristocracy value = 1 }
			command = { type = revolt which = -1 }
		}
	}


#########################################################################
# More Explorers
#########################################################################
event = { 
	id = 1117
	random = yes
	name = "EVENTNAME58"
	desc = "EVENTHIST58"
	style = 0

	trigger = { year = 1500 
	            NOT = { domestic = { type = land value = 5 } }
	            }
	action_a = {
			name = "OK"
			command = { type = explorer which = -1 }
			command = { type = colonists value = 3 }
		}
	}

#########################################################################
# Even More Explorers
#########################################################################
event = { 
	id = 3883
	random = yes
	name = "EVENTNAME58"
	desc = "EVENTHIST58"
	style = 0

	trigger = { 
		year = 1492
		OR = {
			NOT = { domestic = { type = land value = 4 } }
			NOT = { domestic = { type = mercantilism value = 4 } }
		}
	}           
	action_a = {
			name = "OK"
			command = { type = explorer which = -1 }
			command = { type = colonists value = 3 }
	}
}
event = { 
	id = 3884
	random = yes
	name = "EVENTNAME58"
	desc = "EVENTHIST58"
	style = 0

	trigger = { 
		year = 1492
		OR = {
			NOT = { domestic = { type = land value = 3 } }
			NOT = { domestic = { type = mercantilism value = 3 } }
		}
	}           
	action_a = {
			name = "OK"
			command = { type = explorer which = -1 }
			command = { type = colonists value = 3 }
	}
}
#########################################################################
# Gift From the Nobles
#########################################################################

event = { 
	id = 1118
	random = yes
	name = "EVENTNAME13"
	desc = "EVENTHIST13"
	style = 0
	trigger = { 
		domestic = { type = serfdom value = 6 } 
		domestic = { type = aristocracy value = 6 } 
	    NOT = { year = 1650 }
	}

	action_a = {
			name = "OK"
			command = { type = cash value = 200 }
		}
	}

event = { 
	id = 1119
	random = yes
	name = "EVENTNAME13"
	desc = "EVENTHIST13"
	style = 0
	trigger = { 
		domestic = { type = serfdom value = 7 }
		domestic = { type = aristocracy value = 8 } 
	    NOT = { year = 1700 }
	}

	action_a = {
			name = "OK"
			command = { type = cash value = 500 }
		}
	}

#########################################################################
# More Diplomatic Insults
#########################################################################
event = { 
	id = 1120
	random = yes
	name = "EVENTNAME50"
	desc = "EVENTHIST50"
	style = 0

	action_a = {
			name = "OK"
			command = { type = casusbelli which = -1 value = 12 }
		}
	}

event = { 
	id = 1121
	random = yes
	name = "EVENTNAME50"
	desc = "EVENTHIST50"
	style = 0

	action_a = {
			name = "OK"
			command = { type = casusbelli which = -1 value = 12 }
		}
	}

#########################################################################
# More Medical
#########################################################################
event = { 
	id = 1122
	random = yes
	name = "EVENTNAME_A6"
	desc = "EVENTHIST_A6"
	style = 0
	trigger = { year = 1650 }
	action_a = {
			name = "OK"
			command = { type = population which = -1 value = 1500 }
		}
	}

event = { 
	id = 1123
	random = yes
	name = "EVENTNAME_A6"
	desc = "EVENTHIST_A6"
	style = 0
	trigger = { year = 1650 }
	action_a = {
			name = "OK"
			command = { type = population which = -1 value = 1500 }
		}
	}

	
#########################################################################
# More Plague
#########################################################################
event = { 

	id = 1124
	random = yes
	name = "EVENTNAME30"
	desc = "EVENTHIST30"
	style = 0

	action_a = {
			name = "OK"
			command = { type = population which = -1 value = -1000 }
		}

	}


#########################################################################
# New Land Claimed
#########################################################################
event = { 
	id = 1125
	random = yes
	name = "EVENTNAME_A15"
	desc = "EVENTHIST_A15"
	style = 0
	action_a = {
			name = "OK"
			command = { type = population which = -1 value = 2500 }
			command = { type = provincemanpower which = -3 value = 1 }
			command = { type = provincetax which = -3 value = 1 }
		}
	}

event = { 
	id = 1126
	random = yes
	name = "EVENTNAME_A15"
	desc = "EVENTHIST_A15"
	style = 0
	action_a = {
			name = "OK"
			command = { type = population which = -2 value = 2000 }
			command = { type = provincemanpower which = -3 value = 1 }
			command = { type = provincetax which = -3 value = 1 }
		}
	}

#########################################################################
# Boundary Dispute 
#########################################################################
event = { 
	id = 1127
	random = yes
	name = "EVENTNAME_A27"
	desc = "EVENTHIST_A27"
	style = 0
	action_a = {
			name = "EVENT_A27_A"
			command = { type = casusbelli which = -1 value = 60 }
			command = { type = relation which = -3 value = -50 }
			command = { type = stability value = -1 }
		}
	action_b = {
			name = "EVENT_A27_B"
			command = { type = relation which = -3 value = 25 }
			command = { type = stability value = 1 }
		}
	}

event = { 
	id = 1128
	random = yes
	name = "EVENTNAME_A27"
	desc = "EVENTHIST_A27"
	style = 0
	action_a = {
			name = "EVENT_A27_A"
			command = { type = casusbelli which = -1 value = 60 }
			command = { type = relation which = -3 value = -50 }
			command = { type = stability value = -1 }
		}
	action_b = {
			name = "EVENT_A27_B"
			command = { type = relation which = -3 value = 25 }
			command = { type = stability value = 1 }
		}
	}

###
# New stability-enhancers
###

# Birth of a heir to the throne
event = { 
	id = 1129 
	random = yes
	name = "EVENTNAME1129"
	desc = "EVENTHIST1129"
	style = 0
	action_a = {
			name = "EVENT1129A"
			command = { type = stability value = 1 }
		}
	}


# Commission of a great mosque
event = { 
	id = 1130
	trigger = { OR = { religion = sunni
	                   religion = shiite
	                   }
	            }      
	random = yes
	name = "EVENTNAME1130"
	desc = "EVENTHIST1130"
	style = 0

	action_a = {
			name = "EVENT1130A"
			command = { type = stability value = 2 }
			command = { type = treasury which = -200 }
		}
	action_b = {
			name = "EVENT1130B"
			command = { type = vp value = -20 }
		}
	}

# Noble families unite
event = { 
	id = 1131 
	random = yes
	name = "EVENTNAME1131"
	desc = "EVENTHIST1131"
	style = 0
	action_a = {
			name = "EVENT1131A"
			command = { type = stability value = 1 }
			command = { type = cash value = -50 }
		}
	}

#########################################################################
# Japanese Random Events
#########################################################################
event = { 
	id = 6923 #Tokusei Ikki#
	random = yes
	country = NIP
	trigger = {
		year = 1458
		domestic = { type = SERFDOM value = 5 }
	}
	name = "EVENTNAME6923"
	desc = "EVENTHIST6923"
	style = 1
	
	action_a = { 
		name = "ACTIONNAME6923A" #Reduce taxes and annul debts#
		command = { type = domestic which = SERFDOM value = -1 }
		command = { type = trade value = -250}
		command = { type = infra value = -250 }
		command = { type = stability value = -1}
	} 
	action_b = {
		name = "ACTIONNAME6923B" #Crush the ikki#
		command = { type = domestic which = SERFDOM value = 1 }
		command = { type = stability value = -3  }
		command = { type = revolt which = -1}
		command = { type = revoltrisk which = 6 value = 15}
	}
}

event = { 
	id = 6924 #Ikko-ikki#
	random = yes
	country = NIP
	trigger = { 
		year = 1477
		domestic = { type = innovative value = 3 } 
		NOT = { religion = confucianism }
	}
	name = "EVENTNAME6924"
	desc = "EVENTHIST6924"
	style = 1
	action_a = { 
		name = "ACTIONNAME6924A" #Enforce the ancient Japanese values#
		command = { type = domestic which = INNOVATIVE value = -1 }
		command = { type = trade value = -300}
		command = { type = stability value = -1}} 
	action_b = { 
		name = "ACTIONNAME6924B" #Crush the Ikko-ikki#
		command = { type = domestic which = SERFDOM value = 1 }
		command = { type = stability value = -3  }
		command = { type = religiousrevolt which = -1}
		command = { type = revoltrisk which = 12 value = 15}
	}
}

event = { 
	id = 6925 #A daimyo demands rights and better position#
	random = yes
	country = NIP
	name = "EVENTNAME6925"
	desc = "EVENTHIST6925"
	style = 1
	trigger = {  
		NOT = { 
			OR = {  
				domestic =  { type = ARISTOCRACY value = 9 }
				domestic =  { type = CENTRALIZATION value = 9 }
			}
		}
	}
	action_a = { 
		name = "ACTIONNAME6925A" #Accept his demands#
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = stability value = -1}
		command = { type = treasury value = -200}
	} 
	action_b = {
		name = "ACTIONNAME6925B" #Order him to commit seppuku#
		command = { type = domestic which = ARISTOCRACY value = -1 }
		command = { type = stability value = -3}
		command = { type = revolt which = -1} 
		command = { type = revoltrisk which = 24 value = 6 }
	}
}


event = { id = 6926 #The Ezo are rebelling#
	random = yes
	country = NIP
	trigger = { 
		year = 1458
		owned = { province = 683 data = -1 }
	}
	name = "EVENTNAME6926"
	desc = "EVENTHIST6926"
	style = 1
	
	action_a = { 
		name = "OK"
		command = { type = revolt which = 683 }
	}
} 
   
#############
##Civil war##
############# 
event = { 
	id = 6927 #A vassal betrays his lord and takes over his lands#
	random = yes
	country = NIP
	trigger = { event = 6945 }
	name = "EVENTNAME6927"
	desc = "EVENTHIST6927"
	style = 1
	action_a = { 
		name = "ACTIONNAME6927A" #Ignore it#
		command = { type = domestic which = ARISTOCRACY value = -1 }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = stability value = -3}
	} 
	action_b = {
		name = "ACTIONNAME6927B" #Order a Daimyo restore order#
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = stability value = -1}
	}
	action_c = {
		name = "ACTIONNAME6927C" #Take care of it#
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = stability value = -1}
		command = { type = revolt which = -1}
	}
}

event = { 
	id = 6928 #Daimyo are fighting in a province destroying it in the process#
	random = yes
	country = NIP
	trigger = { event = 6945 }
	name = "EVENTNAME6928"
	desc = "EVENTHIST6928"
	style = 1
	
	action_a = { 
		name = "ACTIONNAME6928A" #Ignore it#
		command = { type = population which = -1 value = -1000 }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = stability value = -3}
	} 
	action_b = {
		name = "ACTIONNAME6928B" #Restore order#
		command = { type = revolt which = -3}
		command = { type = stability value = -1}
		command = { type = domestic which = CENTRALIZATION value = 1 }
	}
}

event = { 
	id = 6929 #A Daimyo has made agricultural reforms in his domain#
	random = yes
	country = NIP
	trigger = { event = 6945 }
	name = "EVENTNAME6929"
	desc = "EVENTHIST6929"
	style = 1
	action_a = { 
		name = "OK"
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = population which = -1 value = 2000 }
	}
}

event = {
	id = 6919 #A Daimyo has built a manufactury#
	random = yes
	country = NIP
	trigger = { event = 6945 }
	name = "EVENTNAME6919"
	desc = "EVENTHIST6919"
	style = 1
	
	action_a = {
		name = "OK"
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = gainmanufactory which = -1 value = -1}
	}
}

event = {
	id = 6918 #Daimyo alliance has formed against you#
	random = yes
	country = NIP
	trigger = { event = 6945 }
	name = "EVENTNAME6918"
	desc = "EVENTHIST6918"
	style = 1
	action_a = { 
		name = "OK"
		command = { type = revolt which = -1}
		command = { type = revolt which = -1}
	}
}

event = { 
	id = 6917 #A Daimyo has attacked you#
	random = yes
	country = NIP
	trigger = { event = 6945 }
	name = "EVENTNAME6917"
	desc = "EVENTHIST6917"
	style = 1
	action_a = { 
		name = "OK"
		command = { type = revolt which = 686}
		command = { type = stability value = -1}
	}
}

##################
##Post-civil War##
##################

event = { 
	id = 6916 #Vermillion Seal Ships#
	random = yes
	country = NIP
	trigger = { year = 1592 }
	name = "EVENTNAME6916"
	desc = "EVENTHIST6916"
	style = 1
	
	action_a = { 
		name = "OK"
		command = { type = treasury value = 100 }
		command = { type = merchants value = 6 }
	}
} 


















































