Activador de script
country_rank_is_what
Qué comprueba
Si
- Character existe
- Al menos una de estas
- NO tiene Gobernante
- Gobernante: NoCharacter
- Character
rule_end_date(root)existe
EntoncesCountry rank on date (
scope:character.rule_end_date(root)): target rankEn otro caso
Rango nacional: target rank
El script que lo llama rellena estos valores, como muestra cada llamada en Conexiones.
$target_rank$
Scripts 4
Usado por 4
Activadores 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$
}