Scripted Trigger
has_religion_of_country_heir_law
What it checks
If
Heir of Any Religion
$country$
Heir of Any ReligionThenNo restriction
Else if
Heir of Same Religion Group
$country$
Heir of Same Religion GroupThenReligion group:
$country$ReligionGroupOtherwise
Religion:
$country$ReligionScript that calls it fills these in, as each caller in Connections shows.
$country$
Requires 2
Heir of Any ReligionTrigger if
Heir of Same Religion GroupTrigger else if
Used by 3
Events
Crown the Regentcountry = rootTrigger
Country Interactions
Place Relative on Thronecountry = scope:recipientSelect trigger 2
Diplomatic Relations
- Supporting Heircountry = scope:recipientSelect trigger
trigger_if = {
hidden_trigger = {
always = yes
}
}