
行动
加强睦邻关系
我们必须安抚德里 Flavor Rank周边的众多邻邦,以遏制他们以我们为代价进行扩张的野心!
德里国家effect, potential, select trigger 2
德里的衰亡局势effect, select trigger 1, select trigger 2定义in_game/common/generic_actions/fall_of_delhi.txt:391
392type = situation
394ai_tick = daily
395ai_tick_frequency = 40
397automation_tick = never
398automation_tick_frequency = 12
400cooldown = {
401type = strengthen_neighbor_relations
402years = 1
}
415select_trigger = {
416looking_for_a = situation
417target_flag = recipient
418name = "choose_situation" 选择局势:
419column = {
420data = name
}
}
428select_trigger = {
429looking_for_a = area
430target_flag = target
431name = "select_area" 选择一个地区
432none_available_msg_key = "no_valid_areas"
433column = {
434data = name
}
436visible = {
437any_country_with_capital_in_geography = {
}
}
}
450effect = {
452scope:target = {
453every_country_with_capital_in_geography = {
}
}
}
466ai_will_do = {
467add = 25
468add = {
469value = scope:actor.num_of_diplomats
470multiply = 10
}
472if = {
473limit = {
474exists = scope:target
}
476if = {
477limit = {
478scope:target = {
479any_country_with_capital_in_geography = {
480this != scope:actor
481relative_strength = {
482target = scope:actor
483value > 0.25
}
}
}
}
488add = 25
}
490if = {
491limit = {
492scope:target = {
493any_country_with_capital_in_geography = {
494this != scope:actor
495is_threat_to = scope:actor
}
}
}
499add = 50
}
501scope:target = {
502every_country_with_capital_in_geography = {
503limit = {
504this != scope:actor
505can_declare_war_on = scope:actor
}
507add = {
508value = "threat_level_to(scope:actor)"
509multiply = 100
}
}
}
}
}