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_winter_trigger

has_winter_trigger = yes

game/common/scripted_triggers/00_weather_triggers.txt, line 44 (12 lines). No parameters.

has_winter_trigger is a scripted trigger in Crusader Kings III, written at line 44 of its file. It takes no parameters: has_winter_trigger = yes (or no). The game's script calls it in 23 places, among them Hike (activity), … in … (event bp3_roaming.0110) and …: Equine Horror (event warhorse.1499). Patch 1.20.1.2, from game/common/scripted_triggers/00_weather_triggers.txt.

What it checks

  • One of these

    • has_province_modifier = winter_mild_modifier
    • or

      has_province_modifier = winter_normal_modifier
    • or

      has_province_modifier = winter_harsh_modifier
    • or

      All of these

      • exists = county
      • Their county:
        • save_temporary_scope_as = winter_county
      • Their county’s holder:

• 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 (12 lines of game script)
has_winter_trigger = {
	OR = {
		has_province_modifier = winter_mild_modifier
		has_province_modifier = winter_normal_modifier
		has_province_modifier = winter_harsh_modifier
		AND = {
			exists = county
			county = { save_temporary_scope_as = winter_county }
			county.holder = { has_zud_season_in_county_trigger = { COUNTY = scope:winter_county } }
		}
	}
}

As written in game/common/scripted_triggers/00_weather_triggers.txt.

Where it is used

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

Activities (1)

Events (11)

5 more

Customizable localization (1)

  • RoamingLegendaryBeastProvinceWeather

Event backgrounds (7)

  • Terrain
  • terrain_activity
  • terrain_scope
  • terrain_travel
  • wilderness
  • wilderness_activity
1 more
  • wilderness_scope

Source: game/common/scripted_triggers/00_weather_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?