Scripted effect
imprisonment_retribution_start_faction_war_if_valid
imprisonment_retribution_start_faction_war_if_valid = yesgame/common/scripted_effects/00_faction_effects.txt, line 60 (31 lines). No parameters.
imprisonment_retribution_start_faction_war_if_valid is a scripted effect in Crusader Kings III, written at line 60 of its file. It takes no parameters: imprisonment_retribution_start_faction_war_if_valid = yes. The game's script calls it in 3 places, among them Imprison (interaction), A Helpful Warning (event yearly.3001) and Coveted Claim (event bp1_yearly.8000). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/00_faction_effects.txt.
What it does
- scope:recipient: Imprisoning … may incite the … to revolt!
• 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 (31 lines of game script)
imprisonment_retribution_start_faction_war_if_valid = {
scope:recipient = {
custom_tooltip = FACTION_IMPRISONMENT_RETALIATION_WARNING
}
hidden_effect = {
if = {
limit = {
faction_power > faction_power_threshold
NOT = { faction_is_type = populist_faction }
}
if = {
limit = {
faction_is_type = claimant_faction
}
special_title = {
save_scope_as = target_title
}
faction_start_war = {
title = scope:target_title
}
}
else = {
faction_start_war = {}
}
every_faction_member = {
trigger_event = faction_demand.9001
}
}
}
}As written in game/common/scripted_effects/00_faction_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls imprisonment_retribution_start_faction_war_if_valid.
Character interactions (1)
Events (2)
- A Helpful Warning
yearly.3001 - Coveted Claim
bp1_yearly.8000
Source: game/common/scripted_effects/00_faction_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.