Scripted trigger
current_season_rainy_season
current_season_rainy_season = yesgame/common/scripted_triggers/00_weather_triggers.txt, line 414 (69 lines). No parameters.
current_season_rainy_season is a scripted trigger in Crusader Kings III, written at line 414 of its file. It takes no parameters: current_season_rainy_season = yes (or no). The game's script calls it in 6 places, among them Caught Outside (event travel_events_bp3.5), The Root is Weak (event tgp_travel_events.0035) and The Seasons of Change (event travel_events_bp3.1). 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 regionor
Is in the seasonal region rajasthan region
If
- Their location: Is in the seasonal region deccan region
Then
- Current month at least 6
- Current month less than 11
Else if
- Their location: Is in the seasonal region rajasthan region
Then
- Current month at least 7
- Current month less than 10
Else if
- Their location: Is in the seasonal region bengal region
Then
- Current month at least 6
- Current month less than 8
Else if
- Their location: Is in the seasonal region peninsular southeast asia region
Then
- Current month at least 6
- Current month less than 11
Else if
- Their location: Is in the seasonal region maritime southeast asia region
Then
One of these
- Current month at least 10
or
Current month less than 4
Otherwise
- Their location: Is in the seasonal region east africa region
- 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 (69 lines of game script)
current_season_rainy_season = {
#Jasons triggers here
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
geographical_region = seasonal_region_rajasthan
}
}
#southern region with rainy/dry seasons
trigger_if = {
limit = {
location = {
geographical_region = seasonal_region_deccan
}
}
current_month >= 6
current_month < 11
}
trigger_else_if = {
limit = {
location = {
geographical_region = seasonal_region_rajasthan
}
}
current_month >= 7
current_month < 10
}
trigger_else_if = {
limit = {
location = {
geographical_region = seasonal_region_bengal
}
}
current_month >= 6
current_month < 8
}
trigger_else_if = {
limit = {
location = {
geographical_region = seasonal_region_peninsular_southeast_asia
}
} #June to October
current_month >= 6
current_month < 11
}
trigger_else_if = {
limit = {
location = {
geographical_region = seasonal_region_maritime_southeast_asia
}
} #October to March
OR = {
current_month >= 10
current_month < 4
}
}
trigger_else = {
location = {
geographical_region = seasonal_region_east_africa
}
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_rainy_season.
Events (3)
- Caught Outside
travel_events_bp3.5 - The Root is Weak
tgp_travel_events.0035 - The Seasons of Change
travel_events_bp3.1
Scripted triggers (3)
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.