Envoyer une aide alimentaire
Action

Envoyer une aide alimentaire

send_food_aidin_game/common/generic_actions/little_ice_age_actions.txt:233

La famine a resserré son étau sur plusieurs provinces où les récoltes sont mortes sur pied. En envoyant des ravitaillements d'urgence vers les provinces en difficulté ou les nations en péril, nous pourrons soulager la famine et éviter l'agitation... en épuisant nos propres réserves.

RequiertPetit âge glaciaireConjonctureselect trigger 1recently_gave_food_variableVariableallow

Définitionin_game/common/generic_actions/little_ice_age_actions.txt:233

234type = situation
235show_message = yes
237allow = {
238scope:actor = {
239stability > 0
240any_province = {
241area = {
241has_extended_winter = yes
}
242province_food_percentage < 0.1
243region = scope:actor.capital.region
}
245any_province = {
246custom_tooltip = {
247text = has_not_recently_given_food_tt N'a pas été choisi pour donner de la Nourriture au cours des 2 dernières années
248NOT = {
248has_variable = recently_gave_food_variable
}
}
250region = scope:actor.capital.region
251province_food_percentage > 0.8
}
}
}
256automation_tick = never
257automation_tick_frequency = 12
259cooldown = {
260type = send_food_aid
261months = 6
}
264select_trigger = {
265looking_for_a = situation
266target_flag = recipient
267name = "choose_situation" Sélectionner la Conjoncture :
268column = {
268data = name
}
269visible = {
271situation_is_active = yes
}
}
275select_trigger = {
276looking_for_a = province
277source = actor
278target_flag = target_province_taker
279name = "choose_province_to_receive_food" Choisir une Province qui recevra de la Nourriture
280none_available_msg_key = "no_provinces_available"
281column = {
281data = name
}
282column = {
282data = province_food_percentage
}
283column = {
283data = province_food
}
284visible = {
285area = {
285has_extended_winter = yes
}
286province_food_percentage < 0.1
287population > 0
288region = scope:actor.capital.region
}
}
292select_trigger = {
293looking_for_a = province
294source = actor
295target_flag = target_province_giver
296name = "choose_province_to_send_food_to_target_province_taker" Choisir la Province qui enverra de la Nourriture en Target Province Taker
297none_available_msg_key = "no_provinces_available"
298column = {
298data = name
}
299column = {
299data = province_food_percentage
}
300column = {
300data = province_food
}
301visible = {
302this != scope:target_province_taker
303area = {
303has_extended_winter = yes
}
304population > 0
305province_food_percentage > 0.8
306region = scope:actor.capital.region
}
}
310effect = {
311if = {
312limit = {
313exists = scope:target_province_giver
314exists = scope:target_province_taker
}
316scope:target_province_taker = {
317if = {
318limit = {
319province_capital = {
319has_road_to = scope:target_province_giver.province_capital
}
}
321change_province_food = {
322value = scope:target_province_giver.province_food
323multiply = 0.3
}
}
326else = {
327custom_tooltip = due_to_no_road_network_tt Puisque la Capitale provinciale de Target Province Giver n'est pas reliée à la nouvelle Route menant à la Capitale provinciale de Target Province Taker, une partie de la Nourriture sera perdue en chemin
328change_province_food = {
329value = scope:target_province_giver.province_food
330multiply = 0.2
}
}
}
334custom_tooltip = {
335text = every_pop_in_target_province_taker_gains_10_satisfaction_tt Nos Groupes sociaux en Conquest Province gagneront pop satisfaction mild bonus de Satisfaction de la population
336scope:target_province_taker = {
337every_location_in_province = {
338limit = {
338owner ?= scope:actor
}
339every_pop = {
340limit = {
340owner ?= scope:actor
}
341add_pop_satisfaction = pop_satisfaction_mild_bonus (0.1)
}
}
}
}
346scope:target_province_giver = {
347change_province_food = {
348value = scope:target_province_giver.province_food
349multiply = -0.3
}
351hidden_effect = {
352set_variable = {
354years = 2
}
}
}
}
359else = {
359custom_tooltip = send_food_aid_tt Nous allons choisir une Province pour recevoir de la nourriture d'une autre de nos Provinces
}
}
362ai_will_do = {
363add = -15
364if = {
365limit = {
366exists = scope:target_province_giver
367exists = scope:target_province_taker
}
369add = {
370value = scope:target_province_taker.population
371multiply = 100
372divide = scope:actor.total_population
}
374add = {
375value = scope:target_province_giver.province_food
376subtract = scope:target_province_taker.province_food
377multiply = 0.01
}
379if = {
380limit = {
381scope:target_province_taker = {
382any_location_in_province = {
382is_capital = yes
}
}
}
385add = 5
}
387if = {
388limit = {
389NOT = {
390scope:target_province_giver.province_food >= {
391add = scope:target_province_taker.province_food
392multiply = 0.5
}
}
}
396subtract = -25
}
}
}
© 2026 Soft Santa Cruz, S.L.U.. Tous droits réservés. Projet de fan non officiel, non affilié à Paradox Interactive. Contenu du jeu © Paradox Interactive. À propos · Confidentialité · Mentions légales