
ActionChanged this version
Give Colony Rebellion Support
Give support to one of the colonial subjects of another country to nudge them towards rebellion.
EmpireCountry Rankallow
KingdomCountry Rankallow
Colonial RevolutionSituationselect trigger 1Definitionin_game/common/generic_actions/colonial_revolution.txt:598
599type = situation
601ai_tick = monthly
602ai_tick_frequency = 6
603automation_tick = monthly
604automation_tick_frequency = 1
606potential = {
607scope:actor = {
608is_subject = no
609is_colonial_overlord = no
}
}
612allow = {
613scope:actor = {
}
}
621select_trigger = {
622looking_for_a = situation
623target_flag = recipient
624name = "choose_situation" Choose the Situation:
625column = {
626data = name
}
}
634price = price:give_colony_rebellion_support
636select_trigger = {
637looking_for_a = country
638target_flag = target_country
639name = "choose_country" Choose the Country:
640none_available_msg_key = "no_valid_countries"
641column = {
642data = name
}
644interaction_source_list = {
645every_colonial_country = {
646add_to_list = source
}
}
649visible = {
650scope:actor = {
650knows_country = root
}
651overlord ?= {
651this != scope:actor
}
652opinion = {
652target = this.overlord
652value <= 50
}
653NOT = {
654has_opinion = {
654target = this.overlord
654modifier = opinion_agitated_colony
}
}
}
}
659effect = {
660scope:target_country ?= {
661add_opinion = {
661target = scope:target_country.overlord
661modifier = opinion_agitated_colony
}
662add_opinion = {
662target = scope:actor
662modifier = opinion_given_support
}
663overlord ?= {
664add_opinion = {
664target = scope:actor
664modifier = opinion_agitated_colony
}
}
}
}
669ai_will_do = {
671add = {
672desc = BASE_VALUE
673value = 15
}
677if = {
678limit = {
678exists = scope:target_country
}
680add = {
681scope:actor = {
682value = "opinion(scope:target_country.overlord)"
683multiply = -0.1
}
}
}
}