号召勤王
行动

号召勤王

rtr_call_loyalists_to_armsin_game/common/generic_actions/red_turban_rebellions.txt:211

劫掠的军阀践踏着这片养育他们的土地,中华王朝的土地正在燃烧。我们必须号召所有忠于天子的人加入战斗!

选中的忠于Actor的割据政权国家(朝廷归顺度不低于RTR IS LOYAL VALUE)会加入我们对抗红巾军起义的战争。

需要红巾军起义宣战理由effect, select trigger 2清剿贼寇宣战理由effect, select trigger 2中华国家potential红巾军国际组织allow红巾军起义局势select trigger 1rtr_yuan_allegiance变量select trigger 2

定义in_game/common/generic_actions/red_turban_rebellions.txt:211

212type = situation
214potential = {
215scope:actor = {
216tag = CHI
}
}
220allow = {
221value = 0.05
}
222scope:actor = {
223num_of_diplomats >= 1
224custom_tooltip = {
225text = rtr_call_loyalists_to_arms_tt 红巾军的所有成员目前都与Actor处于战争
226at_war = yes
227any_current_war = {
228OR = {
229AND = {
230any_attacker = {
230is_member_of_international_organization = international_organization:red_turban_rebels
}
231any_defender = {
231this = scope:actor
}
}
233AND = {
234any_defender = {
234is_member_of_international_organization = international_organization:red_turban_rebels
}
235any_attacker = {
235this = scope:actor
}
}
}
}
}
}
}
243ai_tick = monthly
244ai_tick_frequency = 1
245automation_tick = never
246automation_tick_frequency = 12
248select_trigger = {
249looking_for_a = situation
250target_flag = recipient
251name = "choose_situation" 选择局势:
252column = {
253data = name
}
255visible = {
257situation_is_active = yes
}
}
261select_trigger = {
262looking_for_a = country
263target_flag = target
264name = "rtr_call_loyalists_to_arms_select_country" 选择中华的勤王派
265none_available_msg_key = "rtr_call_loyalists_to_arms_no_countries"
266column = {
267data = name
}
269column = {
}
272visible = {
273country_type = location
274has_variable = rtr_yuan_allegiance
276OR = {
277is_subject = no
278subject_loyalty < 50
}
280NOT = {
280is_at_war_with = scope:actor
}
281capital = {
281is_discovered_by = scope:actor
}
282within_diplomatic_range = scope:actor
283scope:actor = {
284any_current_war = {
289NOT = {
289any_war_participant = {
289this = root
}
}
290trigger_if = {
291limit = {
291NOT = {
291attacker_leader = scope:actor
}
}
292attacker_leader = {
292save_temporary_scope_as = scope_enemy
}
}
294trigger_else = {
295defender_leader = {
295save_temporary_scope_as = scope_enemy
}
}
}
}
299trigger_if = {
300limit = {
300exists = scope:scope_enemy
}
301NOT = {
301has_truce_with = scope:scope_enemy
}
}
}
}
306effect = {
308scope:actor = {
309add_diplomats = -1
310custom_tooltip = {
311text = rtr_call_loyalists_to_arms_ct 勤王派将在每场正在进行的红巾军起义战争中加入Actor一边对抗红巾军成员
312if = {
313limit = {
313exists = scope:target
}
314every_current_war = {
315limit = {
320OR = {
321is_an_attacker = scope:actor
322is_a_defender = scope:actor
}
}
325if = {
326limit = {
327is_an_attacker = scope:actor
328defender_leader = {
329scope:target = {
330NOT = {
330has_truce_with = PREV
}
}
}
}
334scope:target = {
334join_war_as_attacker = {
334war = prev
}
}
}
336else_if = {
337limit = {
338is_a_defender = scope:actor
339attacker_leader = {
340scope:target = {
341NOT = {
341has_truce_with = PREV
}
}
}
}
345scope:target = {
345join_war_as_defender = {
345war = prev
}
}
}
}
}
}
}
351if = {
352limit = {
352exists = scope:target
}
353scope:target = {
355value = -5
}
}
}
359else = {
360custom_tooltip = rtr_call_loyalists_to_arms_at 勤王派失去5朝廷归顺度
}
}
364ai_will_do = {
365add = -150
366add = {
367if = {
368limit = {
369scope:target = {
}
}
373value = 100
}
}
376add = {
377if = {
378limit = {
379value = 0.55
}
}
381value = 100
}
}
}
© 2026 Soft Santa Cruz, S.L.U.。保留所有权利。非官方粉丝项目,与Paradox Interactive无关。游戏内容 © Paradox Interactive。 关于 · 隐私 · 法律声明