EventChanged this version
Cold and Wet Fields

The frost has been upon us for quite some time. The harvest seems ever-shrinking in the eyes of the local peasantry as the many granaries run out of produce at an alarming rate. The latest victim to an outbreak of famine is Target Province 1. As summer shortens, grains in need of sunlight fail to produce the same volume as prior years. It would be wise to attempt and alleviate the situation, lest we risk misfortune and disease spread uncontrollably!
PeasantsPop TypeimmediateShort HarvestStatic Modifierimmediate, triggerDefinitionin_game/events/situations/little_ice_age.txt:31
32hide_portraits = yes
33type = country_event
34category = situation_event
35title = winter_events.4.title Cold and Wet Fields
36desc = winter_events.4.desc The frost has been upon us for quite some time. The harvest seems ever-shrinking in the eyes of the local peasantry as the many granaries run out of produce at an alarming rate. The latest victim to an outbreak of famine is Target Province 1. As summer shortens, grains in need of sunlight fail to produce the same volume as prior years. It would be wise to attempt and alleviate the situation, lest we risk misfortune and disease spread uncontrollably!
37outcome = neutral
38image = "gfx/interface/illustrations/situation/little_ice_age.dds"
39trigger = {
40capital ?= {
40area = {
40has_extended_winter = yes
}
}
41time_of_year = {
42min = 9.1
43max = 11.29
}
}
49illustration_tags = {
5010 = angry
5110 = exterior
}
54immediate = {
55ordered_province = {
59order_by = {
60value = population
61if = {
62limit = {
62province_food_percentage > 0
}
63divide = province_food_percentage
}
65else = {
65divide = 0.01
}
}
67max = 1
68check_range_bounds = no
69save_scope_as = target_province_1
70ordered_location_in_province = {
71order_by = population
72max = 1
73check_range_bounds = no
74save_scope_as = target_location_1
75ordered_pop = {
76max = 1
77order_by = pop_size
81save_scope_as = target_pop
}
}
84province_definition = {
85area = {
85save_scope_as = target_area
}
}
}
88if = {
89limit = {
90any_province = {
91NOT = {
91this = scope:target_province_1
}
92province_food_percentage > 0.5
93area = scope:target_area
}
}
96ordered_province = {
97limit = {
98NOT = {
98this = scope:target_province_1
}
99province_food_percentage > 0.5
100area = scope:target_area
}
102order_by = province_food
103max = 1
104check_range_bounds = no
105save_scope_as = target_province_2
106ordered_location_in_province = {
107order_by = population
108max = 1
109check_range_bounds = no
110save_scope_as = target_location_2
}
}
113set_variable = {
115value = {
116add = scope:target_province_2.province_food
117divide = 5
}
}
}
}