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

Scripted effect

increase_wounds_effect

increase_wounds_effect = { REASON = … }

game/common/scripted_effects/20_health_effects.txt, line 1332 (22 lines). Parameters: $REASON$.

increase_wounds_effect is a scripted effect in Crusader Kings III, written at line 1332 of its file. A call passes 1 parameter: REASON. The game's script calls it in 309 places, among them Play with the Monkey (decision), … … at My Throat (event martial_chivalry.2012) and … …: Who Are Ya? (event ep2_tournament_events.4008). Patch 1.20.1.2, from game/common/scripted_effects/20_health_effects.txt.

The comment above it in the file

increase_wounds_effect

What it does

  • If

    • has_trait_rank = { trait = wounded rank < 3 }

    Then

    Else if

    • has_trait_rank = { trait = wounded rank = 3 }

    Then

    • death = { death_reason = death_$REASON$ }

• 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 (22 lines of game script)
increase_wounds_effect = {
	if = {
		limit = {
			has_trait_rank = {
				trait = wounded
				rank < 3
			}
		}
		increase_wounds_no_death_effect = { REASON = $REASON$ }
	}
	else_if = { #Using an if because this needs to never go wrong
		limit = {
			has_trait_rank = {
				trait = wounded
				rank = 3
			}
		}
		death = {
			death_reason = death_$REASON$
		}
	}
}

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

Where it is used

Every place in common/, events/ and history/ that calls increase_wounds_effect — the first 120 of 309.

Events (119)

113 more

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?