Присоединений других стран к себе через решение. - Страница 2 - Моды и моддинг - Strategium.ru Перейти к содержимому

Присоединений других стран к себе через решение.

Рекомендованные сообщения

Херсонський Кавун

Всем привет)

Сделал решения(скамуниздил из примера на офф.сайте) для присоединение других стран.

В итоге я закалебался всё это менять и создавать каждое решение для отдельной страны, которую можно присоединить.

Можно ли как-то попросту перебирать страны, которые есть в твоей сфере, дабы те появились в решении на присоединение?

 

Спойлер

  #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)
        }
    }

 

Изменено пользователем AniSis
Ссылка на комментарий

Закреплённые сообщения
Херсонський Кавун

Короче не знаю что изменилось..просто заработало..просто заработало..завелось..

Ссылка на комментарий

Aurelius36

@AniSis тогда только сносить папку Виктории в документах и чистить клинкером кеш :smile446:

16 минут назад, AniSis сказал:

Короче не знаю что изменилось..просто заработало..просто заработало..завелось..

Может действительно "слишком сильно кешируется" :smile37:

Изменено пользователем Aurelius36
Ссылка на комментарий

Присоединиться к обсуждению

Вы можете оставить комментарий уже сейчас, а зарегистрироваться позже! Если у вас уже есть аккаунт, войдите, чтобы оставить сообщение через него.

Гость
Ответить в тему...

×   Вы вставили отформатированное содержимое.   Удалить форматирование

  Only 75 emoji are allowed.

×   Ваша ссылка автоматически преображена.   Отображать как простую ссылку

×   Предыдущее содержимое было восстановлено..   Очистить текст в редакторе

×   You cannot paste images directly. Upload or insert images from URL.

  • Сейчас на странице   0 пользователей

    • Нет пользователей, просматривающих эту страницу


Copyright © 2008-2024 Strategium.ru Powered by Invision Community

×
×
  • Создать...