
ActionChanged this version
Spread Revolutionary Sentiment
The struggle of the common folk to break their chains is long and arduous. Frequently, we must look outside our borders and convince foreign powers to embrace our ideals. This is not easy, but it is all in the service of a greater purpose!
People's UprisingSituationselect trigger 1Definitionin_game/common/generic_actions/the_revolution.txt:557
558type = situation
559show_message = no
560potential = {
561scope:actor = {
561is_revolutionary = yes
}
}
564allow = {
565scope:actor = {
566at_war = no
567is_subject = no
}
}
571ai_tick = monthly
572ai_tick_frequency = 4
574automation_tick = never
575automation_tick_frequency = 12
577price = price:revolution_actions_price
579cooldown = {
580type = spread_revolutionary_sentiment
581years = 5
}
584select_trigger = {
585looking_for_a = situation
586target_flag = recipient
587name = "choose_situation" Choose the Situation:
588column = {
589data = name
}
}
597select_trigger = {
598looking_for_a = country
599interaction_source_list = {
600scope:actor = {
601every_country_in_diplomatic_range = {
602limit = {
603is_revolutionary = no
604in_civil_war = no
605scope:actor = {
605can_declare_war_on = prev
}
606num_provinces > 1
}
608add_to_list = source
}
}
}
612target_flag = target_country
613name = "choose_country" Choose the Country:
614column = {
614data = name
}
615column = {
615data = regular_army_size
}
616column = {
616data = great_power_score
}
}
618effect = {
619if = {
620limit = {
620exists = scope:target_country
}
621custom_tooltip = {
622text = revolution_in_selected_country_tt A Revolutionary Rebel Movement will be triggered in Target Country. However, if one already exists, we will bolster the progress and strength of that movement instead
}
}
626else = {
626custom_tooltip = revolution_in_country_tt A Revolutionary Rebel Movement will be triggered in the selected Country. However, if one already exists, we will bolster the progress and strength of that movement instead
}
}
629ai_will_do = {
630value = -50
631if = {
632limit = {
632exists = scope:target_country
}
633add = {
634value = scope:actor.num_provinces
635subtract = scope:target_country.num_provinces
}
637if = {
638limit = {
639scope:target_country = {
640OR = {
641is_rival_of = scope:actor
642is_enemy_of = scope:actor
}
}
}
646add = 100
}
648if = {
649limit = {
650scope:target_country = {
650is_great_power = yes
}
}
652add = 25
}
654if = {
655limit = {
656scope:target_country = {
656is_hegemon = yes
}
}
658add = 25
}
660if = {
661limit = {
662scope:actor = {
663relative_strength = {
664target = scope:target_country
665value > 0.5
}
}
}
669subtract = 25
}
671else = {
671add = 25
}
672if = {
673limit = {
674scope:actor = {
675NOT = {
675is_neighbor_of = scope:target_country
}
}
}
678subtract = 25
}
}
}