Scripted effect
imprison_hostage_tooltip_effect
imprison_hostage_tooltip_effect = { WHO = … }game/common/scripted_effects/00_prison_effects.txt, line 1951 (8 lines). Parameters: $WHO$.
imprison_hostage_tooltip_effect is a scripted effect in Crusader Kings III, written at line 1951 of its file. A call passes 1 parameter: WHO. The game's script calls it in 6 places, among them hard_imprison_character_effect (scripted effect), imprison_character_effect (scripted effect) and imprison_character_effect_ignore_reason (scripted effect). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/00_prison_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (8 lines of game script)
imprison_hostage_tooltip_effect = {
$WHO$ = {
if = {
limit = { is_hostage = yes }
custom_tooltip = hostage_prison_invalidation_tt
}
}
}As written in game/common/scripted_effects/00_prison_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls imprison_hostage_tooltip_effect.
Source: game/common/scripted_effects/00_prison_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.