Scripted trigger
tier_or_related_liege_tier_greater_or_equal_trigger
tier_or_related_liege_tier_greater_or_equal_trigger = { TIER = … }game/common/scripted_triggers/00_scripted_triggers.txt, line 156 (12 lines). Parameters: $TIER$.
tier_or_related_liege_tier_greater_or_equal_trigger is a scripted trigger in Crusader Kings III, written at line 156 of its file. A call passes 1 parameter: TIER. The game's script calls it in 5 places, among them blind_castrate_and_disfigure_effect (scripted effect), execute_prisoner_effect (scripted effect) and illegal_imprisonment_dread_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_triggers/00_scripted_triggers.txt.
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 (12 lines of game script)
tier_or_related_liege_tier_greater_or_equal_trigger = {
OR = {
highest_held_title_tier >= $TIER$
AND = {
liege ?= { highest_held_title_tier >= $TIER$ }
OR = {
is_close_family_of = this.liege
is_spouse_of = this.liege
}
}
}
}As written in game/common/scripted_triggers/00_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls tier_or_related_liege_tier_greater_or_equal_trigger.
Source: game/common/scripted_triggers/00_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.