Efekt skryptowy
create_familial_governor_in_location_effect
$location$- Niewidoczne w podpowiedzi grycache_distance_map: Kraj: countryCountry temp scope↗
- Every owned non rural locationgdzie
- Ranga lokacji: Nie
Miasteczko - NieIs capital
- Ranga lokacji: Nie
- NieIs capital
Add to list: cities - Every owned location
- Add to local variable map
- Name:
preferred_city - Key: Ten
- Value: Country temp scopeStolica
- Name:
- Add to local variable map
- Name:
preferred_city_score - Key: Ten
- Value:
distance_to(scope:country_temp_scope.capital)
- Name:
- Every in list
- List: cities
- JeśliNumber one › distance_to(scope:number_two) <
local_variable_map(preferred_city_score|scope:number_one)Wtedy- 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 locationgdzie
- Create country from location: Set capital: location · Set new ruler: characterMake subject of
- Target: country
- Type:
Rodzinny gubernator
add_hafsid_governor_contentKraj: country - Niewidoczne w podpowiedzi gry
$location$Floodfill locationsgdzie- Local variable map (
preferred_city): location - WłaścicielTen: NieTarget country
Stanie się własnością kraju Target country - Local variable map (
Dokładny skrypt
Skrypt, który je wywołuje, podaje te wartości, co widać przy każdym wywołaniu w Powiązaniach.
$location$$country$$character$
Wymaga 1
Bijaya$location$
Zapewnia 1
Rodzinny gubernator$location$
Używane przez 2
Wydarzenia
Żądanie krewnegocharacter = scope:target_character · country = root · location = scope:target_locationOpcja 1
Interakcje postaci
- Przydzielenie rodzinnego gubernatoracharacter = scope:recipient · country = scope:actor · location = scope:target_capitalEfekt
Skrypty 2
Używa 2
- add_hafsid_governor_contentcountry = $country$$location$
- cache_distance_mapcountry = $country$$location$