﻿#
### On actions for toskabattles
#

# 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)

# What to do on siege completion:
on_siege_completion = {
	events = {
		toskabattles.0001 # Core siege event (Will determine a sequential event itself)
	}
}

on_siege_looting = {
	# This is commented out, because after a siege (battle or raid!) 'on_siege_completion' fires anyway.
	# This would then fire as well, giving us event 'toskabattles.0001' twice.
	#events = {
	#	toskabattles.0001 # Core siege event (Will determine a sequential event itself)
	#}
}

on_raid_action_completion  = {
	events = {
		toskabattles.0201 # Core raid siege event (Will determine a sequential event itself)
	}
}
