﻿# On action fired monthly by task_generous_welcome of the
# councillor_high_priestess.
#
# scope:councillor = councillor_high_priestess
# scope:councillor_liege = liege of the councillor_high_priestess
on_task_generous_welcome_monthly = {
	trigger = {
		global_var:magister_character = {
			is_travelling = no
			is_at_war = no
		}
	}
	random_events = {
		chance_of_no_event = {
			value = 100
			subtract = task_generous_welcome_monthly_event_chance
		}

		100 = regula_council_event.4000 # task_generous_welcome - Lavish Feast - Choice
		100 = regula_council_event.4005 # task_generous_welcome - Academic Seminar - Choice
		100 = regula_council_event.4010 # task_generous_welcome - Sparring Exhibition - Choice
		100 = regula_council_event.4015 # task_generous_welcome - Charitable Outing - Choice
		100 = regula_council_event.4020 # task_generous_welcome - Lustful Indulgence - Choice
	}
}

# On action fired monthly by task_dispatch_missionaries of the
# councillor_high_priestess.
#
# scope:councillor = councillor_high_priestess
# scope:councillor_liege = liege of the councillor_high_priestess
# scope:province = the capital province of the targeted county
# scope:county = the target county
on_task_dispatch_missionaries_monthly = {
	events = {
		regula_council_event.4250 # task_dispatch_missionaries - Monthly Opinion Change
	}
}

# On action fired monthly by task_impromptu_inspections of the
# councillor_inquisitor.
#
# scope:councillor = councillor_inquisitor
# scope:councillor_liege = liege of the councillor_inquisitor
on_task_impromptu_inspections_monthly = {
	events = {
		regula_council_event.5100 # task_impromptu_inspections - Identify Heretics
		regula_council_event.5105 # task_impromptu_inspections - Suppress County
	}
}

# On action fired monthly by task_sparring_partners of the
# councillor_contubernalis_supervisor.
#
# scope:councillor = councillor_contubernalis_supervisor
# scope:councillor_liege = liege of the councillor_contubernalis_supervisor
on_task_sparring_partners_monthly = {
	on_actions = {
		task_sparring_partners_side_effects
	}
}

# Which handles specifically side effects of task_sparring_partners.
#
# scope:councillor = councillor_contubernalis_supervisor
# scope:councillor_liege = liege of the councillor_contubernalis_supervisor
task_sparring_partners_side_effects = {
	random_events = {
		chance_of_no_event = {
			value = 100
			subtract = contubernalis_supervisor_monthly_side_effect_chance
		}
		100 = regula_council_event.6000 # task_sparring_partners - Side Effects
	}
}

# On action fired monthly by task_beasts_of_burden of the
# councillor_contubernalis_supervisor.
#
# scope:councillor = councillor_contubernalis_supervisor
# scope:councillor_liege = liege of the councillor_contubernalis_supervisor
on_task_beasts_of_burden_monthly = {
	on_actions = {
		task_beasts_of_burden_side_effects
	}
}

# Which handles specifically side effects of task_beasts_of_burden.
#
# scope:councillor = councillor_contubernalis_supervisor
# scope:councillor_liege = liege of the councillor_contubernalis_supervisor
task_beasts_of_burden_side_effects = {
	random_events = {
		chance_of_no_event = {
			value = 100
			subtract = contubernalis_supervisor_monthly_side_effect_chance
		}
		100 = regula_council_event.6100 # task_beasts_of_burden - Side Effects
	}
}
