Scripted trigger
can_be_clergy_due_to_gender_trigger
can_be_clergy_due_to_gender_trigger = yesgame/common/scripted_triggers/00_religious_triggers.txt, line 225 (13 lines). No parameters.
can_be_clergy_due_to_gender_trigger is a scripted trigger in Crusader Kings III, written at line 225 of its file. It takes no parameters: can_be_clergy_due_to_gender_trigger = yes (or no). The game's script calls it in 10 places, among them Camp Priest (court position), … Floating Shrine (event pilgrimage_seasia.400) and A … Play of My Own (event learning_theology.3054). Patch 1.20.1.2, from game/common/scripted_triggers/00_religious_triggers.txt.
What it checks
One of these
All of these
- Their rite: The rite has Only women can be granted Temple Holdings or serve as Court Chaplains
is_female = yes
or
All of these
- Their rite: The rite has Only men can be granted Temple Holdings or serve as Court Chaplains
is_male = yes
or
Their rite: The rite has Gender has no influence on who can be granted Temple Holdings or serve as Court Chaplains
• 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 (13 lines of game script)
can_be_clergy_due_to_gender_trigger = {
OR = {
AND = {
rite = { rite_has_parameter = clergy_must_be_female }
is_female = yes
}
AND = {
rite = { rite_has_parameter = clergy_must_be_male }
is_male = yes
}
rite = { rite_has_parameter = clergy_can_be_either_gender }
}
}As written in game/common/scripted_triggers/00_religious_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls can_be_clergy_due_to_gender_trigger.
Court positions (1)
Events (6)
- … Floating Shrine
pilgrimage_seasia.400 - A … Play of My Own
learning_theology.3054 - Empty Accusations
spymaster_task.2001 - Scholars of Baghdad
yearly.4091 - The … Play in …
learning_theology.3051 - The Saint of …
ep3_emperor_yearly.2150
Scripted triggers inside an event file (2)
- fp3_suitable_magistrate_courtier_trigger
- learning_theology_special_1101_rabbi_trigger
Scripted effects (1)
Source: game/common/scripted_triggers/00_religious_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.