Betik Etkisi

cache_distance_map

Country temp scope
  • Every owned non rural locationkoşul
      • İl Derecesi: DeğilKasaba
      • DeğilIs capital
      ↗
    • DeğilIs capital
    Add to list: cities
  • Every owned location
    • Add to local variable map
      • Name: preferred_city
      • Key: Bu
      • Value: Country temp scopeBaşkent
    • Add to local variable map
      • Name: preferred_city_score
      • Key: Bu
      • Value: distance_to(scope:country_temp_scope.capital)
    • Every in list
      • List: cities
      • Eğer
        Number one › distance_to(scope:number_two) < local_variable_map(preferred_city_score|scope:number_one)
        O zaman
        • 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)
Tam betik

Onu çağıran betik bunları doldurur; her çağıran Bağlantılar'da gösterilir.

  • $country$

Betikler 2

Kullanır 1

Kullananlar 1

$country$ = {
save_temporary_scope_as = country_temp_scope
}

© 2026 Soft Santa Cruz, S.L.U. Tüm hakları saklıdır. Paradox Interactive ile bağlantısı olmayan, resmî olmayan bir hayran projesidir. Oyun içeriği © Paradox Interactive. · Hakkında · Gizlilik · Yasal bildirim