Efeito de Script
create_familial_governor_in_location_effect
$location$- Não aparece na dica do jogocache_distance_map: País: countryCountry temp scope↗
- Every owned non rural locationondeAdd 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
- SeNumber one › distance_to(scope:number_two) <
local_variable_map(preferred_city_score|scope:number_one)Então- 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 locationonde
- Create country from location: Set capital: location · Set new ruler: characterMake subject of
- Target: country
- Type:
Governador Familiar
add_hafsid_governor_contentPaís: country - Não aparece na dica do jogo
$location$Floodfill locationsonde- Local variable map (
preferred_city): location - DonoEste: NãoTarget country
Será posse da entidade política Target country - Local variable map (
Script exato
O script que o chama preenche estes valores, como mostra cada chamada em Conexões.
$location$$country$$character$
Requer 1
Bugia$location$
Concede 1
Governador Familiar$location$
Usado por 2
Eventos
Exigência de um Parentecharacter = scope:target_character · country = root · location = scope:target_locationOpção 1
Interações de Personagem
- Atribuir Governador Familiarcharacter = scope:recipient · country = scope:actor · location = scope:target_capitalEfeito
Scripts 2
Usa 2
- add_hafsid_governor_contentcountry = $country$$location$
- cache_distance_mapcountry = $country$$location$
