
Action
Former un général
Dépensez des points de Tradition terrestre army tradition i pour former un nouveau Général. Il ne sera pas autorisé à intégrer notre Conseil.
Définitionin_game/common/generic_actions/train_general.txt:1
2type = owncountry
4price = price:train_general
6ai_tick = daily
7ai_tick_frequency = 180
9automation_tick = daily
10automation_tick_frequency = 20
11player_automated_category = replacegenerals
15potential = {
}
18allow = {
}
21ai_prerequisite = {
22num_regiments > 0
}
25ai_will_do = {
26scope:actor = {
28value = {
30value = {
31value = num_regiments
32divide = {
33value = 4
34multiply = "define:NAI|AVERAGE_FRONTAGE"
}
}
39if = {
40limit = {
41at_war = yes
}
43add = 1
}
46subtract = possible_military_leaders
}
}
}
52effect = {
53scope:actor = {
54custom_tooltip = {
55text = train_general_effect Un nouveau Général a été formé et a rejoint notre pays.
56create_character = {}
}
}
}