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

Scripted trigger

has_wounds_trigger

has_wounds_trigger = yes

game/common/scripted_triggers/20_health_triggers.txt, line 592 (10 lines). No parameters.

has_wounds_trigger is a scripted trigger in Crusader Kings III, written at line 592 of its file. It takes no parameters: has_wounds_trigger = yes (or no). The game's script calls it in 6 places, among them health.4999 (event), 1000_has_illness_or_wound_to_treat_trigger (local trigger) and ep3_laamp_flavour_ewan_4071_valid_courtiers_to_lose_trigger (local trigger). Patch 1.20.1.2, from game/common/scripted_triggers/20_health_triggers.txt.

What it checks

  • One of these

    • has_trait_rank = { trait = wounded rank >= 2 }
    • or

      Has the Modifier: Infected Wound
    • or

      Has the Modifier: Gangrene

• 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 (10 lines of game script)
has_wounds_trigger = {
	OR = {
		has_trait_rank = {
			trait = wounded
			rank >= 2
		}
		has_character_modifier = infected_wound_modifier
		has_character_modifier = gangrene_modifier
	}
}

As written in game/common/scripted_triggers/20_health_triggers.txt.

Where it is used

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

Events (1)

Scripted triggers inside an event file (2)

  • 1000_has_illness_or_wound_to_treat_trigger
  • ep3_laamp_flavour_ewan_4071_valid_courtiers_to_lose_trigger

Scripted effects (1)

Script values (1)

  • study_commander_trait_success_chance_value

Customizable localization (1)

  • DeathMessageIntro

Source: game/common/scripted_triggers/20_health_triggers.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?