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

Scripted trigger

current_season_winter

current_season_winter = yes

game/common/scripted_triggers/00_weather_triggers.txt, line 153 (52 lines). No parameters.

current_season_winter is a scripted trigger in Crusader Kings III, written at line 153 of its file. It takes no parameters: current_season_winter = yes (or no). The game's script calls it in 8 places, among them A Welcome Reprieve (event tgp_japan_yearly_events.0014), Caught Outside (event travel_events_bp3.5) and Monkey Business (event tgp_japan_yearly_events.0012). Patch 1.20.1.2, from game/common/scripted_triggers/00_weather_triggers.txt.

What it checks

  • If

    • Their location: Is in the seasonal region deccan region

    Then

    • One of these

      • Current month at least 11
      • or

        Current month less than 3

    Else if

    • Their location: Is in the seasonal region rajasthan region

    Then

    • One of these

      • Current month at least 12
      • or

        Current month less than 4

    Else if

    • Their location: Is in the seasonal region bengal region

    Then

    • One of these

      • Current month at least 11
      • or

        Current month less than 2

    Otherwise

    • One of these

      • Current month at least 12
      • or

        Current month less than 3
    • Their location:
      • Is not in the seasonal region east africa region
      • Is not in the seasonal region west africa region
      • Is not in the seasonal region maritime southeast asia region
      • Is not in the seasonal region peninsular southeast asia region

• 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 (52 lines of game script)
current_season_winter = {
	#southern region with rainy/dry seasons
	trigger_if = {
		limit = {
			location = {
				geographical_region = seasonal_region_deccan
			}
		}
		OR = {
			current_month >= 11
			current_month < 3
		}
	}
	trigger_else_if = {
		limit = {
			location = {
				geographical_region = seasonal_region_rajasthan
			}
		}
		OR = {
			current_month >= 12
			current_month < 4
		}
	}
	trigger_else_if = {
		limit = {
			location = {
				geographical_region = seasonal_region_bengal
			}
		}
		OR = {
			current_month >= 11
			current_month < 2
		}
	}
	trigger_else = {
		#Generic Northern Hemisphere
		OR = {
			current_month >= 12
			current_month < 3
		}
		#Not present/has different name in these regions
		location = {
			NOR = {
				geographical_region = seasonal_region_east_africa
				geographical_region = seasonal_region_west_africa
				geographical_region = seasonal_region_maritime_southeast_asia
				geographical_region = seasonal_region_peninsular_southeast_asia
			}
		}
	}
}

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

Where it is used

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

Events (6)

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?