Betik Etkisi
create_familial_governor_in_location_effect
$location$- Oyunun ipucunda gösterilmezcache_distance_map: Ülke: countryCountry temp scope↗
- Every owned non rural locationkoşulAdd to list: cities
- Every owned location
- Add to local variable map
- Name:
preferred_city - Key: Bu
- Value: Country temp scopeBaşkent
- Name:
- Add to local variable map
- Name:
preferred_city_score - Key: Bu
- Value:
distance_to(scope:country_temp_scope.capital)
- Name:
- Every in list
- List: cities
- EğerNumber 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
- Name:
- Add to local variable map
- Name:
preferred_city_score - Key: Number one
- Value:
scope:number_one.distance_to(scope:number_two)
- Name:
- Add to local variable map
- Add to local variable map
- Every owned non rural locationkoşul
- Create country from location: Set capital: location · Set new ruler: characterMake subject of
- Target: country
- Type:
Hanedan Valisi
add_hafsid_governor_contentÜlke: country - Oyunun ipucunda gösterilmez
$location$Floodfill locationskoşul- Local variable map (
preferred_city): location - SahipBu: DeğilTarget country
Target country ülkesinin olur - Local variable map (
Tam betik
Onu çağıran betik bunları doldurur; her çağıran Bağlantılar'da gösterilir.
$location$$country$$character$
Gerektirir 1
Bijaya$location$
Verir 1
Hanedan Valisi$location$
Kullananlar 2
Olaylar
Akraba Talebicharacter = scope:target_character · country = root · location = scope:target_locationSeçenek 1
Karakter Etkileşimleri
- Hanedan Valisi Atacharacter = scope:recipient · country = scope:actor · location = scope:target_capitalEtki
Betikler 2
Kullanır 2
- add_hafsid_governor_contentcountry = $country$$location$
- cache_distance_mapcountry = $country$$location$
