Scripted trigger
current_season_dry_season
current_season_dry_season = yesgame/common/scripted_triggers/00_weather_triggers.txt, line 333 (80 lines). No parameters.
current_season_dry_season is a scripted trigger in Crusader Kings III, written at line 333 of its file. It takes no parameters: current_season_dry_season = yes (or no). The game's script calls it in 8 places, among them At the Mercy of the Elements (event ecumenical_council_summons_events.0030), Danger: Rainstorm (event travel_danger_events.9040) and Danger: Stuck in the Mud (event travel_danger_events.9030). Patch 1.20.1.2, from game/common/scripted_triggers/00_weather_triggers.txt.
What it checks
- Their location:
One of these
- Is in the seasonal region west africa region
or
Is in the seasonal region east africa regionor
Is in the seasonal region peninsular southeast asia regionor
Is in the seasonal region maritime southeast asia regionor
Is in the seasonal region bengal regionor
Is in the seasonal region deccan region
If
- Their location: Is in the seasonal region west africa region
Then
One of these
- Current month at least 11
or
Current month less than 5
Else if
- Their location: Is in the seasonal region east africa region
Then
One of these
- Current month at least 12
or
Current month less than 3
Else if
- Their location: Is in the seasonal region maritime southeast asia region
Then
- Current month at least 4
- Current month less than 10
Else if
- Their location: Is in the seasonal region peninsular southeast asia region
Then
One of these
- Current month at least 11
or
Current month less than 6
Else if
- Their location: Is in the seasonal region bengal region
Then
One of these
- Current month at least 12
or
Current month less than 3
Else if
- Their location: Is in the seasonal region deccan region
Then
One of these
- Current month at least 12
or
Current month less than 3
Otherwise
- Current month at least 6
- Current month less than 9
• 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 (80 lines of game script)
current_season_dry_season = {
#southern region with rainy/dry seasons
location = {
OR = {
geographical_region = seasonal_region_west_africa
geographical_region = seasonal_region_east_africa
geographical_region = seasonal_region_peninsular_southeast_asia
geographical_region = seasonal_region_maritime_southeast_asia
geographical_region = seasonal_region_bengal
geographical_region = seasonal_region_deccan
}
}
trigger_if = {
limit = {
location = { geographical_region = seasonal_region_west_africa }
}
OR = {
current_month >= 11
current_month < 5
}
}
trigger_else_if = {
limit = {
location = {
geographical_region = seasonal_region_east_africa
}
}
OR = {
current_month >= 12
current_month < 3
}
}
trigger_else_if = {
limit = {
location = {
geographical_region = seasonal_region_maritime_southeast_asia
}#April to September
}
current_month >= 4
current_month < 10
}
trigger_else_if = {
limit = {
location = {
geographical_region = seasonal_region_peninsular_southeast_asia
}
}
OR = { #November to May
current_month >= 11
current_month < 6
}
}
trigger_else_if = {
limit = {
location = {
geographical_region = seasonal_region_bengal
}
}
OR = {
current_month >= 12
current_month < 3
}
}
trigger_else_if = {
limit = {
location = {
geographical_region = seasonal_region_deccan
}
}
OR = {
current_month >= 12
current_month < 3
}
}
trigger_else = { # June, July and August are generally dry
#Generic Northern Hemisphere
current_month >= 6
current_month < 9
}
}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_dry_season.
Events (6)
- At the Mercy of the Elements
ecumenical_council_summons_events.0030 - Danger: Rainstorm
travel_danger_events.9040 - Danger: Stuck in the Mud
travel_danger_events.9030 - Land of Milk and... Fish?
travel_events_bp3.100 - The Root is Weak
tgp_travel_events.0035 - The Seasons of Change
travel_events_bp3.1
Scripted triggers (2)
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.