Gatilho de Script
country_rank_is_what
O que verifica
Se
- Character existe
- Ao menos uma destas
- NÃO tem Governante
- Governante: NãoCharacter
- Character
rule_end_date(root)existe
EntãoCountry rank on date (
scope:character.rule_end_date(root)): target rankCaso contrário
Ranque de País: target rank
O script que o chama preenche estes valores, como mostra cada chamada em Conexões.
$target_rank$
Scripts 4
Usado por 4
Gatilhos de Script
- country_rank_is_countytarget_rank = country_rank:rank_countyCountry rank is what
- country_rank_is_duchytarget_rank = country_rank:rank_duchyCountry rank is what
- country_rank_is_empiretarget_rank = country_rank:rank_empireCountry rank is what
- country_rank_is_kingdomtarget_rank = country_rank:rank_kingdomCountry rank is what
trigger_if = {
limit = {
exists = scope:character
or = {
has_ruler = no
not = {
ruler = scope:character
}
}
scope:character ?= {
exists = "rule_end_date(root)"
}
}
country_rank_on_date(scope:character.rule_end_date(root)) ?= $target_rank$
}
trigger_else = {
country_rank ?= $target_rank$
}