Scripted effect
on_lost_request_revolt_war
on_lost_request_revolt_war = yesgame/common/scripted_effects/00_war_effects.txt, line 1190 (27 lines). No parameters.
on_lost_request_revolt_war is a scripted effect in Crusader Kings III, written at line 1190 of its file. It takes no parameters: on_lost_request_revolt_war = yes. The game's script calls it in 2 places, among them Japan refused ritsuryo (casus belli) and Rebellion (casus belli). Patch 1.20.1.2, from game/common/scripted_effects/00_war_effects.txt.
The comment above it in the file
Imprison all revolters on lost request revolt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (27 lines of game script)
on_lost_request_revolt_war = {
war = {
every_war_attacker = {
limit = {
exists = liege
any_liege_or_above = { this = scope:defender }
}
if = {
limit = { is_imprisoned = no }
hard_imprison_character_effect = {
TARGET = this
IMPRISONER = scope:defender
}
}
if = {
limit = { liege = scope:defender }
add_faction_cooldown_effect = { YEARS = faction_war_defeat_cooldown }
}
scope:defender = {
add_opinion = {
target = prev
modifier = vassal_lost_faction_revolt_war
}
}
}
}
}As written in game/common/scripted_effects/00_war_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls on_lost_request_revolt_war.
Casus belli (2)
Source: game/common/scripted_effects/00_war_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.