Scripted Effect
add_historical_rival_scripted
Definitionin_game/common/scripted_effects/country_effects.txt:1528
1529if = {
1530limit = {
1531exists = $target$
1532NOT = {
1532this = $target$
}
}
1534add_historical_rival = $target$
1535if = {
1536limit = {
1536NOT = {
1536is_rival_of = $target$
}
}
1537add_rival = $target$
}
1539if = {
1540limit = {
1540country_exists = $target$
}
1541if = {
}
}
1546hidden_effect = {
1547set_local_variable = {
1547name = trigger_recipient_event
1547value = $trigger_recipient_event$
}
1548if = {
1549limit = {
1549local_var:trigger_recipient_event = yes
}
1550save_scope_as = rivalling_country
}
}
}