Geskripteter Effekt
create_familial_governor_in_location_effect
$location$- Nicht im Tooltip des Spielscache_distance_map: Land: countryCountry temp scope↗
- Every owned non rural locationwobeiAdd to list: cities
- Every owned location
- Add to local variable map
- Name:
preferred_city - Key: Dies
- Value: Country temp scopeHauptsitz
- Name:
- Add to local variable map
- Name:
preferred_city_score - Key: Dies
- Value:
distance_to(scope:country_temp_scope.capital)
- Name:
- Every in list
- List: cities
- WennNumber one › distance_to(scope:number_two) <
local_variable_map(preferred_city_score|scope:number_one)Dann- 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 locationwobei
- Create country from location: Set capital: location · Set new ruler: characterMake subject of
- Target: country
- Type:
Familienstatthalter
add_hafsid_governor_contentLand: country - Nicht im Tooltip des Spiels
$location$Floodfill locationswobei- Local variable map (
preferred_city): location - BesitzerDies: NichtTarget country
Geht in den Besitz von „Target country“ über - Local variable map (
Genaues Skript
Skripte, die es aufrufen, setzen diese Werte ein; jeder Aufrufer unter „Verknüpfungen“ zeigt seine.
$location$$country$$character$
Erfordert 1
Bijaya$location$
Gewährt 1
Familienstatthalter$location$
Verwendet von 2
Ereignisse
Verwandtschaftliche Forderungcharacter = scope:target_character · country = root · location = scope:target_locationOption 1
Charakterinteraktionen
- Familienstatthalter zuweisencharacter = scope:recipient · country = scope:actor · location = scope:target_capitalEffekt
Skripting 2
Verwendet 2
- add_hafsid_governor_contentcountry = $country$$location$
- cache_distance_mapcountry = $country$$location$
