Scripted trigger · All Under Heaven files
is_wrong_examination_gender
is_wrong_examination_gender = yesgame/common/scripted_triggers/tgp_imperial_examination_triggers.txt, line 180 (22 lines). No parameters.
is_wrong_examination_gender is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 180 of its file. It takes no parameters: is_wrong_examination_gender = yes (or no). The game's script calls it in 1 place, among them Capital Examination: A Tentative Start (event travel_start_event.1100). Patch 1.20.1.2, from game/common/scripted_triggers/tgp_imperial_examination_triggers.txt.
What it checks
One of these
All of these
scope:host:One of these
- Has the Male Only Law
or
Has the Male Preference Law
is_female = yes
or
All of these
scope:host:One of these
- Has the Female Only Law
or
Has the Female Preference Law
is_male = 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 (22 lines of game script)
is_wrong_examination_gender = {
OR = {
AND = {
scope:host = {
OR = {
has_realm_law = male_only_law
has_realm_law = male_preference_law
}
}
is_female = yes
}
AND = {
scope:host = {
OR = {
has_realm_law = female_only_law
has_realm_law = female_preference_law
}
}
is_male = yes
}
}
}As written in game/common/scripted_triggers/tgp_imperial_examination_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls is_wrong_examination_gender.
Events (1)
- Capital Examination: A Tentative Start
travel_start_event.1100
Source: game/common/scripted_triggers/tgp_imperial_examination_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.