﻿# Pilgrims and Preachers - camp officer validity triggers
# Called by vanilla valid_camp_officer_trigger = { OFFICER = ppr_relic_keeper }.
# Mirrors vanilla camp_priest_validity_trigger.

ppr_relic_keeper_validity_trigger = {
	custom_tooltip = {
		text = none_does_not_have_a_full_time_job
		trigger_if = {
			limit = { NOT = { has_court_position = ppr_relic_keeper_camp_officer } }
			court_position_does_not_already_have_a_job_trigger = yes # This positions is considered a job, and cannot be held at the same time as another similar position
		}
	}
	base_court_position_validity_trigger = { EMPLOYER = $EMPLOYER$ }
	# Have to be the same faith.
	faith = $EMPLOYER$.faith
	# Qualifications.
	OR = {
		# Skill.
		learning >= decent_skill_rating
		# Personality.
		has_trait = zealous
		has_trait = diligent
		has_trait = patient
		# Misc.
		has_trait = pilgrim
		has_trait = theologian
		has_trait = erudite
	}
}
