Scripted trigger · All Under Heaven files
tgp_root_gender_can_be_exam_entrant_trigger
tgp_root_gender_can_be_exam_entrant_trigger = yesgame/common/scripted_triggers/10_tgp_triggers.txt, line 906 (27 lines). No parameters.
tgp_root_gender_can_be_exam_entrant_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 906 of its file. It takes no parameters: tgp_root_gender_can_be_exam_entrant_trigger = yes (or no). The game's script calls it in 5 places, among them Family Candidates (activities), Guests (activities) and Guests (activities). Patch 1.20.1.2, from game/common/scripted_triggers/10_tgp_triggers.txt.
What it checks
Otherwise
always = yes
• 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)
tgp_root_gender_can_be_exam_entrant_trigger = {
trigger_if = {
limit = {
root ?= {
OR = {
has_realm_law = female_only_law
has_realm_law = female_preference_law
}
}
}
is_female = yes
}
trigger_else_if = {
limit = {
root ?= {
OR = {
has_realm_law = male_only_law
has_realm_law = male_preference_law
}
}
}
is_female = no
}
trigger_else = {
always = yes
}
}As written in game/common/scripted_triggers/10_tgp_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls tgp_root_gender_can_be_exam_entrant_trigger.
Activities (5)
- Family Candidates
- Guests
- Guests
- Local Candidates
- Regional Nominees
Source: game/common/scripted_triggers/10_tgp_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.