Scripted Effect

hafsid_succession_unite_two_countries

If
$country_first$This: Notcountry second
Then
If
$country_first$NotIs ai
Then$country_first$
Else if
$country_second$NotIs ai
Then$country_second$
Else if
Tun tag exists
ThenTun tag
Annex country: Country: Non tun tag · Reason: CivilWar · Transfer: yes
Otherwise
$country_first$
Annex country: Country: country second · Reason: CivilWar · Transfer: yes
Exact script

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

  • $country_first$
  • $country_second$

Requires 1

Triggers 1

Used by 1

  • Emirismcountry_first = scope:second_country · country_second = scope:first_countryAs soon as it happens

if = {
limit = {
$country_first$ = {
tag = TUN
}
}
$country_first$ = {
save_scope_as = tun_tag
}
$country_second$ = {
save_scope_as = non_tun_tag
}
}

© 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