事件本版本变更
寒冷潮湿的田野

寒霜已持续相当一段时间。当地农民眼中,收成日益减少,许多粮仓的农产品都在以惊人的速度耗尽。Target Province 1成为最新一个遭受饥荒袭击的地方。随着夏季的缩短,需要阳光的谷物产量不及往年。为避免不幸和疾病蔓延失控,我们务必设法缓解这一状况!
农民社会阶级immediate歉收静态修正immediate, trigger定义in_game/events/situations/little_ice_age.txt:31
32hide_portraits = yes
33type = country_event
34category = situation_event
35title = winter_events.4.title 寒冷潮湿的田野
36desc = winter_events.4.desc 寒霜已持续相当一段时间。当地农民眼中,收成日益减少,许多粮仓的农产品都在以惊人的速度耗尽。Target Province 1成为最新一个遭受饥荒袭击的地方。随着夏季的缩短,需要阳光的谷物产量不及往年。为避免不幸和疾病蔓延失控,我们务必设法缓解这一状况!
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
}
}
}
}