# New 1.3 multi tag events #

# Note: most of the events from this file have now been converted to decisions, so please check DB/Decisions.

# The Peace of Westphalia #
event = {
	id = 25005
	global = yes
	trigger = {
		atwar = no
		exists = HAB
		exists = HEL
		exists = HOL
		continent = Europe
	}

	name = "EVENTNAME25005"
	desc = "EVENTHIST25005"
	
	date = { day = 1 month = january year = 1640 }
	offset = 30
	deathdate = { day = 1 month = january year = 1680 }

	action_a = {	# The Empire's borders have been redrawn #
		name = "ACTIONNAME25005A"
		command = { type = vp value = 50 }
		command = { type = diplomats value = 1 }
		command = { type = hre which = 337 value = no } # Dutch Republic
		command = { type = hre which = 338 value = no }
		command = { type = hre which = 339 value = no }
		command = { type = hre which = 340 value = no }
		command = { type = hre which = 388 value = no } # Italy, Provence and Switzerland
		command = { type = hre which = 389 value = no }
		command = { type = hre which = 390 value = no }
		command = { type = hre which = 400 value = no }
		command = { type = hre which = 401 value = no }
		command = { type = hre which = 402 value = no }
		command = { type = hre which = 403 value = no }
		command = { type = hre which = 404 value = no }
		command = { type = hre which = 405 value = no }
		command = { type = hre which = 406 value = no }
		command = { type = hre which = 1612 value = no }
	}
}

# Mongols! #
event = {
	id = 25020
	trigger = {
		OR = {
			tag = CHG # Chagatai
			tag = CHI # China
			tag = MCH # Manchu
			tag = MNG # Ming
			tag = QNG # Qing
			tag = SNG # Song
			neighbour = YUA
		}
		exists = YUA
		NOT = { relation = { country = YUA data = 100 } }
		NOT = { year = 1600 }
	}
	random = yes

	name = "EVENTNAME25020"
	desc = "EVENTHIST25020"

	action_a = {	# Damn! #
		name = "ACTIONNAME25020A"
		command = { type = revolt which = -1 }
		command = { type = revolt which = -4 }
		command = { type = desertion which = -1 value = 5000 }
		command = { type = desertion which = -4 value = 2500 }
		command = { type = relation which = YUA value = -50 }
		command = { type = stability value = -2 }
	}

	action_b = {	# Pay them off #
		name = "ACTIONNAME25020B"
		command = { type = cash value = -250 }
		command = { type = relation which = YUA value = 50 }
		command = { type = stability value = -1 }
	}
}

# Wild Jurchens! #
event = {
	id = 25058
	trigger = {
		exists = MCH
		neighbour = MCH
	}
	random = yes

	name = "EVENTNAME25058"
	desc = "EVENTHIST25058"

	action_a = {	# Damn! #
		name = "ACTIONNAME25058A"
		command = { type = revolt which = -1 }
		command = { type = populationpercent which = -3 value = -1 }
		command = { type = treasury value = -50 }
		command = { type = stability value = -1 }
	}
}
