Scripted Trigger

country_rank_is_what

What it checks
If
  • Character exists
  • At least one of
    • Does NOT have a Ruler
    • Ruler: NotCharacter
  • Characterrule_end_date(root) exists
ThenCountry rank on date (scope:character.rule_end_date(root)): target rank
Otherwise
Country Rank: target rank

Script that calls it fills these in, as each caller in Connections shows.

  • $target_rank$

Scripting 4

Used by 4

Scripted Triggers

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$
}

© 2026 Soft Santa Cruz, S.L.U. All rights reserved. Unofficial fan project, not affiliated with Paradox Interactive. Game content © Paradox Interactive. · About · Privacy · Legal notice