Scripted trigger
chief_forager_validity_trigger
chief_forager_validity_trigger = { EMPLOYER = … }game/common/scripted_triggers/00_court_position_triggers.txt, line 1450 (27 lines). Parameters: $EMPLOYER$.
chief_forager_validity_trigger is a scripted trigger in Crusader Kings III, written at line 1450 of its file. A call passes 1 parameter: EMPLOYER. No file of common/, events/ or history/ calls it. Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/00_court_position_triggers.txt.
What it checks
- They are not already employed as a Councillor, camp Officer, or in a full time Court Position
base_court_position_validity_trigger = { EMPLOYER = $EMPLOYER$ }
• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists
“They” is whatever it runs on (the scope it is called in). The scripted triggers and effects it calls link to their own pages; $PARAMETERS$ stay as written: each call fills them in.
The script as written (27 lines of game script)
chief_forager_validity_trigger = {
custom_tooltip = {
text = none_does_not_have_a_full_time_job
trigger_if = {
limit = { NOT = { has_court_position = chief_forager_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$ }
# Qualifications.
OR = {
# Skill.
learning >= decent_skill_rating
# Personality.
has_trait = humble
has_trait = eccentric
has_trait = deceitful
has_trait = diligent
# Misc.
has_trait = lifestyle_mystic
has_trait = lifestyle_gardener
has_trait = lifestyle_herbalist
has_trait = lifestyle_physician
has_trait = erudite
has_trait = witch
}
}As written in game/common/scripted_triggers/00_court_position_triggers.txt.
Where it is used
No file of common/, events/ or history/ calls it.
Source: game/common/scripted_triggers/00_court_position_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.