Scripted trigger
chief_qadi_validity_trigger
chief_qadi_validity_trigger = { EMPLOYER = … }game/common/scripted_triggers/00_court_position_triggers.txt, line 770 (6 lines). Parameters: $EMPLOYER$.
chief_qadi_validity_trigger is a scripted trigger in Crusader Kings III, written at line 770 of its file. A call passes 1 parameter: EMPLOYER. The game's script calls it in 2 places, among them Chief Qadi (court position) and Learned Locals (event bp3_journey.1500). 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$ }- Their religion is Islam
- Has the Trait: Students of Knowledge
$EMPLOYER$.rite = { rite_has_dominant_ruling_gender = prev }
• 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 (6 lines of game script)
chief_qadi_validity_trigger = {
base_court_position_validity_trigger = { EMPLOYER = $EMPLOYER$ }
has_religion = religion:islam_religion
has_trait = education_learning
$EMPLOYER$.rite = { rite_has_dominant_ruling_gender = prev }
} 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 chief_qadi_validity_trigger.
Court positions (1)
Events (1)
- Learned Locals
bp3_journey.1500
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.