Scripted Trigger
portrait_is_ruler_of_trigger
What it checks
IfThis exists
Then
At least one of
- All of
- Any ruling countriesIs COUNTRY
- Is ruler
- All of
- Any ruling countriesIs COUNTRY
- Is Dead
Script that calls it fills these in, as each caller in Connections shows.
$COUNTRY$
Scripting 7
Used by 7
Portrait Modifiers
- capesCOUNTRY = VEN (+1)European royalty, Genoa doge cap…
- clothesCOUNTRY = CHI (+3)Chinese imperial, Chinese royalty…
- d009_clothesCOUNTRY = PAPPapal attire
- d009_headwearCOUNTRY = PAPPapal headwear
- headwearCOUNTRY = CHI (+4)Chinese imperial, Chinese royalty…
- neckware_neckCOUNTRY = GEN (+1)European high nobility, Genoa doge ruff
- neckware_outerCOUNTRY = GEN (+1)European royalty
trigger_if = {
limit = {
exists = this
}
OR = {
AND = {
any_ruling_countries = {
tag = $COUNTRY$
}
is_ruler = yes
}
AND = {
any_ruling_countries = {
tag = $COUNTRY$
}
is_alive = no
}
}
}