Scripted trigger · All Under Heaven files
can_have_japanese_regency_succession_law_trigger
can_have_japanese_regency_succession_law_trigger = yesgame/common/scripted_triggers/10_tgp_japan_triggers.txt, line 239 (12 lines). No parameters.
can_have_japanese_regency_succession_law_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 239 of its file. It takes no parameters: can_have_japanese_regency_succession_law_trigger = yes (or no). The game's script calls it in 1 place, among them Japanese Regency Succession (law). Patch 1.20.1.2, from game/common/scripted_triggers/10_tgp_japan_triggers.txt.
What it checks
- Is an Independent Ruler
- Government is Ritsuryō
One of these
- Holds Chrysanthemum Throne
or
Any vassal or below: Holds Chrysanthemum Throne
- Does not have “tenno restored” (a variable the game's script sets)
• 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 (12 lines of game script)
can_have_japanese_regency_succession_law_trigger = {
has_tgp_dlc_trigger = yes
is_independent_ruler = yes
government_has_flag = government_is_japan_administrative
OR = {
has_title = title:k_chrysanthemum_throne
any_vassal_or_below = { has_title = title:k_chrysanthemum_throne }
}
NOT = {
has_global_variable = tenno_restored
}
}As written in game/common/scripted_triggers/10_tgp_japan_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls can_have_japanese_regency_succession_law_trigger.
Laws (1)
Source: game/common/scripted_triggers/10_tgp_japan_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.