Скриптовое условие
is_subject_which_can_ally_target
Что проверяет
- Is subject
- КореньTop overlord существует
- Is subject type:
Апанаж $target$- Is subject
- top_overlord существует
- КореньTop overlord существует
- Top overlord: КореньTop overlord
Их задаёт вызывающий скрипт; каждый вызов показан в разделе «Связи».
$target$
Требует 1
АпанажCustom description
Скрипты 1
Используется в 1
- can_create_subject_alliancetarget = $actor$ (+1)Custom description
custom_description = {
text = is_subject_which_can_ally_target_text
object = $target$
is_subject = yes
exists = root.top_overlord
trigger_if = {
$target$ = {
is_subject = yes
exists = top_overlord
exists = root.top_overlord
top_overlord = root.top_overlord
}
}
trigger_else = {
always = no
}
}