Efeito de Script

create_familial_governor_in_location_effect

$location$
  • Não aparece na dica do jogocache_distance_map: País: country
    Country temp scope
    • Every owned non rural locationonde
        • Ranque de Local: NãoVila
        • NãoIs capital
        ↗
      • NãoIs capital
      Add to list: cities
    • Every owned location
      • Add to local variable map
        • Name: preferred_city
        • Key: Este
        • Value: Country temp scopeCapital
      • Add to local variable map
        • Name: preferred_city_score
        • Key: Este
        • Value: distance_to(scope:country_temp_scope.capital)
      • Every in list
        • List: cities
        • Se
          Number one › distance_to(scope:number_two) < local_variable_map(preferred_city_score|scope:number_one)
          Então
          • Add to local variable map
            • Name: preferred_city
            • Key: Number one
            • Value: Number two
          • Add to local variable map
            • Name: preferred_city_score
            • Key: Number one
            • Value: scope:number_one.distance_to(scope:number_two)
    ↗
  • Create country from location: Set capital: location · Set new ruler: character
    Make subject of
  • Não aparece na dica do jogo$location$
    Floodfill locationsonde
    • Local variable map (preferred_city): location
    • DonoEste: NãoTarget country
    Será posse da entidade política Target country
Script exato

O script que o chama preenche estes valores, como mostra cada chamada em Conexões.

  • $location$
  • $country$
  • $character$

Requer 1

Concede 1

Usado por 2

Eventos
  • Exigência de um Parentecharacter = scope:target_character · country = root · location = scope:target_locationOpção 1
Interações de Personagem
Scripts 2

Usa 2

© 2026 Soft Santa Cruz, S.L.U. Todos os direitos reservados. Projeto de fã não oficial, sem afiliação com a Paradox Interactive. Conteúdo do jogo © Paradox Interactive. · Sobre · Privacidade · Aviso legal