
Country InteractionChanged this version
Demand Annexation
The Empire, long divided, must unite. They shall all bow to our rule!
Regional SupremacyCasus Belliselect trigger
Rein in the RebelsCasus Belliselect trigger
ChinaCountryallow, potential, reject effect, select trigger
Red Turban RebelsInternational Organizationpotential
Enable RighteousnessModifier Typeeffect
Has Red Turban Rebellions Casus BelliModifier Typeallow, potential
Red Turban RebellionsSituationpotentialrtr_yuan_allegianceVariableacceptDefinitionin_game/common/country_interactions/rtr_demand_annexation.txt:3
4type = diplomacy
5category = CATEGORY_HOSTILE_ACTIONS
7ai_tick = monthly
8ai_tick_frequency = 6
9automation_tick = never
10automation_tick_frequency = 12
12block_when_at_war = yes
14cooldown = {
15type = rtr_demand_annexation
16years = 3
}
19price = price:rtr_demand_annexation_price
21potential = {
23scope:actor = {
24OR = {
}
}
}
32allow = {
33scope:actor = {
}
}
44select_trigger = {
45looking_for_a = country
46target_flag = recipient
47name = "rtr_demand_annexation_select_title" Select Country
48none_available_msg_key = "rtr_demand_annexation_no_countries"
49allow_self = no
50column = {
51data = name
}
53column = {
54data = population
}
56visible = {
57capital ?= {
58is_discovered_by = scope:actor
59OR = {
60region = region:east_china_region
61region = region:north_china_region
62region = region:south_china_region
63region = region:west_china_region
}
}
66NOT = {
66country_type = pop
}
67within_diplomatic_range = scope:actor
68NOT = {
68is_at_war_with = scope:actor
}
69NOT = {
69is_fighting_war_together_with = scope:actor
}
70NOT = {
70is_subject_of = scope:actor
}
71NOT = {
71ruler ?= scope:actor.ruler
}
}
73enabled = {
74trigger_if = {
78NOT = {
79scope:actor = {
80has_casus_belli_of_type_on = {
82target = root
}
}
}
}
87trigger_else = {
88NOT = {
89scope:actor = {
90has_casus_belli_of_type_on = {
92target = root
}
}
}
}
}
}
100effect = {
101scope:actor = {
102if = {
103limit = {
103exists = scope:recipient
}
104annex_country = {
105country = scope:recipient
106reason = Diplomatic
107transfer = yes
}
}
110else = {
111custom_tooltip = rtr_demand_annexation_tt The targeted Country will be Annexed
}
113if = {
}
}
}
119reject_effect = {
120scope:actor = {
121if = {
123add_casus_belli = {
124target = scope:recipient
}
}
128else = {
129add_casus_belli = {
130target = scope:recipient
}
}
}
}
137ai_will_do = {
138add = 200
139if = {
140limit = {
144scope:actor.var:rtr_yuan_allegiance > 0
145scope:actor.var:rtr_yuan_allegiance < 50
}
147subtract = 150
}
149if = {
150limit = {
150exists = scope:recipient
}
151if = {
152limit = {
}
162subtract = 200
}
164add = {
165value = "scope:actor.opinion(scope:recipient)"
166divide = -5
}
168add = {
169value = "scope:actor.country_economical_base"
170subtract = "scope:recipient.country_economical_base"
171multiply = 1
172min = -200
173max = 200
}
175if = {
177subtract = 100
}
179if = {
180limit = {
180scope:recipient = {
180has_truce_with = scope:actor
}
}
181subtract = 100
}
183if = {
184limit = {
184scope:recipient = {
184NOT = {
184is_neighbor_of = scope:actor
}
}
}
185subtract = 1000
}
}
}
190accept = {
191add = {
192desc = "DIPLOREASON_BASE" Base
193value = -200
}
195if = {
196limit = {
200scope:actor.var:rtr_yuan_allegiance > 0
201scope:actor.var:rtr_yuan_allegiance < 50
}
203add = {
204desc = "RTR_NEUTRALS_TITLE" Neutral
205value = 150
}
}
208if = {
209limit = {
209exists = scope:recipient
}
210if = {
211limit = {
}
221add = {
222desc = "RTR_LOYALISTS_TITLE" Loyalists of China
223value = 200
}
}
226subtract = {
227desc = "game_concept_opinion" Opinion
228value = "scope:actor.opinion(scope:recipient)"
229divide = -5
}
231add = {
232desc = "DIPLOREASON_ECONOMICAL_BASE_DIFFERENCE" Difference in Economic Base
233value = "scope:actor.country_economical_base"
234subtract = "scope:recipient.country_economical_base"
235multiply = 1
236min = -200
237max = 200
}
239if = {
241add = {
242desc = "HAS_ALLIANCE" Alliance
243value = 100
}
}
}
}