Scripted trigger
eparch_validity_trigger
eparch_validity_trigger = { EMPLOYER = … }game/common/scripted_triggers/00_court_position_triggers.txt, line 2012 (19 lines). Parameters: $EMPLOYER$.
eparch_validity_trigger is a scripted trigger in Crusader Kings III, written at line 2012 of its file. A call passes 1 parameter: EMPLOYER. The game's script calls it in 1 place, among them Eparch (court position). 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
base_court_position_validity_trigger = { EMPLOYER = $EMPLOYER$ }- Does not have the Trait: Eunuch
• 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 (19 lines of game script)
eparch_validity_trigger = {
base_court_position_validity_trigger = { EMPLOYER = $EMPLOYER$ }
OR = { # Is either unlanded (a courtier or landless family head) or a governor of a nearby theme
is_landed = no
custom_tooltip = {
text = eparch_distance_trigger_desc
capital_province ?= {
squared_distance = {
target = $EMPLOYER$.capital_province
value < 50000
}
}
government_has_mechanic = administrative
}
}
# Eunuchs were historically not allowed to have this position
NOT = { has_trait = eunuch }
}As written in game/common/scripted_triggers/00_court_position_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls eparch_validity_trigger.
Court positions (1)
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.