Scripted trigger
liege_should_systematically_maim_co_ruler_trigger
liege_should_systematically_maim_co_ruler_trigger = yesgame/common/scripted_triggers/00_diarchy_scripted_triggers.txt, line 550 (18 lines). No parameters.
liege_should_systematically_maim_co_ruler_trigger is a scripted trigger in Crusader Kings III, written at line 550 of its file. It takes no parameters: liege_should_systematically_maim_co_ruler_trigger = yes (or no). The game's script calls it in 4 places, among them Blind (interaction), Castrate Prisoner (interaction) and Negotiate Release (interaction). Patch 1.20.1.2, from game/common/scripted_triggers/00_diarchy_scripted_triggers.txt.
What it checks
One of these
All of these
has_diarchy_active_parameter = diarchy_is_co_rulershipliege_can_maim_co_ruler_without_killing_them_trigger = yesdiarch ?= scope:recipient
or
All of these
- Their liege:
has_diarchy_active_parameter = diarchy_is_co_rulership
liege_can_maim_co_ruler_without_killing_them_trigger = yesis_diarch_of_target = scope:recipient
- Their liege:
or
All of these
has_diarchy_active_parameter = diarchy_type_is_co_monarchydiarch ?= scope:recipient
• 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 (18 lines of game script)
liege_should_systematically_maim_co_ruler_trigger = {
OR = {
AND = {
has_diarchy_active_parameter = diarchy_is_co_rulership
liege_can_maim_co_ruler_without_killing_them_trigger = yes
diarch ?= scope:recipient
}
AND = {
liege ?= { has_diarchy_active_parameter = diarchy_is_co_rulership }
liege_can_maim_co_ruler_without_killing_them_trigger = yes
is_diarch_of_target = scope:recipient
}
AND = {
has_diarchy_active_parameter = diarchy_type_is_co_monarchy
diarch ?= scope:recipient
}
}
}As written in game/common/scripted_triggers/00_diarchy_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls liege_should_systematically_maim_co_ruler_trigger.
Character interactions (4)
Source: game/common/scripted_triggers/00_diarchy_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.