EventChanged this version
A Request to Target Country

The Country is currently undergoing a very turbulent period, as our Country Adjective Succession Crisis threatens to tear the Flavor Rank apart. The pretenders grow in strength, and soon they may strike at the heart of our Country. Desperate times call for allies, and so we may yet send a messenger to Target Country, pleading for aid. Should our Flavor Rank fall, it will mean ruin and doom for Target Character1 and his/her Court Title.
Definitionin_game/events/disaster/succession_crisis.txt:726
727hide_portraits = yes
728type = country_event
729category = disaster_event
730title = succession_crisis.6.title A Request to Target Country
731desc = succession_crisis.6.desc The Country is currently undergoing a very turbulent period, as our Country Adjective Succession Crisis threatens to tear the Flavor Rank apart. The pretenders grow in strength, and soon they may strike at the heart of our Country. Desperate times call for allies, and so we may yet send a messenger to Target Country, pleading for aid. Should our Flavor Rank fall, it will mean ruin and doom for Target Character1 and his/her Court Title.
732outcome = neutral
733image = "gfx/interface/illustrations/disaster/succession_crisis.dds"
734immediate = {
735ruler_or_regent = {
735save_scope_as = target_character1
}
736scope:target_country.ruler_or_regent = {
736save_scope_as = target_character2
}
738set_variable = {
740value = {
741add = scope:actor.monthly_income_total
742multiply = 4
743min = 200
}
}
747if = {
748limit = {
749scope:target_country = {
749is_neighbor_of = root
}
}
751ordered_province = {
752limit = {
753any_location_in_province = {
753is_neighbor_of = scope:target_country
}
754NOT = {
755any_location_in_province = {
755is_capital = yes
}
}
}
758order_by = province_average_development
759max = {
760value = 1
761add = {
762value = root.num_provinces
763divide = 10
}
}
766check_range_bounds = no
767add_to_list = sc_random_provinces_list
}
769random_in_list = {
770list = sc_random_provinces_list
771save_scope_as = target_province
}
}
774save_scope_as = target_country2
}