Scripted trigger · Roads to Power files
influence_candidacy_valid_succession_law_trigger
influence_candidacy_valid_succession_law_trigger = { TYPE = … }game/common/scripted_triggers/07_ep3_triggers.txt, line 1838 (19 lines). Parameters: $TYPE$.
influence_candidacy_valid_succession_law_trigger is a scripted trigger in Crusader Kings III, in the Roads to Power files, written at line 1838 of its file. A call passes 1 parameter: TYPE. No file of common/, events/ or history/ calls it. Patch 1.20.1.2, from game/common/scripted_triggers/07_ep3_triggers.txt.
The comment above it in the file
Check succession law types for Influence Candidacy validity TYPE should always be 'realm' or 'title'
What it checks
One of these
has_$TYPE$_law = acclamation_succession_lawor
has_$TYPE$_law = appointment_succession_lawor
has_$TYPE$_law = celestial_appointment_succession_lawor
has_$TYPE$_law = celestial_military_appointment_succession_lawor
has_$TYPE$_law = meritocratic_appointment_succession_lawor
has_$TYPE$_law = meritocratic_military_appointment_succession_lawor
has_$TYPE$_law = japanese_appointment_succession_lawor
has_$TYPE$_law = japanese_military_appointment_succession_lawor
has_$TYPE$_law = meritocratic_regency_succession_lawor
has_$TYPE$_law = japanese_regency_succession_law
• 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 (19 lines of game script)
influence_candidacy_valid_succession_law_trigger = {
OR = {
# Byzantium
has_$TYPE$_law = acclamation_succession_law
has_$TYPE$_law = appointment_succession_law
# Celestial Governors
has_$TYPE$_law = celestial_appointment_succession_law
has_$TYPE$_law = celestial_military_appointment_succession_law
# Meritocratic Governors
has_$TYPE$_law = meritocratic_appointment_succession_law
has_$TYPE$_law = meritocratic_military_appointment_succession_law
# Japanese Governors
has_$TYPE$_law = japanese_appointment_succession_law
has_$TYPE$_law = japanese_military_appointment_succession_law
# Ceremonial Regents
has_$TYPE$_law = meritocratic_regency_succession_law
has_$TYPE$_law = japanese_regency_succession_law
}
}As written in game/common/scripted_triggers/07_ep3_triggers.txt.
Where it is used
No file of common/, events/ or history/ calls it.
Source: game/common/scripted_triggers/07_ep3_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.