CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

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

  • One of these

    • Has the … authority 3 Law
    • or

      All of these

      • Has the … authority 2 Law
      • $CHARACTER$ = { … }
    • or

      All of these

      • Has the … authority 1 Law
      • $CHARACTER$ = { … }
    • or

      All of these

      • Has the … authority 0 Law
      • $CHARACTER$ = { has_realm_law = $AUTHORITY$_authority_0 }

• 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.

Spotted a mistake on this page?