Scripted effect
illegal_imprisonment_dread_effect
illegal_imprisonment_dread_effect = yesgame/common/scripted_effects/00_interaction_effects.txt, line 455 (31 lines). No parameters.
illegal_imprisonment_dread_effect is a scripted effect in Crusader Kings III, written at line 455 of its file. It takes no parameters: illegal_imprisonment_dread_effect = yes. The game's script calls it in 2 places, among them Imprison (interaction) and diarch_imprison_general_accept_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_interaction_effects.txt.
What it does
scope:puppet_or_actor:If
NOT = { has_imprisonment_reason = scope:recipient }
Then
If
One of these
is_spouse_of = scope:recipientor
is_close_family_of = scope:recipientor
scope:recipient:tier_or_related_liege_tier_greater_or_equal_trigger = { TIER = tier_kingdom }
Then
- Dread +20
Else if
One of these
scope:recipient:tier_or_related_liege_tier_equal_trigger = { TIER = tier_duchy }
or
scope:recipient:tier_or_related_liege_tier_equal_trigger = { TIER = tier_county }
Then
- Dread +10
• 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)
illegal_imprisonment_dread_effect = {
###DREAD###
scope:puppet_or_actor = {
if = {
limit = {
NOT = {
has_imprisonment_reason = scope:recipient
}
}
if = {
limit = {
OR = {
is_spouse_of = scope:recipient
is_close_family_of = scope:recipient
scope:recipient = { tier_or_related_liege_tier_greater_or_equal_trigger = { TIER = tier_kingdom } }
}
}
add_dread = medium_dread_gain
}
else_if = {
limit = {
OR = {
scope:recipient = { tier_or_related_liege_tier_equal_trigger = { TIER = tier_duchy } }
scope:recipient = { tier_or_related_liege_tier_equal_trigger = { TIER = tier_county } }
}
}
add_dread = minor_dread_gain
}
}
}
}As written in game/common/scripted_effects/00_interaction_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls illegal_imprisonment_dread_effect.
Character interactions (1)
Scripted effects (1)
Source: game/common/scripted_effects/00_interaction_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.