# The Tally hooks (merged with vanilla's on_actions).

# This = Colony scope, From = Country scope (new owner), FromFrom = former owner
on_colony_conquer = {
	events = {
		apb_tally.1		# +1 for a conquered colony
	}
}

# This = Colony scope, From = Country, FromFrom = Pop group
# local_pop_amount = variable of how many pops were purged
on_pop_purged = {
	events = {
		apb_tally.2		# +1 per 1,000 pops purged
	}
}

# This = destroyed country, From = optional, destroyer (country)
on_country_destroyed = {
	events = {
		apb_tally.3		# +10 for a destroyed empire
	}
}

# this = country
on_yearly_pulse_country = {
	events = {
		apb_tally.5		# Yearly reading of the count
	}
}
