Scripted Effect
remove_historical_rival_scripted
Definitionin_game/common/scripted_effects/country_effects.txt:1557
1558if = {
1559limit = {
1560exists = $target$
1561NOT = {
1561this = $target$
}
1562has_historical_rival = $target$
}
1564remove_historical_rival = $target$
1565if = {
1566limit = {
1566country_exists = $target$
}
1567hidden_effect = {
1568set_local_variable = {
1568name = trigger_recipient_event
1568value = $trigger_recipient_event$
}
1569if = {
1570limit = {
1570local_var:trigger_recipient_event = yes
}
1571save_scope_as = rivalling_country
}
}
}
}