Scripted trigger
has_winter_trigger
has_winter_trigger = yesgame/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_modifieror
has_province_modifier = winter_normal_modifieror
has_province_modifier = winter_harsh_modifieror
All of these
exists = county- Their county:
save_temporary_scope_as = winter_county
- Their county’s holder:
has_zud_season_in_county_trigger = { COUNTY = scope:winter_county }
• 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)
- … in …
bp3_roaming.0110 - …: Equine Horror
warhorse.1499 - A … of Legends
bp3_roaming.0120 - Arrival
bp3_roaming.0005 - Caught Outside
travel_events_bp3.5 - Cornered
nomad_events.0110
5 more
- The Path's End
bp3_roaming.0070 - The Root is Weak
tgp_travel_events.0035 - The Seasons of Change
travel_events_bp3.1 - Ward's Martial Drill: … — Failure
mpo_interactions_events.0102 - Ward's Martial Drill: … — Success
mpo_interactions_events.0101
Scripted triggers (3)
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.