
Country Interaction
Start War in Colony
We order them to go to war with Target
Colonial NationSubject Typeselect trigger 1, select trigger 2Definitionin_game/common/country_interactions/start_war_in_colony.txt:1
2category = CATEGORY_SUBJECT_ACTIONS
3type = subject
5potential = {
6scope:actor = {
7country_type = location
}
}
11allow = {
}
14ai_tick = never
16select_trigger = {
17looking_for_a = country
18interaction_source_list = {
19scope:actor = {
20every_subject = {
21add_to_list = source
}
}
}
25target_flag = recipient
26name = "choose_country" Choose the Country:
27column = {
28data = name
}
34enabled = {
35at_war = no
}
}
42select_trigger = {
43looking_for_a = country
44target_flag = target
45interaction_source_list = {
46scope:recipient = {
47every_neighbor_country = {
48limit = {
49is_rebel_country = no
}
51add_to_list = source
}
}
}
55name = "start_war_in_colony_SELECT_COUNTRY_TITLE" Select Country for Recipient to go to War with:
56none_available_msg_key = "start_war_in_colony_no_countries"
57column = {
58data = name
}
60column = {
61data = population
}
63visible = {
64scope:recipient = {
65not = {
66has_truce_with = root
}
}
}
}
76effect = {
77if = {
78limit = {
79exists = scope:target
}
81scope:recipient = {
}
}
}