Scripted trigger
title_lost_from_realm_on_foreign_ruler_succession_trigger
title_lost_from_realm_on_foreign_ruler_succession_trigger = { LIEGE = … VASSAL = … }game/common/scripted_triggers/00_title_triggers.txt, line 119 (12 lines). Parameters: $LIEGE$, $VASSAL$.
title_lost_from_realm_on_foreign_ruler_succession_trigger is a scripted trigger in Crusader Kings III, written at line 119 of its file. A call passes 2 parameters: LIEGE and VASSAL. The game's script calls it in 1 place, among them Realm will lose land if Vassal inherits foreign Title (important action). Patch 1.20.1.2, from game/common/scripted_triggers/00_title_triggers.txt.
The comment above it in the file
this = title VASSAL = Vassal to check tier against LIEGE = Liege of vassal
What it checks
- Title tier more than $VASSAL$.highest held title tier
NOT = { heir_resigns_realm_on_inheriting = $VASSAL$ }- Their holder:
NOT = { target_is_liege_or_above = $LIEGE$ }- Their government does not have the administrative mechanic
• 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)
title_lost_from_realm_on_foreign_ruler_succession_trigger = {
tier > $VASSAL$.highest_held_title_tier
exists = holder # Ignoring titles that will be created by confederate partition, cause that be magic and unlikely to make a warning anyway
NOT = { heir_resigns_realm_on_inheriting = $VASSAL$ }
holder = {
NOR = {
this = $LIEGE$
target_is_liege_or_above = $LIEGE$
government_has_mechanic = administrative # Ignoring because admin counts do not take it with them, but immediately resign it when they inherit a governorship
}
}
}As written in game/common/scripted_triggers/00_title_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls title_lost_from_realm_on_foreign_ruler_succession_trigger.
Important actions (1)
- Realm will lose land if Vassal inherits foreign Title
Source: game/common/scripted_triggers/00_title_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.