
Action
Strengthen Relations with Neighbors
We must appease the many neighbors surrounding our Delhi Flavor Rank in an effort to quell their expansionist tendencies at our expense!
DelhiCountryeffect, potential, select trigger 2
Fall of DelhiSituationeffect, select trigger 1, select trigger 2Definitionin_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" Choose the Situation:
419column = {
420data = name
}
}
428select_trigger = {
429looking_for_a = area
430target_flag = target
431name = "select_area" Select an 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
}
}
}
}
}