Присоединений других стран к себе через решение.
Лучшие авторы в этой теме
-
Херсонський Кавун 12 сообщений
-
Aurelius36 8 сообщений
-
Raizel 2 сообщений
Популярные дни
Популярные сообщения
Raizel
лучше не удалить, а сказать, как это сделал может, кому поможет?

Херсонський Кавун
Подозреваю, что возможно это делается через has_global_flag = *и тут название решения*, но это не точно

Aurelius36
@AniSis тогда только сносить папку Виктории в документах и чистить клинкером кеш Может действительно "слишком сильно кешируется"
-
Сейчас на странице 0 пользователей
- Нет пользователей, просматривающих эту страницу
-
Модераторы онлайн
- Blackfyre Kreis
Рекомендованные сообщения
Всем привет)
Сделал решения(скамуниздил из примера на офф.сайте) для присоединение других стран.
В итоге я закалебался всё это менять и создавать каждое решение для отдельной страны, которую можно присоединить.
Можно ли как-то попросту перебирать страны, которые есть в твоей сфере, дабы те появились в решении на присоединение?
#annex Moldova
take_moldova_not_primary = {
potential = {
tag = THIS
civilized = yes
exists = MOL
}
allow = {
is_greater_power = yes
war = no
MOL = { in_sphere = THIS }
}
effect = {
badboy = 2
prestige = 10
inherit = MOL
any_owned = { \
limit = {
is_core = MOL
NOT = {
is_core = THIS
}
}
add_core = THIS
}
any_pop = {
limit = { culture = romanian }
militancy = 7
consciousness = 3
}
set_country_flag = XZ_annexed_tibet
}
}
take_moldova_is_primary = {
potential = {
tag = THIS
civilized = yes
exists = MOL
}
allow = {
is_greater_power = yes
war = no
MOL = { in_sphere = THIS }
}
effect = {
badboy = 2 #The taker gains 4 infamy.
prestige = 10 #The taker gains 10 prestige.
inherit = MOL #The taker annexes Tibet.
any_owned = { #Any province owned by the taker
limit = { #for which the follwoing is true:
is_core = MOL #It is a core of Tibet
NOT = { is_core = THIS } #It isn't a core of China
}
add_core = THIS #China gains a core on.
}
any_pop = { #Any pop living within the takers borders
limit = { culture = korean } #Which is Tibetan
}
add_accepted_culture = korean
set_country_flag = take_moldova_is_primary #Give the taker a country flag (if a check for this decision being taken later needs to be done)
}
}
#annex Korea
take_korea_not_primary = {
potential = {
tag = THIS #The tag of the taker is CHI.
civilized = yes #The taker has westernized/is a civilized nation.
exists = KOR #The country with the tag TIB exists.
}
allow = {
is_greater_power = yes #The taker is a Great Power.
war = no #The taker isn't at war.
KOR = { in_sphere = THIS } #The country with the tag TIB is a vassal of the taker.
}
effect = {
badboy = 2 #The taker gains 4 infamy.
prestige = 10 #The taker gains 10 prestige.
inherit = KOR #The taker annexes Tibet.
any_owned = { #Any province owned by the taker
limit = { #for which the follwoing is true:
is_core = KOR #It is a core of Tibet
NOT = {
is_core = THIS #It isn't a core of China
}
}
add_core = THIS #China gains a core on.
}
any_pop = { #Any pop living within the takers borders
limit = { culture = korean } #Which is Tibetan
militancy = 7 #Add seven Militancy
consciousness = 3 #Add 3 Consciousness
}
set_country_flag = take_korea_not_primary #Give the taker a country flag (if a check for this decision being taken later needs to be done)
}
}
take_korea_is_primary = {
potential = {
tag = THIS #The tag of the taker is CHI.
civilized = yes #The taker has westernized/is a civilized nation.
exists = KOR #The country with the tag TIB exists.
}
allow = {
is_greater_power = yes #The taker is a Great Power.
war = no #The taker isn't at war.
KOR = { in_sphere = THIS } #The country with the tag TIB is a vassal of the taker.
}
effect = {
badboy = 2 #The taker gains 4 infamy.
prestige = 10 #The taker gains 10 prestige.
inherit = KOR #The taker annexes Tibet.
any_owned = { #Any province owned by the taker
limit = { #for which the follwoing is true:
is_core = KOR #It is a core of Tibet
NOT = { is_core = THIS } #It isn't a core of China
}
add_core = THIS #China gains a core on.
}
any_pop = { #Any pop living within the takers borders
limit = { culture = romanian } #Which is Tibetan
militancy = 1 #Add seven Militancy
consciousness = 1 #Add 3 Consciousness
}
add_accepted_culture = romanian
set_country_flag = take_korea_is_primary #Give the taker a country flag (if a check for this decision being taken later needs to be done)
}
}
Опубликовано Херсонський Кавун,
Закреплено StrаtegiumПрисоединиться к обсуждению
Вы можете оставить комментарий уже сейчас, а зарегистрироваться позже! Если у вас уже есть аккаунт, войдите, чтобы оставить сообщение через него.