Уничтожение патриархата « … »
Мирный договорНовое в этой версии

Уничтожение патриархата «Target Ap»

peace_destroy_autocephalous_patriarchatein_game/common/peace_treaties/destroy_autocephalous_patriarchate.txt:1

Договор упразднит их патриархат: иерархия рухнет, а всем участникам придётся искать себе нового духовного лидера.

ТребуетАвтокефальный патриархатМеждународное объединениеallow, cost, effect

Определениеin_game/common/peace_treaties/destroy_autocephalous_patriarchate.txt:1

2cost = {
3add = {
4desc = "DIPLOREASON_BASE" Базовое значение
5value = 30
}
7add = {
8desc = "DIPLOREASON_IO_SIZE" Размер Concept
9value = 0
10scope:loser = {
11every_international_organizations_member_of = {
12limit = {
14leader_country ?= prev
}
16add = total_members
}
}
19multiply = 4
}
}
23potential = {
24scope:winner = {
25religion = scope:loser.religion
26religion = {
26has_autocephalous_patriarchates = yes
}
}
}
30allow = {
31scope:loser = {
32any_international_organizations_member_of = {
34leader_country ?= prev
35NOT = {
35has_member = scope:winner
}
}
}
}
40base_antagonism = 1.0
41antagonism_type = antagonism_destroyed_autocephalous_patriarchate
43effect = {
44scope:loser = {
45random_international_organizations_member_of = {
46limit = {
48leader_country ?= prev
}
50save_scope_as = target_ap
}
}
53custom_tooltip = {
54text = peace_destroy_autocephalous_patriarchate_members_tt Каждый участник патриархата «Target Ap» получит Destroyed My Autocephalous Patriarchate к Concept о нас и Antagonism Destroyed Autocephalous Patriarchate Concept к нам
55scope:target_ap = {
56every_international_organization_member = {
57add_opinion = {
58target = scope:winner
59modifier = destroyed_my_autocephalous_patriarchate
}
61add_antagonism = {
62target = scope:winner
63modifier = antagonism_destroyed_autocephalous_patriarchate
}
}
}
}
68scope:winner = {
69destroy_international_organization = {
69target = scope:target_ap
}
}
}
73ai_desire = {
74add = 100
}