
Eylem
Vilayetlerin Yiyecek Üretimini Artır
İklim değişikliği, tarımda yenilik yapmayı zorunlu hâle getiriyor. Yerel yiyecek üretimini teşvik ederek soğuk iklim koşullarının etkilerini azaltabilir ve nüfusumuz için daha düzenli yiyecek arzı sağlayabiliriz.
Küçük Buz ÇağıDurumselect trigger 1Artırılmış Yiyecek ÜretimiSabit Etkenallow, effect, select trigger 2Tanımin_game/common/generic_actions/little_ice_age_actions.txt:86
87type = situation
88show_message = yes
90allow = {
91scope:actor = {
92stability > 0
93any_province = {
94area = {
94has_extended_winter = yes
}
95province_food_percentage < 0.5
}
}
}
101automation_tick = never
102automation_tick_frequency = 12
104cooldown = {
105type = expand_provincial_food_production
106years = 1
}
109price = price:lia_actions_price
111select_trigger = {
112looking_for_a = situation
113target_flag = recipient
114name = "choose_situation" Concept seç:
115column = {
115data = name
}
}
122select_trigger = {
123looking_for_a = province
124source = actor
125target_flag = target_province
126name = "choose_province" Bir Vilayet seç
127none_available_msg_key = "no_provinces_available"
128column = {
128data = name
}
129column = {
129data = province_food_percentage
}
130column = {
130data = province_food
}
131visible = {
132area = {
132has_extended_winter = yes
}
134province_food_percentage < 0.5
}
136map_color = {
137if = {
138limit = {
139has_owner = yes
140owner ?= scope:actor
}
142value = {
143lerp = {
146factor = {
147value = province.province_food_percentage
}
}
}
}
}
}
160effect = {
161custom_tooltip = {
162text = province_gains_expanded_food_production_modifier_and_potential_tt Seçili Vilayet, 10 yıl süreyle Artırılmış Yiyecek Üretimi etkenini kazanır.
Mümkünse, aynı vilayet içindeki en yüksek Gıda Ham Maddesi üretimine sahip İl 10 yıl süreyle Artırılmış Ham Madde Hasılatı etkenini kazanır.
Mümkünse, aynı vilayet içindeki en yüksek Gıda Ham Maddesi üretimine sahip İl 10 yıl süreyle Artırılmış Ham Madde Hasılatı etkenini kazanır.
163scope:target_province ?= {
164if = {
166add_province_modifier = {
}
}
172else = {
173add_province_modifier = {
}
}
179if = {
180limit = {
181any_location_in_province = {
182raw_material ?= {
182is_food = yes
}
}
}
185ordered_location_in_province = {
186limit = {
187owner ?= scope:actor
188raw_material ?= {
188is_food = yes
}
}
190order_by = raw_material_output
191max = 1
192add_location_modifier = {
}
}
}
}
}
}
203ai_will_do = {
204add = -10
205if = {
206limit = {
206exists = scope:target_province
}
207add = {
208value = scope:target_province.province_food_percentage
209multiply = -100
210add = 25
}
212if = {
213limit = {
214scope:target_province = {
215any_location_in_province = {
216raw_material ?= {
216is_food = yes
}
}
}
}
220add = 10
}
222if = {
223limit = {
224scope:target_province = {
224is_starving = yes
}
}
226add = 5
}
228else = {
228add = -100
}
}
}