Признание поражения в гражданской войне
Взаимодействие с державойИзменено в этой версии

Признание поражения в гражданской войне

surrender_civil_warin_game/common/country_interactions/surrender_civil_war.txt:1

Надежды больше нет. Мы признаем поражение в этой Concept, чтобы положить конец кровопролитию.

Требуетwill_not_surrenderПеременнаяpotential

Определениеin_game/common/country_interactions/surrender_civil_war.txt:1

2type = diplomacy
3block_when_at_war = no
4category = CATEGORY_FRIENDLY_ACTIONS
8show_message = no
9show_message_to_target = no
11potential = {
12scope:actor = {
13in_civil_war = yes
14NOT = {
14has_variable = will_not_surrender
}
}
}
18allow = {
19scope:actor = {
20war_with_country(civil_war_opponent) = {
21war_length >= 12
}
}
}
26select_trigger = {
27looking_for_a = country
28target_flag = recipient
29interaction_source_list = {
30scope:actor = {
31civil_war_opponent = {
32add_to_list = source
}
}
}
36name = "choose_country" Выберите Concept:
37column = {
38data = name
}
40visible = {
41this = scope:actor.civil_war_opponent
}
43enabled = {
44total_population > {
45value = scope:actor.total_population
46multiply = 2
}
}
}
51ai_will_do = {
53add = {
54if = {
55limit = {
56scope:actor = {
57total_population < {
58value = scope:recipient.total_population
59add = total_population
60multiply = 0.1
}
}
}
64value = 1000
}
}
68add = {
69if = {
70limit = {
71scope:actor = {
72any_current_war = {
73scope:actor = {
74war_enthusiasm = {
74war = prev
74value <= 0
}
}
76OR = {
77attacker_leader = scope:recipient
78defender_leader = scope:recipient
}
}
}
}
83value = 1000
}
}
}
88effect = {
89scope:recipient = {
90annex_country = {
91country = scope:actor
92reason = CivilWar
}
}
}