Efekt skryptowy
hafsid_succession_unite_two_countries
Jeśli
$country_first$Ten: Niecountry secondWtedy
Jeśli
$country_first$NieIs aiWtedy
$country_first$- Annex country: Kraj: country second · Reason: CivilWar · Transfer: yes
- Wystąpi event|el „
Target i kwestia sukcesji”
W przeciwnym razie, jeśli
$country_second$NieIs aiWtedy
$country_second$- Annex country: Kraj: country first · Reason: CivilWar · Transfer: yes
- Wystąpi event|el „
Target i kwestia sukcesji”
W przeciwnym razie, jeśli
Tun tag istnieje
WtedyTun tag
Annex country: Kraj: Non tun tag · Reason: CivilWar · Transfer: yes
W przeciwnym razie
$country_first$Annex country: Kraj: country second · Reason: CivilWar · Transfer: yes
Dokładny skrypt
Skrypt, który je wywołuje, podaje te wartości, co widać przy każdym wywołaniu w Powiązaniach.
$country_first$$country_second$
if = {
$country_first$ = {
save_scope_as = tun_tag
}
$country_second$ = {
save_scope_as = non_tun_tag
}
}
