# Events listed here run for every living character at game start, that means they
# ALWAYS need to check if they should run.
on_startup = {
	events = {
	}
}

#character
on_bi_yearly_pulse = {
	random_events = {
		# Previously society events
	#	100 = MNM.3919 # Secret Religious societies: Worried member
	#	100 = MNM.3929 # Secret Religious societies: Fellow society member goes for a round

		#Just challenge event
		10 = 1051 #non-rulers - removed automatically
	}
}

#character
on_decade_pulse = {
	random_events = {
		1 = 6010 # Leper - former MTTH event
	}
}

# Fires for the owner of the winning unit (ROOT). The taken Holding title is in FROM.
on_siege_over_winner = {
	events = {
		TOG.1085 # Decadence rebels take county capital
	}
}

on_death = {
	events = {
		20355 # Heir inherits half of the spy network value
		TOG.1055 # Nationalist revolter dies
	}
}

on_loot_settlement = {
	random_events = {
		# 35 = TOG.3320
	}
}

# ROOT is the character, FROM is the title, FROMFROM is the old holder
on_new_holder = {
	events = {
		SSI.40 #Aztecs conquer X events
		SSI.41
		SSI.42
		SSI.43
		SSI.44
		SSI.45
		SSI.46
		SSI.47
		SSI.48
	}
}

# ROOT is the character, FROM is the title, FROMFROM is the old holder
on_new_holder_inheritance = {
	events = {
		ZE.6010 #ambition event for unlanded son.
		SSI.40 #Aztecs conquer X events
		SSI.41
		SSI.42
		SSI.43
		SSI.44
		SSI.45
		SSI.46
		SSI.47
		SSI.48
	}
}

# ROOT is the character, FROM is the title, FROMFROM is the old holder
on_new_holder_usurpation = {
	events = {
		SSI.40 #Aztecs conquer X events
		SSI.41
		SSI.42
		SSI.43
		SSI.44
		SSI.45
		SSI.46
		SSI.47
		SSI.48
	}
}