Scripted trigger
title_revocation_is_tyrannical_trigger
title_revocation_is_tyrannical_trigger = { VASSAL = … }game/common/scripted_triggers/00_interaction_triggers.txt, line 152 (45 lines). Parameters: $VASSAL$.
title_revocation_is_tyrannical_trigger is a scripted trigger in Crusader Kings III, written at line 152 of its file. A call passes 1 parameter: VASSAL. The game's script calls it in 5 places, among them Revoke Title (interaction), revocation_tyranny_effect (scripted effect) and tgp_restore_ritsuryo_civil_war_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_triggers/00_interaction_triggers.txt.
What it checks
None of these
exists = scope:administrative_revocationhas_revoke_title_reason = $VASSAL$If
a check the game hides
Then
has_claim_on = scope:landed_title
title_revocation_is_admin_governor_trigger = { VASSAL = $VASSAL$ }All of these
$VASSAL$ = { … }One of these
or
• 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 (45 lines of game script)
title_revocation_is_tyrannical_trigger = {
NOR = {
exists = scope:administrative_revocation
has_revoke_title_reason = $VASSAL$
trigger_if = {
limit = { exists = scope:landed_title }
has_claim_on = scope:landed_title
}
title_revocation_is_admin_governor_trigger = { VASSAL = $VASSAL$ }
AND = {
rite = { rite_has_parameter = tenet_legalism_sinful_revocation }
$VASSAL$ = {
num_sinful_traits = {
value > 0
target = prev.rite
}
}
}
AND = {
$VASSAL$ = {
NOT = { vassal_contract_has_flag = religiously_protected }
}
OR = {
AND = {
rite = { rite_has_parameter = pluralism_righteous_revocation_tyranny_reduced }
faith = {
faith_hostility_level = {
target = $VASSAL$.faith
value = faith_evil_level
}
}
}
AND = {
rite = { rite_has_parameter = pluralism_fundamentalist_revocation_tyranny_minimal }
faith = {
faith_hostility_level = {
target = $VASSAL$.faith
value >= faith_hostile_level
}
}
}
}
}
}
}As written in game/common/scripted_triggers/00_interaction_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls title_revocation_is_tyrannical_trigger.
Character interactions (1)
Source: game/common/scripted_triggers/00_interaction_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.