Scripted trigger
has_higher_or_equal_authority_trigger
has_higher_or_equal_authority_trigger = { AUTHORITY = … CHARACTER = … }game/common/scripted_triggers/00_law_triggers.txt, line 696 (30 lines). Parameters: $AUTHORITY$, $CHARACTER$.
has_higher_or_equal_authority_trigger is a scripted trigger in Crusader Kings III, written at line 696 of its file. A call passes 2 parameters: AUTHORITY and CHARACTER. The game's script calls it in 1 place, among them Humiliation War (casus belli). Patch 1.20.1.2, from game/common/scripted_triggers/00_law_triggers.txt.
The comment above it in the file
Scope's $AUTHORITY$ authority law level is at least $CHARACTER$'s
What it checks
• 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 (30 lines of game script)
has_higher_or_equal_authority_trigger = {
OR = {
has_realm_law = $AUTHORITY$_authority_3
AND = {
has_realm_law = $AUTHORITY$_authority_2
$CHARACTER$ = {
OR = {
has_realm_law = $AUTHORITY$_authority_0
has_realm_law = $AUTHORITY$_authority_1
has_realm_law = $AUTHORITY$_authority_2
}
}
}
AND = {
has_realm_law = $AUTHORITY$_authority_1
$CHARACTER$ = {
OR = {
has_realm_law = $AUTHORITY$_authority_0
has_realm_law = $AUTHORITY$_authority_1
}
}
}
AND = {
has_realm_law = $AUTHORITY$_authority_0
$CHARACTER$ = {
has_realm_law = $AUTHORITY$_authority_0
}
}
}
}As written in game/common/scripted_triggers/00_law_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls has_higher_or_equal_authority_trigger.
Casus belli (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.