Déclencheur scripté
country_rank_is_what
Ce qu’il vérifie
Si
- Character existe
- Au moins une de ces conditions
- N'a PAS de Dirigeant
- Dirigeant: NonCharacter
- Character
rule_end_date(root)existe
AlorsCountry rank on date (
scope:character.rule_end_date(root)): target rankSinon
Rang national: target rank
Le script qui l’appelle les renseigne, comme le montre chaque appel dans Liens.
$target_rank$
Script 4
Utilisé par 4
Déclencheurs scriptés
- 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$
}