Events The recent climate shifts have not favored our people. The lack of rain and the constant frosts have destabilized the entire ecosystem in Target Province 1 , resulting in spells of drought. This is but the most recent hurdle in decades of turbulent winters, many crops have failed and famine is a frequent occurrence. The locals are understandably distraught, many demand reparations in an effort to safeguard themselves and their families from hunger and untimely death.
Definitionin_game/events/situations/little_ice_age.txt:368 369 type = country_event
370 category = situation_event
371 title = winter_events.8.title Drought in Target Province 1
372 desc = winter_events.8.desc The recent climate shifts have not favored our people. The lack of rain and the constant frosts have destabilized the entire ecosystem in Target Province 1 , resulting in spells of drought. This is but the most recent hurdle in decades of turbulent winters, many crops have failed and famine is a frequent occurrence. The locals are understandably distraught, many demand reparations in an effort to safeguard themselves and their families from hunger and untimely death.
373 outcome = neutral
374 image = "gfx/interface/illustrations/situation/little_ice_age.dds"
375 ▾ trigger = {
376 ▾ capital ?= {
376 ▾ area = {
376 has_extended_winter = yes
}
}
377 ▾ OR = {
378 country_type = location
379 country_type = army
380 country_type = navy
}
}
388 ▾ immediate = {
389 ▾ ordered_province = {
393 ▾ order_by = {
394 value = province_food_percentage
395 multiply = -1
396 ▾ if = {
397 ▾ limit = {
398 ▾ any_location_in_province = {
}
}
402 divide = 10
}
}
405 max = 1
406 check_range_bounds = no
407 save_scope_as = target_province_1
412 ▾ ordered_location_in_province = {
413 order_by = population
414 max = 1
415 check_range_bounds = no
416 ▾ random_pop = {
418 save_scope_as = target_pop
}
}
}
}
Options A Let them go hungry.
434 ▾ switch = {
435 trigger = has_variable
437 ▾ scope:target_province_1 = {
437 change_province_food_percentage = -0.25
}
438 ▾ custom_tooltip = {
439 text = very_mild_outcome_variable_tt_a Every owned Location in Target Province 1 will suffer -5.00% Prosperity
440 ▾ scope:target_province_1 = {
441 ▾ every_location_in_province = {
}
}
}
}
446 ▾ custom_tooltip = {
447 text = mild_outcome_variable_tt_a Every owned Location in Target Province 1 will suffer -10.00% Prosperity
448 ▾ scope:target_province_1 = {
449 ▾ every_location_in_province = {
}
}
}
452 ▾ scope:target_province_1 = {
452 change_province_food_percentage = -0.3
}
}
455 ▾ custom_tooltip = {
456 text = strong_outcome_variable_tt_a Every owned Location in Target Province 1 will suffer -15.00% Prosperity
457 ▾ scope:target_province_1 = {
458 ▾ every_location_in_province = {
458 change_prosperity = -0.15
}
}
}
461 ▾ scope:target_province_1 = {
462 change_province_food_percentage = -0.4
463 ▾ scope:target_pop ?= {
464 ▾ add_pop_size = {
465 value = pop_size
466 multiply = -0.03
}
}
}
}
472 ▾ custom_tooltip = {
473 text = very_strong_outcome_variable_tt_a Every owned Location in Target Province 1 will suffer -20.00% Prosperity
474 ▾ scope:target_province_1 = {
475 ▾ every_location_in_province = {
}
}
}
478 ▾ scope:target_province_1 = {
479 change_province_food_percentage = -0.5
480 ▾ scope:target_pop ?= {
481 ▾ add_pop_size = {
482 value = pop_size
483 multiply = -0.05
}
}
}
}
489 ▾ custom_tooltip = {
490 text = extreme_outcome_variable_tt_a Every owned Location in Target Province 1 will suffer -25.00% Prosperity
491 ▾ scope:target_province_1 = {
492 ▾ every_location_in_province = {
}
}
}
495 ▾ scope:target_province_1 = {
496 change_province_food_percentage = -0.75
497 ▾ scope:target_pop ?= {
498 ▾ add_pop_size = {
499 value = pop_size
500 multiply = -0.1
}
}
}
}
}
B We can spare some coin.
511 ▾ add_gold = {
512 value = monthly_income_trade_and_tax
513 ▾ if = {
514 ▾ limit = {
514 scope:target_province_1.province_food_percentage > 0.25
}
515 divide = scope:target_province_1.province_food_percentage
}
518 multiply = -1
519 min = -50
}
521 custom_tooltip = scales_with_target_province_1_province_food_percentage_tt The amount due to the farmers will scale based on the percentage of Food currently stocked up in the granaries of Target Province 1
523 ▾ switch = {
524 trigger = has_variable
526 ▾ scope:target_province_1 = {
527 change_province_food_percentage = -0.15
}
}
531 ▾ custom_tooltip = {
532 text = mild_outcome_variable_tt_b Every owned Location in Target Province 1 will suffer -5.00% Prosperity
533 ▾ scope:target_province_1 = {
534 ▾ every_location_in_province = {
}
}
}
537 ▾ scope:target_province_1 = {
538 change_province_food_percentage = -0.2
}
}
542 ▾ custom_tooltip = {
543 text = strong_outcome_variable_tt_b Every owned Location in Target Province 1 will suffer -10.00% Prosperity
544 ▾ scope:target_province_1 = {
545 ▾ every_location_in_province = {
}
}
}
548 ▾ scope:target_province_1 = {
549 change_province_food_percentage = -0.25
550 ▾ scope:target_pop ?= {
551 ▾ add_pop_size = {
552 value = pop_size
553 multiply = -0.02
}
}
}
}
559 ▾ custom_tooltip = {
560 text = very_strong_outcome_variable_tt_b Every owned Location in Target Province 1 will suffer -15.00% Prosperity
561 ▾ scope:target_province_1 = {
562 ▾ every_location_in_province = {
562 change_prosperity = -0.15
}
}
}
565 ▾ scope:target_province_1 = {
566 change_province_food_percentage = -0.33
567 ▾ scope:target_pop ?= {
568 ▾ add_pop_size = {
569 value = pop_size
570 multiply = -0.04
}
}
}
}
576 ▾ custom_tooltip = {
577 text = extreme_outcome_variable_tt_b Every owned Location in Target Province 1 will suffer -20.00% Prosperity
578 ▾ scope:target_province_1 = {
579 ▾ every_location_in_province = {
}
}
}
582 ▾ scope:target_province_1 = {
583 change_province_food_percentage = -0.5
584 ▾ scope:target_pop ?= {
585 ▾ add_pop_size = {
586 value = pop_size
587 multiply = -0.05
}
}
}
}
}
Properties
Image gfx/interface/illustrations/situation/little_ice_age.dds
Outcome neutral
Type country_event