CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted effect

illegal_imprisonment_dread_effect

illegal_imprisonment_dread_effect = yes

game/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

• 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)

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.

Spotted a mistake on this page?