﻿# character just about to die in root scope
# if a killer is know, it's set as scope:killer
#Triggered by code

on_death = {
	random_events = {
		100 = 0
		10 = St_Saint.0001 # Someone who becomes a Saint
	}
}

# called when a siege completes. Does *not* fire on reoccupation by province order
# root is the occupant
# scope:barony is the barony title that got occupied
# scope:county is the county title for the barony
# scope:previous_controller is the previous controller of the county
# scope:war is the war causing the previous controller and the occupant to be hostile
# occupied_baronies is a list of all baronies that the siege caused the occupier to control (I.E., can include baronies with no fort level)
on_siege_completion = {
	events = {
		St_Saint.1001 # The enemies found the tomb of Saint in the occupied land
	}
}

# Called from code once every three years for "playable" (count+) characters.
# Root is the character
three_year_playable_pulse = {
	events = {
		St_Saint.2001 # The pagans found the tomb of Saint in the occupied land
		St_Saint.2002 # Reconstruct the Tomb of Saint of Christianity
	}
}
