
AcciónNuevo en esta versión
Devolver unidad prestada
Devuelve una unidad prestada a nuestro mando. Si la recuperamos durante una guerra compartida activa, el aliado que depende de nuestras tropas se enfadará.
Definiciónin_game/common/generic_actions/recall_lent_unit.txt:1
2type = owncountry
4potential = {
5scope:actor = {
6any_rented_out_mercenary = {
6is_lent_unit = yes
}
}
}
10allow = {
}
13ai_tick = monthly
16select_trigger = {
17looking_for_a = mercenary
18source = actor
19target_flag = lent_merc_target
20name = "recall_lent_unit_choose_unit" Elegir una unidad prestada para devolverla
21none_available_msg_key = "recall_lent_unit_no_units"
22column = {
22data = name
}
23visible = {
24is_lent_unit = yes
}
}
28effect = {
29if = {
30limit = {
31exists = scope:lent_merc_target
}
34scope:lent_merc_target = {
35customer = {
36save_temporary_scope_as = borrower
}
}
39if = {
40limit = {
41exists = scope:borrower
42scope:actor = {
43any_current_war = {
44is_in_war = scope:borrower
}
}
}
48scope:borrower = {
49add_opinion = {
50target = scope:actor
51modifier = opinion_recalled_lent_unit
}
}
}
55scope:lent_merc_target = {
56recall_lent_unit = {
}
}
}
}
61ai_will_do = {
62value = 0
65if = {
66limit = {
67scope:actor = {
67lowest_war_score < -15
}
}
69add = 100
}
}