Scripted Effect
apply_all_union_policy_effects
If
Union law level exists
Then
- IfUnion law level ≥ UNION_SAME_INHERITANCE_LEVEL (2)Thenapply_same_inheritance_policy_effect
- Not shown in the game's tooltipOrdered country with special status of type (up to 1, highest
country_economical_basefirst)Type:senior_partner - IfTarget heir selection existsThenEvery member of the Union adopts the Succession Law of the Senior Partner if possibleEvery international organization memberwhere
- Government:
Monarchy - Succession law
- Is locked for: NotPrevious
- Has tag: Not
cannot_be_transferred
- None of
- Has special status in international organization
- Type:
Senior Partner - International Organization: Previous
- Type:
- ↗If
- Union exists
- Has Variable: integrated_in_union
- Union
Union Integration Level ≥ 0
Thenvar:integrated_in_union ≥ Union
Union Integration LevelOtherwiseUnion exists
Changes Succession Law to Target heir selectionElse ifSenior partner country existsThenSenior Partner Country Heir Selection can NOT be applied to other membersOtherwiseNo Senior Partner exists - Government:
- Every member of the Union adopts the Heir Religion of the Senior Partner if possibleIfTarget heir religion policy existsThenEvery international organization memberwhere
- Target heir religion policy
- Is implementable in Previous
- Is locked for: NotPrevious
- Target heir religion policy exists
- Law policy (
Heir Religion): NotTarget heir religion policy - None of
- Has special status in international organization
- Type:
Senior Partner - International Organization: Previous
- Type:
- ↗If
- Union exists
- Has Variable: integrated_in_union
- Union
Union Integration Level ≥ 0
Thenvar:integrated_in_union ≥ Union
Union Integration LevelOtherwiseUnion exists
Add policy: Target heir religion policy - Locked Succession Laws can neither be applied nor overriden
- IfUnion law level ≥ UNION_SAME_LAWS_LEVEL (5)Thenapply_same_laws_policy_effectEvery member of the Union adopts the implemented Government Reforms and Policies where available of the Senior Partner↗
- Ordered country with special status of type (up to 1, highest
country_economical_basefirst)- Type:
senior_partner - Every current reformsAdd to temporary list:
reforms_list - Every current policyAdd to temporary list:
policy_list
- Type:
- Every international organization memberwhere
- Leader scope exists
- None of
- Has special status in international organization
- Type:
Senior Partner - International Organization: Previous
- Type:
- Every current reformswhere
- NotIs unique reform
- NotIs major reform
- Is implementable in Leader scope
Target countryRemoves the Previous Government Reform - Every in list
- List:
reforms_list - If
- Is NOT fully implemented in Target country
- Is implementable in Target country
- Target countryNum open reform slots > 0
- List:
- Every current policywhereIs implementable in Leader scopeTarget countryRemove policy: Previous
- Every in list
- List:
policy_list - If
- Is NOT fully implemented in Target country
- Is implementable in Target country
- Is available for: Target country
- Law
- Is NOT fully implemented in Target country
- Is implementable in Target country
- Is available for: Target country
- List:
- Ordered country with special status of type (up to 1, highest
Exact script
Script that calls it fills these in, as each caller in Connections shows.
$level$
Used by 1
Enforce Law Implementationlevel = modifier:union_integration_levelWhen the debate passes
Scripting 4
save_temporary_scope_value_as = {
name = union_law_level
value = $level$
}





