##########################################
# COUNCILLOR TITLES
##########################################

#	attribute: This attribute is added to the ruler's for governance purposes
#	viceroy: This is the Viceroy title for de jure Kingdoms
#	allow: conditions for the character to hold the title
#	gain_effect: fires when the title is granted
#	lose_effect: fires when a title is lost if dismissal_trigger evaluates to false
#	The other fields are all character modifiers.

job_chancellor = {
	is_chancellor = yes
	attribute = diplomacy
	dignity = 0.33
	opinion_effect = 15
	
	monthly_salary = 0.1
	monthly_prestige = 0.015
	
	allow = {
		is_adult = yes
		prisoner = no
		NOT = { trait = incapable }
	}
	gain_effect = {
	}
	lose_effect = {
		opinion = { who = FROM modifier = opinion_fired_from_council }
	}
	#dismiss_trigger = {
	#}
	
	action = action_improve_relations
	action = action_sow_dissent
	action = action_fabricate_claims

	lift_fow = yes
}

# NOTE: The allow trigger for this job also determines who can command armies!
job_marshal = {
	is_marshal = yes
	attribute = martial
	dignity = 0.33
	opinion_effect = 15
	
	monthly_salary = 0.1
	monthly_prestige = 0.015
	
	allow = {
		is_adult = yes
		prisoner = no
		NOT = { trait = incapable }
		
		# Special limitations to prevent civilians leading fleets
		OR = {
			FROM = { is_military_trigger = yes }
			is_military_trigger = yes
			trait = misguided_warrior
			trait = tough_soldier
			trait = skilled_tactician
			trait = brilliant_strategist
		}
	}
	
	gain_effect = {
	}
	lose_effect = {
		opinion = { who = FROM modifier = opinion_fired_from_council }
	}
	#dismiss_trigger = {
	#}
	
	action = action_advance_mil_tech
	action = action_train_troops
	action = action_assist_arrest

	lift_fow = yes
}

job_treasurer = {
	is_treasurer = yes
	attribute = stewardship
	dignity = 0.2
	opinion_effect = 15
	
	monthly_salary = 0.1
	monthly_prestige = 0.015
	
	allow = {
		is_adult = yes
		prisoner = no
		NOT = { trait = incapable }
	}
	gain_effect = {
	}
	lose_effect = {
		opinion = { who = FROM modifier = opinion_fired_from_council }
	}
	#dismiss_trigger = {
	#}
	
	action = action_oversee_construction
	action = action_squeeze_peasants
	action = action_advance_eco_tech

	lift_fow = yes
}

job_spymaster = {
	is_spymaster = yes
	attribute = intrigue
	dignity = 0.1
	opinion_effect = 15
	
	monthly_salary = 0.1
	
	allow = {
		is_adult = yes
		prisoner = no
		NOT = { trait = incapable }
	}
	gain_effect = {
	}
	lose_effect = {
		opinion = { who = FROM modifier = opinion_fired_from_council }
	}
	#dismiss_trigger = {
	#}
	
	action = action_uncover_plots
	action = action_study_technology
	action = action_organize_spies

	lift_neighbor_fow = yes
}

job_spiritual = {
	is_spiritual = yes
	attribute = learning
	dignity = 0.15
	opinion_effect = 15
	
	monthly_salary = 0.1
	monthly_prestige = 0.015
	
	allow = {
		is_adult = yes
		prisoner = no
		NOT = { trait = incapable }
	}
	gain_effect = {
	}
	lose_effect = {
		opinion = { who = FROM modifier = opinion_fired_from_council }
	}
	#dismiss_trigger = {
	#}

	lift_fow = yes
	
	action = action_build_zeal
	action = action_improve_rel_relations
	action = action_advance_cul_tech
}
