Scripted trigger
use_same_authority_with_liege
use_same_authority_with_liege = yesgame/common/scripted_triggers/00_law_triggers.txt, line 146 (40 lines). No parameters.
use_same_authority_with_liege is a scripted trigger in Crusader Kings III, written at line 146 of its file. It takes no parameters: use_same_authority_with_liege = yes (or no). The game's script calls it in 1 place, among them should_synchronize_liege_law (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/00_law_triggers.txt.
What it checks
One of these
government_type = liege.government_typeor
Else if
Then
- Their liege:
Else if
Then
- Their liege:
Else if
Then
- Their liege:
Else if
Then
- Their liege:
Otherwise
- Never
• 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 (40 lines of game script)
use_same_authority_with_liege = {
OR = {
government_type = liege.government_type
trigger_if = {
limit = { realm_law_use_crown_authority = yes }
liege = { realm_law_use_crown_authority = yes }
}
trigger_else_if = {
limit = { realm_law_use_tribal_authority = yes }
liege = { realm_law_use_tribal_authority = yes }
}
trigger_else_if = {
limit = { realm_law_use_imperial_bureaucracy = yes }
liege = { realm_law_use_imperial_bureaucracy = yes }
}
trigger_else_if = {
limit = { realm_law_use_nomadic_authority = yes }
liege = { realm_law_use_nomadic_authority = yes }
}
trigger_else_if = {
limit = { realm_law_use_celestial_bureaucracy = yes }
liege = { realm_law_use_celestial_bureaucracy = yes }
}
trigger_else_if = {
limit = { realm_law_use_meritocratic_bureaucracy = yes }
liege = { realm_law_use_meritocratic_bureaucracy = yes }
}
trigger_else_if = {
limit = { realm_law_use_japanese_bureaucracy = yes }
liege = { realm_law_use_japanese_bureaucracy = yes }
}
trigger_else_if = {
limit = { realm_law_use_church_authority = yes }
liege = { realm_law_use_church_authority = yes }
}
trigger_else = {
always = no
}
}
}As written in game/common/scripted_triggers/00_law_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls use_same_authority_with_liege.
Scripted triggers (1)
Source: game/common/scripted_triggers/00_law_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.