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

Scripted effect

committed_suicide_effect

committed_suicide_effect = yes

game/common/scripted_effects/20_health_effects.txt, line 4203 (34 lines). No parameters.

committed_suicide_effect is a scripted effect in Crusader Kings III, written at line 4203 of its file. It takes no parameters: committed_suicide_effect = yes. The game's script calls it in 5 places, among them Attempt Suicide (decision), The Attempt (event health.6002) and The Attempt (event health.6004). Patch 1.20.1.2, from game/common/scripted_effects/20_health_effects.txt.

The comment above it in the file

Effect run when you commit suicide

What it does

  • If any vassal › All vassals of …: Opinion: Committed Suicide (-30)
  • If played by the AI › Their dynasty: The dynasty gains … Renown
  • Else, if (a hidden condition) › Their dynasty:
    • add_dynasty_prestige_level = -1
  • Level of Devotion -1
  • death = { death_reason = death_suicide }

• 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 (34 lines of game script)
committed_suicide_effect = {
	if = {
		limit = {
			any_vassal = { }
		}
		every_vassal = {
			custom = all_vassals
			add_opinion = {
				modifier = suicide_opinion
				target = root
				opinion = -30
			}
		}
	}
	if = {
		limit = {
			is_ai = yes
			exists = dynasty
		}
		dynasty = {
			add_dynasty_prestige = medium_dynasty_prestige_loss
		}
	}
	else_if = {
		limit = { exists = dynasty }
		dynasty = {
			add_dynasty_prestige_level = -1
		}
	}
	add_piety_level = -1
	death = {
		death_reason = death_suicide
	}
}

As written in game/common/scripted_effects/20_health_effects.txt.

Where it is used

Every place in common/, events/ and history/ that calls committed_suicide_effect.

Decisions (1)

Events (4)

Source: game/common/scripted_effects/20_health_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?