Scripted Effect
set_senior_partner
If
Union exists
Then
- Add cooldown: Type:
take_over_seniority· Years: 25 - Union
- IfThenapply_union_levels: Level: 1
- Set local variable
- Name:
union_levels - Value: 1
- Name:
- If
local_var:union_levels≥ 1Then
Establish Seniority is enacted - If
local_var:union_levels≥ 2Then
Unified Succession Law is enacted - If
local_var:union_levels≥ 3Then
Unified Treasury is enacted - If
local_var:union_levels≥ 4Then
Unified External Diplomacy is enacted - If
local_var:union_levels≥ 5Then
Aligned Legislature is enacted - If
local_var:union_levels≥ 6Then
Unification of Crowns is enacted - If
local_var:union_levels: 7Then
Swift Unification of Crowns is enactedElse iflocal_var:union_levels: 8Then
Rapid Unification of Crowns is enacted - Remove local variable:
union_levels
- Set local variable
- Every country with special status of type
- Type:
senior_partner - UnionRemoves '
Senior Partner' status from Previous
- Type:
- Bestows '
Senior Partner' status on New senior partner - Set variable
- Name: union_senior_partner
- Value: New senior partner
- If
- Does NOT have Variable: union_ruler_character
- New senior partnerHas a Ruler
- If
- Does NOT have Variable: union_heir_character
- New senior partnerHas an Heir
- If
- Has Variable: union_ruler_character
- var:union_ruler_character
- Is Alive
- Owner: NotPreviousvar:union_senior_partner
- If
- Has Variable: union_heir_character
- var:union_heir_character
- Is Alive
- Owner: NotPreviousvar:union_senior_partner
Exact script
Requires 1
Grants 1
Removes 1
Used by 5
Events
Our KinOption 1
On Actions
- on_union_formationEffect
Country Interactions
Take over SeniorityEffect
Peace Treaties
Assume Union SenorityEffect
Union with FranceEffect

