Efecto de script
create_familial_governor_in_location_effect
$location$- No se muestra en la descripción del juegocache_distance_map: País: countryCountry temp scope↗
- Every owned non rural locationdondeAdd to list: cities
- Every owned location
- Add to local variable map
- Name:
preferred_city - Key: Este
- Value: Country temp scopeCapital
- Name:
- Add to local variable map
- Name:
preferred_city_score - Key: Este
- Value:
distance_to(scope:country_temp_scope.capital)
- Name:
- Every in list
- List: cities
- SiNumber one › distance_to(scope:number_two) <
local_variable_map(preferred_city_score|scope:number_one)Entonces- 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 locationdonde
- Create country from location: Set capital: location · Set new ruler: characterMake subject of
- Target: country
- Type:
Gobernador familiar
add_hafsid_governor_contentPaís: country - No se muestra en la descripción del juego
$location$Floodfill locationsdonde- Local variable map (
preferred_city): location - PropietarioEste: NoTarget country
Será propiedad de Target country - Local variable map (
Script exacto
El script que lo llama rellena estos valores, como muestra cada llamada en Conexiones.
$location$$country$$character$
Requiere 1
Bijaya$location$
Otorga 1
Gobernador familiar$location$
Usado por 2
Acontecimientos
La demanda de un parientecharacter = scope:target_character · country = root · location = scope:target_locationOpción 1
Interacciones de personaje
- Asignar Gobernador familiarcharacter = scope:recipient · country = scope:actor · location = scope:target_capitalEfecto
Scripts 2
Usa 2
- add_hafsid_governor_contentcountry = $country$$location$
- cache_distance_mapcountry = $country$$location$
