스크립트 효과
create_familial_governor_in_location_effect
$location$- 게임 툴팁에 표시되지 않음cache_distance_map: 국가: countryCountry temp scope↗
- Every owned non rural location조건Add to list: cities
- Every owned location
- Add to local variable map
- Name:
preferred_city - Key: 이것
- Value: Country temp scope수도
- Name:
- Add to local variable map
- Name:
preferred_city_score - Key: 이것
- Value:
distance_to(scope:country_temp_scope.capital)
- Name:
- Every in list
- List: cities
- 만약Number one › distance_to(scope:number_two) <
local_variable_map(preferred_city_score|scope:number_one)그러면- 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 location조건
- Create country from location: Set capital: location · Set new ruler: characterMake subject of
- Target: country
- Type:
친족 총독령
add_hafsid_governor_content국가: country - 게임 툴팁에 표시되지 않음
$location$Floodfill locations조건- Local variable map (
preferred_city): location - 소유국이것: 아님:Target country
Target country의 소유가 됩니다 - Local variable map (
정확한 스크립트
호출하는 스크립트가 이 값을 채웁니다. 각 호출처는 연결 항목에 표시됩니다.
$location$$country$$character$
요구 조건 1
비자야$location$
부여 1
친족 총독령$location$
사용하는 항목 2
이벤트
친족의 요구character = scope:target_character · country = root · location = scope:target_location선택지 1
인물 상호 작용
- 친족 총독령 임명character = scope:recipient · country = scope:actor · location = scope:target_capital효과
스크립트 2
사용 2
- add_hafsid_governor_contentcountry = $country$$location$
- cache_distance_mapcountry = $country$$location$
