Scripted trigger
valid_junior_emperor_candidate_trigger
valid_junior_emperor_candidate_trigger = { LIEGE = … }game/common/scripted_triggers/00_diarchy_scripted_triggers.txt, line 439 (15 lines). Parameters: $LIEGE$.
valid_junior_emperor_candidate_trigger is a scripted trigger in Crusader Kings III, written at line 439 of its file. A call passes 1 parameter: LIEGE. The game's script calls it in 3 places, among them Elevate Child as Nominal Co-Emperor (interaction), Grant Nominal Co-Emperor status (important action) and sort_junior_emperor_candidates_to_list_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_triggers/00_diarchy_scripted_triggers.txt.
What it checks
- Is a child
is_close_or_extended_family_of = $LIEGE$- Is not imprisoned
One of these
is_courtier_of = $LIEGE$or
is_vassal_of = $LIEGE$
- Their government is not unplayable
- Their government is not a Theocratic-type Government
- Their government is not Adventurer
• 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 (15 lines of game script)
valid_junior_emperor_candidate_trigger = {
is_adult = no
is_close_or_extended_family_of = $LIEGE$
is_imprisoned = no
OR = {
is_courtier_of = $LIEGE$
is_vassal_of = $LIEGE$
}
# Prevent weird governments from taking place.
NOR = {
government_has_flag = government_is_republic
government_has_flag = government_is_theocracy
government_has_flag = government_is_landless_adventurer
}
}As written in game/common/scripted_triggers/00_diarchy_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls valid_junior_emperor_candidate_trigger.
Character interactions (1)
Important actions (1)
- Grant Nominal Co-Emperor status
Scripted effects (1)
Source: game/common/scripted_triggers/00_diarchy_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.