Scripted Effect
adopt_compatible_heir_religion_law
If
- Temp actor exists
- At least one of
- Does NOT have the
Heir Religion Law - Law policy (
Heir Religion)Is locked for: NotPrevious
- Does NOT have the
Then
If
- Religion: Temp actorReligion
Same ReligionIs available for: Previous
ThenAdd policy:
Same Religion
Same ReligionElse if
- Religion group: Temp actorReligionGroup
Same Religious GroupIs available for: Previous
Else if
Any ReligionIs available for: Previous
Any ReligionIs available for: PreviousThenAdd policy:
Any Religion
Any ReligionOtherwise
Heir Religion Law can not be applied to Recipient
Exact script
Script that calls it fills these in, as each caller in Connections shows.
$country$
$country$ = {
save_temporary_scope_as = temp_actor
}
