Scripted trigger
current_season_spring
current_season_spring = yesgame/common/scripted_triggers/00_weather_triggers.txt, line 296 (36 lines). No parameters.
current_season_spring is a scripted trigger in Crusader Kings III, written at line 296 of its file. It takes no parameters: current_season_spring = yes (or no). The game's script calls it in 8 places, among them Among the Blossoms (event tgp_japan_yearly_events.0021), Caught Outside (event travel_events_bp3.5) and Dancing Flames (event tgp_japan_yearly_events.1000). 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 bengal region
Then
- Current month at least 2
- Current month less than 4
Else if
- Their location: Is in the seasonal region east africa region
Then
- Current month at least 3
- Current month less than 6
Otherwise
- Current month at least 3
- Current month less than 6
- Their location:
- Is not in the seasonal region west africa region
- Is not in the seasonal region rajasthan region
- Is not in the seasonal region deccan region
- Is not in the seasonal region peninsular southeast asia region
- Is not in the seasonal region maritime 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 (36 lines of game script)
current_season_spring = {
#southern region with rainy/dry seasons
trigger_if = {
limit = {
location = {
geographical_region = seasonal_region_bengal
}
}
current_month >= 2
current_month < 4
}
trigger_else_if = {
limit = {
location = {
geographical_region = seasonal_region_east_africa
}
}
current_month >= 3
current_month < 6
}
trigger_else = {
#Generic Northern Hemisphere
current_month >= 3
current_month < 6
#Not present/has different name in these regions
location = {
NOR = {
geographical_region = seasonal_region_west_africa
geographical_region = seasonal_region_rajasthan
geographical_region = seasonal_region_deccan
geographical_region = seasonal_region_peninsular_southeast_asia
geographical_region = seasonal_region_maritime_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_spring.
Events (5)
- Among the Blossoms
tgp_japan_yearly_events.0021 - Caught Outside
travel_events_bp3.5 - Dancing Flames
tgp_japan_yearly_events.1000 - Land of Milk and... Fish?
travel_events_bp3.100 - The Seasons of Change
travel_events_bp3.1
Scripted effects inside an event file (1)
- 4100_save_background_effect
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.