Scripted trigger
historical_succession_access_single_heir_succession_law_trigger
historical_succession_access_single_heir_succession_law_trigger = yesgame/common/scripted_triggers/00_succession_triggers.txt, line 25 (35 lines). No parameters.
historical_succession_access_single_heir_succession_law_trigger is a scripted trigger in Crusader Kings III, written at line 25 of its file. It takes no parameters: historical_succession_access_single_heir_succession_law_trigger = yes (or no). The game's script calls it in 5 places, among them Confederate Partition (law), High Partition (law) and Partition (law). Patch 1.20.1.2, from game/common/scripted_triggers/00_succession_triggers.txt.
What it checks
- If they has administrative government mechanic:
One of these
tgp_japan_single_heir_succession_override_trigger = yesor
tgp_korea_single_heir_succession_override_trigger = yesor
Holds Hindustanor
Holds Chinaor
All of these
- Is an Independent Ruler
- Government is Meritocratic Khanate
- Otherwise:
One of these
- Holds Austria
or
is_roman_emperor_trigger = yesor
All of these
- Holds Francia
is_target_in_global_variable_list = { name = unavailable_unique_decisions target = flag:flag_reformed_carolingian_empire }
or
Holds Hindustanor
Holds Chinaor
All of these
- Government is Sōryō
- Is an Independent Ruler
• 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 (35 lines of game script)
historical_succession_access_single_heir_succession_law_trigger = {
trigger_if = {
limit = { government_has_mechanic = administrative }
OR = {
tgp_japan_single_heir_succession_override_trigger = yes
tgp_korea_single_heir_succession_override_trigger = yes
has_title = title:e_hindustan
has_title = title:h_china
AND = {
is_independent_ruler = yes
government_has_flag = government_is_steppe_admin
}
}
}
trigger_else = {
OR = {
has_title = title:k_austria
is_roman_emperor_trigger = yes
AND = {
has_title = title:e_france
is_target_in_global_variable_list = {
name = unavailable_unique_decisions
target = flag:flag_reformed_carolingian_empire
}
}
has_title = title:e_hindustan
has_title = title:h_china
AND = {
government_has_flag = government_is_japan_feudal
is_independent_ruler = yes
}
#Add any subsequent exceptions here.
}
}
}As written in game/common/scripted_triggers/00_succession_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls historical_succession_access_single_heir_succession_law_trigger.
Scripted triggers (1)
Source: game/common/scripted_triggers/00_succession_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.